JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
juce::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 autogetAudioParameterFloatAttributes () const
 
const autogetDiscrete () const
 
const autogetBoolean () 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

@tags{Audio}

Definition at line 38 of file juce_AudioProcessorValueTreeState.h.

Member Function Documentation

◆ getAudioParameterFloatAttributes()

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

Definition at line 74 of file juce_AudioProcessorValueTreeState.h.

◆ getBoolean()

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

Definition at line 78 of file juce_AudioProcessorValueTreeState.h.

◆ getDiscrete()

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

Definition at line 76 of file juce_AudioProcessorValueTreeState.h.

◆ withAutomatable()

auto juce::AudioProcessorValueTreeStateParameterAttributes::withAutomatable ( bool  x) const

◆ withBoolean()

auto juce::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.

Definition at line 71 of file juce_AudioProcessorValueTreeState.h.

◆ withCategory()

auto juce::AudioProcessorValueTreeStateParameterAttributes::withCategory ( Category  x) const

◆ withDiscrete()

auto juce::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.

Definition at line 65 of file juce_AudioProcessorValueTreeState.h.

◆ withInverted()

auto juce::AudioProcessorValueTreeStateParameterAttributes::withInverted ( bool  x) const

◆ withLabel()

auto juce::AudioProcessorValueTreeStateParameterAttributes::withLabel ( String  x) const

◆ withMeta()

auto juce::AudioProcessorValueTreeStateParameterAttributes::withMeta ( bool  x) const

◆ withStringFromValueFunction()

auto juce::AudioProcessorValueTreeStateParameterAttributes::withStringFromValueFunction ( StringFromValue  x) const

◆ withValueFromStringFunction()

auto juce::AudioProcessorValueTreeStateParameterAttributes::withValueFromStringFunction ( ValueFromString  x) const

The documentation for this class was generated from the following file: