Skip to main content

alphaTab.SlidePlaybackSettings

This object defines the details on how to generate the slide effects.

 class SlidePlaybackSettings

Properties​

shiftSlideDurationRatio​

The percentage which the legato and shift slides should take up from the whole note. For a value 0.5 the sliding will start at 50% of the overall note duration and finish at 100%

shiftSlideDurationRatio: number = 0.5;

simpleSlideDurationRatio​

The percentage which the simple slides should take up from the whole note. for "slide into" effects the slide will take place from time 0 where the note is plucked to 25% of the overall note duration. For "slide out" effects the slide will start 75% and finish at 100% of the overall note duration.

simpleSlideDurationRatio: number = 0.25;

simpleSlidePitchOffset​

Gets or sets 1/4 tones (bend value) offset that simple slides like slide-out-below or slide-in-above use.

simpleSlidePitchOffset: number = 6;