Skip to main content

alphaTab.model.SustainPedalMarker

A marker on whether a sustain pedal starts or ends.

 class SustainPedalMarker

Propertiesโ€‹

barโ€‹

THe bar to which this marker belongs to.

bar: Bar;

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.

nextPedalMarker: SustainPedalMarker | null;

pedalTypeโ€‹

Whether what should be done with the pedal at this point

previousPedalMarkerโ€‹

The previous pedal marker for linking the related markers together to a "down -> hold -> up" or "down -> up" sequence. Always null for "down" markers.

previousPedalMarker: SustainPedalMarker | null;

ratioPositionโ€‹

The relative position of pedal markers within the bar.

ratioPosition: number;