Global

Methods

lowPassFilter(samplesnon-null, cutoffnon-null, sampleRatenon-null, numChannelsnon-null)

Source:
Apply LPF to an array of samples.
Parameters:
Name Type Description
samples Array.<number> The samples.
cutoff number The cutoff frequency.
sampleRate number The sample rate.
numChannels number The number of channels.