1
0
Fork 0
mirror of https://github.com/kastdeur/pipeband-music.git synced 2024-11-01 10:03:32 +01:00
pipeband-music/2-4_marches/black_bear/drums.ly
2019-01-21 02:07:22 +01:00

81 lines
2.1 KiB
Text

\version "2.19.0"
\include "lilydrum.ly"
\include "./config.ily"
\include "./notes.bass.ily"
\include "./notes.tenor.ily"
\include "./notes.side.ily"
markTextEol = #(define-music-function (parser location text) (string?) #{
\once \override Score.RehearsalMark #'break-visibility = #end-of-line-visible
\once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
\mark \markup $text
#})
\layout {
indent = 5.0
short-indent = 2.0
}
\score {
\new StaffGroup <<
\new PipeBandDrumStaff = "side" {
\global
\sideglobal
\set PipeBandDrumStaff.instrumentName = \markup{\instrumentSide}
\set PipeBandDrumStaff.shortInstrumentName = \markup{\shortInstrumentSide}
<<
\new NullVoice = "format" {
\repeat volta 2 {
\part \line \markTextEol "Fine"
}\break
\part \line \markTextEol "D.C. al Fine" \bar "||"
}%End of Format
\new DrumVoice = "side" {
\snareA s8
\snareBA
\snareBB
}%End of side
>>
}
\new PipeBandDrumStaff = "tenor" {
\tenorglobal
\set PipeBandDrumStaff.instrumentName = \markup{ \instrumentTenor }
\set PipeBandDrumStaff.shortInstrumentName = \markup{ \shortInstrumentTenor }
r8 \tenorA s8
\tenorB
\tenorA s8
}
\new PipeBandDrumStaff = "bass" {
\bassglobal
\set PipeBandDrumStaff.instrumentName = \markup{ \instrumentBass }
\set PipeBandDrumStaff.shortInstrumentName = \markup{ \shortInstrumentBass}
r8 \bassA s8
\bassB
\bassA s8
}
>>
\header {
title = \title
meter = \meter
composer = \markup {
\column \right-align {
$(if (not (string=? "" composerSide)) #{ \markup {\line { \composerSide ":" }} #} )
$(if (not (string=? "" composerTenor)) #{ \markup {\line { \composerTenor ":" }} #} )
$(if (not (string=? "" composerBass)) #{ \markup {\line { \composerBass ":" }} #} )
}
\column \right-align {
$(if (not (string=? "" composerSide)) #{ \markup {\line { \instrumentSide }}#} )
$(if (not (string=? "" composerTenor)) #{ \markup {\line { \instrumentTenor }}#} )
$(if (not (string=? "" composerBass)) #{ \markup {\line { \instrumentBass }}#} )
}
}
}
}