Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public final class AudioParamDescriptor
- Object
- AudioParamDescriptor
Constructors
Methods
public String getName() | |
public float getDefaultValue() | |
public float getMinValue() | |
public float getMaxValue() | |
public AutomationRate getAutomationRate() |
Inherited methods
Constructor details
AudioParamDescriptor
public AudioParamDescriptor(String name, float defaultValue)An audio rate parameter with no range.
Parameters
nameString- the parameter’s name
defaultValuefloat- 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
nameString- the parameter’s name
defaultValuefloat- its initial value
minValuefloat- the lowest value it takes
maxValuefloat- the highest value it takes
rateAutomationRate- audio or control rate
Method details
getName
public String 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
public AutomationRate getAutomationRate()Returns
the automation rate