mirror of
https://github.com/kastdeur/lilydrum.git
synced 2024-12-22 17:23:32 +01:00
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
% ================================================= %
|
|
% Side Sticking (modifies note, or adds mark) %
|
|
% ================================================= %
|
|
% Part of lilydrum
|
|
|
|
backstick = #(define-music-function (parser location notes) (ly:music?)
|
|
#{
|
|
\temporary \override Voice.NoteHead.style = #'triangle
|
|
\temporary \override Voice.NoteHead.font-size = #1.2
|
|
#notes
|
|
\revert Voice.NoteHead.font-size
|
|
\revert Voice.NoteHead.style
|
|
#})
|
|
|
|
crossstick = #(define-music-function (parser location notes) (ly:music?)
|
|
#{
|
|
\temporary \override Voice.NoteHead.style = #'xcircle
|
|
\temporary \override Voice.NoteHead.font-size = #1.2
|
|
#notes
|
|
\revert Voice.NoteHead.font-size
|
|
\revert Voice.NoteHead.style
|
|
#})
|
|
|
|
rimshot = #(define-music-function (parser location notes) (ly:music?)
|
|
#{
|
|
\temporary \override Voice.NoteHead.font-size = #1.2
|
|
\temporary \override Voice.NoteHead.stencil = #ly:text-interface::print
|
|
\temporary \override Voice.NoteHead.text = \markup { \musicglyph #"scripts.halfopen" }
|
|
#notes
|
|
\revert Voice.NoteHead.stencil
|
|
\revert Voice.NoteHead.text
|
|
\revert Voice.NoteHead.font-size
|
|
#})
|