Filters
Table of Contentsโ
Class Definitionโ
export class Filters {}
Propertiesโ
Property Type Description bassBoostlevelnumber The bass boost level. distortionDistortionOptions| nullThe distortion options or null. equalizerBand[]The equalizer. filtersStatusRecord< AvailableFilters, boolean>The filters status. karaokeKaraokeOptions| nullThe karaoke options or null. playerPlayerThe player. reverbReverbOptions| nullThe reverb options or null. rotationRotationOptions| nullThe rotation options or null. timescaleTimescaleOptions| nullThe timescale options or null. vibratoVibratoOptions| nullThe vibrato options or null. volumenumber The volume.
Constructorโ
new Filters(player: Player, manager: Manager)
Parameter Type Description Optional playerPlayerThe player. managerManagerThe manager.
Methodsโ
bassBoost()โ
async bassBoost(stage: number): Promise<this>Sets the bass boost level on the audio.
Parametersโ
Parameter Type Description Optional stagenumber The stage. Returnsโ
Type Description Promise< this>The filters.
china()โ
async china(status: boolean): Promise<this>Toggles the "China" effect on the audio.
Parametersโ
Parameter Type Description Optional statusboolean The status. Returnsโ
Type Description Promise< this>The filters.
chipmunk()โ
async chipmunk(status: boolean): Promise<this>Toggles the "Chipmunk" effect on the audio.
Parametersโ
Parameter Type Description Optional statusboolean The status. Returnsโ
Type Description Promise< this>The filters.
clearFilters()โ
async clearFilters(): Promise<this>Clears all filters on the audio.
Returnsโ
Type Description Promise< this>The filters.
darthvader()โ
async darthvader(status: boolean): Promise<this>Toggles the "Darth Vader" effect on the audio.
Parametersโ
Parameter Type Description Optional statusboolean The status. Returnsโ
Type Description Promise< this>The filters.
daycore()โ
async daycore(status: boolean): Promise<this>Toggles the "Daycore" effect on the audio.
Parametersโ
Parameter Type Description Optional statusboolean The status. Returnsโ
Type Description Promise< this>The filters.
demon()โ
async demon(status: boolean): Promise<this>Toggles the "Demon" effect on the audio.
Parametersโ
Parameter Type Description Optional statusboolean The status. Returnsโ
Type Description Promise< this>The filters.
distort()โ
async distort(status: boolean): Promise<this>Toggles the "Distort" effect on the audio.
Parametersโ
Parameter Type Description Optional statusboolean The status. Returnsโ
Type Description Promise< this>The filters.
doubletime()โ
async doubletime(status: boolean): Promise<this>Toggles the "Doubletime" effect on the audio.
Parametersโ
Parameter Type Description Optional statusboolean The status. Returnsโ
Type Description Promise< this>The filters.
earrape()โ
async earrape(status: boolean): Promise<this>Toggles the "Earrape" effect on the audio.
Parametersโ
Parameter Type Description Optional statusboolean The status. Returnsโ
Type Description Promise< this>The filters.