alphaTab.midi.MasterBarTickLookup
Represents the time period, for which all bars of a MasterBar are played.
class MasterBarTickLookupPropertiesโ
endโ
Gets or sets the end time in midi ticks at which the MasterBar is played.
- JavaScript
- C#
- Kotlin
end: number;double End { get; set; }var end: DoublefirstBeatโ
The first beat in the bar.
- JavaScript
- C#
- Kotlin
firstBeat: BeatTickLookup | null;BeatTickLookup? FirstBeat { get; set; }var firstBeat: BeatTickLookup?lastBeatโ
The last beat in the bar.
- JavaScript
- C#
- Kotlin
masterBarโ
Gets or sets the MasterBar which is played.
nextMasterBarโ
Gets or sets the MasterBarTickLookup of the next masterbar in the Score
- JavaScript
- C#
- Kotlin
nextMasterBar: MasterBarTickLookup | null;MasterBarTickLookup? NextMasterBar { get; set; }var nextMasterBar: MasterBarTickLookup?previousMasterBarโ
Gets or sets the MasterBarTickLookup of the previous masterbar in the Score
- JavaScript
- C#
- Kotlin
previousMasterBar: MasterBarTickLookup | null;MasterBarTickLookup? PreviousMasterBar { get; set; }var previousMasterBar: MasterBarTickLookup?startโ
Gets or sets the start time in midi ticks at which the MasterBar is played.
- JavaScript
- C#
- Kotlin
start: number;double Start { get; set; }var start: Doubletempoโ
use tempoChanges
Gets or sets the current tempo when the MasterBar is played.
- JavaScript
- C#
- Kotlin
readonly tempo: number;double Tempo { get; }val tempo: DoubletempoChangesโ
Gets the list of tempo changes within the tick lookup.
- JavaScript
- C#
- Kotlin
readonly tempoChanges: MasterBarTickLookupTempoChange[];IList<MasterBarTickLookupTempoChange> TempoChanges { get; }val tempoChanges: alphaTab.collections.List<MasterBarTickLookupTempoChange>Methodsโ
addBeatโ
Adds a new beat to this masterbar following the slicing logic required by the MidiTickLookup.
- JavaScript
- C#
- Kotlin
| Parameter | Summary |
|---|---|
beatAll | The beat to add to this masterbat |
beatPlaybackStartAll | The original start of this beat. This time is relevant for highlighting. |
sliceStartAll | The slice start to which this beat should be added. This time is relevant for creating new slices. |
sliceDurationAll | The slice duration to which this beat should be added. This time is relevant for creating new slices. |
Returnsโ
The first item of the chain which was affected.