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) |