🎛️FilterOptions
Audio filter options types
channelMix
This filter mixes both channels (left and right), with a configurable factor on how much each channel affects the other. With the defaults, both channels are kept independent from each other. Setting all factors to 0.5 means both channels get the same audio.
distortion
Distortion effect
equalizer
karaoke
Uses equalization to eliminate part of a band, usually targeting vocals.
lowPass
Higher frequencies get suppressed, while lower frequencies pass through this filter, thus the name low pass.
rotation
This filter simulates an audio source rotating around the listener.
timescale
Change time stretch and pitch scale
tremolo
Trembling effect.
vibrato
A musical effect consisting of a regular, pulsating change of pitch. It is used to add expression to vocal and instrumental music
volume
The volume between 0 and 500
ChannelMixOptions
leftToLeft
leftToRight
rightToLeft
rightToRight
DistortionOptions
sinOffset
sinScale
tanOffset
tanScale
cosOffset
cosScale
offset
scale
Equalizer bands reference:
There are 15 bands [0-14] 25 Hz, 40 Hz, 63 Hz, 100 Hz, 160 Hz, 250 Hz, 400 Hz, 630 Hz, 1 kHz, 1.6 kHz, 2.5 kHz, 4 kHz, 6.3 kHz, 10 kHz, 16 kHz
The meaningful range for the values is -0.25 to 0.5, -0.25 means you're completely wiping out that frequency, 0.25 means you're doubling it
KaraokeOptions
level
monoLevel
filterBand
filterWidth
LowPassOptions
smoothing
RotationOptions
rotationHz
TimescaleOptions
speed
pitch
rate
TremoloOptions
frequency
depth
VibratoOptions
frequency
depth
P.S.: Some audio filter descriptions stolen from https://github.com/natanbc/lavadsp
Last updated