[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why is midiInstrument a Staff property
From: |
Jan Nieuwenhuizen |
Subject: |
Re: Why is midiInstrument a Staff property |
Date: |
03 Mar 2001 11:47:26 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
Peter Chubb <address@hidden> 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
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnu-music-discuss
>
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org