Table of Contentsโ
new Filters(player: Player, manager: Manager)
| Parameter | Type | Description | Optional |
|---|
player | Player | The player. | |
manager | Manager | The manager. | |
async bassBoost(stage: number): Promise<this>
Sets the bass boost level on the audio.
| Parameter | Type | Description | Optional |
|---|
stage | number | The stage. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async china(status: boolean): Promise<this>
Toggles the "China" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async chipmunk(status: boolean): Promise<this>
Toggles the "Chipmunk" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async clearFilters(): Promise<this>
Clears all filters on the audio.
| Type | Description |
|---|
Promise<this> | The filters. |
async darthvader(status: boolean): Promise<this>
Toggles the "Darth Vader" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async daycore(status: boolean): Promise<this>
Toggles the "Daycore" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async demon(status: boolean): Promise<this>
Toggles the "Demon" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async distort(status: boolean): Promise<this>
Toggles the "Distort" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async doubletime(status: boolean): Promise<this>
Toggles the "Doubletime" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async earrape(status: boolean): Promise<this>
Toggles the "Earrape" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async eightD(status: boolean): Promise<this>
Toggles the "EightD" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async electronic(status: boolean): Promise<this>
Toggles the "Electronic" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
getFilterStatus(filter: AvailableFilters): boolean
Gets the filter status.
| Type | Description |
|---|
| boolean | The filter status. |
async nightcore(status: boolean): Promise<this>
Toggles the "Nightcore" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async party(status: boolean): Promise<this>
Toggles the "Party" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async pop(status: boolean): Promise<this>
Toggles the "Pop" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async radio(status: boolean): Promise<this>
Toggles the "Radio" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async setDistortion(distortion?: DistortionOptions): Promise<this>
Sets the distortion effect on the audio.
| Parameter | Type | Description | Optional |
|---|
distortion | DistortionOptions | The distortion options. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async setEqualizer(bands?: Band[]): Promise<this>
Sets the equalizer on the audio.
| Parameter | Type | Description | Optional |
|---|
bands | EqualizerBand[] | The equalizer bands. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async setFilterStatus(filter: AvailableFilters, status: boolean): Promise<this>
Sets the filter status on the audio.
| Type | Description |
|---|
Promise<this> | The filters. |
async setKaraoke(karaoke?: KaraokeOptions): Promise<this>
Sets the karaoke effect on the audio.
| Parameter | Type | Description | Optional |
|---|
karaoke | KaraokeOptions | The karaoke options. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async setRotation(rotation?: RotationOptions): Promise<this>
Sets the rotation effect on the audio.
| Parameter | Type | Description | Optional |
|---|
rotation | RotationOptions | The rotation options. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async setTimescale(timescale?: TimescaleOptions): Promise<this>
Sets the timescale effect on the audio.
| Parameter | Type | Description | Optional |
|---|
timescale | TimescaleOptions | The timescale options. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async setVibrato(vibrato?: VibratoOptions): Promise<this>
Sets the vibrato effect on the audio.
| Parameter | Type | Description | Optional |
|---|
vibrato | VibratoOptions | The vibrato options. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async slowmo(status: boolean): Promise<this>
Toggles the "Slowmo" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async soft(status: boolean): Promise<this>
Toggles the "Soft" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async trebleBass(status: boolean): Promise<this>
Toggles the "Treble Bass" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async tremolo(status: boolean): Promise<this>
Toggles the "Tremolo" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async tv(status: boolean): Promise<this>
Toggles the "TV" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |
async updateFilters(): Promise<this>
Updates the filters.
| Type | Description |
|---|
Promise<this> | The filters. |
async vaporwave(status: boolean): Promise<this>
Toggles the "Vaporwave" effect on the audio.
| Parameter | Type | Description | Optional |
|---|
status | boolean | The status. | |
| Type | Description |
|---|
Promise<this> | The filters. |