Skip to main content

Staff Metadata

This page documents the staff metadata scope โ€” the metadata tags that configure a single staff, such as its instrument, tuning, and articulation table.

Set these tags on the first bar of the staff to avoid unexpected side effects further in.

Some entries here remain metadata tags for historical reasons. They may move to staff properties in a future release.

\tuningโ€‹

Scope: Staff metadata

Syntax
// [1]:
\tuning mode
// [2]:
\tuning (strings)

Description: Defines the number of strings and their tuning for stringed (and fretted) instruments.

Parameters:

OverloadNameDescriptionTypeRequired
[1]modeA built-in standard mode for tuningspiano|none|voiceyes
[2]stringsThe tuning values as pitched notesIdent[]no

Parameter Values:

Following parameters have value limitations

OverloadNameValues
[1]mode
ValueDescription
pianoIndicates that this staff is NOT stringed, but a piano with pitched notes.
noneIndicates that this staff is NOT stringed and has no tuning and uses pitched notes.
voiceIndicates that this staff is NOT stringed, but a vocal voice with pitched notes.

Example:

00:00
00:00
\track "Track 1"
\staff {tabs}
\tuning (A1 D2 A2 D3 G3 B3 E4) { hide label "Special Guitar Tuning" }
4.1 3.1 2.1 1.1
\track "Track 2"
\tuning piano
C4 D4 E4 F4

Properties:

hideโ€‹

Scope: Staff metadata

Syntax
hide ()

Description: Hides the tuning from being displayed above the first staff.

Example:

00:00
00:00
\track
\staff {tabs}
\tuning (E4 B3 G3 D3 A2 D2)
4.1 3.1 2.1 1.1
\track
\staff {tabs}
\tuning (F2 C2 G1 D1) { hide}
4.1 3.1 2.1 1.1

labelโ€‹

Scope: Staff metadata

Syntax
label text

Description: Defines the textual label for the tuning.

Parameters:

NameDescriptionTypeRequired
textThe label to set.Stringyes

Example:

00:00
00:00
\track
\staff {tabs}
\tuning (E4 B3 G3 D3 A2 D2) { label "Dropped D Tuning" }
4.1 3.1 2.1 1.1

\chordโ€‹

Scope: Staff metadata

Syntax
\chord (name strings)

Description: Defines a new chord for a chord diagram display defining how to play it.

To avoid inconsistencies with tunings, chords should be defined after the tuning is set.

To use the defined chord the ch chordName beat property has to be applied. The notes for the chord still have to be specified separately, the definition in this metadata is purely for the chord diagram.

Parameters:

NameDescriptionTypeRequired
nameThe name of the chordStringyes
stringsFor every string of the staff tuning, the fret to be played or x for strings not played.Ident|String|Number[]no

Example:

00:00
00:00
\chord ("C" 0 1 0 2 3 x)
\ts 2 4
(0.1 1.2 0.3 2.4 3.5){ch "C"} (0.1 1.2 0.3 2.4 3.5)

Properties:

firstFretโ€‹

Scope: Staff metadata

Syntax
firstFret fret

Description: Shifts the first fret shown in the diagram higher

Parameters:

NameDescriptionTypeRequired
fretThe index of the first fretNumberyes

Example:

00:00
00:00
\chord ("D#" 6 8 8 8 6 x) {firstfret 6}
(6.1 8.2 8.3 8.4 6.5){ch "D#"}

barreโ€‹

Scope: Staff metadata

Syntax
barre (fret)

Description: Defines on which frets a barrรฉ should be played (visually joins the dots to a bar).

Parameters:

NameDescriptionTypeRequired
fretThe frets on which a barrรฉ should be playedNumber[]no

Example:

00:00
00:00
\chord ("D#" 6 8 8 8 6 x) {firstfret 6 barre 6}
\chord ("Special" 3 3 3 1 1 1) {showname false barre (1 3)}
(6.1 8.2 8.3 8.4 6.5){ch "D#"}
(3.1 3.2 3.3 1.4 1.5 1.6){ch "Special"}

showDiagramโ€‹

Scope: Staff metadata

Syntax
// [1]:
showDiagram ()
// [2]:
showDiagram visibility
// [3]:
showDiagram visibility
// [4]:
showDiagram visibility

Description: Set the chord diagram visibility.

Parameters:

