Package andesite.player.filter
Class KaraokeConfig
java.lang.Object
andesite.player.filter.KaraokeConfig
- All Implemented Interfaces:
Config
public class KaraokeConfig extends java.lang.Object implements Config
-
Field Summary
Fields inherited from interface andesite.player.filter.Config
MINIMUM_FP_DIFF -
Constructor Summary
Constructors Constructor Description KaraokeConfig() -
Method Summary
Modifier and Type Method Description com.sedmelluq.discord.lavaplayer.filter.AudioFiltercreate(com.sedmelluq.discord.lavaplayer.format.AudioDataFormat format, com.sedmelluq.discord.lavaplayer.filter.FloatPcmAudioFilter output)Creates a new audio filter with the current settings.booleanenabled()Returns whether or not this filter should be enabled.JsonObjectencode()Encodes the state of this configuration to send to clients.floatfilterBand()floatfilterWidth()floatlevel()floatmonoLevel()java.lang.Stringname()Returns the name of this filter, to be used inFilterChainConfiguration.encode().voidsetFilterBand(float filterBand)voidsetFilterWidth(float filterWidth)voidsetLevel(float level)voidsetMonoLevel(float monoLevel)Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
KaraokeConfig
public KaraokeConfig()
-
-
Method Details
-
level
-
setLevel
-
monoLevel
-
setMonoLevel
-
filterBand
-
setFilterBand
-
filterWidth
-
setFilterWidth
-
name
Description copied from interface:ConfigReturns the name of this filter, to be used inFilterChainConfiguration.encode(). -
enabled
Description copied from interface:ConfigReturns whether or not this filter should be enabled.
For filters that are enabled, but unavailable, this method should return false. -
create
@Nullable public com.sedmelluq.discord.lavaplayer.filter.AudioFilter create(com.sedmelluq.discord.lavaplayer.format.AudioDataFormat format, com.sedmelluq.discord.lavaplayer.filter.FloatPcmAudioFilter output)Description copied from interface:ConfigCreates a new audio filter with the current settings. -
encode
Description copied from interface:ConfigEncodes the state of this configuration to send to clients.
-