|
juce::String | engine::toString (CurveModifierType) |
| Converts a CurveModifierType to a string if possible.
|
|
std::optional< CurveModifierType > | engine::curveModifierTypeFromString (juce::String) |
| Converts a string to a CurveModifierType if possible.
|
|
BaseAndModValue | engine::getValuesAtEditPosition (AutomationCurveModifier &, AutomatableParameter &, EditPosition) |
| Returns the base and modifier values this AutomationCurveModifier will apply at the given position.
|
|
BaseAndModValue | engine::getValuesAtCurvePosition (AutomationCurveModifier &, AutomatableParameter &, EditPosition) |
| Returns the base and modifier values this AutomationCurveModifier will apply at the given position.
|
|
BaseAndModValue | engine::getValuesAtCurvePositionUnlooped (AutomationCurveModifier &, AutomatableParameter &, EditPosition) |
| Similar to getValuesAtCurvePosition but doesn't apply the looping which can be useful when drawing the curves.
|
|
std::optional< EditPosition > | engine::applyTimingToCurvePosition (AutomationCurveModifier &, CurveModifierType, EditPosition) |
| Takes a position relative to the AutomationCurveModifier and applies the CurveTiming to it, giving a final position relative to the AutomationCurve.
|
|
std::optional< EditPosition > | engine::editPositionToCurvePosition (AutomationCurveModifier &, CurveModifierType, EditPosition) |
| Converts a position relative to the Edit and applies the CurvePosition and CurveTiming to it, giving a final position relative to the AutomationCurve.
|
|
float | engine::getDefaultValue (AutomatableParameter &, CurveModifierType) |
| Returns the default value used if there is no curve for the given type.
|
|
bool | engine::hasAnyPoints (AutomationCurveModifier &) |
| Returns true if any of the curves have any points.
|
|
AutomatableParameter::Ptr | engine::getParameter (const AutomationCurveModifier &) |
| Returns the destination parameter this curve is controlling.
|
|
AutomationCurveModifier::Ptr | engine::getAutomationCurveModifierForID (Edit &, EditItemID) |
| Returns the AutomationCurveModifier with the given EditItemID.
|
|
void | engine::updateRelativeDestinationOrRemove (AutomationCurveList &, AutomationCurveModifier &, Clip &newParent) |
| Looks at the destinations on the given AutomationCurveModifier and tries to re-assign parameters to corresponding parameters via the newParent Clip.
|
|
void | engine::assignNewIDsToAutomationCurveModifiers (Edit &, juce::ValueTree &) |
| Iterates over the given tree and gives new IDs to any AutomationCurveModifier states.
|
|
void | engine::removeInvalidAutomationCurveModifiers (juce::ValueTree &, const AutomatableParameter &) |
| Removes any assignments in the given state if they don't have the given parameter as the destination.
|
|
void | engine::detail::processValue (AutomatableParameter &, CurveModifierType, float curveValue, float &baseValue, float &modValue) |
|