OverloadNameDescriptionTypeRequired
[2]visibilityThe visibility of the diagram"true"|"false"yes
[3]visibilityThe visibility of the diagramtrue|falseyes
[4]visibilityThe visibility of the diagram1|0yes

Parameter Values:

Following parameters have value limitations

OverloadNameValues
[2]visibility
ValueDescription
"true"Show the diagram
"false"Hide the diagram
[3]visibility
ValueDescription
trueShow the diagram
falseHide the diagram
[4]visibility
ValueDescription
1Show the diagram
0Hide the diagram

Example:

00:00
00:00
\chord ("E" 0 0 1 2 2 0) {showdiagram false}
(0.1 0.2 1.3 2.4 2.5 0.6){ch "E"}

showFingeringโ€‹

Scope: Staff metadata

Syntax
// [1]:
showFingering ()
// [2]:
showFingering visibility
// [3]:
showFingering visibility
// [4]:
showFingering visibility

Description: Set the finger position visibility.

Parameters:

OverloadNameDescriptionTypeRequired
[2]visibilityThe visibility of the finger position"true"|"false"yes
[3]visibilityThe visibility of the finger positiontrue|falseyes
[4]visibilityThe visibility of the finger position1|0yes

Parameter Values:

Following parameters have value limitations

OverloadNameValues
[2]visibility
ValueDescription
"true"Show the fingering
"false"Hide the fingering
[3]visibility
ValueDescription
trueShow the fingering
falseHide the fingering
[4]visibility
ValueDescription
1Show the fingering
0Hide the fingering

Example:

00:00
00:00
\chord ("E" 0 0 1 2 2 0) {showfingers false}
(0.1 0.2 1.3 2.4 2.5 0.6){ch "E"}

showNameโ€‹

Scope: Staff metadata

Syntax
// [1]:
showName ()
// [2]:
showName visibility
// [3]:
showName visibility
// [4]:
showName visibility

Description: Set the chord name visibility.

Parameters:

OverloadNameDescriptionTypeRequired
[2]visibilityThe visibility of the chord name in the diagram"true"|"false"yes
[3]visibilityThe visibility of the chord name in the diagramtrue|falseyes
[4]visibilityThe visibility of the chord name in the diagram1|0yes

Parameter Values:

Following parameters have value limitations

OverloadNameValues
[2]visibility
ValueDescription
"true"Show the chord name
"false"Hide the chord name
[3]visibility
ValueDescription
trueShow the chord name
falseHide the chord name
[4]visibility
ValueDescription
1Show the chord name
0Hide the chord name

Example:

00:00
00:00
// Hide name
\chord ("Special" 3 3 3 1 1 1) {showname false}
.
(3.1 3.2 3.3 1.4 1.5 1.6){ch "Special"}

\capoโ€‹

Scope: Staff metadata

Syntax
\capo fret

Description: Defines the fret on which a capo should be placed.

Parameters:

NameDescriptionTypeRequired
fretThe fret on which a capo is placedNumberyes

Example:

00:00
00:00
\track "Guitar"
\staff{tabs}
\capo 5
1.2 3.2 0.1 1.1

\lyricsโ€‹

Scope: Staff metadata

Syntax
// [1]:
\lyrics lyrics
// [2]:
\lyrics (startBar lyrics)

Description: Define the lyrics shown on the beats of the staff.

The lyrics system of alphaTab is borrowed from Guitar Pro. For every track multiple "lines" of lyrics can be defined which can either start at the beginning or at a later bar. The syllables of the provided lyrics are spread automatically across the beats of the track. Syllables are separated with spaces. If multiple words/syllables should stay on the same beat the space can be replaced with a +. Comments which should not be displayed can be put [into brackets].

Parameters:

OverloadNameDescriptionTypeRequired
[1]lyricsThe lyrics text to apply to the beatsStringyes
[2]startBarThe first bar on which the notes should be appliedNumberyes
[2]lyricsThe lyrics text to apply to the beatsStringyes

Example:

