filtercoeff
Calculate filter coefficients for a biquad filter
new filtercoeff([options])Options
| Name | Type | Default | Description |
|---|---|---|---|
| K_EPSILON | number | 1e-9 | |
| resamp | number | -1 | An optional second argument can be used to specify a resampling factor. Makes only sense when uses as a DSP (tilde) operator |
| type | enum | [object Object] | Filter type |
Methods
next(frequency, gain, q, type): [out1, out2, out3, out4, out5]
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| frequency | number | 1000 | |
| gain | number | 1 | |
| q | number | 1 | |
| type | number | [object Object] |
Returns
| Name | Type | Description |
|---|---|---|
| out1 | number | Signal-rate FF0 Coefficient. Patches into Gain inlet of the {rnbo_biquad~} object |
| out2 | number | Signal-rate FF1 Coefficient. Patches into FF1 inlet of the {rnbo_biquad~} object |
| out3 | number | Signal-rate FF2 Coefficient. Patches into FF2 inlet of the {rnbo_biquad~} object |
| out4 | number | Signal-rate FB1 Coefficient. Patches into FB1 inlet of the {rnbo_biquad~} object |
| out5 | number | Signal-rate FB2 Coefficient. Patches into FB2 inlet of the {rnbo_biquad~} object |