Zrythm
a highly automated and intuitive digital audio workstation
|
The Tracklist contains all the tracks in the Project. More...
#include <dsp/tracklist.h>
Data Fields | |
Track * | tracks [MAX_TRACKS] |
All tracks that exist. | |
int | num_tracks |
Track * | chord_track |
The chord track, for convenience. | |
Track * | marker_track |
The marker track, for convenience. | |
Track * | tempo_track |
The tempo track, for convenience. | |
Track * | modulator_track |
The modulator track, for convenience. | |
Track * | master_track |
The master track, for convenience. | |
TracklistWidget * | widget |
Non-pinned TracklistWidget. | |
PinnedTracklistWidget * | pinned_widget |
PinnedTracklistWidget. | |
int | pinned_tracks_cutoff |
Index starting from which tracks are unpinned. | |
bool | swapping_tracks |
When this is true, some tracks may temporarily be moved beyond num_tracks. | |
SampleProcessor * | sample_processor |
Pointer to owner sample processor, if any. | |
Project * | project |
Pointer to owner project, if any. | |
int | width |
Width of track widgets. | |
The Tracklist contains all the tracks in the Project.
There should be a clear separation between the Tracklist and the Mixer. The Tracklist should be concerned with Tracks in the arranger, and the Mixer should be concerned with Channels, routing and Port connections.
Definition at line 60 of file tracklist.h.
Track* Tracklist::chord_track |
The chord track, for convenience.
Definition at line 85 of file tracklist.h.
Track* Tracklist::marker_track |
The marker track, for convenience.
Definition at line 88 of file tracklist.h.
Track* Tracklist::master_track |
The master track, for convenience.
Definition at line 97 of file tracklist.h.
Track* Tracklist::modulator_track |
The modulator track, for convenience.
Definition at line 94 of file tracklist.h.
int Tracklist::num_tracks |
Definition at line 82 of file tracklist.h.
int Tracklist::pinned_tracks_cutoff |
Index starting from which tracks are unpinned.
Tracks before this position will be considered as pinned.
Definition at line 110 of file tracklist.h.
PinnedTracklistWidget* Tracklist::pinned_widget |
Definition at line 103 of file tracklist.h.
Project* Tracklist::project |
Pointer to owner project, if any.
Definition at line 120 of file tracklist.h.
SampleProcessor* Tracklist::sample_processor |
Pointer to owner sample processor, if any.
Definition at line 117 of file tracklist.h.
bool Tracklist::swapping_tracks |
When this is true, some tracks may temporarily be moved beyond num_tracks.
Definition at line 114 of file tracklist.h.
Track* Tracklist::tempo_track |
The tempo track, for convenience.
Definition at line 91 of file tracklist.h.
Track* Tracklist::tracks[MAX_TRACKS] |
All tracks that exist.
These should always be sorted in the same way they should appear in the GUI and include hidden tracks.
Pinned tracks should have lower indices. Ie, the sequence must be: { pinned track, pinned track, pinned track, track, track, track, ... }
Definition at line 80 of file tracklist.h.
TracklistWidget* Tracklist::widget |
Non-pinned TracklistWidget.
Definition at line 100 of file tracklist.h.
int Tracklist::width |
Width of track widgets.
Definition at line 123 of file tracklist.h.