12#ifndef __AUDIO_CHORD_TRACK_H__
13#define __AUDIO_CHORD_TRACK_H__
25#define P_CHORD_TRACK (TRACKLIST->chord_track)
28typedef struct _ChordTrackWidget ChordTrackWidget;
31typedef struct Track ChordTrack;
77chord_track_validate (
Track * self);
82#define chord_track_get_chord_at_playhead(ct) \
83 chord_track_get_chord_at_pos (ct, PLAYHEAD)
95#define chord_track_get_scale_at_playhead(ct) \
96 chord_track_get_scale_at_pos (ct, PLAYHEAD)
The backend for a timeline track.
void chord_track_remove_region(ChordTrack *self, Region *region)
Removes a region from the chord track.
ChordObject * chord_track_get_chord_at_pos(const Track *ct, const Position *pos)
Returns the ChordObject at the given Position in the TimelineArranger.
void chord_track_remove_scale(ChordTrack *self, ScaleObject *scale, bool free)
Removes a scale from the chord Track.
ChordTrack * chord_track_new(int track_pos)
Creates a new chord Track.
void chord_track_add_scale(ChordTrack *track, ScaleObject *scale)
Adds a scale to the track.
void chord_track_insert_scale(ChordTrack *track, ScaleObject *scale, int pos)
Inserts a scale to the track.
void chord_track_init(Track *track)
Inits a chord track (e.g.
void chord_track_clear(ChordTrack *self)
Removes all objects from the chord track.
void chord_track_insert_chord_region(ChordTrack *track, Region *region, int idx)
Inserts a chord region to the Track at the given index.
ScaleObject * chord_track_get_scale_at_pos(const Track *ct, const Position *pos)
Returns the ScaleObject at the given Position in the TimelineArranger.
A ChordObject to be shown in the TimelineArrangerWidget.
Musical scale descriptor.
A Position is made up of bars.beats.sixteenths.ticks.
A region (clip) is an object on the timeline that contains either MidiNote's or AudioClip's.
A ScaleObject to be shown in the TimelineArrangerWidget.
Track to be inserted into the Project's Tracklist.
int pos
Position in the Tracklist.