Cow and ride bell example: Difference between revisions
Appearance
Import snippet from LSR |
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 |
||
| Line 1: | Line 1: | ||
Two different bells, entered with 'cb' (cowbell) and 'rb' (ridebell). | Two different bells, entered with 'cb' (cowbell) and 'rb' (ridebell). | ||
<lilypond version="2.24 | <lilypond version="2.24" full> | ||
\paper { tagline = ##f } | \paper { tagline = ##f } | ||
Revision as of 18:58, 16 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 |
}