Zrythm
a highly automated and intuitive digital audio workstation
|
Object to hold information for the chord track. More...
Go to the source code of this file.
Macros | |
#define | P_CHORD_TRACK (TRACKLIST->chord_track) |
#define | chord_track_get_chord_at_playhead(ct) chord_track_get_chord_at_pos (ct, PLAYHEAD) |
Returns the current chord. | |
#define | chord_track_get_scale_at_playhead(ct) chord_track_get_scale_at_pos (ct, PLAYHEAD) |
Returns the current scale. | |
Typedefs | |
typedef struct _ChordTrackWidget | ChordTrackWidget |
Functions | |
ChordTrack * | chord_track_new (int track_pos) |
Creates a new chord Track. | |
void | chord_track_init (Track *track) |
Inits a chord track (e.g. | |
void | chord_track_insert_chord_region (ChordTrack *track, Region *region, int idx) |
Inserts a chord region to the Track at the given index. | |
void | chord_track_insert_scale (ChordTrack *track, ScaleObject *scale, int pos) |
Inserts a scale to the track. | |
void | chord_track_add_scale (ChordTrack *track, ScaleObject *scale) |
Adds a scale to the track. | |
void | chord_track_remove_scale (ChordTrack *self, ScaleObject *scale, bool free) |
Removes a scale from the chord Track. | |
void | chord_track_remove_region (ChordTrack *self, Region *region) |
Removes a region from the chord track. | |
bool | chord_track_validate (Track *self) |
ChordObject * | chord_track_get_chord_at_pos (const Track *ct, const Position *pos) |
Returns the ChordObject at the given Position in the TimelineArranger. | |
ScaleObject * | chord_track_get_scale_at_pos (const Track *ct, const Position *pos) |
Returns the ScaleObject at the given Position in the TimelineArranger. | |
void | chord_track_clear (ChordTrack *self) |
Removes all objects from the chord track. | |
Object to hold information for the chord track.
Contains project scale, chord markers, etc.
Definition in file chord_track.h.