EqualizerStream
No description provided
EqualizerStream extends PCMTransformer
Parameter | Type | Optional |
---|---|---|
options | EqualizerStreamOptions | ✅ |
Properties
public bandMultipliers: any
public bits: any
public bytes: any
public disabled: any
public equalizer: any
public extremum: any
public sampleRate: any
public type: any
Methods
public _processBands(multiplier): void
Parameter | Type | Optional |
---|---|---|
multiplier | Array<EqualizerBand> | ❌ |
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 getEQ(): Array<EqualizerBand>
public onUpdate(): void
public resetEQ(): void
public setEQ(bands): void
Parameter | Type | Optional |
---|---|---|
bands | Array<EqualizerBand> | ❌ |
public setSampleRate(rate): void
Parameter | Type | Optional |
---|---|---|
rate | number | ❌ |