Comment #2 on issue 1647 by [email protected]: MIDI skips note if the pitch is already sounding in the same channel
http://code.google.com/p/lilypond/issues/detail?id=1647

%% Repost, with input matching the example output files

%{ We want to hear both notes,
  even though the first note continues through the onset of the second.
%}

\version "2.12"
\score{
  \new Staff
  << {r8 g'4} \\ {g'4 r8} >>
  \layout {}
  \midi{
%{% begin workaround
% I find the workaround to be essential for proof-hearing piano pieces
    \context {
      \Score
      %% Begin: for versions >2.13.54
      % assign one MIDI channel to each Staff_performer
      midiChannelMapping = #'staff
      %% End: for versions >2.13.54
    }
    % create a different Staff_performer (sic) for each *Voice*
    % so that you get one MIDI channel per Voice
    \context {
      \Staff
      \remove "Staff_performer"
    }
    \context {
      \Voice
      \consists "Staff_performer"
    }
%}% end workaround
  }
}


Attachments:
        repeat_midi.png  1.7 KB
        repeat_midi.midi  130 bytes


_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to