Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
TrackLane Struct Reference

A TrackLane belongs to a Track (can have many TrackLanes in a Track) and contains Regions. More...

#include <dsp/track_lane.h>

Collaboration diagram for TrackLane:

Data Fields

int pos
 Position in the Track.
 
char * name
 Name of lane, e.g.
 
int y
 TrackLaneWidget for this lane.
 
double height
 Position of handle.
 
int mute
 Muted or not.
 
int solo
 Soloed or not.
 
Region ** regions
 Regions in this track.
 
int num_regions
 
size_t regions_size
 
uint8_t midi_ch
 MIDI channel, if MIDI lane, starting at 1.
 
CustomButtonWidgetbuttons [8]
 Buttons used by the track widget.
 
int num_buttons
 
Tracktrack
 Owner track.
 
int magic
 

Detailed Description

A TrackLane belongs to a Track (can have many TrackLanes in a Track) and contains Regions.

Only Tracks that have Regions can have TrackLanes, such as InstrumentTrack and AudioTrack.

Definition at line 44 of file track_lane.h.

Field Documentation

◆ buttons

CustomButtonWidget* TrackLane::buttons[8]

Buttons used by the track widget.

Definition at line 83 of file track_lane.h.

◆ height

double TrackLane::height

Position of handle.

Definition at line 59 of file track_lane.h.

◆ magic

int TrackLane::magic

Definition at line 89 of file track_lane.h.

◆ midi_ch

uint8_t TrackLane::midi_ch

MIDI channel, if MIDI lane, starting at 1.

If this is set to 0, the value will be inherited from the Track.

Definition at line 78 of file track_lane.h.

◆ mute

int TrackLane::mute

Muted or not.

Definition at line 62 of file track_lane.h.

◆ name

char* TrackLane::name

Name of lane, e.g.

"Lane 1".

Definition at line 50 of file track_lane.h.

◆ num_buttons

int TrackLane::num_buttons

Definition at line 84 of file track_lane.h.

◆ num_regions

int TrackLane::num_regions

Definition at line 69 of file track_lane.h.

◆ pos

int TrackLane::pos

Position in the Track.

Definition at line 47 of file track_lane.h.

◆ regions

Region** TrackLane::regions

Regions in this track.

Definition at line 68 of file track_lane.h.

◆ regions_size

size_t TrackLane::regions_size

Definition at line 70 of file track_lane.h.

◆ solo

int TrackLane::solo

Soloed or not.

Definition at line 65 of file track_lane.h.

◆ track

Track* TrackLane::track

Owner track.

Definition at line 87 of file track_lane.h.

◆ y

int TrackLane::y

TrackLaneWidget for this lane.

Y local to track.

Definition at line 56 of file track_lane.h.


The documentation for this struct was generated from the following file: