Changing MIDI output to one channel per voice: Difference between revisions

Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 3: Line 3:
However, by moving the <code>Staff_performer</code> to the <code>Voice</code> context, each voice on a staff can have its own MIDI channel, as is demonstrated by the following example: despite being on the same staff, two MIDI channels are created, each with a different <code>midiInstrument</code>.
However, by moving the <code>Staff_performer</code> to the <code>Voice</code> context, each voice on a staff can have its own MIDI channel, as is demonstrated by the following example: despite being on the same staff, two MIDI channels are created, each with a different <code>midiInstrument</code>.


<lilypond version="2.24.0">
<lilypond version="2.24">
\score {
\score {
   \new Staff <<
   \new Staff <<