"Jan Nieuwenhuizen" <[email protected]> wrote in message news:[email protected]...
- Hu Haipeng writes:

The patch below may fix this, when using

   \set Score.midiChannelMapping = #'staff

Ok, Here's my example, just 4 bars.

It is indeed just 4 bars.  Although I can look at the warning,
this example is not usable as a regtest or tiny example.  It
is still quite difficult [for me] to verify that what is meant
in this .ly, actually arrives into the .midi.

Possibly with something like

violin = { \set Staff.midiInstrument = "violin" a4 a }
changer = {
 \set Staff.midiInstrument = "midi-instr 1"
 c128
 \set Staff.midiInstrument = "midi-instr 2"
 c128
 ..
 \set Staff.midiInstrument = "midi-instr 17"
 c128
 \set Staff.midiInstrument = "celesta"
 c4
}

it would be feasible to verify that, in the end, we hear a
violin and a celesta.  Not sure how to make a better test
for this that could serve as a regtest.

Jan.

I've added this as http://code.google.com/p/lilypond/issues/detail?id=1620 to make sure it's not lost.


--
Phil Holmes
Bug Squad




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

Reply via email to