|
JUCE
|
Public Types | |
| using | Category = AudioProcessorParameter::Category |
| using | StringFromValue = std::function<String (Value, int)> |
| using | ValueFromString = std::function<Value (const String&)> |
Public Member Functions | |
| auto | withStringFromValueFunction (StringFromValue x) const |
| An optional lambda function that converts a non-normalised value to a string with a maximum length. | |
| auto | withValueFromStringFunction (ValueFromString x) const |
| An optional lambda function that parses a string and converts it into a non-normalised value. | |
| auto | withLabel (String x) const |
| See AudioProcessorParameterWithIDAttributes::withLabel(). | |
| auto | withCategory (Category x) const |
| See AudioProcessorParameterWithIDAttributes::withCategory(). | |
| auto | withMeta (bool x) const |
| See AudioProcessorParameter::isMetaParameter(). | |
| auto | withAutomatable (bool x) const |
| See AudioProcessorParameter::isAutomatable(). | |
| auto | withInverted (bool x) const |
| See AudioProcessorParameter::isOrientationInverted(). | |
| const auto & | getStringFromValueFunction () const |
| An optional lambda function that converts a non-normalised value to a string with a maximum length. | |
| const auto & | getValueFromStringFunction () const |
| An optional lambda function that parses a string and converts it into a non-normalised value. | |
| const auto & | getAudioProcessorParameterWithIDAttributes () const |
| Gets attributes that would also apply to an AudioProcessorParameterWithID. | |
| using RangedAudioParameterAttributes< Derived, Value >::Category = AudioProcessorParameter::Category |
| using RangedAudioParameterAttributes< Derived, Value >::StringFromValue = std::function<String (Value, int)> |
| using RangedAudioParameterAttributes< Derived, Value >::ValueFromString = std::function<Value (const String&)> |
|
nodiscard |
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.
References withMember(), and x.
|
nodiscard |
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.
References withMember(), and x.
|
nodiscard |
See AudioProcessorParameterWithIDAttributes::withLabel().
References withMember(), and x.
|
nodiscard |
See AudioProcessorParameterWithIDAttributes::withCategory().
References withMember(), and x.
|
nodiscard |
See AudioProcessorParameter::isMetaParameter().
References withMember(), and x.
|
nodiscard |
See AudioProcessorParameter::isAutomatable().
References withMember(), and x.
|
nodiscard |
See AudioProcessorParameter::isOrientationInverted().
References withMember(), and x.
|
nodiscard |
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.
|
nodiscard |
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.
|
nodiscard |
Gets attributes that would also apply to an AudioProcessorParameterWithID.