Loading...
Searching...
No Matches
juce::AudioProcessorValueTreeState::Listener Struct Referenceabstract

Detailed Description

A listener class that can be attached to an AudioProcessorValueTreeState.

Use AudioProcessorValueTreeState::addParameterListener() to register a callback.

Public Member Functions

virtual ~Listener ()=default
virtual void parameterChanged (const String &parameterID, float newValue)=0
 This callback method is called by the AudioProcessorValueTreeState when a parameter changes.

Constructors and Destructors

◆ ~Listener()

virtual juce::AudioProcessorValueTreeState::Listener::~Listener ( )
virtualdefault

Member Functions

◆ parameterChanged()

virtual void juce::AudioProcessorValueTreeState::Listener::parameterChanged ( const String & parameterID,
float newValue )
pure virtual

This callback method is called by the AudioProcessorValueTreeState when a parameter changes.

Within this call, retrieving the value of the parameter that has changed via the getRawParameterValue() or getParameter() methods is not guaranteed to return the up-to-date value. If you need this you should instead use the newValue parameter.

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram