11namespace tracktion {
inline namespace engine
49 bool isForModifierSource (
const ModifierSource&)
const override;
96 void refreshCurrentValue();
97 void updateMapFromTree();
98 void updateValueFromMap (
int);
102 void valueTreeChanged()
override;
The Tracktion Edit class!
AutomatableParameter::ModifierAssignment * createAssignment(const juce::ValueTree &) override
Must return a new ModifierAssignment for a given state.
int getCurrentMIDIValue() const noexcept
Returns the MIDI value, either a pitch or velocity.
ProcessingPosition getProcessingPosition() override
Should return the position in the plugin chain that this Modifier should be processed.
juce::StringArray getMidiInputNames() override
Can return an array of names represeting MIDI inputs.
juce::String getSelectableDescription() override
Subclasses must return a description of what they are.
void applyToBuffer(const PluginRenderContext &) override
Sub classes should implement this to process the Modifier.
void initialise() override
Call this once after construction to connect it to the audio graph.
float getCurrentValue() override
Returns the current value of the modifier.
juce::ValueTree getNodeState() const
Returns a ValueTree representing the absolute nodes of the map.
#define TRANS(stringLiteral)
Connects a modifier source to an AutomatableParameter.
ID for objects of type EditElement - e.g.
Bass class for parameter Modifiers.
virtual void initialise()=0
Call this once after construction to connect it to the audio graph.
ProcessingPosition
Determines the position in the FX chain where the modifier should be processed.
@ preFX
The Modifier is processed before the plugn chain.
The context passed to plugin render methods to provide it with buffers to fill.