lilypond-user
[Top][All Lists]
Advanced

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

Re: midi set instrument problem


From: Thomas Spuhler
Subject: Re: midi set instrument problem
Date: Tue, 5 Feb 2008 21:16:18 -0700
User-agent: KMail/1.9.7

On Saturday 26 January 2008, Wilbert Berendsen wrote:
> Op zaterdag 26 januari 2008, schreef Thomas Spuhler:
> > Lilypond doesn't like my midi section:
>
> Try:
> \midi {
>   \context {
>     \Score
>     tempoWholesPerMinute = #(ly:make-moment 90 4)
>   }
>   \context {
>     \Staff
>     midiInstrument = "recorder"
>   }
> }
>
> The \set Staff.midiInstrument command shows that midiInstrument is to be
> set in the Staff context. I guess it will work when you place it in the
> \Staff context section. The '\set' and the 'Staff.' are not necessary then.
>
> Alternatively, you can use
> \set Staff.midiInstrument = "recorder"
> just in the music.
>
> Met vriendelijke groet,
> Wilbert Berendsen
>
> --
> http://www.wilbertberendsen.nl/
> "You must be the change you wish to see in the world."
>         -- Mahatma Gandi

Thanks for the hint. Got it to work like this:

  \midi { 
        \context {
                \Score
                tempoWholesPerMinute = #(ly:make-moment 90 4)
                midiInstrument = "recorder"
                }

        }
 
}

-- 
Thomas




reply via email to

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