Skip to main content

General

Score Details​

The full score details are available as object dom. This way you can read and process any like you need.

Loading...

Song Details​

Some of the layout engines can render the song details on top of the music sheet.

HTML5 Canvas​

Do you prefer an HTML5 canvas output instead of SVG? No problem.

Repeats​

Need display repeat marks? No problem, single repeats and multiple repeats come out of the box.

Alternate Endings​

Even alternate repeat endings are no problem.

Tunings​

The guitar tuning of the current track is rendered on the top of the music notation.

Brackets and Braces​

alphaTab renders brackets and braces across staves which belong together. alphaTab supports the same 3 modes as Guitar Pro:

  • No Brackets - No brackets will be drawn at all.
  • Group Staves - The staves of the same track will be grouped together. If there are multiple "standard notation" staves a brace will be drawn, otherwise a bracket.
  • Group Same Instruments - Multiple tracks of the same instrument will be grouped together. No grouping happens if the staves of an instrument require a brace.

The mode is loaded from Guitar Pro files, can be configured via alphaTex or configured via score.stylesheet.bracketExtendMode on the data model.

\bracketextendmode GroupSimilarInstruments . \track "Piano1" \staff {score} \instrument piano C4 D4 E4 F4 \staff {score} \clef f4 C3 D3 E3 F3 \track "Piano2" \staff {score} \instrument piano C4 D4 E4 F4 \track "Flute 1" \staff { score } \instrument flute C4 D4 E4 F4 \track "Flute 2" \staff { score } \instrument flute \clef f4 C3 D3 E3 F3 \track "Guitar 1" \staff { score tabs } 0.3.4 2.3.4 5.3.4 7.3.4

Track Names​

alphaTab renders track names at selected systems in the configured format.

For Guitar Pro files the format is loaded from the files and for alphaTex it can be specified with a range of metadata options. The available options on the stylesheet are:

  • score.stylesheet.singleTrackTrackNamePolicy - configuring how track names should be displayed when only a single track is rendered. (hidden, only first system, all systems)
  • score.stylesheet.multiTrackTrackName - configuring how track names should be displayed when multiple tracks are rendered.
  • score.stylesheet.firstSystemTrackNameMode - configuring what name to show on the first system (full or short track name).
  • score.stylesheet.otherSystemsTrackNameMode - configuring what name to show on the first system.
  • score.stylesheet.firstSystemTrackNameOrientation - the orientation of the track name on the first system (horizontal or vertical)
  • score.stylesheet.otherSystemsTrackNameOrientation - the orientation of the track name on the first system (horizontal or vertical)
\singletracktracknamepolicy AllSystems \firstsystemtracknamemode fullname \othersystemstracknamemode shortname \firstsystemtracknameorientation horizontal \othersystemstracknameorientation vertical . \track "Piano 1" "pno1" { defaultsystemslayout 3 } \staff {score} C4 D4 E4 F4 | C4 D4 E4 F4 | C4 D4 E4 F4 | C4 D4 E4 F4 | C4 D4 E4 F4 |