alphaTab.SlidePlaybackSettings
This object defines the details on how to generate the slide effects.
class SlidePlaybackSettingsPropertiesโ
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%
- JavaScript
- C#
- Kotlin
shiftSlideDurationRatio: number = 0.5;double ShiftSlideDurationRatio { get; set; } = 0.5var shiftSlideDurationRatio: Double = 0.5simpleSlideDurationRatioโ
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.
- JavaScript
- C#
- Kotlin
simpleSlideDurationRatio: number = 0.25;double SimpleSlideDurationRatio { get; set; } = 0.25var simpleSlideDurationRatio: Double = 0.25simpleSlidePitchOffsetโ
Gets or sets 1/4 tones (bend value) offset that simple slides like slide-out-below or slide-in-above use.
- JavaScript
- C#
- Kotlin
simpleSlidePitchOffset: number = 6;double SimpleSlidePitchOffset { get; set; } = 6var simpleSlidePitchOffset: Double = 6