Skip to main content

player.slide

since 0.9.6

Description​

AlphaTab supports various types of slides which can be grouped into 3 types:

  • Shift Slides

  • Legato Slides

  • Slide into from below

  • Slide into from above

  • Slide out to below

  • Slide out to above

  • Pick Slide out to above

  • Pick Slide out to below

For the first 2 groups the audio generation can be adapted. For the pick slide the audio generation cannot be adapted as there is no mechanism yet in alphaTab to play pick slides to make them sound real.

For the first group only the duration or start point of the slide can be configured while for the second group the duration/start-point and the pitch offset can be configured.

Slide Settings​

SettingTypeDefaultSummary
simpleSlidePitchOffsetJavaScript
simpleSlidePitchOffsetJSON
data-player-simpleslidepitchoffsetHTML
SimpleSlidePitchOffset.netsimpleSlidePitchOffsetAndroid
intAll6The 1/4 tones (bend value) offset that simple slides like slide-out-below or slide-in-above use.
simpleSlideDurationRatioJavaScript
simpleSlideDurationRatioJSON
data-player-simpleslidedurationratioHTML
SimpleSlideDurationRatio.netsimpleSlideDurationRatioAndroid
doubleAll0.25The 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.
shiftSlideDurationRatioJavaScript
shiftSlideDurationRatioJSON
data-player-shiftslidedurationratioHTML
ShiftSlideDurationRatio.netshiftSlideDurationRatioAndroid
doubleAll0.5The 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%.