Peter Chubb <[EMAIL PROTECTED]> writes:

> Why is midiInstrument a Staff property rather than a Voice property?

Just a pragmatic choice.  MIDI can specify only one instrument per
track; and a staff is translated to a MIDI track.

If you want different instruments for two voicess, you must put them
on different staffs, ie, you probably need a dedicated midi score
definition:

   \score {
     \context Staff < \instrI \instrII >
     \paper { }
   }

   \score {
      <
        \context Staff=I \instrI
        \context Staff=II \instrII
      >
      \midi { }
   }

> It makes it hard to have multiple voices with different instruments
> on the same staff.
> 
> 
> If midiInstrument were a Voice property then `divisi' staves would
> work just fine, and in the normal case where each staff is a separate
> instrument, setting Staff.midiInstrument would be inherited by all
> the voices anyway.
> 
> Peter c
> 
> _______________________________________________
> Gnu-music-discuss mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/gnu-music-discuss
> 

-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


_______________________________________________
Gnu-music-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/gnu-music-discuss

Reply via email to