Hello bug squad,

I found a possible bug with the MIDI output. If the dynamics are in a separate variable than the notes, the first dynamic will be ignored unless the very first command is a \tempo command. E.g.:

A = {
  % \accidentalStyle dodecaphonic-no-repeat
  % \numericTimeSignature
  \tempo 4 = 40
  f''4 f'' f f |
}

B = {
  s4\ppp s4\ff s4\ppp s4\ff |
}

\score{
  \new Staff <<\A \B>>
  \layout{}
  \midi{}
}

The MIDI output of the code above plays as expected: a sequence of soft, loud, soft and loud notes. Now if one of those two first lines of the variable A are uncommented, the MIDI output will be: loud, loud, loud, soft. But then if the \tempo command is put above those lines, the output is once again as expected.

Cheers,
Gilberto

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to