11namespace tracktion {
inline namespace engine
49 bool isForModifierSource (
const ModifierSource&)
const override;
71 AutomatableParameter::Ptr typeParam, shapeParam, syncTypeParam, rateParam, rateTypeParam, depthParam, stepDepthParam, smoothParam, bipolarParam;
74 struct RandomModifierTimer;
80 float previousRandom = 0.0f, currentRandom = 0.0f, randomDifference = 0.0f;
82 void setPhase (
float newPhase);
83 void valueTreeChanged()
override;
The Tracktion Edit class!
float getCurrentValue() override
Returns the current value of the LFO.
void applyToBuffer(const PluginRenderContext &) override
Sub classes should implement this to process the Modifier.
AutomatableParameter::ModifierAssignment * createAssignment(const juce::ValueTree &) override
Must return a new ModifierAssignment for a given state.
juce::String getSelectableDescription() override
Subclasses must return a description of what they are.
float getCurrentPhase() const noexcept
Returns the current phase between 0 & 1.
void initialise() override
Call this once after construction to connect it to the audio graph.
ProcessingPosition getProcessingPosition() override
Should return the position in the plugin chain that this Modifier should be processed.
#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.