alphaTab.model.Voice
Description
A voice represents a group of beats that can be played during a bar.
class Voice
Properties
bar | Gets or sets the reference to the bar this voice belongs to. |
beats | Gets or sets the list of beats contained in this voice. |
id | Gets or sets the unique id of this bar. |
index | Gets or sets the zero-based index of this voice within the bar. |
isEmpty | Gets or sets a value indicating whether this voice is empty. |
isRestOnly | Gets or sets a value indicating whether this voice is empty. |
style | The style customizations for this item. |
Methods
addBeat(Beat) | |
addGraceBeat(Beat) | |
calculateDuration() | |
finish(Settings, Map<string, unknown> | null) | |
getBeatAtPlaybackStart(number) | |
insertBeat(Beat, Beat) |