JUCE
|
Advanced properties of an AudioProcessorValueTreeState::Parameter. More...
#include <juce_AudioProcessorValueTreeState.h>
Public Member Functions | |
auto | withStringFromValueFunction (StringFromValue x) const |
auto | withValueFromStringFunction (ValueFromString x) const |
auto | withLabel (String x) const |
auto | withCategory (Category x) const |
auto | withMeta (bool x) const |
auto | withAutomatable (bool x) const |
auto | withInverted (bool x) const |
auto | withDiscrete (bool x) const |
Pass 'true' if this parameter has discrete steps, or 'false' if the parameter is continuous. | |
auto | withBoolean (bool x) const |
Pass 'true' if this parameter only has two valid states. | |
const auto & | getAudioParameterFloatAttributes () const |
const auto & | getDiscrete () const |
const auto & | getBoolean () const |
Advanced properties of an AudioProcessorValueTreeState::Parameter.
The members here have the same meaning as the similarly-named member functions of AudioParameterFloatAttributes.
auto AudioProcessorValueTreeStateParameterAttributes::withStringFromValueFunction | ( | StringFromValue | x | ) | const |
auto AudioProcessorValueTreeStateParameterAttributes::withValueFromStringFunction | ( | ValueFromString | x | ) | const |
References withMember(), RangedAudioParameterAttributes< Derived, Value >::withMeta(), and x.
Pass 'true' if this parameter has discrete steps, or 'false' if the parameter is continuous.
Using an AudioParameterChoice or AudioParameterInt might be a better choice than setting this flag.
References withMember(), and x.
Pass 'true' if this parameter only has two valid states.
Using an AudioParameterBool might be a better choice than setting this flag.
References withMember(), and x.
const auto & AudioProcessorValueTreeStateParameterAttributes::getAudioParameterFloatAttributes | ( | ) | const |