00:00
00:00
\title "With Lyrics"
\instrument piano
\lyrics "Do Re Mi Fa So La Ti"
C4 D4 E4 F4 | G4 A4 B4 r
00:00
00:00
\title "Combine Syllables (and empty beats)"
\instrument piano
\lyrics "Do+Do Mi+Mi"
C4 C4 E4 E4
00:00
00:00
\title "Start Later"
\instrument piano
\lyrics 2 "Do Re Mi Fa So La Ti"
r r r r | r r r r |
C4 D4 E4 F4 | G4 A4 B4 r
00:00
00:00
\title "Comment"
\subtitle "Useful when loading lyrics from a different source"
\instrument piano
\lyrics "[This is a comment]Do Re Mi Fa"
C4 D4 E4 F4

\articulationโ€‹

Scope: Staff metadata

Syntax
// [1]: Registers all standard articulation names
\articulation defaults
// [2]:
\articulation (name value)

Description: Defines the articulations available to write percussion and drum tabs.

Currently alphaTex does not defining completely custom articulations (note heads, staff line, technical symbols etc.).

NumberName LongName Short
29Ride (choke)Ridechoke
30Cymbal (hit)Cymbalhit
31Snare (side stick)Snaresidestick
33Snare (side stick) 2Snaresidestick2
34Snare (hit)Snarehit
35Kick (hit)Kickhit
36Kick (hit) 2Kickhit2
37Snare (side stick) 3Snaresidestick3
38Snare (hit) 2Snarehit2
39Hand Clap (hit)HandClaphit
40Snare (hit) 3Snarehit3
41Low Floor Tom (hit)LowFloorTomhit
42Hi-Hat (closed)HiHatclosed
43Very Low Tom (hit)VeryLowTomhit
44Pedal Hi-Hat (hit)PedalHiHathit
45Low Tom (hit)LowTomhit
46Hi-Hat (open)HiHatopen
47Mid Tom (hit)MidTomhit
48High Tom (hit)HighTomhit
49Crash high (hit)Crashhighhit
50High Floor Tom (hit)HighFloorTomhit
51Ride (middle)Ridemiddle
52China (hit)Chinahit
53Ride (bell)Ridebell
54Tambourine (hit)Tambourinehit
55Splash (hit)Splashhit
56Cowbell medium (hit)Cowbellmediumhit
57Crash medium (hit)Crashmediumhit
58Vibraslap (hit)Vibraslaphit
59Ride (edge)Rideedge
60Hand (hit)Handhit
61Hand (hit)Handhit
62Conga high (mute)Congahighmute
63Conga high (hit)Congahighhit
64Conga low (hit)Congalowhit
65Timbale high (hit)Timbalehighhit
66Timbale low (hit)Timbalelowhit
67Agogo high (hit)Agogohighhit
68Agogo tow (hit)Agogotowhit
69Cabasa (hit)Cabasahit
70Left Maraca (hit)LeftMaracahit
71Whistle high (hit)Whistlehighhit
72Whistle low (hit)Whistlelowhit
73Guiro (hit)Guirohit
74Guiro (scrap-return)Guiroscrapreturn
75Claves (hit)Claveshit
76Woodblock high (hit)Woodblockhighhit
77Woodblock low (hit)Woodblocklowhit
78Cuica (mute)Cuicamute
79Cuica (open)Cuicaopen
80Triangle (rnute)Trianglernute
81Triangle (hit)Trianglehit
82Shaker (hit)Shakerhit
83Tinkle Bell (hat)TinkleBellhat
83Jingle Bell (hit)JingleBellhit
84Bell Tree (hit)BellTreehit
85Castanets (hit)Castanetshit
86Surdo (hit)Surdohit
87Surdo (mute)Surdomute
91Snare (rim shot)Snarerimshot
92Hi-Hat (half)HiHathalf
93Ride (edge) 2Rideedge2
94Ride (choke) 2Ridechoke2
95Splash (choke)Splashchoke
96China (choke)Chinachoke
97Crash high (choke)Crashhighchoke
98Crash medium (choke)Crashmediumchoke
99Cowbell low (hit)Cowbelllowhit
100Cowbell low (tip)Cowbelllowtip
101Cowbell medium (tip)Cowbellmediumtip
102Cowbell high (hit)Cowbellhighhit
103Cowbell high (tip)Cowbellhightip
104Hand (mute)Handmute
105Hand (slap)Handslap
106Hand (mute) 2Handmute2
107Hand (slap) 2Handslap2
108Conga low (slap)Congalowslap
109Conga low (mute)Congalowmute
110Conga high (slap)Congahighslap
111Tambourine (return)Tambourinereturn
112Tambourine (roll)Tambourineroll
113Tambourine (hand)Tambourinehand
114Grancassa (hit)Grancassahit
115Piatti (hat)Piattihat
116Piatti (hand)Piattihand
117Cabasa (return)Cabasareturn
118Left Maraca (return)LeftMaracareturn
119Right Maraca (hit)RightMaracahit
120Right Maraca (return)RightMaracareturn
122Shaker (return)Shakerreturn
123Bell Tee (return)BellTeereturn
124Golpe (thumb)Golpethumb
125Golpe (finger)Golpefinger
126Ride (middle) 2Ridemiddle2
127Ride (bell) 2Ridebell2

Parameters:

OverloadNameDescriptionTypeRequired
[1]defaultsRegisters all standard articulation namesdefaultsyes
[2]nameThe string used in the note valuesStringyes
[2]valueThe numeric value of the built-in articulationNumberyes

Parameter Values:

Following parameters have value limitations

OverloadNameValues
[1]defaults
ValueDescription
defaults

Example:

00:00
00:00
\track "Drums" { instrument percussion }
\tempo 120
\clef neutral
\articulation defaults
(KickHit RideBell).16 r KickHit KickHit (KickHit RideBell).16 r KickHit KickHit (KickHit RideBell).16 r KickHit KickHit (KickHit RideBell).16 r KickHit KickHit |
(KickHit HiHatOpen) KickHit KickHit KickHit (KickHit HiHatOpen) KickHit KickHit KickHit (KickHit SnareHit HiHatOpen) KickHit KickHit.32 KickHit KickHit.16 (KickHit HiHatOpen) KickHit KickHit KickHit |
(KickHit HiHatOpen).8{tu 3} KickHit{tu 3} KickHit{tu 3} (KickHit SnareHit HiHatOpen){tu 3} KickHit.16{tu 3} KickHit{tu 3} KickHit.8{tu 3} (KickHit HiHatOpen).8{tu 3} KickHit{tu 3} KickHit{tu 3} (KickHit SnareHit HiHatOpen).8{tu 3} KickHit{tu 3} KickHit{tu 3}

\displayTransposeโ€‹

Scope: Staff metadata

Syntax
\displayTranspose semitones

Description: Defines the number of semitones by which the standard notation should be transposed.

This only affects the display of the notes, not their audio.

It is typically used in situations like for guitars where the standard notation is displayed 1 octave lower to fit better into the standard staff.

It is a common practice to show a standard clef on guitar notes even though they are transposed by 1 octave to better fit into the standard staff lines.

Parameters:

NameDescriptionTypeRequired
semitonesThe number of semitones by which the notes should be transposedNumberyes

Example:

00:00
00:00
\track \staff \instrument piano
\displayTranspose -12
C4.4 D4 E4 F4 | r.1

\transposeโ€‹

Scope: Staff metadata

Syntax
\transpose semitones

Description: Defines the number of semitones by which the standard notation should be transposed.

This affects the display and audio.

Parameters:

NameDescriptionTypeRequired
semitonesThe number of semitones by which the notes should be transposedNumberyes

Example:

00:00
00:00
\track \staff \instrument piano
\transpose -12
C4.4 D4 E4 F4 | r.1

\staffDisplayโ€‹

Scope: Staff metadata

Syntax
\staffDisplay (staffTypes)

Description: Defines the display of elements like clefs, key signatures, time signatures, rests and bar numbers for the current staff.

The arguments select the staff types to which the properties apply. If no staff types are specified, every property applies to all staff types supporting the related element.

All properties are optional. Properties which are not specified are inherited from \defaultStaffDisplay. The values can be overridden per bar with \barDisplay.

Parameters:

NameDescriptionTypeRequired
staffTypesThe staff types to which the properties apply. If omitted, every property applies to all staff types supporting it.score|tabs|slash|numbered[]no

Parameter Values:

Following parameters have value limitations

NameValues
staffTypes
ValueDescription
scoreStandard notation
tabsGuitar tablature
slashSlash notation
numberedNumbered notation (Jianpu)

Example:

00:00
00:00
\track
\staff {score tabs}
\staffDisplay tabs { tsPlacement allStaves rhythm showWithBeams }
3.3.4 3.3 3.3 3.3 | 3.3 3.3 3.3 3.3

