Creates a new filter manager.
The player this filter manager belongs to.
ReadonlybandsThe bands applied to the player.
The current filter settings applied to the player.
ReadonlydspxThe DSPX plugin filters manager.
The enabled filters for the player.
ReadonlyplayerThe player this filter manager belongs to.
ReadonlypluginThe lavalink plugin filters manager.
Applies the current filters to the player.
A promise that resolves to the instance of the filter manager.
Checks if the current filters are active.
Optionaltimescale: TimescaleSettingsThe timescale settings to check against.
Clears all EQ bands for the player.
A promise that resolves to the instance of the manager.
Checks if a specific filter is active.
The filter type to check.
True if the filter is active, false otherwise.
Resets all filters to their default values.
A promise that resolves to the instance of the filter manager.
Sets the audio output for the player.
The audio output to set.
A promise that resolves to the player instance.
Set the distortion filter with the given settings.
Optionalsettings: Partial<DistortionSettings> = DefaultFilterPreset.DistortionThe settings for the distortion filter.
The instance of the filter manager.
Sets the EQ bands for the player.
The EQ band settings to set.
A promise that resolves to the instance of the manager.
Set the karaoke filter with the given settings.
Optionalsettings: Partial<KaraokeSettings> = DefaultFilterPreset.KaraokeThe settings for the karaoke filter.
The instance of the filter manager.
Set the low-pass filter with the given settings.
Optionalsettings: Partial<LowPassSettings> = DefaultFilterPreset.LowpassThe settings for the low-pass filter.
The instance of the filter manager.
Set the nightcore filter with the given settings.
Optionalsettings: Partial<TimescaleSettings> = DefaultFilterPreset.NightcoreThe settings for the nightcore filter.
The instance of the filter manager.
Sets the pitch for the player.
The pitch
A promise that resolves to the player instance.
Sets the rate for the player.
The rate to set (default is 1).
A promise that resolves to the player instance.
Sets the speed for the player.
The speed to set (default is 1).
A promise that resolves to the player instance.
Set the timescale filter with the given settings.
The timescale settings to set.
The instance of the filter manager.
Set the tremolo filter with the given settings.
Optionalsettings: Partial<TremoloSettings> = DefaultFilterPreset.TremoloThe settings for the tremolo filter.
The instance of the filter manager.
Set the vaporwave filter with the given settings.
Optionalsettings: Partial<TimescaleSettings> = DefaultFilterPreset.VaporwaveThe settings for the vaporwave filter.
The instance of the filter manager.
Set the vibrato filter with the given settings.
Optionalsettings: Partial<TremoloSettings> = DefaultFilterPreset.VibratoThe settings for the vibrato filter.
The instance of the filter manager.
Sets the volume for the player.
The volume level to set (between 0 and 5).
A promise that resolves to the player instance.
Convert the filter settings to a JSON object.
The filter settings as a JSON object.
Class representing a filter manager for a player. FilterManager