mirror of
https://github.com/kastdeur/lilydrum.git
synced 2024-12-22 17:23:32 +01:00
Add definitions for optional Flams
This commit is contained in:
parent
f8d879f4cc
commit
55c77789f6
1 changed files with 18 additions and 6 deletions
|
@ -1,6 +1,7 @@
|
||||||
% ================================================= %
|
% ================================================= %
|
||||||
% Flams, Drags & the sort %
|
% Flams, Drags & the sort %
|
||||||
% ================================================= %
|
% ================================================= %
|
||||||
|
|
||||||
drumgrace = #(define-music-function (parser location notes ) ( ly:music? ) #{
|
drumgrace = #(define-music-function (parser location notes ) ( ly:music? ) #{
|
||||||
% Set settings
|
% Set settings
|
||||||
\stemUp
|
\stemUp
|
||||||
|
@ -25,13 +26,19 @@ flamg = \drummode { \drumgrace { d8 } } % Flam left
|
||||||
flamddr = \drummode { \drumgrace { g8\dr } } % Flam right with start repeat
|
flamddr = \drummode { \drumgrace { g8\dr } } % Flam right with start repeat
|
||||||
flamgdr = \drummode { \drumgrace { d8\dr } } % Flam left with start repeat
|
flamgdr = \drummode { \drumgrace { d8\dr } } % Flam left with start repeat
|
||||||
|
|
||||||
|
% Optional Flams
|
||||||
|
optflamd = \drummode { \drumgrace { \parenthesize g8 } } % Optional Flam right
|
||||||
|
optflamg = \drummode { \drumgrace { \parenthesize d8 } } % Optional Flam left
|
||||||
|
optflamddr = \drummode { \drumgrace { \parenthesize g8\dr } } % Optional Flam right with start repeat
|
||||||
|
optflamgdr = \drummode { \drumgrace { \parenthesize d8\dr } } % Optional Flam left with start repeat
|
||||||
|
|
||||||
% Drags
|
% Drags
|
||||||
dragd = \drummode { \drumgrace { g16[ g] } } % Drag right
|
dragd = \drummode { \drumgrace { g16[ g] } } % Drag right
|
||||||
dragg = \drummode { \drumgrace { d16[ d] } } % Drag left
|
dragg = \drummode { \drumgrace { d16[ d] } } % Drag left
|
||||||
dragddr = \drummode { \drumgrace { g16[\dr g] } } % Drag right with start repeat
|
dragddr = \drummode { \drumgrace { g16[\dr g] } } % Drag right with start repeat
|
||||||
draggdr = \drummode { \drumgrace { d16[\dr d] } } % Drag left with start repeat
|
draggdr = \drummode { \drumgrace { d16[\dr d] } } % Drag left with start repeat
|
||||||
|
|
||||||
% open drags
|
% Open Drags
|
||||||
odragd = \drummode { \drumgrace { << { g16[ g] } { s16 s32^\markup { \musicglyph #"scripts.open" } } >> } } % Open Drag right
|
odragd = \drummode { \drumgrace { << { g16[ g] } { s16 s32^\markup { \musicglyph #"scripts.open" } } >> } } % Open Drag right
|
||||||
odragg = \drummode { \drumgrace { << { d16[ d] } { s16 s32^\markup { \musicglyph #"scripts.open" } } >> } } % Open Drag left
|
odragg = \drummode { \drumgrace { << { d16[ d] } { s16 s32^\markup { \musicglyph #"scripts.open" } } >> } } % Open Drag left
|
||||||
odragddr = \drummode { \drumgrace { << { d16[\dr d] } { s16 s32^\markup { \musicglyph #"scripts.open" } } >> } } % Open Drag right with start repeat
|
odragddr = \drummode { \drumgrace { << { d16[\dr d] } { s16 s32^\markup { \musicglyph #"scripts.open" } } >> } } % Open Drag right with start repeat
|
||||||
|
@ -76,10 +83,15 @@ else it will prepend @var{right}"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
% Flam
|
% Flam
|
||||||
flam = #(autohandFunc flamg flamd)
|
flam = #(autohandFunc flamg flamd)
|
||||||
flamdr = #(autohandFunc flamgdr flamddr )
|
flamdr = #(autohandFunc flamgdr flamddr )
|
||||||
|
|
||||||
|
% Optional Flam
|
||||||
|
optflam = #(autohandFunc optflamg optflamd)
|
||||||
|
optflamdr = #(autohandFunc optflamgdr optflamddr )
|
||||||
|
|
||||||
% Drag
|
% Drag
|
||||||
drag = #(autohandFunc dragg dragd )
|
drag = #(autohandFunc dragg dragd )
|
||||||
dragdr = #(autohandFunc draggdr dragddr )
|
dragdr = #(autohandFunc draggdr dragddr )
|
||||||
|
|
Loading…
Reference in a new issue