Properties:

clefVisibilityโ€‹

Scope: Staff metadata

Syntax
// [1]:
clefVisibility ()
// [2]:
clefVisibility visibility
// [3]:
clefVisibility visibility
// [4]:
clefVisibility visibility

Description: Show or hide the clef. Supported staff types: score, tabs.

Parameters:

OverloadNameDescriptionTypeRequired
[2]visibilityWhether the clef is shown"true"|"false"yes
[3]visibilityWhether the clef is showntrue|falseyes
[4]visibilityWhether the clef is shown1|0yes

Parameter Values:

Following parameters have value limitations

OverloadNameValues
[2]visibility
ValueDescription
"true"Show the clef
"false"Hide the clef
[3]visibility
ValueDescription
trueShow the clef
falseHide the clef
[4]visibility
ValueDescription
1Show the clef
0Hide the clef

Example:

00:00
00:00
\track { defaultSystemsLayout 2 }
\staff {score tabs}
\staffDisplay { clefVisibility false }
\ks D 3.3.4 r 3.3 3.3 | 3.3.4 3.3 r 3.3 | \ts (3 4) \ks A 3.3.4 3.3 r | 3.3.4 r 3.3

clefPlacementโ€‹

Scope: Staff metadata

Syntax
clefPlacement placement

Description: Show the clef on all staves or only on the primary (topmost) staff. Supported staff types: score, tabs.

Parameters:

NameDescriptionTypeRequired
placementOn which staves the clef is shownallStaves|primaryyes

Parameter Values:

Following parameters have value limitations

NameValues
placement
ValueDescription
allStavesAll staves
primaryOnly the primary (topmost) staff

Example:

00:00
00:00
\track { defaultSystemsLayout 2 }
\staff {score tabs}
\staffDisplay { clefPlacement primary }
\ks D 3.3.4 r 3.3 3.3 | 3.3.4 3.3 r 3.3 | \ts (3 4) \ks A 3.3.4 3.3 r | 3.3.4 r 3.3

clefSystemsโ€‹

Scope: Staff metadata

Syntax
clefSystems systems

Description: Show the clef on all systems or only on the first system. Supported staff types: score, tabs.

Parameters:

NameDescriptionTypeRequired
systemsOn which systems the clef is shownallSystems|firstSystemOnlyyes

Parameter Values:

Following parameters have value limitations

NameValues
systems
ValueDescription
allSystemsAll systems
firstSystemOnlyOnly the first system

Example:

00:00
00:00
\track { defaultSystemsLayout 2 }
\staff {score tabs}
\staffDisplay { clefSystems firstSystemOnly }
\ks D 3.3.4 r 3.3 3.3 | 3.3.4 3.3 r 3.3 | \ts (3 4) \ks A 3.3.4 3.3 r | 3.3.4 r 3.3

ksVisibilityโ€‹

Scope: Staff metadata

Syntax
// [1]:
ksVisibility ()
// [2]:
ksVisibility visibility
// [3]:
ksVisibility visibility
// [4]:
ksVisibility visibility

Description: Show or hide the key signature. Supported staff types: score, slash.

Parameters:

OverloadNameDescriptionTypeRequired
[2]visibilityWhether the key signature is shown"true"|"false"yes
[3]visibilityWhether the key signature is showntrue|falseyes
[4]visibilityWhether the key signature is shown1|0yes

Parameter Values:

Following parameters have value limitations

OverloadNameValues
[2]visibility
ValueDescription
"true"Show the key signature
"false"Hide the key signature
[3]visibility
ValueDescription
trueShow the key signature
falseHide the key signature
[4]visibility
ValueDescription
1Show the key signature
0Hide the key signature

Example:

00:00
00:00
\track { defaultSystemsLayout 2 }
\staff {score tabs}
\staffDisplay { ksVisibility false }
\ks D 3.3.4 r 3.3 3.3 | 3.3.4 3.3 r 3.3 | \ts (3 4) \ks A 3.3.4 3.3 r | 3.3.4 r 3.3

ksPlacementโ€‹

Scope: Staff metadata

Syntax
ksPlacement placement

Description: Show the key signature on all staves or only on the primary (topmost) staff. Supported staff types: score, slash.

Parameters:

NameDescriptionTypeRequired
placementOn which staves the key signature is shownallStaves|primaryyes

