lilypond-user
[Top][All Lists]
Advanced

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

Re: partcombine, but including rests in quiet voices?


From: Mats Bengtsson
Subject: Re: partcombine, but including rests in quiet voices?
Date: Tue, 11 Dec 2007 07:20:00 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20061113 Debian/1.7.8-1sarge8

Right! The only real reason to use \partcombine (which is
well-known to be partly broken and inflexible) is if you want
to be able to typeset several versions of the same music,
some with the parts on separate staves and some with the
parts combined into a single stave. If you only want the
combined version, it's just as easy to use Trevor's proposal.

Also, I hope you know you can get surprisingly far by just
combining to parallel lines of music in one and the same Voice
context:

\new Staff <<
 \key e \major
 \time 4/4
 \new Voice <<
 \relative c'' { R1 | R1 | b2.\f a4 | gis4 }
 \relative c'' { R1 | a2.\f gis4 | fis2. fis4 | fis }
 >>
>>

However, this solution does not allow you to get the desired
layout in the second measure, especially not if you want to
typeset the two parts also on separate staves.

   /Mats


Trevor Daniels wrote:

How about using a second voice, introduced temporarily while
you want the horns in two parts, like this?  It
automatically makes the second horn stems go down, but this
seems no bad thing.

\new Staff <<
 \key e \major
 \time 4/4
 \relative c'' {
   R1 |  % Both
   <<
     {R1 | b2.\f a4 | gis4 }  % Horn 1
   \\
     {a2.\f gis4 | fis2. fis4 | fis }  % Horn 2
   >>
   fis2 e |  % Both
 }

Trevor D

-----Original Message-----
From: address@hidden
[mailto:lilypond-user-bounces+t.daniels=treda.co.u
address@hidden Behalf Of
Reinhold Kainhofer
Sent: 10 December 2007 18:02
To: LILYPOND Mailinglist
Subject: partcombine, but including rests in quiet voices?


Hi,
I'm typesetting large choir pieces, and some
orchestral instruments should be
combined in the full score into one staff.
However, when one of the two
instruments (e.g. first and second hornets) is
quiet, I don't want the "Solo
I" or "Solo II" written above, but rather real
rests printed. An example is
attached (plus my attempts in lilypond, which do
not show the rest in the
second measure).
As you can see, it's almost the same as with
partcombine, except that with
partcombine, there can never be a rest and a note
in parallel, which is
exactly what I want.

So, is there a way to prevent partcombine from
swallowing rests?

Cheers,
Reinhold
--
--------------------------------------------------
----------------
Reinhold Kainhofer, Vienna University of
Technology, Austria
email: address@hidden,
http://reinhold.kainhofer.com/
* Financial and Actuarial Mathematics, TU Wien,
http://www.fam.tuwien.ac.at/
* K Desktop Environment, http://www.kde.org, KOrganizer
maintainer
* Chorvereinigung "Jung-Wien", http://www.jung-wien.at/




_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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