Properties of an AudioParameterChoice. More...
#include <juce_AudioParameterChoice.h>


Public Types | |
| using | Category = AudioProcessorParameter::Category |
| using | StringFromValue = std::function< String(int, int)> |
| using | ValueFromString = std::function< int(const String &)> |
Public Member Functions | |
| const JUCE_NODISCARD auto & | getAudioProcessorParameterWithIDAttributes () const |
| Gets attributes that would also apply to an AudioProcessorParameterWithID. More... | |
| const JUCE_NODISCARD auto & | getStringFromValueFunction () const |
| An optional lambda function that converts a non-normalised value to a string with a maximum length. More... | |
| const JUCE_NODISCARD auto & | getValueFromStringFunction () const |
| An optional lambda function that parses a string and converts it into a non-normalised value. More... | |
| JUCE_NODISCARD auto | withAutomatable (bool x) const |
| See AudioProcessorParameter::isAutomatable() More... | |
| JUCE_NODISCARD auto | withCategory (Category x) const |
| See AudioProcessorParameterWithIDAttributes::withCategory() More... | |
| JUCE_NODISCARD auto | withInverted (bool x) const |
| See AudioProcessorParameter::isOrientationInverted() More... | |
| JUCE_NODISCARD auto | withLabel (String x) const |
| See AudioProcessorParameterWithIDAttributes::withLabel() More... | |
| JUCE_NODISCARD auto | withMeta (bool x) const |
| See AudioProcessorParameter::isMetaParameter() More... | |
| JUCE_NODISCARD auto | withStringFromValueFunction (StringFromValue x) const |
| An optional lambda function that converts a non-normalised value to a string with a maximum length. More... | |
| JUCE_NODISCARD auto | withValueFromStringFunction (ValueFromString x) const |
| An optional lambda function that parses a string and converts it into a non-normalised value. More... | |
Private Types | |
| using | This = RangedAudioParameterAttributes |
Private Member Functions | |
| auto & | asDerived () const |
Private Attributes | |
| AudioProcessorParameterWithIDAttributes | attributes |
| StringFromValue | stringFromValue |
| ValueFromString | valueFromString |
Properties of an AudioParameterChoice.
|
inherited |
|
inherited |
|
privateinherited |
|
inherited |
|
inlineprivateinherited |
|
inlineinherited |
Gets attributes that would also apply to an AudioProcessorParameterWithID.
|
inlineinherited |
An optional lambda function that converts a non-normalised value to a string with a maximum length.
This may be used by hosts to display the parameter's value.
|
inlineinherited |
An optional lambda function that parses a string and converts it into a non-normalised value.
Some hosts use this to allow users to type in parameter values.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
An optional lambda function that converts a non-normalised value to a string with a maximum length.
This may be used by hosts to display the parameter's value.
|
inlineinherited |
An optional lambda function that parses a string and converts it into a non-normalised value.
Some hosts use this to allow users to type in parameter values.
|
privateinherited |
|
privateinherited |
|
privateinherited |