lilypond-user
[Top][All Lists]
Advanced

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

Re: Rests in polyphonic and simple music in the same staff in LilyPond v


From: David Wright
Subject: Re: Rests in polyphonic and simple music in the same staff in LilyPond version 2.18.2.
Date: Wed, 21 Dec 2016 19:43:45 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed 21 Dec 2016 at 18:50:58 (+0100), Mirosław Doroszewski wrote:
> Rests in polyphonic and simple music in the same staff in LilyPond
> version 2.18.2.
> 
> 1. In polyphonic music there are at least 2 voices in a staff.
> 2. It implies placing at least 2 rests in the staff.
> 3. It happens that composer wants to simplify notation of notes and
> rests to be seen like one voice music.
> 4. It is set by command \oneVoice, and unset by commands \voiceOne,
> \voiceTwo etc.
> 5. But when notation of rests are simplified in every voices, too:
> i.e. c'4 \oneVoice r \voiceOne ... — an error occurs: "rest direction
> not set".
> 6. Solution: simplifying visibility of rests only for first voice by
> command \oneVoice, and writing s instead of r in every other voices,
> i.e.:
> 
> voiceI = { \relative c' { \voiceOne e4 e f \oneVoice r \voiceOne } }
> voiceII = { \relative c' { \voiceTwo c4 c d s } }
> \score { \new Staff <<
>   \new Voice = "1" { \voiceI }
>   \new Voice = "2" { \voiceII }
>   >>
> }

But now the problem is that you can't produce parts easily.
To make a part easy to print, you want

   \new Voice = "1" { \voiceOne \voiceI }

in the score's structure, and

   \new Voice = "1" { \voiceI }

in the part's structure, no voice changes in voiceI, and
all the rests written into voiceII.

So I use LSR 336 to merge the rests.

Cheers,
David.



reply via email to

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