alphaTab.midi.BeatTickLookup
Represents the time period, for which one or multiple Beat s are played
class BeatTickLookupProperties​
duration​
Gets the tick duration of this lookup.
- JavaScript
- C#
- Kotlin
readonly duration: number;double Duration { get; }val duration: Doubleend​
Gets or sets the end time in midi ticks at which the given beat is played.
- JavaScript
- C#
- Kotlin
end: number;double End { get; set; }var end: DoublehighlightedBeats​
Gets or sets a list of all beats that should be highlighted when the beat of this lookup starts playing. This might not mean the beats start at this position.
- JavaScript
- C#
- Kotlin
highlightedBeats: BeatTickLookupItem[];IList<BeatTickLookupItem> HighlightedBeats { get; set; }var highlightedBeats: alphaTab.collections.List<BeatTickLookupItem>nextBeat​
Gets the next BeatTickLookup which comes after this one and is in the same MasterBarTickLookup.
- JavaScript
- C#
- Kotlin
previousBeat​
Gets the preivous BeatTickLookup which comes before this one and is in the same MasterBarTickLookup.
- JavaScript
- C#
- Kotlin
previousBeat: BeatTickLookup | null;BeatTickLookup? PreviousBeat { get; set; }var previousBeat: BeatTickLookup?start​
Gets or sets the start time in midi ticks at which the given beat is played.
- JavaScript
- C#
- Kotlin
start: number;double Start { get; set; }var start: DoubleMethods​
getVisibleBeatAtStart​
Looks for the first visible beat which starts at this lookup so it can be used for cursor placement.
| Parameter | Summary |
|---|---|
visibleTracksAll | The visible tracks. |
Returns​
The first beat which is visible according to the given tracks or null.
getVisibleBeatAtStartWithChecker​
Looks for the first visible beat which starts at this lookup so it can be used for cursor placement.
- JavaScript
- C#
- Kotlin
getVisibleBeatAtStartWithChecker(checker: IBeatVisibilityChecker): Beat | nullBeat? GetVisibleBeatAtStartWithChecker(IBeatVisibilityChecker checker)fun getVisibleBeatAtStartWithChecker(checker: IBeatVisibilityChecker): Beat?| Parameter | Summary |
|---|---|
checkerAll | The custom checker to see if a beat is visible. |
Returns​
The first beat which is visible according to the given tracks or null.
highlightBeat​
Marks the given beat as highlighed as part of this lookup.
| Parameter | Summary |
|---|---|
beatAll | The beat to add. |
playbackStartAll | (no description) |