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;