lilypond-user
[Top][All Lists]
Advanced

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

Re: partcombine and instrumentSwitch


From: Thomas Morley
Subject: Re: partcombine and instrumentSwitch
Date: Fri, 14 Sep 2012 01:42:53 +0200

2012/9/13 Jan-Peter Voigt <address@hidden>:
> Hello list,
>
> I am using partcombine in a piece, wich makes use of instrumentSwitch. Now
> this leads to a stack of 4 times "piccolo" in this example.
[...]
> Is this a bug or am I missing something?
> Is it maybe related to this issue 2253?

I'm quite sure it' a bug.

As a workaround I'd delete (instrumentCueName . "Piccolo") from
\addInstrumentDefinition and put it in manually:

\version "2.16.0"

\addInstrumentDefinition #"piccolo"
  #`((instrumentName . "Piccolo")
     (shortInstrumentName . "Pc.")
     ;(instrumentCueName . "Piccolo")
     (midiInstrument . "piccolo"))

\new Staff
<<
\partcombine {
        c''1 d'' e''
        \instrumentSwitch "piccolo"
        \set instrumentCueName = #"piccolo"
        c'' c''
        } {
        e''1 e'' d'' a'' g''
        }
>>


Best,
  Harm



reply via email to

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