alphaTab.model.SustainPedalMarker
A marker on whether a sustain pedal starts or ends.
class SustainPedalMarkerProperties​
bar​
THe bar to which this marker belongs to.
nextPedalMarker​
The next pedal marker for linking the related markers together to a "down -> hold -> up" or "down -> up" sequence. Always null for "up" markers.
- JavaScript
- C#
- Kotlin
nextPedalMarker: SustainPedalMarker | null;SustainPedalMarker? NextPedalMarker { get; set; }var nextPedalMarker: SustainPedalMarker?pedalType​
Whether what should be done with the pedal at this point
- JavaScript
- C#
- Kotlin
pedalType: SustainPedalMarkerType;SustainPedalMarkerType PedalType { get; set; }var pedalType: SustainPedalMarkerTypepreviousPedalMarker​
The previous pedal marker for linking the related markers together to a "down -> hold -> up" or "down -> up" sequence. Always null for "down" markers.
- JavaScript
- C#
- Kotlin
previousPedalMarker: SustainPedalMarker | null;SustainPedalMarker? PreviousPedalMarker { get; set; }var previousPedalMarker: SustainPedalMarker?ratioPosition​
The relative position of pedal markers within the bar.
- JavaScript
- C#
- Kotlin
ratioPosition: number;double RatioPosition { get; set; }var ratioPosition: Double