Guy Stalnaker <[email protected]> writes:

> See
> http://lilypond.org/doc/v2.19/Documentation/notation/midi-channel-mapping
>
> Where the method is shown. Basically, you put the instrument into the
> Voice context:
>
> %%% Code
>
>   \midi {
>     \context {
>       \Staff
>       \remove "Staff_performer"
>     }
>     \context {
>       \Voice
>       \consists "Staff_performer"
>     }
>
> %%% Code
>
> You'll see how it works. I do this all the time.

Frankly, I have no idea what you all are talking about.

\score {
  \new Staff \with { midiInstrument = "violin" }
  { c'' c'' c'' c''
    \set Staff.midiInstrument = "pizzicato strings"
    c'' c'' c'' c''
    \set Staff.midiInstrument = "violin"
    c'' c'' c'' c''
  }
  \midi {}
}
Works fine without moving the Staff_performer.

-- 
David Kastrup

Reply via email to