Constructor
new Biquad(options)
Parameters:
Name | Type | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | Override default values. Properties
|
- Source:
Example
import * as lfo from 'waves-lfo/client';
const audioInBuffer = new lfo.source.AudioInBuffer({
audioBuffer: buffer,
});
const biquad = new lfo.operator.Biquad({
type: 'lowpass',
f0: 2000,
gain: 3,
q: 12,
});
const spectrumDisplay = new lfo.sink.SpectrumDisplay({
canvas: '#spectrum',
});
audioInBuffer.connect(biquad);
biquad.connect(spectrumDisplay);
audioInBuffer.start();