audio/automation_curve.h file

AutomationCurve API.

Contents

Classes

struct AutomationCurve
The curve between two AutomationPoint's.

Enums

enum AutomationCurveType { AUTOMATION_CURVE_TYPE_BOOL, AUTOMATION_CURVE_TYPE_STEP, AUTOMATION_CURVE_TYPE_FLOAT }
Type of AutomationCurve.

Typedefs

using AutomationCurveType = enum AutomationCurveType
Type of AutomationCurve.
using AutomationCurve = struct AutomationCurve
The curve between two AutomationPoint's.

Functions

auto automation_curve_new(const AutomatableType a_type, const Position* pos) -> AutomationCurve*
Creates an AutomationCurve.
auto automation_curve_get_normalized_value(AutomationCurve* ac, double x) -> double
The function to return a point on the curve.
void automation_curve_update_frames(AutomationCurve* self)
Updates the frames of each position in each child of the AutomationCurve recursively.
void automation_curve_set_curviness(AutomationCurve* ac, float curviness)
Sets the curviness of the AutomationCurve.
void automation_curve_free(AutomationCurve* ap)
Frees the automation point.