lilypond-user
[Top][All Lists]
Advanced

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

Re: Multi Voice Rests - Not Showing


From: Stephen Sheasby
Subject: Re: Multi Voice Rests - Not Showing
Date: Fri, 11 Apr 2014 09:41:10 +0200

Phil,

Thanks for your response. That did solve most of the problem but now I am 
getting an accidental on the “c” even though I have the accidental engraving 
turned off. However, I do not get the accidental with just the single part. I 
have revised my markup to demonstrate and have it listed here:

\version "2.18.2-1"  % necessary for upgrading to future LilyPond versions.
\language "english"

\relative c' {
        \numericTimeSignature
        \key e \major % -- Change Key as needed.
        \time 4/4
        \stemDown
        \override Voice.Accidental.stencil = ##f
        \override Voice.AccidentalCautionary.stencil = ##f
        << { e2 r2 | } \\ { <a, c>2 r4 <a c>4 } >> |
        <a c>2 r4 <a c>4 |
}

What I don’t understand is why \partcombine does not work? Am reading and 
trying to get a handle on this. 

Stephen

On Apr 10, 2014, at 7:03 PM, Phil Holmes <address@hidden> wrote:

> Subject: Multi Voice Rests - Not Showing
> 
> 
> Hi everyone,
> 
> I have been trying to get this to work but with no success. Here is a 
> synopsis of what is happening:
> 
> 1. I have 2 voices that I am combining on one staff.
> 2. There are differing rests for each voice.
> 3. Depending on which voice I list first in partcombine will be the voice 
> which displays the rest, if that makes sense.
> 4. I tried specifying the rest position for each thinking that perhaps it was 
> a collision problem.
> 5. By only displaying one voice, the rests show correctly.
> 
> From what I can gather the default behavior should be to display the rest but 
> it doesn’t for. I would appreciate any advice. Here is the markup:
> 
> 
> \version "2.18.2-1"  % necessary for upgrading to future LilyPond versions.
> \language "english"
> 
> upperA = \relative c' {
> \numericTimeSignature
> \key e \major % -- Change Key as needed.
> \time 4/4
> \override Voice.Accidental.stencil = ##f
> \override Voice.AccidentalCautionary.stencil = ##f
> \stemUp e2 d'2\rest |
> }
> 
> upperB = \relative c' {
> \override Voice.Accidental.stencil = ##f
> \override Voice.AccidentalCautionary.stencil = ##f
> \stemDown <a c>2 g4\rest \stemDown <a c>4 |
> }
> 
> 
> \score {
> <<
> \new PianoStaff <<
> \new Staff \with { printPartCombineTexts = ##f } {
> \partcombine \upperA \upperB
> }
>>> 
>>> 
> }
> 
> ========================================================
> 
> Does this work as you want? (note positioning possibly notwithstanding):
> 
> \version "2.18.2"
> upperA = \relative c' {
> e2 r2 |
> }
> upperB = \relative c' {
> <a c>2 r4 <a c>4 |
> }
> \score {
> << { \upperA }
> \\
> { \upperB}
>>> 
> }
> 
> Information about this is at 
> http://lilypond.org/doc/v2.18/Documentation/notation/multiple-voices
> 
> --
> Phil Holmes
> 
> 
> 




reply via email to

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