Tambourine example: Difference between revisions
Appearance
mNo edit summary |
Rudi Guggt (talk | contribs) category workaround |
||
| Line 25: | Line 25: | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | [[Category:Snippet]] | ||
[[Category:Workaround]] | |||
Latest revision as of 09:59, 4 March 2026
A tambourine example, entered with ‘tamb’.
\version "2.24"
#(define mydrums '((tambourine default #f 0)))
\new DrumStaff \with { instrumentName = #"Tambourine" }
\drummode {
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\override Staff.StaffSymbol.line-positions = #'( 0 )
\override Staff.BarLine.bar-extent = #'(-1.5 . 1.5)
\time 6/8
tamb8. 16 8 8 8 8 |
tamb4. 8 8 8 |
% The trick with the scaled duration and the shorter rest
% is neccessary for the correct ending of the trill-span!
tamb2.*5/6 \startTrillSpan s8 \stopTrillSpan |
}