audio/chord_object.h file

Chord object in the TimelineArranger.

Contents

Classes

struct ChordObject
A ChordObject to be shown in the TimelineArrangerWidget.

Typedefs

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

Functions

void chord_object_init_loaded(ChordObject* self)
Init the ChordObject after the Project is loaded.
auto chord_object_new(Region* region, int index, int is_main) -> ChordObject*
Creates a ChordObject.
void chord_object_set_region(ChordObject* self, Region* region)
Sets the Track of the chord.
auto chord_object_get_chord_descriptor(ChordObject* self) -> ChordDescriptor*
Returns the ChordDescriptor associated with this ChordObject.
void chord_object_update_frames(ChordObject* self)
Updates the frames of each position in each child of the ChordObject recursively.
auto chord_object_find(ChordObject* clone) -> ChordObject*
Finds the ChordObject in the project corresponding to the given one.
auto chord_object_find_by_pos(ChordObject* clone) -> ChordObject*
Finds the ChordObject in the project corresponding to the given one's position.
auto chord_object_clone(ChordObject* src, ChordObjectCloneFlag flag) -> ChordObject*
Clones the given chord.
void chord_object_free(ChordObject* self)
Frees the ChordObject.

Defines

#define chord_object_get_main_chord_object(r)
Gets the main counterpart of the ChordObject.
#define chord_object_get_main_trans_chord_object(r)
Gets the transient counterpart of the ChordObject.