[typesetting] restructure for segnoMarking in Caller Herrin'

This commit is contained in:
Eric Teunis de Boone 2024-02-10 21:12:32 +01:00
parent 38c9742103
commit 39effeefb3
10 changed files with 202 additions and 171 deletions

View File

@ -5,24 +5,31 @@
\include "./config.ily" \include "./config.ily"
\include "./notes.bass.ily" \include "./notes.bass.ily"
mbreak = {\break}
\score { \score {
\new PipeBandDrumStaff { \new PipeBandDrumStaff {
\global \global
<< <<
\new NullVoice = "format" { \new NullVoice = "format" {
\repeat segno 2 {
\repeat volta 2 { \repeat volta 2 {
\part
\halfline \halfline
\mark \markup { \musicglyph "scripts.segno"} \volta 2 { \segnoMark \default }
\inStaffSegno
\halfline \halfline
\fine \volta 2 { \fine }
} }
\break
\halfline \volta 1 {
\halfline \allowBreak
\dsalfine \mbreak
\bar "||" \part
\halfline
\halfline
\bar "||"
}
}
}%Format }%Format
\new DrumVoice = "bass" { \new DrumVoice = "bass" {
\bassglobal \bassglobal

View File

@ -13,6 +13,29 @@
short-indent = 2.0 short-indent = 2.0
} }
mbreak = {\break}
timing = \new NullVoice = "format" {
\repeat segno 2 {
\repeat volta 2 {
\part
\halfline
\volta 2 { \segnoMark \default }
\halfline
\volta 2 { \fine }
}
\volta 1 {
\allowBreak
\mbreak
\part
\halfline
\halfline
\bar "||"
}
}
} % Format
\score { \score {
\new StaffGroup << \new StaffGroup <<
\new PipeBandDrumStaff = "side" \with { \new PipeBandDrumStaff = "side" \with {
@ -21,28 +44,7 @@
} { } {
\global \global
<< <<
\new NullVoice = "format" { \timing
\repeat volta 2 {
\part
\halfline
\mark \markup { \musicglyph "scripts.segno"}
\inStaffSegno
\halfline
\fine
}
\break
\part
\halfline
\halfline
\dsalfine
\bar "||"
%\break
%\halfline
%\break
%\halfline
%\bar "|."
}%End of Format
\new DrumVoice = "side" { \new DrumVoice = "side" {
\sideglobal \sideglobal
\sideA s8 \sideA s8
@ -55,16 +57,22 @@
shortInstrumentName = \markup{ \shortInstrumentTenor } shortInstrumentName = \markup{ \shortInstrumentTenor }
} { } {
\tenorglobal \tenorglobal
\tenorA s8 << \timing
\removeWithTag #'fine \tenorB {
\tenorA s8
\removeWithTag #'fine \tenorB
} >>
} }
\new PipeBandDrumStaff = "bass" \with { \new PipeBandDrumStaff = "bass" \with {
instrumentName = \markup{ \instrumentBass } instrumentName = \markup{ \instrumentBass }
shortInstrumentName = \markup{ \shortInstrumentBass } shortInstrumentName = \markup{ \shortInstrumentBass }
} { } {
\bassglobal \bassglobal
s8 \bassA << \timing
s8 \removeWithTag #'fine \bassB {
s8 \bassA
s8 \removeWithTag #'fine \bassB
} >>
} }
>> >>
\header { \header {

View File

@ -18,6 +18,29 @@
#(set-global-staff-size 18) #(set-global-staff-size 18)
mbreak = {\break}
timing = \new NullVoice = "format" {
\repeat segno 2 {
\repeat volta 2 {
\part
\halfline
\volta 2 { \segnoMark \default }
\halfline
\volta 2 { \fine }
}
\volta 1 {
\allowBreak
\mbreak
\part
\halfline
\halfline
\bar "||"
}
}
} % Format
\score { \score {
\new StaffGroup << \new StaffGroup <<
\new Staff \with { \new Staff \with {
@ -27,28 +50,7 @@
\global \global
\pipeglobal \pipeglobal
<< <<
\new NullVoice = "format" { \timing
\repeat volta 2 {
\part
\halfline
\mark \markup { \musicglyph "scripts.segno"}
\inStaffSegno
\halfline
\fine
}
\break
\part
\halfline
\halfline
\dsalfine
\bar "||"
%\break
%\halfline
%\break
%\halfline
%\bar "|."
} % Format
\new Voice = "pipes" { \new Voice = "pipes" {
\pipesA s8 \pipesA s8
\removeWithTag #'fine \pipesB \removeWithTag #'fine \pipesB
@ -82,27 +84,33 @@
shortInstrumentName = \markup{ \shortInstrumentSide } shortInstrumentName = \markup{ \shortInstrumentSide }
} { } {
\sideglobal \sideglobal
<< \timing
\sideA s8 {
\removeWithTag #'fine \sideB \sideA s8
\removeWithTag #'fine \sideB
} >>
} }
\new PipeBandDrumStaff = "tenor" \with { \new PipeBandDrumStaff = "tenor" \with {
instrumentName = \markup{ \instrumentTenor } instrumentName = \markup{ \instrumentTenor }
shortInstrumentName = \markup{ \shortInstrumentTenor } shortInstrumentName = \markup{ \shortInstrumentTenor }
} { } {
\tenorglobal \tenorglobal
<< \timing
\tenorA s8 {
\removeWithTag #'fine \tenorB \tenorA s8
\removeWithTag #'fine \tenorB
} >>
} }
\new PipeBandDrumStaff = "bass" \with { \new PipeBandDrumStaff = "bass" \with {
instrumentName = \markup{ \instrumentBass } instrumentName = \markup{ \instrumentBass }
shortInstrumentName = \markup{ \shortInstrumentBass } shortInstrumentName = \markup{ \shortInstrumentBass }
} { } {
\bassglobal \bassglobal
<< \timing
s8 \bassA {
s8 \removeWithTag #'fine \bassB s8 \bassA
s8 \removeWithTag #'fine \bassB
} >>
} }
>> >>
\header { \header {

View File

@ -11,6 +11,28 @@
short-indent = 2.0 short-indent = 2.0
} }
mbreak = {\break}
timing = \new NullVoice = "format" {
\repeat segno 2 {
\repeat volta 2 {
\part
\halfline
\volta 2 { \segnoMark \default }
\halfline
\volta 2 { \fine }
}
\volta 1 {
\allowBreak
\mbreak
\part
\halfline
\halfline
\bar "||"
}
}
}%End of Format
\score { \score {
\new StaffGroup << \new StaffGroup <<
\new PipeBandDrumStaff = "tenor" \with { \new PipeBandDrumStaff = "tenor" \with {
@ -19,23 +41,7 @@
} { } {
\global \global
<< <<
\new NullVoice = "format" { \timing
\repeat volta 2 {
\part
\halfline
\mark \markup { \musicglyph "scripts.segno"}
\inStaffSegno
\halfline
\fine
}
\break
\part
\halfline
\halfline
\dsalfine
\bar "||"
}%End of Format
\new DrumVoice = "tenor" { \new DrumVoice = "tenor" {
\tenorglobal \tenorglobal
\tenorA s8 \tenorA s8
@ -48,8 +54,10 @@
shortInstrumentName = \markup{ \shortInstrumentBass } shortInstrumentName = \markup{ \shortInstrumentBass }
} { } {
\bassglobal \bassglobal
s8 \bassA << \timing
s8 \removeWithTag #'fine \bassB { s8 \bassA
s8 \removeWithTag #'fine \bassB
} >>
} }
>> >>
\header { \header {

View File

@ -1,15 +1,28 @@
% 2/4 Caller Herrin % 2/4 Caller Herrin
% Tenor % Tenor
\version "2.18.2" \version "2.18.2"
composerTenor = "E.T. de Boone, v0.2" composerTenor = "E.T. de Boone, v0.3"
arrangerTenor = "" arrangerTenor = ""
tenorglobal = {} tenorglobal = {}
startRPiano = #(define-event-function (parser location) () #{
-\tweak HorizontalBracketText.text "R"
\startGroup
#})
startTPiano = #(define-event-function (parser location) () #{
-\tweak HorizontalBracketText.text "T"
\startGroup
#})
% Music % Music
tenorA = \drummode { tenorA = \drummode {
\tag #'fineRemove { \tag #'fineRemove {
\tag #'upbeat { d8 | } \tag #'upbeat { d8 | }
g4\up d8 g | g4\up
d8 g d4 |
d8\startRPiano g |
d8 g d4\stopGroup |
g4\up d8.\up g4\up d8.\up
g16 | g16 |
d4 g8 d4 g8
@ -17,8 +30,8 @@ tenorA = \drummode {
d8 | d8 |
} }
g4\up d8 g | g4\up d8\startRPiano g |
d8 g d4 | d8 g d4\stopGroup |
g4 \scoop { d8. g16 | g4 \scoop { d8. g16 |
d4 } r8 d4 } r8
} }

View File

@ -5,16 +5,7 @@
\include "./config.ily" \include "./config.ily"
\include "./notes.pipes.ily" \include "./notes.pipes.ily"
markTextEolDown = #(define-music-function (parser location text) (string?) #{ mbreak = {\break}
\once \override Score.RehearsalMark #'break-visibility = #end-of-line-visible
\once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
\once \override Score.RehearsalMark #'direction = #DOWN
\mark \markup $text
#})
fine = {\markTextEolDown "Fine" }
dsalfine = {\markTextEolDown "D.S. al Fine" }
\score { \score {
\new Staff { \new Staff {
@ -22,26 +13,24 @@ dsalfine = {\markTextEolDown "D.S. al Fine" }
\pipeglobal \pipeglobal
<< <<
\new NullVoice = "format" { \new NullVoice = "format" {
\repeat volta 2 { \repeat segno 2 {
\part \repeat volta 2 {
\halfline \part
\mark \markup { \musicglyph "scripts.segno"} \halfline
%\inStaffSegno \volta 2 { \segnoMark \default }
\halfline \halfline
\fine \volta 2 { \fine }
}
\volta 1 {
\allowBreak
\mbreak
\part
\halfline
\halfline
\bar "||"
}
} }
\break
\part
\halfline
\halfline
\dsalfine
\bar "||"
%\break
%\halfline
%\break
%\halfline
%\bar "|."
} % Format } % Format
\new Voice = "pipes" { \new Voice = "pipes" {
\pipesAvI s8 \pipesAvI s8

View File

@ -45,7 +45,7 @@
\pipesSecA s8 \pipesSecA s8
\pipesSecB \pipesSecB s8
} }
>> >>

View File

@ -5,16 +5,7 @@
\include "./config.ily" \include "./config.ily"
\include "./notes.pipes.ily" \include "./notes.pipes.ily"
markTextEolDown = #(define-music-function (parser location text) (string?) #{ mbreak = {\break}
\once \override Score.RehearsalMark #'break-visibility = #end-of-line-visible
\once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
\once \override Score.RehearsalMark #'direction = #DOWN
\mark \markup $text
#})
fine = {\markTextEolDown "Fine" }
dsalfine = {\markTextEolDown "D.S. al Fine" }
\score { \score {
\new Staff { \new Staff {
@ -22,26 +13,24 @@ dsalfine = {\markTextEolDown "D.S. al Fine" }
\pipeglobal \pipeglobal
<< <<
\new NullVoice = "format" { \new NullVoice = "format" {
\repeat segno 2 {
\repeat volta 2 { \repeat volta 2 {
\part \part
\halfline \halfline
\mark \markup { \musicglyph "scripts.segno"} \volta 2 { \segnoMark \default}
%\inStaffSegno
\halfline \halfline
\fine \volta 2 { \fine }
} }
\break
\part \volta 1 {
\halfline \allowBreak
\halfline \mbreak
\dsalfine \part
\bar "||" \halfline
%\break \halfline
%\halfline \bar "||"
%\break }
%\halfline }
%\bar "|."
} % Format } % Format
\new Voice = "pipes" { \new Voice = "pipes" {
\pipesA s8 \pipesA s8

View File

@ -5,26 +5,30 @@
\include "./config.ily" \include "./config.ily"
\include "./notes.side.ily" \include "./notes.side.ily"
mbreak = {\break}
\score { \score {
\new PipeBandDrumStaff { \new PipeBandDrumStaff {
\global \global
<< <<
\new NullVoice = "format" { \new NullVoice = "format" {
\repeat volta 2 { \repeat segno 2 {
\part \repeat volta 2 {
\halfline \part
\mark \markup { \musicglyph "scripts.segno"} \halfline
%\inStaffSegno \volta 2 { \segnoMark \default }
\halfline \halfline
\fine \volta 2 { \fine }
} }
\break
\part \volta 1 {
\halfline \allowBreak
\halfline \mbreak
\dsalfine \part
\bar "||" \halfline
\halfline
\bar "||"
}
}
} % Format } % Format
\new DrumVoice = "side" { \new DrumVoice = "side" {
\sideglobal \sideglobal

View File

@ -5,26 +5,31 @@
\include "./config.ily" \include "./config.ily"
\include "./notes.tenor.ily" \include "./notes.tenor.ily"
mbreak = {\break}
\score { \score {
\new PipeBandDrumStaff { \new PipeBandDrumStaff {
\global \global
<< <<
\new NullVoice = "format" { \new NullVoice = "format" {
\repeat volta 2 { \repeat segno 2 {
\part \repeat volta 2 {
\halfline \part
\mark \markup { \musicglyph "scripts.segno"} \halfline
%\inStaffSegno \volta 2 { \segnoMark \default }
\halfline \halfline
\fine \volta 2 { \fine }
} }
\break
\part \volta 1 {
\halfline \allowBreak
\halfline \mbreak
\dsalfine \part
\bar "||" \halfline
\halfline
\bar "||"
}
}
}%Format }%Format
\new DrumVoice = "tenor" { \new DrumVoice = "tenor" {
\tenorglobal \tenorglobal