Interface PlayerFilters

interface PlayerFilters {
    channelMix?: ChannelMix;
    distortion?: Distortion;
    equalizer?: Equalizer[];
    karaoke?: Karaoke;
    lowPass?: LowPass;
    pluginFilters?: Record<string, any>;
    rotation?: Rotation;
    timescale?: Timescale;
    tremolo?: Tremolo;
    vibrato?: Vibrato;
    volume?: number;
}

Properties

channelMix?: ChannelMix

Mixes both channels (left and right)

distortion?: Distortion

Distorts the audio

equalizer?: Equalizer[]

Adjusts 15 different bands

karaoke?: Karaoke

Eliminates part of a band, usually targeting vocals

lowPass?: LowPass

Filters higher frequencies

pluginFilters?: Record<string, any>

Filter plugin configurations

Plugins can add their own filters. The key is the name of the plugin, and the value is the configuration for that plugin. The configuration is plugin specific. See Plugins for more plugin information.

rotation?: Rotation

Rotates the audio around the stereo channels/user headphones (aka Audio Panning)

timescale?: Timescale

Changes the speed, pitch, and rate

tremolo?: Tremolo

Creates a shuddering effect, where the volume quickly oscillates

vibrato?: Vibrato

Creates a shuddering effect, where the pitch quickly oscillates

volume?: number

Adjusts the player volume from 0.0 to 5.0, where 1.0 is 100%. Values >1.0 may cause clipping