Parameter Values:

Following parameters have value limitations

NameValues
placement
ValueDescription
allStavesAll staves
primaryOnly the primary (topmost) staff

Example:

00:00
00:00
\track { defaultSystemsLayout 2 }
\staff {score tabs}
\staffDisplay { ksPlacement primary }
\ks D 3.3.4 r 3.3 3.3 | 3.3.4 3.3 r 3.3 | \ts (3 4) \ks A 3.3.4 3.3 r | 3.3.4 r 3.3

ksSystemsโ€‹

Scope: Staff metadata

Syntax
ksSystems systems

Description: Show the key signature on all systems or only on the first system. Supported staff types: score, slash.

Parameters:

NameDescriptionTypeRequired
systemsOn which systems the key signature is shownallSystems|firstSystemOnlyyes

Parameter Values:

Following parameters have value limitations

NameValues
systems
ValueDescription
allSystemsAll systems
firstSystemOnlyOnly the first system

Example:

00:00
00:00
\track { defaultSystemsLayout 2 }
\staff {score tabs}
\staffDisplay { ksSystems firstSystemOnly }
\ks D 3.3.4 r 3.3 3.3 | 3.3.4 3.3 r 3.3 | \ts (3 4) \ks A 3.3.4 3.3 r | 3.3.4 r 3.3

tsVisibilityโ€‹

Scope: Staff metadata

Syntax
// [1]:
tsVisibility ()
// [2]:
tsVisibility visibility
// [3]:
tsVisibility visibility
// [4]:
tsVisibility visibility

Description: Show or hide the time signature. Supported staff types: score, tabs, slash, numbered.

Parameters:

OverloadNameDescriptionTypeRequired
[2]visibilityWhether the time signature is shown"true"|"false"yes
[3]visibilityWhether the time signature is showntrue|falseyes
[4]visibilityWhether the time signature is shown1|0yes

Parameter Values:

Following parameters have value limitations

OverloadNameValues
[2]visibility
ValueDescription
"true"Show the time signature
"false"Hide the time signature
[3]visibility
ValueDescription
trueShow the time signature
falseHide the time signature
[4]visibility
ValueDescription
1Show the time signature
0Hide the time signature

Example:

00:00
00:00
\track { defaultSystemsLayout 2 }
\staff {score tabs}
\staffDisplay { tsVisibility false }
\ks D 3.3.4 r 3.3 3.3 | 3.3.4 3.3 r 3.3 | \ts (3 4) \ks A 3.3.4 3.3 r | 3.3.4 r 3.3

tsPlacementโ€‹

Scope: Staff metadata

Syntax
tsPlacement placement

Description: Show the time signature on all staves or only on the primary (topmost) staff. Supported staff types: score, tabs, slash, numbered.

Parameters:

NameDescriptionTypeRequired
placementOn which staves the time signature is shownallStaves|primaryyes

Parameter Values:

Following parameters have value limitations

NameValues
placement
ValueDescription
allStavesAll staves
primaryOnly the primary (topmost) staff

Example:

00:00
00:00
\track { defaultSystemsLayout 2 }
\staff {score tabs}
\staffDisplay { tsPlacement primary }
\ks D 3.3.4 r 3.3 3.3 | 3.3.4 3.3 r 3.3 | \ts (3 4) \ks A 3.3.4 3.3 r | 3.3.4 r 3.3

tsSystemsโ€‹

Scope: Staff metadata

Syntax
tsSystems systems

Description: Show the time signature on all systems or only on the first system. Supported staff types: score, tabs, slash, numbered.

Parameters:

NameDescriptionTypeRequired
systemsOn which systems the time signature is shownallSystems|firstSystemOnlyyes

Parameter Values:

Following parameters have value limitations

NameValues
systems
ValueDescription
allSystemsAll systems
firstSystemOnlyOnly the first system

Example:

00:00
00:00
\track { defaultSystemsLayout 2 }
\staff {score tabs}
\staffDisplay { tsSystems firstSystemOnly }
\ks D 3.3.4 r 3.3 3.3 | 3.3.4 3.3 r 3.3 | \ts (3 4) \ks A 3.3.4 3.3 r | 3.3.4 r 3.3

restsVisibilityโ€‹

Scope: Staff metadata

