Kieren MacMillan <kieren_macmil...@sympatico.ca> writes:

> Hi David,
>
>> Uh, { ... \bassclarinet ... } ?
>> 
>> With something like
>> 
>> bassclarinet = {
>>  \clef F
>>  \transposition c,
>>  \set Staff.midiInstrument = "clarinet"
>>  \set Staff.instrumentCueName = \markup \bf "cl. B"
>>  \set Staff.instrumentName = "bass clarinet"
>>  \set Staff.shortInstrumentName = “bc”
>
> Uh… \bf throws an error…?
> Is that a function my copy of 2.19.56 should have?

No.  That was a TeXism for \bold .

> The clef changes are fine… but the transposition doesn’t work as I
> would expect/hope it would.

What did you expect/hope?  This is just for Midi.

> Is there a way to extend this music-function idea to handle all of the
> requirements of an instrument switch?

It's not a music function but an expression.  What _are_ "all of the
requirements"?  This does what \instrumentSwitch can do now.

>> instrumentCueName would trigger a spurious cue name
>
> It does, as seen in the output of the above snippet.
>
>> the instrument cue engraver could be changed to ignore cue names
>> set before the first call of process-music.
>
> Is that the cleanest way to handle the problem?

Easiest to explain I guess.

-- 
David Kastrup

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

Reply via email to