Re: changing the default midi instrument "permanently"

2013-03-18 Thread David Kastrup
Eluze writes: > David Kastrup wrote >> Eluze < > >> eluzew@ > >> > writes: >> >>> ..., but maybe I was confused by the fact that it works in the \with >>> block...! >> >> A context modification in the music is applied to all outputs. >> >>> why can't midi items be read from the \layout block?

Re: changing the default midi instrument "permanently"

2013-03-18 Thread Eluze
David Kastrup wrote > Eluze < > eluzew@ > > writes: > >> ..., but maybe I was confused by the fact that it works in the \with >> block...! > > A context modification in the music is applied to all outputs. > >> why can't midi items be read from the \layout block? > > Why would they? The \lay

Re: changing the default midi instrument "permanently"

2013-03-18 Thread David Kastrup
Eluze writes: > David Kastrup wrote >> Eluze < > >> eluzew@ > >> > writes: >>> >>> it has no effect - why? >> >> Try placing that context definition in the \midi block rather than the >> \layout block. > > thanks, that works (and I could have found myself, but maybe I was > confused by the fact

Re: changing the default midi instrument "permanently"

2013-03-18 Thread Eluze
David Kastrup wrote > Eluze < > eluzew@ > > writes: >> >> it has no effect - why? > > Try placing that context definition in the \midi block rather than the > \layout block. thanks, that works (and I could have found myself, but maybe I was confused by the fact that it works in the \with block.

Re: changing the default midi instrument "permanently"

2013-03-18 Thread David Kastrup
Robert Schmaus writes: > Before you (or anyone else) starts an investigation into this, let me > (or someone else) double-check to be sure. I'm currently using Elysium > (and Eclipse) to write LilyPond scores, and I did notice that there > seems to exist something like a midi-instrument memory. M

Re: changing the default midi instrument "permanently"

2013-03-18 Thread Robert Schmaus
Before you (or anyone else) starts an investigation into this, let me (or someone else) double-check to be sure. I'm currently using Elysium (and Eclipse) to write LilyPond scores, and I did notice that there seems to exist something like a midi-instrument memory. Meaning that changing the midi ins

Re: changing the default midi instrument "permanently"

2013-03-18 Thread David Kastrup
Robert Schmaus writes: >> Try placing that context definition in the \midi block rather than the >> \layout block. >> > > That was my first try too, but, again, it worked only when I used > Staff instead of GrandStaff. And then it didn't matter if I placed it > in the layout or in the midi block

Re: changing the default midi instrument "permanently"

2013-03-17 Thread Robert Schmaus
Try placing that context definition in the \midi block rather than the \layout block. That was my first try too, but, again, it worked only when I used Staff instead of GrandStaff. And then it didn't matter if I placed it in the layout or in the midi block ...

Re: changing the default midi instrument "permanently"

2013-03-17 Thread David Kastrup
Eluze 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

Re: changing the default midi instrument "permanently"

2013-03-17 Thread Robert Schmaus
Hi Eluze, It worked, when I replaced "GrandStaff" with "Staff", i.e. \layout { \context { \Staff midiInstrument = "acoustic guitar (nylon)" } } Possibly, a GrandStaff doesn't have instrument properties ... You could also outsorce that piece of code into a "general l