An AutomationCurveModifier contains three curves to control automation: absolute, relative and scale.
More...
#include <tracktion_AutomationCurveList.h>
Inherits juce::ReferenceCountedObject, EditItem, Selectable, AutomatableParameter::ModifierSource, and juce::ValueTree::Listener.
An AutomationCurveModifier contains three curves to control automation: absolute, relative and scale.
The first sets the base value of a parameter and the latter two the modifier value. Each curve has independent timing information so complex patterns can be set up with multiple curves looping at different intervals.
◆ Ptr
◆ Array
◆ AutomationCurveModifier()
◆ ~AutomationCurveModifier()
engine::AutomationCurveModifier::~AutomationCurveModifier |
( |
| ) |
|
|
override |
◆ getDestID()
The ID of the AutomatableParameter this curve is modifying.
◆ setDestination()
bool engine::AutomationCurveModifier::setDestination |
( |
AutomatableEditItem & |
| ) |
|
Re-assigns this to a new destination.
The paramID has to be the same (as curve ranges etc. won't apply otherwise). N.B. There are limitations to what parameters can be assigned to (such as if they're on the same track etc.) so this returns false if the assignment couldn't be made.
◆ getCurveTiming()
Returns the timing properties for a curve type.
◆ getCurve()
Returns the CurveInfo for a given curve type.
◆ getPosition()
CurvePosition engine::AutomationCurveModifier::getPosition |
( |
| ) |
const |
Returns the position this curve occupies.
N.B. This is dynamic and is usually determined by an owning clip position or launched clip start time. If you're drawing the curve, you should use the raw times of the curve points.
In linked mode, this generally relates to the clip's position. In unlinked/free mode the loop and start/length and loop start/length determine the curve's position.
◆ getClipPositionInfo()
Returns the position info of the owning clip.
I.e. the offset and loop properties. These are used in "linked" mode to determine how the curve playhead loops.
◆ remove()
void engine::AutomationCurveModifier::remove |
( |
| ) |
|
Remove/deletes this curve from its parent list.
◆ getPlayhead()
Returns a playhead for the automation curve.
◆ addListener()
void engine::AutomationCurveModifier::addListener |
( |
Listener & |
| ) |
|
◆ removeListener()
void engine::AutomationCurveModifier::removeListener |
( |
Listener & |
| ) |
|
Removes a previously added listener.
◆ getName()
juce::String engine::AutomationCurveModifier::getName |
( |
| ) |
const |
|
override |
◆ getSelectableDescription()
juce::String engine::AutomationCurveModifier::getSelectableDescription |
( |
| ) |
|
|
override |
◆ setPositionDelegate()
void engine::AutomationCurveModifier::setPositionDelegate |
( |
std::function< CurvePosition()> |
| ) |
|
◆ state
juce::ValueTree engine::AutomationCurveModifier::state |
The documentation for this class was generated from the following file: