Added Ruffs

This commit is contained in:
Eric Teunis de Boone 2015-03-25 02:45:02 +01:00
parent 73f5dcf0e1
commit 01781a7f4e
1 changed files with 23 additions and 15 deletions

View File

@ -1,10 +1,10 @@
%{ %{
LilyPond file definitions for Highland snare drum scores. LilyPond file definitions for Highland snare drum scores.
Author : Simon Froger This file was first created by Simon Froger.
Please save the following definitions as scottish-drums.ily and add this line to your score : Include by using :
\include "[path]/scottish-drums.ily" \include "[path]/lilydrum.ly"
Music has to be put into : Music has to be put into :
\new DrumStaff { \new DrumStaff {
@ -19,29 +19,31 @@
% Note names defs : "d" for the right hand and "g" for the left hand % Note names defs : "d" for the right hand and "g" for the left hand
drumPitchNames = drumPitchNames =
#(append '( #(append '(
(d . main-droite) (d . right-hand)
(g . main-gauche) (g . left-hand)
) )
drumPitchNames drumPitchNames
) )
% position according to the line : right hand up and left hand down % position according to the line : right hand up and left hand down
#(define mysnaredrums '( #(define pipebandsnaredrums '(
(main-droite default #f 1) (right-hand default #f 1)
(main-gauche default #f -1)) (left-hand default #f -1))
) )
% Layout tweaks for good defaults
\layout { \layout {
% no indent % no indent
indent = 0 indent = 0
% rolls number : markups should be preceeded by % rolls number : markups should be preceeded by
\textLengthOn \textLengthOn
% dynamics up % dynamics up
\dynamicUp \dynamicUp
\set DrumStaff.drumStyleTable = #(alist->hash-table mysnaredrums) \set DrumStaff.drumStyleTable = #(alist->hash-table pipebandsnaredrums)
\context { \context {
\DrumStaff \DrumStaff
% one line par staff % one line per staff
\override StaffSymbol.line-positions = #'(0) \override StaffSymbol.line-positions = #'(0)
% bar line length % bar line length
\override BarLine.bar-extent = #'(-2 . 2) \override BarLine.bar-extent = #'(-2 . 2)
@ -51,7 +53,7 @@ drumPitchNames =
\override Stem.stemlet-length = #1.5 % short stem length \override Stem.stemlet-length = #1.5 % short stem length
% beam at same height % beam at same height
\override Beam.positions = #'(-5.5 . -5.5) \override Beam.positions = #'(-5.5 . -5.5)
% slurs bellow rolls number % slurs below rolls number
\override TextScript.outside-staff-priority = ##f \override TextScript.outside-staff-priority = ##f
\override TextScript.side-axis = #0 \override TextScript.side-axis = #0
\override TextScript.staff-padding = #3 \override TextScript.staff-padding = #3
@ -108,7 +110,7 @@ dynLine = #(define-music-function
% grace notes % grace notes
startGraceMusic = { startGraceMusic = {
\stemUp \tiny \stemUp \tiny
\override Flag.stroke-style = #"grace" \override Flag.stroke-style = #"grace"
\once \override Beam.positions = #'(3 . 3) \once \override Beam.positions = #'(3 . 3)
\once \override DrumStaff.Stem.length = #7 \once \override DrumStaff.Stem.length = #7
@ -120,14 +122,20 @@ stopGraceMusic = {
\stemNeutral \stemNeutral
} }
% FLAMS & DRAGS : % Flams
flamd = \drummode { \grace { g8 } } % right Flam flamd = \drummode { \grace { g8 } } % right Flam
flamddr = \drummode { \grace { g8\startGroup } } % with start repeat flamddr = \drummode { \grace { g8\startGroup } } % with start repeat
flamg = \drummode { \grace { d8 } } % left Flam flamg = \drummode { \grace { d8 } } % left Flam
flamgdr = \drummode { \grace { d8\startGroup } } % with start repeat flamgdr = \drummode { \grace { d8\startGroup } } % with start repeat
% Drags
dragd = \drummode { \grace{ g16[ g] }} % right Drag dragd = \drummode { \grace{ g16[ g] }} % right Drag
dragddr = \drummode { \grace{ g16[\startGroup g] }} % with start repeat dragddr = \drummode { \grace{ g16[\startGroup g] }} % with start repeat
dragg = \drummode { \grace{ d16[ d] }} % left Drag dragg = \drummode { \grace{ d16[ d] }} % left Drag
draggdr = \drummode { \grace{ d16[\startGroup d] }} % with start repeat draggdr = \drummode { \grace{ d16[\startGroup d] }} % with start repeat
% ====== END OF INCLUDED FILE ======================= % Ruff
ruffg = \drummode { \grace{ g16[ d g] }} % left Ruff
ruffgdr = \drummode { \grace{ g16[\startGroup d g] }} % with start repeat
ruffd = \drummode { \grace{ d16[ g d] }} % right Ruff
ruffd = \drummode { \grace{ d16[\startGroup g d] }} % with start repeat