Loading...
Searching...
No Matches
Public Member Functions | List of all members
AudioProcessorValueTreeStateParameterAttributes Class Reference

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
 

Detailed Description

Advanced properties of an AudioProcessorValueTreeState::Parameter.

The members here have the same meaning as the similarly-named member functions of AudioParameterFloatAttributes.

See also
AudioParameterFloatAttributes, RangedAudioParameterAttributes

Member Function Documentation

◆ withStringFromValueFunction()

auto AudioProcessorValueTreeStateParameterAttributes::withStringFromValueFunction ( StringFromValue x) const

◆ withValueFromStringFunction()

auto AudioProcessorValueTreeStateParameterAttributes::withValueFromStringFunction ( ValueFromString x) const

◆ withLabel()

auto AudioProcessorValueTreeStateParameterAttributes::withLabel ( String x) const

◆ withCategory()

auto AudioProcessorValueTreeStateParameterAttributes::withCategory ( Category x) const

◆ withMeta()

auto AudioProcessorValueTreeStateParameterAttributes::withMeta ( bool x) const

◆ withAutomatable()

auto AudioProcessorValueTreeStateParameterAttributes::withAutomatable ( bool x) const

◆ withInverted()

auto AudioProcessorValueTreeStateParameterAttributes::withInverted ( bool x) const

◆ withDiscrete()

auto AudioProcessorValueTreeStateParameterAttributes::withDiscrete ( bool x) const

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.

◆ withBoolean()

auto AudioProcessorValueTreeStateParameterAttributes::withBoolean ( bool x) const

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.

◆ getAudioParameterFloatAttributes()

const auto & AudioProcessorValueTreeStateParameterAttributes::getAudioParameterFloatAttributes ( ) const
Returns
all attributes that might also apply to an AudioParameterFloat

◆ getDiscrete()

const auto & AudioProcessorValueTreeStateParameterAttributes::getDiscrete ( ) const
Returns
'true' if this parameter has discrete steps, or 'false' if the parameter is continuous.

◆ getBoolean()

const auto & AudioProcessorValueTreeStateParameterAttributes::getBoolean ( ) const
Returns
'true' if this parameter only has two valid states.

The documentation for this class was generated from the following file:
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram