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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user