Record Class AudioDynamicProcessor.CompressionSettings
java.lang.Object
java.lang.Record
org.episteme.core.media.audio.AudioDynamicProcessor.CompressionSettings
- Enclosing class:
AudioDynamicProcessor
public static record AudioDynamicProcessor.CompressionSettings(double thresholdDb, double ratio, double attackMs, double releaseMs, double kneeDb, double makeupGainDb)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCompressionSettings(double thresholdDb, double ratio, double attackMs, double releaseMs, double kneeDb, double makeupGainDb) Creates an instance of aCompressionSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleattackMs()Returns the value of theattackMsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doublekneeDb()Returns the value of thekneeDbrecord component.doubleReturns the value of themakeupGainDbrecord component.doubleratio()Returns the value of theratiorecord component.doubleReturns the value of thereleaseMsrecord component.doubleReturns the value of thethresholdDbrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CompressionSettings
public CompressionSettings(double thresholdDb, double ratio, double attackMs, double releaseMs, double kneeDb, double makeupGainDb) Creates an instance of aCompressionSettingsrecord class.- Parameters:
thresholdDb- the value for thethresholdDbrecord componentratio- the value for theratiorecord componentattackMs- the value for theattackMsrecord componentreleaseMs- the value for thereleaseMsrecord componentkneeDb- the value for thekneeDbrecord componentmakeupGainDb- the value for themakeupGainDbrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
thresholdDb
public double thresholdDb()Returns the value of thethresholdDbrecord component.- Returns:
- the value of the
thresholdDbrecord component
-
ratio
public double ratio()Returns the value of theratiorecord component.- Returns:
- the value of the
ratiorecord component
-
attackMs
public double attackMs()Returns the value of theattackMsrecord component.- Returns:
- the value of the
attackMsrecord component
-
releaseMs
public double releaseMs()Returns the value of thereleaseMsrecord component.- Returns:
- the value of the
releaseMsrecord component
-
kneeDb
public double kneeDb()Returns the value of thekneeDbrecord component.- Returns:
- the value of the
kneeDbrecord component
-
makeupGainDb
public double makeupGainDb()Returns the value of themakeupGainDbrecord component.- Returns:
- the value of the
makeupGainDbrecord component
-