Search results

Types

Classes
Interfaces
Enums
Functions
Type aliases
Constants

Members

Properties
Methods
Getters
Setters
Enum members
Show privates

Other

In this module only

Class FFmpegAudioFilters

Defined in FFmpegAudioFilters.ts

Methods

get rotatingAudio(): string[src]

8D audio

get mono(): string[src]

Mono

get extraStereo(): string[src]

Augmented stereo

get vibrato(): string[src]

Vibrato

get reverse(): string[src]

Play the sound in reverse

get flanger(): string[src]

Flanger

get chorus(): string[src]

3D audio

pingPongDelay(value: number): string[src]

Right then left delay

· value - The delay time in seconds

Returns

undefined
speed(value: number): string[src]

Speed sup/down the music

· value - The speed value (between 50% and 1000%)

Returns

undefined
bassBoost(amount: number): string[src]

basSSssS goes bRRRRR

· amount - Boost intensity

Returns

undefined

Example

queue.setFilters(AudioFilters.bassBoost(20));

tremolo(value: number): string[src]

tRRrrrRRRRemolo

· value - Tremolo intensity (between 0.1 and 20000)

Returns

undefined
volume(value: number): string[src]

Sets the volume (FFmpeg filter, not Discord bot volume)

· value - The volume (no limit)

Returns

undefined
customEqualizer(
options: FFmpegCustomEqualizerOptionsinterface FFmpegCustomEqualizerOptionsutils/FFmpegCustomEqualizerOptions
): string
[src]

10 band equalizer

· options - At least 1 band is required (percentage)

Returns

undefined

Example

AudioFilters.customEqualizer({ band1: 99, band2: 45, band3: 54, band4: 53, band5: 52, band6: 51, band7: 50, band8: 49, band9: 48, band10: 47, })

customFilter(filter: string): string[src]

Adds a custom filter

· filter - The filter

Returns

undefined
private _isBetween(n: number | any, min: number, max: number): boolean[src]

Checks if a value is within a range of numbers

· n - The number to check
· min - The min number
· max - The max number

Returns

undefined