add inline score music to midi output

This commit is contained in:
tux 2023-08-07 19:11:29 +02:00
parent 19b5fe2d94
commit d900a95d79
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
INLINESCOREMUSIC = {}
inline-score = inline-score =
#(define-music-function (music) (ly:music?) #(define-music-function (music) (ly:music?)
(set! INLINESCOREMUSIC #{ \INLINESCOREMUSIC #music #})
#{ #{
\transposable #music \transposable #music
#}) #})

View File

@ -17,7 +17,7 @@ output = #(if (not noStandaloneOutput)
\TEXT \TEXT
\score { \score {
\unfoldRepeats \MUSIC \unfoldRepeats { \MUSIC \INLINESCOREMUSIC }
\midi { \midi {
\context { \context {
\Score \Score