|
TracktionEngine
|
Base class for elements that have some kind of automatable parameters. More...
#include <tracktion_AutomatableEditItem.h>
Classes | |
| struct | ParameterListChangeListener |
Public Attributes | |
| juce::ValueTree | elementState |
| juce::CachedValue< bool > | remapOnTempoChange |
Public Attributes inherited from engine::EditItem | |
| Edit & | edit |
| const EditItemID | itemID |
| Every EditItem has an ID which is unique within the edit. | |
Protected Member Functions | |
| virtual void | buildParameterTree () const |
| void | updateLastPlaybackTime () |
| void | clearParameterList () |
| void | addAutomatableParameter (const AutomatableParameter::Ptr &) |
| void | rebuildParameterTree () |
| void | saveChangedParametersToState () |
| Saves the explicit value of any parameters that have deviated to the state. | |
| void | restoreChangedParametersFromState () |
| Restores the value of any explicitly set parameters. | |
Base class for elements that have some kind of automatable parameters.
| engine::AutomatableEditItem::AutomatableEditItem | ( | Edit & | , |
| const juce::ValueTree & | |||
| ) |
|
override |
|
virtual |
Reimplemented in engine::AirWindowsPlugin, engine::ExternalPlugin, and engine::Plugin.
|
virtual |
Reimplemented in engine::MacroParameterList, engine::AirWindowsPlugin, engine::ChorusPlugin, engine::CompressorPlugin, engine::DelayPlugin, engine::EqualiserPlugin, engine::FourOscPlugin, engine::ImpulseResponsePlugin, engine::LatencyPlugin, engine::MidiModifierPlugin, engine::PhaserPlugin, engine::PitchShiftPlugin, engine::ReverbPlugin, engine::SamplerPlugin, engine::ToneGeneratorPlugin, engine::ExternalPlugin, engine::AuxReturnPlugin, engine::AuxSendPlugin, engine::ChannelMapperPlugin, engine::InsertPlugin, engine::LevelMeterPlugin, engine::VCAPlugin, and engine::VolumeAndPanPlugin.
| juce::Array< AutomatableParameter * > engine::AutomatableEditItem::getAutomatableParameters | ( | ) | const |
| int engine::AutomatableEditItem::getNumAutomatableParameters | ( | ) | const |
| AutomatableParameter::Ptr engine::AutomatableEditItem::getAutomatableParameter | ( | int | index | ) | const |
| AutomatableParameter::Ptr engine::AutomatableEditItem::getAutomatableParameterByID | ( | const juce::String & | paramID | ) | const |
| void engine::AutomatableEditItem::visitAllAutomatableParams | ( | const std::function< void(AutomatableParameter &)> & | visit | ) | const |
| void engine::AutomatableEditItem::deleteParameter | ( | AutomatableParameter * | ) |
| void engine::AutomatableEditItem::deleteAutomatableParameters | ( | ) |
| int engine::AutomatableEditItem::indexOfAutomatableParameter | ( | const AutomatableParameter::Ptr & | ) | const |
| AutomatableParameterTree & engine::AutomatableEditItem::getParameterTree | ( | ) | const |
| juce::ReferenceCountedArray< AutomatableParameter > engine::AutomatableEditItem::getFlattenedParameterTree | ( | ) | const |
| void engine::AutomatableEditItem::addParameterListChangeListener | ( | ParameterListChangeListener * | ) |
| void engine::AutomatableEditItem::removeParameterListChangeListener | ( | ParameterListChangeListener * | ) |
|
noexcept |
| void engine::AutomatableEditItem::setAutomatableParamPosition | ( | TimePosition | ) |
| bool engine::AutomatableEditItem::isBeingActivelyPlayed | ( | ) | const |
|
virtual |
Updates all the auto params to their positions at this time.
[[ message_thread ]]
Reimplemented in engine::RackInstance.
| void engine::AutomatableEditItem::updateParameterStreams | ( | TimePosition | ) |
Updates all the parameter streams to their positions at this time.
This should be used during real time processing as it's a lot quicker than the above method but is called automatically by the audio graph so shouldn't really be called manually.
| void engine::AutomatableEditItem::resetRecordingStatus | ( | ) |
Marks the end of an automation recording stream.
Call this when play stops or starts.
| void engine::AutomatableEditItem::updateStreamIterators | ( | ) |
.
| void engine::AutomatableEditItem::addActiveParameter | ( | const AutomatableParameter & | ) |
.
| void engine::AutomatableEditItem::removeActiveParameter | ( | const AutomatableParameter & | ) |
.
| bool engine::AutomatableEditItem::isActiveParameter | ( | AutomatableParameter & | ) |
. Testing only.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Saves the explicit value of any parameters that have deviated to the state.
|
protected |
Restores the value of any explicitly set parameters.
| juce::ValueTree engine::AutomatableEditItem::elementState |
| juce::CachedValue<bool> engine::AutomatableEditItem::remapOnTempoChange |