p5.Biquad

Filter the frequency range of a sound.

実例

シンタックス

p5.Biquad([cutoff], [type])

パラメーター

cutoff
Number: cutoff frequency of the filter, a value between 0 and 24000.
type
String: filter type. Options: "lowpass", "highpass", "bandpass", "lowshelf", "highshelf", "notch", "allpass", "peaking"

メソッド

res
The filter's resonance factor.
gain
The gain of the filter in dB units.
setType
Set the type of the filter.
freq
Set the cutoff frequency of the filter.
Notice any errors or typos? Please let us know. Please feel free to edit src/Biquad.js and open a pull request!

関連するリファレンス