Eluze <elu...@gmail.com> writes:

> as I'm only writing guitar scores I'd like the midi instrument to always
> default to midiInstrument="acoustic guitar (nylon)"
>
> is there a way to do this?
>
> I know I can write
>
> \score {
>   \new GrandStaff \with{ midiInstrument="acoustic guitar (nylon)"}
>   <<
>     \new Staff { c''1 }
>     \new Staff { c' }
>   >>
> }
>
> and both instruments will be the acoustic guitar in the midi file.
>
> if I write
>
>   \layout {
>     \context {
>       \GrandStaff
>       midiInstrument="acoustic guitar (nylon)"
>     }
>   }
>   \midi { }
>
> it has no effect - why?

Try placing that context definition in the \midi block rather than the
\layout block.

-- 
David Kastrup


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to