public class LowPassSP extends IIRFilter
UGen.InputType, UGen.UGenInput| Constructor and Description |
|---|
LowPassSP(float freq,
float sampleRate)
Constructs a low pass filter with a cutoff frequency of
freq
that will be used to filter audio recorded at sampleRate. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calcCoeff()
Calculates the coefficients of the filter using the current cutoff
frequency.
|
frequency, printCoeff, process, process, setFreq, uGenerate, validFreqaddInput, getLastValues, patch, patch, patch, printInputs, removeInput, sampleRate, sampleRateChanged, setAudioChannelCount, setSampleRate, tick, unpatch, unpatchpublic LowPassSP(float freq,
float sampleRate)
freq
that will be used to filter audio recorded at sampleRate.freq - the cutoff frequencysampleRate - the sample rate of the audio that will be filteredprotected void calcCoeff()
IIRFilterb[0] corresponds to the coefficient b1.