Inhaltlich sinnvollere Aufteilung der include Skripte

This commit is contained in:
tux
2023-07-22 22:07:57 +02:00
parent 2ada65e0bc
commit eba0cc5375
17 changed files with 767 additions and 736 deletions

37
standalone_output.ly Normal file
View File

@ -0,0 +1,37 @@
% set the speed of the midi music
#(define midiQuarterNoteSpeed (if (defined? 'midiQuarterNoteSpeed) midiQuarterNoteSpeed 90))
% nur Output wenn noStandaloneOutput auf false steht
output = #(if (not noStandaloneOutput)
#{
\bookpart {
\HEADER
\score {
\MUSIC
\layout { \LAYOUT }
}
\TEXT
\score {
\unfoldRepeats \MUSIC
\midi {
\context {
\Score
% Tempo des midi files
tempoWholesPerMinute = #(ly:make-moment midiQuarterNoteSpeed 4)
}
}
}
}
#}
)
% if we don't want a standalone output, cause we compile a book, we just have an empty output here,
% so lilypond does not generate output for this song
\book {
\bookpart { \output }
}