alphaTab.model.Track
Description
This public class describes a single track or instrument of score. It is primarily a list of staves containing individual music notation kinds.
class Track
Properties
color | Gets or sets the display color defined for this track. |
defaultSystemsLayout | Defines how many bars are placed into the systems (rows) when displaying |
index | Gets or sets the zero-based index of this track. |
isVisibleOnMultiTrack | Gets or sets whether this track should be visible in the UI. |
name | Gets or sets the long name of this track. |
percussionArticulations | Gets or sets a mapping on which staff lines particular percussion instruments |
playbackInfo | Gets or sets the playback information for this track. |
score | Gets or sets the reference this track belongs to. |
shortName | Gets or sets the short name of this track. |
staves | Gets or sets the list of staves that are defined for this track. |
style | The style customizations for this item. |
systemsLayout | Defines how many bars are placed into the systems (rows) when displaying |
Methods
addStaff(Staff) | |
applyLyrics(Lyrics[]) | |
ensureStaveCount(number) | |
finish(Settings, Map<string, unknown> | null) |