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?

is there a way to redefine/sort the instrument-names-alist as defined in
...\LilyPond\usr\share\lilypond\current\scm\midi.scm for this purpose?

thanks for any hints!
Eluze





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/changing-the-default-midi-instrument-permanently-tp142924.html
Sent from the User mailing list archive at Nabble.com.

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

Reply via email to