[side,tenor] try out new repeat segno structure from ly:2.24.1 in 4/4 marches

This commit is contained in:
Eric Teunis de Boone 2023-09-06 02:19:01 +02:00
parent 88881dcd94
commit ee00c91bd6
11 changed files with 169 additions and 190 deletions

View File

@ -1,29 +1,27 @@
\version "2.18.2"
\version "2.24.1"
\include "lilydrum.ly"
\include "./config.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
#})
\score {
\new PipeBandDrumStaff {
\global
\new PipeBandDrumStaff {
\global
<<
\new NullVoice = "format" {
\repeat volta 2 {
\part \halfline \markTextEol "Fine"
\repeat segno 2 {
\repeat volta 2 {
\part \line
\volta 2 {
\fine
}
}
\break
\section
\part \line
\section
}
\break
\part
\halfline
\markTextEol "D.C. al Fine"
\bar "||"
}%Format
\new DrumVoice = "side" {
\sideglobal

View File

@ -1,34 +1,30 @@
\version "2.18.2"
\version "2.24.1"
\include "lilydrum.ly"
\include "./config.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
#})
\score {
\new PipeBandDrumStaff {
\global
\sideglobal
\new PipeBandDrumStaff {
\global
<<
\new NullVoice = "format" {
\repeat volta 2 {
\part \halfline
\repeat segno 2 {
\repeat volta 2 {
\part \halfline
\volta 2 {
\fine
}
}
\break
\section
\part \repeat unfold 4 \measure
\section
}
\markTextEol "Fine"
\break
\part \repeat unfold 4 \measure
\markTextEol "D.C. al Fine"
\bar "|."
}%Format
\new DrumVoice = "side" {
\sideglobal
\snareA s4
\snareBA s4

View File

@ -1,35 +1,28 @@
\version "2.18.2"
\version "2.24.1"
\include "lilydrum.ly"
\include "./config.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
#})
\score {
\new PipeBandDrumStaff {
\global
<<
\new NullVoice = "format" {
\repeat volta 2 {
\part \halfline \markTextEol "Fine"
}
\break
\part \halfline \markTextEol "D.C. al Fine"\bar "||"
}%Format
\new DrumVoice = "side" {
\sideglobal
\snareA s4
\snareBA
\new PipeBandDrumStaff {
\global
\sideglobal
\repeat segno 2 {
\repeat volta 2 {
\partial 4
\snareA
}
>>
\volta 2 \fine
\volta 1 {
\allowBreak
\break
\snareBA
\section
}
}
}
\header {
title = \title

View File

@ -1,31 +1,28 @@
\version "2.18.2"
\version "2.24.1"
\include "lilydrum.ly"
\include "./config.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
#})
\score {
\new PipeBandDrumStaff {
\global
\sideglobal
<<
{
\repeat volta 2 {\part \line \markTextEol "Fine" \break }
\part \line \markTextEol "D.C. al Fine" \bar "||"
\new PipeBandDrumStaff {
\global
\sideglobal
%\unfoldRepeats
\repeat segno 2 {
\repeat volta 2 {
\partial 8 \snareA
}
{
\snareA s8
\snareBAhigh
\volta 2 \fine
\volta 1 {
\allowBreak
\section
\partial 8 \snareBAhigh
\section
\allowBreak
}
>>
}
}
\header {
title = #(string-append title " (high)" )

View File

@ -1,26 +1,30 @@
\version "2.18.2"
\version "2.24.1"
\include "lilydrum.ly"
\include "./config.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
#})
\score {
\new PipeBandDrumStaff {
\global
\sideglobal
<<
{
\repeat volta 2 {\part \line \markTextEol "Fine" \break }
\part \line \markTextEol "D.C. al Fine" \bar "||"
\new PipeBandDrumStaff {
\global
<<
\new NullVoice = "format" {
\repeat segno 2 {
\repeat volta 2 {
\part \line
\volta 2 {
\fine
}
}
\break
\section
\part \line
\section
}
}
{
\new DrumVoice = "side" {
\sideglobal
\snareA s8
\snareBA

View File

@ -6,8 +6,8 @@
\include "./notes.side.ily"
\score {
\new PipeBandDrumStaff {
\global
\new PipeBandDrumStaff {
\global
\sideglobal
\repeat volta 2 {
\partial 4 r8

View File

@ -1,4 +1,4 @@
\version "2.19.0"
\version "2.24.1"
\include "lilydrum.ly"
@ -11,6 +11,7 @@
indent = 5.0
short-indent = 2.0
}
mBreak = {\break}
\score {
\new StaffGroup <<
@ -19,31 +20,35 @@
shortInstrumentName = \markup{ \shortInstrumentSide }
} {
\global
\sideglobal
<<
\new NullVoice = "format" {
\part
\repeat volta 2 {
\measure
s2.
} \alternative {
{ s4 | \halfline }
{
s4 |
\halfline
\fine
\repeat segno 2 {
\repeat volta 2 {
\measure
s2.
} \alternative {
{ s4 | \halfline }
{
s4 |
\halfline
\fine
}
}
\volta 2 \fine
\volta 1 {
\allowBreak
\mBreak
\section
\part
\line
\section
}
}
\bar "||"
\break
\part
\line
\dcalfine
\bar "||"
}%End of Format
\new DrumVoice = "side" {
\sideglobal
\snareAupbeatA
\snareAA
\snareAB r8 \snareAupbeatB
@ -59,12 +64,13 @@
} {
\tenorglobal
\drummode { g4 | }
s4 |
\tenorAA
\tenorABA r4
r8 g8 | \tenorABB s4
r4 \tenorBA
\section
}
%{ \new PipeBandDrumStaff = "bass" \with {
instrumentName = \markup{ \instrumentBass }

View File

@ -1,41 +1,32 @@
\version "2.18.2"
\version "2.24.1"
\include "lilydrum.ly"
\include "./config.ily"
\include "./notes.side.ily"
fine = {\mark \markup "Fine" }
\score {
\new PipeBandDrumStaff {
\global
\new PipeBandDrumStaff {
\global
\sideglobal
<<
\new NullVoice = "format" {
\part
\repeat volta 2 {
\halfline \measure << s2. { s2 \fine } >>
} \alternative {
{ s4 | }
{
}
}
%\bar "||"
\break
\part \line
\dcalfine
\bar "||"
}%Format
\new DrumVoice = "side" {
\snareAupbeatA
\partial 4 \snareAupbeatA
\repeat segno 2 {
\repeat volta 2 {
\snareA
r8 \snareAupbeatB
\volta 2 \fine
\alternative {
\volta 1 { r8 \snareAupbeatB }
}
}
\volta 1 {
\allowBreak
\break
\section
\partial 4
r8 \snareBA
}
>>
}
}
\header {
title = \title

View File

@ -1,40 +1,34 @@
\version "2.18.2"
\version "2.24.1"
\include "lilydrum.ly"
\include "./config.ily"
\include "./notes.tenor.ily"
mBreak = {\break}
\score {
\new PipeBandDrumStaff {
\new PipeBandDrumStaff {
\global
<<
{
\part \repeat volta 2 {
\halfline
} \alternative {
\halfline
{
\halfline
\fine
}
\tenorglobal
\partial 4 \drummode { g4 } |
\repeat segno 2 {
\repeat volta 2 {
\tenorAA
\alternative {
{ \tenorABA r4 }
{ \tenorABB r4 }
}
\bar "||"
\break
\line
\dcalfine
\bar "||"
}
{
\drummode { g4 | }
\tenorAA
\tenorABA r4
\tenorABB r4
\tenorBA
\volta 2 {\fine}
\volta 1 {
\allowBreak
\mBreak
\section
\tenorBA
\section
}
>>
}
}
\header {
title = \title

View File

@ -31,6 +31,6 @@ snareBA = \drummode {
g8) d16. g32 \flam d16. d32:128( d8) \flam d8 d16. g32 d8:32(-> \< g8:32)(-> |
d8.)->\fr \! g16 d8:32( g16.) g32 d8:32( g16.) g32 \sextuplet { d16[ g d-> g d g] } |
\flamdr d8 d16. g32-> d16. d32 \flam g8 \flam d4\fr \triplet { <> \p d16 g d } \flam g8 |
\flam d4 r4 d8:32(\dr \< g8:32)(-> d8:32)(-> \afterGrace g8:32)(-> {s8)\!\ofr}
\flamdr d8 d16. g32-> d16. d32 \flam g8 \flam d4 \triplet { <> \p d16 g d } \flam g8 |
\flam d4 r4 d8:32( \< g8:32)(-> d8:32)(-> \afterGrace g8:32)(-> {s8)\!\ofr}
}

View File

@ -1,38 +1,38 @@
\version "2.18.2"
\version "2.24.1"
\include "lilydrum.ly"
\include "./config.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
#})
mbreak = {\break}
\score {
\new PipeBandDrumStaff {
\global
\new PipeBandDrumStaff {
\global
\sideglobal
<<
\new NullVoice = "format" {
\partial 8 s8
\repeat volta 2 {
\quartline
} \alternative {
\quartline
{ \quartline
\markTextEol "Fine"
\repeat segno 2 {
\repeat volta 2 {
\quartline
} \alternative {
\quartline
{ \quartline
\fine
}
}
}\bar "|."
\break
\partial 8 s8
\halfline
\markTextEol "D.C. al Fine"
\bar "||"
\volta 1 {
\allowBreak
\mbreak
\partial 8 s8
\halfline
\bar "||"
}
}
}%Format
\new DrumVoice = "side" {
\sideglobal
\snareAA