audio/chord_object.h file

Contents

Chord object in the TimelineArranger.

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

auto chord_object_new(RegionIdentifier* region_id, int chord_index, int index) -> ChordObject*
Creates a ChordObject.
void chord_object_set_region_and_index(ChordObject* self, ZRegion* region, int idx)
Sets the region and index of the chord.
auto chord_object_get_chord_descriptor(ChordObject* self) -> ChordDescriptor*
Returns the ChordDescriptor associated with this ChordObject.
auto chord_object_find_by_pos(ChordObject* clone) -> ChordObject*
Finds the ChordObject in the project corresponding to the given one's position.