Cow and ride bell example: Difference between revisions
Appearance
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
No edit summary |
||
| Line 26: | Line 26: | ||
[[Category:Rhythms]] | [[Category:Rhythms]] | ||
[[Category:Specific notation]] | [[Category:Specific notation]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]][[Category:Snippet]] | ||
Revision as of 22:50, 21 November 2025
Two different bells, entered with 'cb' (cowbell) and 'rb' (ridebell).
\version "2.24"
\paper { tagline = ##f }
#(define mydrums '((ridebell default #f 3)
(cowbell default #f -2)))
\new DrumStaff \with { instrumentName = #"Different Bells" }
\drummode {
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\set DrumStaff.clefPosition = 0.5
\override DrumStaff.StaffSymbol.line-positions = #'(-2 3)
\override Staff.BarLine.bar-extent = #'(-1.0 . 1.5)
\time 2/4
rb8 8 cb8 16 rb16-> ~ |
16 8 16 cb8 8 |
}