2023-07-22 22:07:57 +02:00
|
|
|
% set the speed of the midi music
|
|
|
|
#(define midiQuarterNoteSpeed (if (defined? 'midiQuarterNoteSpeed) midiQuarterNoteSpeed 90))
|
|
|
|
|
2023-08-07 16:24:43 +02:00
|
|
|
MUSIC = { \transposable \MUSIC }
|
|
|
|
|
2023-07-22 22:07:57 +02:00
|
|
|
% nur Output wenn noStandaloneOutput auf false steht
|
|
|
|
output = #(if (not noStandaloneOutput)
|
|
|
|
#{
|
|
|
|
\bookpart {
|
|
|
|
\HEADER
|
|
|
|
|
|
|
|
\score {
|
|
|
|
\MUSIC
|
|
|
|
\layout { \LAYOUT }
|
|
|
|
}
|
|
|
|
|
|
|
|
\TEXT
|
|
|
|
|
|
|
|
\score {
|
2023-08-07 19:11:29 +02:00
|
|
|
\unfoldRepeats { \MUSIC \INLINESCOREMUSIC }
|
2023-07-22 22:07:57 +02:00
|
|
|
\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 }
|
|
|
|
}
|