BiquadStream
No description provided
BiquadStream extends PCMTransformer
Parameter | Type | Optional |
---|---|---|
options | BiquadStreamOptions | ❌ |
Properties
public Q: any
public biquad: any
public biquadFilter: any
public bits: any
public bytes: any
public cutoff: any
public disabled: any
public extremum: any
public gain: any
public sampleRate: any
public type: any
public filters: any
Methods
public _readInt(buffer, index): number
public _transform(chunk, encoding, callback): void
Parameter | Type | Optional |
---|---|---|
chunk | Buffer | ❌ |
encoding | BufferEncoding | ❌ |
callback | TransformCallback | ❌ |
public _writeInt(buffer, int, index): number
public clamp(val, max, min): number
public disable(): void
public enable(): void
public getFilterName(): null | BiquadFilters
public onUpdate(): void
public setCutoff(f0): void
Parameter | Type | Optional |
---|---|---|
f0 | number | ❌ |
public setFilter(filter): void
Parameter | Type | Optional |
---|---|---|
filter | BiquadFilters | ❌ |
public setGain(dB): void
Parameter | Type | Optional |
---|---|---|
dB | number | ❌ |
public setQ(Q): void
Parameter | Type | Optional |
---|---|---|
Q | number | ❌ |
public setSampleRate(rate): void
Parameter | Type | Optional |
---|---|---|
rate | number | ❌ |
public toggle(): void
public update(options): void
Parameter | Type | Optional |
---|---|---|
options | BiquadFilterUpdateData | ❌ |