Discord Player

EqualizerStream

No description provided

EqualizerStream extends PCMTransformer

new EqualizerStream(options);
ParameterTypeOptional
optionsEqualizerStreamOptions

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

ParameterTypeOptional
multiplierArray<EqualizerBand>

public _readInt(buffer, index): number

ParameterTypeOptional
bufferBuffer
indexnumber

public _transform(chunk, encoding, callback): void

ParameterTypeOptional
chunkBuffer
encodingBufferEncoding
callbackTransformCallback

public _writeInt(buffer, int, index): number

ParameterTypeOptional
bufferBuffer
intnumber
indexnumber

public clamp(val, max, min): number

ParameterTypeOptional
valnumber
maxnumber
minnumber

public disable(): void

public enable(): void

public getEQ(): Array<EqualizerBand>

public onUpdate(): void

public resetEQ(): void

public setEQ(bands): void

ParameterTypeOptional
bandsArray<EqualizerBand>

public setSampleRate(rate): void

ParameterTypeOptional
ratenumber

public toggle(): void