lilypond-user
[Top][All Lists]
Advanced

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

Using \quoteduring in parts and scores


From: Paul Scott
Subject: Using \quoteduring in parts and scores
Date: Mon, 24 Sep 2012 22:58:34 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

It seems to make sense to use \quoteDuring instead of cut-and-paste when 
two like instruments are playing unison for a period of time.  I am trying 
to use \tags and partcombine and \quoteDuring to create music which can be 
used to partcombine for the score but write out separate parts.  The 
following code is close but says "Solo" where I would want it to say 
"a2" in the score.  I would want Solo or "1." where the 2nd voice has rests.

Can this be done?  This should be a common need.

TIA for any ideas,

Paul Scott

\version "2.17.3"

timing = { \time 4/4 s1*2 }
instOne = \relative c'' { a1 b } 
\addQuote qpi \instOne 
pi = << \timing \instOne >>
instTwo = \relative c'' { 
  \tag #'score { R1 }  
  \tag #'part { \quoteDuring qpi s1 } 
  g1 
} 

\score{
  \new StaffGroup <<
    \new Staff \instOne 
    \new Staff \new Voice \keepWithTag #'part \instTwo 
    \new Staff \partcombine \pi \keepWithTag #'score \instTwo 
  >>
}





reply via email to

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