Class AudioParamDescriptor
java.lang.Object
com.codename1.media.audio.AudioParamDescriptor
-
Constructor Summary
ConstructorsConstructorDescriptionAudioParamDescriptor(String name, float defaultValue) An audio rate parameter with no range.AudioParamDescriptor(String name, float defaultValue, float minValue, float maxValue, AutomationRate rate) A parameter with a range and a rate. -
Method Summary
Modifier and TypeMethodDescriptionReturns
floatReturns
floatReturns
floatReturns
getName()Returns
-
Constructor Details
-
AudioParamDescriptor
An audio rate parameter with no range.
Parameters
-
name: the parameter's name -
defaultValue: its initial value
-
-
AudioParamDescriptor
public AudioParamDescriptor(String name, float defaultValue, float minValue, float maxValue, AutomationRate rate) A parameter with a range and a rate.
Parameters
-
name: the parameter's name -
defaultValue: its initial value -
minValue: the lowest value it takes -
maxValue: the highest value it takes -
rate: audio or control rate
-
-
-
Method Details
-
getName
Returns
the name
-
getDefaultValue
public float getDefaultValue()Returns
the initial value
-
getMinValue
public float getMinValue()Returns
the lowest value
-
getMaxValue
public float getMaxValue()Returns
the highest value
-
getAutomationRate
Returns
the automation rate
-