lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDI voice not piano


From: Federico Bruni
Subject: Re: MIDI voice not piano
Date: Fri, 14 Dec 2012 00:40:27 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.10) Gecko/20121028 Icedove/10.0.10

Il 14/12/2012 00:06, dadadharma @dslextreme.com ha scritto:
What am I doing wrong here?

Although I specify "choir aahs"  and "voice oohs" ,

I only get the default Grand Piano.

Have you checked this page?
http://lilypond.org/doc/v2.17/Documentation/notation/midi-instruments

You have inserted the notes before changing instrument so obviously it can't work.
Call the variable containing the notes after \set, like this:

\score {
   <<
           \new Staff = "one" {
      \set Staff.midiInstrument = #"choir aahs" \sopranoMusic  }
           \new Staff = "two" {
      \set Staff.midiInstrument = #"voice oohs" \altoMusic }

   >>
  \layout{}

  \midi{
         \context {
      \Staff
      \consists "Staff_performer"
    }

        \tempo 2 = 30
          }
}

--
Federico



reply via email to

[Prev in Thread] Current Thread [Next in Thread]