Skip to main content

display.stretchForce

since 0.9.6

Description​

The stretch force is a setting that controls the spacing of the music notation. AlphaTab uses a varaint of the Gourlay algorithm for spacing which has springs and rods for aligning elements. This setting controls the "strength" of the springs. The stronger the springs, the wider the spacing.

Force 1Force 0.5
Default0.5
display.stretchForceJavaScript
stretchForceJavaScript
display.stretchForceJSON
stretchForceJSON
data-display-stretchforceHTML
data-stretchforceHTML
Display.StretchForce.net
display.stretchForceAndroid

Types​

TypeValues
doubleAll

1.0
1.5
0.5

Default Value​

1.0