lilypond-user
[Top][All Lists]
Advanced

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

Re: Cue mutually?


From: Francisco Vila
Subject: Re: Cue mutually?
Date: Thu, 3 Mar 2011 17:17:37 +0100

2011/3/3 Bernhard Ott <address@hidden>:
> On 03.03.2011 16:25, Francisco Vila wrote:
>>
>> 2011/3/3 Bernhard Ott<address@hidden>:
>>>
>>> On 03.03.2011 12:28, Francisco Vila wrote:
>>>>
>>>> Hello. I don't know if this is supported, at least it doesn't work for
>>>> me.  I want to cue a voice during silences in other, and resp. cue the
>>>> other during silences in this.
>>>
>>> have a look at tag-related features of lilypond:
>>>
>>> http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Different-editions-from-one-source
>>>
>>> Very useful when it comes to cue-notes or different formatting in your
>>> score/parts.
>>
>> This is very interesting, thank you, what I'd like to know is why my
>> example does not behave and if it is possible at all to cue fragments
>> from A in B and conversely from B into A.  My example tries this but
>> the result is not very good, IMO
>
> Sorry for my ignorance - I read your post too quickly ;-)

I still have some homework for you. :-)

Thank you Reinhold, that works, however, still some kind of problem
remains. In this example, partB should include m.2 of partA in measure
two.  Maybe I mistyped something... sorry if this looks complicated,
actually it _is_ a minimal example of what I want, a simple ensemble
score with rests and parts which cue each other.

instrA =  {
 \tag #'partA \cueDuring #"instrB" #UP { s1^"(from B)" }
 \tag #'sheetA { R1 }
 c'1^"Voice A m. 2"
 }
\addQuote "instrA" { \instrA }

instrB =  {
 d'1^"Voice B m. 1"
  \tag #'partB \cueDuring #"instrA" #DOWN  { s1^"(from A)" }
  \tag #'sheetB { R1 }
 }
\addQuote "instrB" { \instrB }


\new Staff \with { instrumentName = "part A" }
  \new Voice { \keepWithTag #'partA \instrA }

\new Staff \with { instrumentName = "part B" }
  \new Voice { \keepWithTag #'partB \instrB }

\new StaffGroup \with { instrumentName = "Sheet" } <<
  \new Staff \with { instrumentName = "A" }
  \new Voice { \keepWithTag #'sheetA \instrA }

\new Staff \with { instrumentName = "B" }
  \new Voice { \keepWithTag #'sheetB \instrB }
>>

<result attached>


-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

Attachment: mutualCue.png
Description: PNG image


reply via email to

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