lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tweaking Clefs


From: David Kastrup
Subject: Re: tweaking Clefs
Date: Sun, 05 Mar 2017 21:54:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Kieren MacMillan <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]