2015-11-05 01:39:52 +01:00
|
|
|
% ================================================= %
|
|
|
|
% Side Sticking (modifies note, or adds mark) %
|
|
|
|
% ================================================= %
|
|
|
|
% Part of lilydrum
|
|
|
|
backstick = #(define-music-function (parser location notes) (ly:music?)
|
|
|
|
#{
|
2017-02-02 17:06:20 +01:00
|
|
|
\temporary \override Staff.NoteHead.style = #'triangle
|
|
|
|
\temporary \override Staff.NoteHead.font-size = #1.2
|
2018-01-17 01:32:47 +01:00
|
|
|
#notes
|
2017-02-02 17:06:20 +01:00
|
|
|
\revert Staff.NoteHead.font-size
|
2015-11-05 01:39:52 +01:00
|
|
|
\revert Staff.NoteHead.style
|
|
|
|
#})
|
|
|
|
crossstick = #(define-music-function (parser location notes) (ly:music?)
|
|
|
|
#{
|
|
|
|
\temporary \override Staff.NoteHead.style = #'xcircle
|
2017-02-02 17:06:20 +01:00
|
|
|
\temporary \override Staff.NoteHead.font-size = #1.2
|
2018-01-17 01:32:47 +01:00
|
|
|
#notes
|
2017-02-02 17:06:20 +01:00
|
|
|
\revert Staff.NoteHead.font-size
|
2015-11-05 01:39:52 +01:00
|
|
|
\revert Staff.NoteHead.style
|
|
|
|
#})
|
|
|
|
rimshot = #(define-music-function (parser location notes) (ly:music?)
|
|
|
|
#{
|
2017-02-02 17:06:20 +01:00
|
|
|
\temporary \override Staff.NoteHead.font-size = #1.2
|
2018-01-17 01:32:47 +01:00
|
|
|
\temporary \override Staff.NoteHead.stencil = #ly:text-interface::print
|
|
|
|
\temporary \override Staff.NoteHead.text = \markup { \musicglyph #"scripts.halfopen" }
|
|
|
|
#notes
|
|
|
|
\revert Staff.NoteHead.stencil
|
|
|
|
\revert Staff.NoteHead.text
|
2017-02-02 17:06:20 +01:00
|
|
|
\revert Staff.NoteHead.font-size
|
2015-11-05 01:39:52 +01:00
|
|
|
#})
|