Syntax
// [1]:
restsVisibility ()
// [2]:
restsVisibility visibility
// [3]:
restsVisibility visibility
// [4]:
restsVisibility visibility

Description: Show or hide the rests. Supported staff types: tabs.

Parameters:

OverloadNameDescriptionTypeRequired
[2]visibilityWhether the rests is shown"true"|"false"yes
[3]visibilityWhether the rests is showntrue|falseyes
[4]visibilityWhether the rests is shown1|0yes

Parameter Values:

Following parameters have value limitations

OverloadNameValues
[2]visibility
ValueDescription
"true"Show the rests
"false"Hide the rests
[3]visibility
ValueDescription
trueShow the rests
falseHide the rests
[4]visibility
ValueDescription
1Show the rests
0Hide the rests

Example:

00:00
00:00
\track { defaultSystemsLayout 2 }
\staff {score tabs}
\staffDisplay { restsVisibility false }
\ks D 3.3.4 r 3.3 3.3 | 3.3.4 3.3 r 3.3 | \ts (3 4) \ks A 3.3.4 3.3 r | 3.3.4 r 3.3

restsPlacementโ€‹

Scope: Staff metadata

Syntax
restsPlacement placement

Description: Show the rests on all staves or only on the primary (topmost) staff. Supported staff types: tabs.

Parameters:

NameDescriptionTypeRequired
placementOn which staves the rests is shownallStaves|primaryyes

Parameter Values:

Following parameters have value limitations

NameValues
placement
ValueDescription
allStavesAll staves
primaryOnly the primary (topmost) staff

Example:

00:00
00:00
\track { defaultSystemsLayout 2 }
\staff {score tabs}
\staffDisplay { restsPlacement primary }
\ks D 3.3.4 r 3.3 3.3 | 3.3.4 3.3 r 3.3 | \ts (3 4) \ks A 3.3.4 3.3 r | 3.3.4 r 3.3

restsSystemsโ€‹

Scope: Staff metadata

Syntax
restsSystems systems

Description: Show the rests on all systems or only on the first system. Supported staff types: tabs.

Parameters:

NameDescriptionTypeRequired
systemsOn which systems the rests is shownallSystems|firstSystemOnlyyes

Parameter Values:

Following parameters have value limitations

NameValues
systems
ValueDescription
allSystemsAll systems
firstSystemOnlyOnly the first system

Example:

00:00
00:00
\track { defaultSystemsLayout 2 }
\staff {score tabs}
\staffDisplay { restsSystems firstSystemOnly }
\ks D 3.3.4 r 3.3 3.3 | 3.3.4 3.3 r 3.3 | \ts (3 4) \ks A 3.3.4 3.3 r | 3.3.4 r 3.3

barNumberโ€‹

Scope: Staff metadata

Syntax
barNumber mode

Description: Set how bar numbers are shown. Supported staff types: all.

Parameters:

NameDescriptionTypeRequired
modeThe mode to useallBars|firstOfSystem|hideyes

Parameter Values:

Following parameters have value limitations

NameValues
mode
ValueDescription
allBarsAll bars
firstOfSystemFirst bar of every system
hideHide

Example:

00:00
00:00
\track { defaultSystemsLayout 2 }
\staff {score tabs}
\staffDisplay { barNumber allBars }
\ks D 3.3.4 r 3.3 3.3 | 3.3.4 3.3 r 3.3 | \ts (3 4) \ks A 3.3.4 3.3 r | 3.3.4 r 3.3

rhythmโ€‹

Scope: Staff metadata

Syntax
rhythm mode

Description: Set how the rhythm notation is shown. Supported staff types: tabs.

Parameters:

NameDescriptionTypeRequired
modeThe mode to usehidden|showWithBeams|showWithBars|automaticyes

Parameter Values:

Following parameters have value limitations

NameValues
mode
ValueDescription
hiddenHidden
showWithBeamsIndividual beams per beat
showWithBarsConnected bars like standard notation
automaticShown if no standard notation is shown

Example:

00:00
00:00
\track { defaultSystemsLayout 2 }
\staff {score tabs}
\staffDisplay { rhythm showWithBeams }
\ks D 3.3.4 r 3.3 3.3 | 3.3.4 3.3 r 3.3 | \ts (3 4) \ks A 3.3.4 3.3 r | 3.3.4 r 3.3