audio/scale_object.h file

Scale object inside the chord Track in the TimelineArranger.

Contents

Classes

struct ScaleObject
A ScaleObject to be shown in the TimelineArrangerWidget.

Typedefs

using ScaleObject = struct ScaleObject
A ScaleObject to be shown in the TimelineArrangerWidget.

Functions

void scale_object_init_loaded(ScaleObject* self)
Init the ScaleObject after the Project is loaded.
auto scale_object_new(MusicalScale* descr, int is_main) -> ScaleObject*
Creates a ScaleObject.
auto scale_object_get_track(ScaleObject* self) -> Track*
Returns the Track this ScaleObject is in.
void scale_object_set_track(ScaleObject* self, Track* track)
Sets the Track of the scale.
void scale_object_update_frames(ScaleObject* self)
Updates the frames of each position in each child of the ScaleObject recursively.
auto scale_object_find(ScaleObject* clone) -> ScaleObject*
Finds the ScaleObject in the project corresponding to the given one.
auto scale_object_clone(ScaleObject* src, ScaleObjectCloneFlag flag) -> ScaleObject*
Clones the given scale.
void scale_object_free(ScaleObject* self)
Frees the ScaleObject.

Defines

#define scale_object_get_main_scale_object(r)
Gets the main counterpart of the ScaleObject.
#define scale_object_get_main_trans_scale_object(r)
Gets the transient counterpart of the ScaleObject.