lilypond-user
[Top][All Lists]
Advanced

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

Re: "Rest" invisible after part combine


From: Pierre Perol-Schneider
Subject: Re: "Rest" invisible after part combine
Date: Wed, 6 Aug 2014 09:29:24 +0200

Hi Stephen,

2014-08-06 6:38 GMT+02:00 Stephen Sheasby <address@hidden>:
 
The problem I have run into is that my rest for the soprano and bass line do not print and I am wondering if this is a limitation of partcombine?

As far as I remember it was a well known issue. I thougt it was over but I have to admit that I barely use partcombine.
Here's what you can try :

\version "2.18.2"
\include "english.ly"

%       -- Common settings
global = {
  \numericTimeSignature
  \key df \major % -- Change Key as needed.
  \time 4/4
  \aikenHeads
  \partial 2
}

%       -- Soprano
sopranoNotes = \relative c' {
  \global
  r8 d8 d[ f]                 | %  U
  \bar ".|:"               
  f2 \partcombineApartOnce r4 e8 f      | %  1
}

%       -- Alto
altoNotes = \relative c' {
  \global
  r8 a8 a[ d]                  | %  U
  \bar ".|:"                     
  d4 d8( c) \stemDown c4 c8 d          | %  1
}

%       -- Tenor
tenorNotes = \relative c {
  \global
  \clef bass
  r8 f8 f[ a]                       | %  U
  a4 a a a8 a                        | %  1
}

%       -- Bass
bassNotes = \relative c {
  r8 d8 d[ d]                             | %  U
  d2 \partcombineApartOnce c4\rest d8 d  | %  1
}

%Partcombine syntax:
\score {
  <<
    \new Staff \with { printPartCombineTexts = ##f } {
    \partcombine \sopranoNotes  \altoNotes }
   
    \new Staff \with { printPartCombineTexts = ##f } {
    \partcombine \tenorNotes  \bassNotes }
  >>
}


HTH,
Pierre

reply via email to

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