Re: lilypond: merging rests in polyphonic staff

2015-09-02 Thread David Kastrup
Robert Schmaus writes: >> >> I do not understand R1*4? > > R is a full bar rest of the specified duration. Thus, R1 is a full bar > rest that only makes sense in a 4/4 context. Duration-wise it spans > the same time as r1, but is placed in the middle of the bar instead on > the starting beat (or

Re: lilypond: merging rests in polyphonic staff

2015-09-02 Thread Robert Schmaus
> > I do not understand R1*4? R is a full bar rest of the specified duration. Thus, R1 is a full bar rest that only makes sense in a 4/4 context. Duration-wise it spans the same time as r1, but is placed in the middle of the bar instead on the starting beat (or moment). Likewise R2 is a full

Re: lilypond: merging rests in polyphonic staff

2015-09-02 Thread Blöchl Bernhard
I do not understand R1*4? May be you wanted something like that, does not make sense for me and may be there are better versions possible, anyway ... %~~~ \version "2.18.2" \header { title = "merging rests" } global

Re: lilypond: merging rests in polyphonic staff

2015-09-01 Thread Blöchl Bernhard
nipped, which I found in the manual. It doesn't work. What's the mistake, any idea? Thanks very much! Cheers Martin PS: MY EXAMPLE: version "2.18.2" header { title = "merging rests" } global = { time 4/4 } Key = { key gmajor } %% -- Piano -- rhUpper = r

Re: lilypond: merging rests in polyphonic staff

2015-09-01 Thread Thomas Morley
(finalize . ,(lambda (translator) (for-each merge-mmrests rests))) (acknowledgers (rest-interface . ,(lambda (engraver grob source-engraver) (if (eq? 'MultiMeasureRest (assoc-ref (ly:grob-property grob 'meta) &

lilypond: merging rests in polyphonic staff

2015-09-01 Thread Martin Lejeune
Description: Binary data \version "2.18.2"\header {  title = "merging rests"}global = { \time 4/4 }Key = { \key g\major }%% -- Piano --rhUpper = \relative c''{  \voiceOne   \Key  R1*4g4 r8 g r2 |}rhLower = \relative c' {  \voiceTwo  \KeyR1*4b4 r8 b r2 |}lh

Re: Merging Rests in Single Staff with more than one 'voice'

2011-01-23 Thread James Lowe
Hello, -Original Message- From: Phil Holmes Date: Sun, 23 Jan 2011 13:30:50 + To: James Lowe , "lilypond-user@gnu.org" Subject: Re: Merging Rests in Single Staff with more than one 'voice' >- Original Message - >From: "James Lowe" >T

Re: Merging Rests in Single Staff with more than one 'voice'

2011-01-23 Thread Phil Holmes
- Original Message - From: "James Lowe" To: Sent: Saturday, January 22, 2011 5:52 PM Subject: Merging Rests in Single Staff with more than one 'voice' Hello, I don't often use multiple voices in a single staff, so am a bit unfamiliar and am still finding

RE[2]: Merging Rests in Single Staff with more than one 'voice'

2011-01-23 Thread Frank . Weichert
taff the >>> rests that both voices share are only printed once. >>> >>> For example >>> >>> >>> \musicSourceOne = { a4 b c d | R1*4 | a4 r b r2 } >>> \musicSourceTwo = { f4 r f r | R1*4 | f4 f g r2 } >> >> Your example is very simple, so mergin

Re: Merging Rests in Single Staff with more than one 'voice'

2011-01-22 Thread Jan Warchoł
cSourceTwo = { f4 r f r | R1*4 | f4 f g r2 } > > Your example is very simple, so merging is good or at least not > bad. In single staff polyphony which is not very simple, merging > rests is a very bad idea because it ruins the integrity of the > voices and can create arresting ambig

Re: Merging Rests in Single Staff with more than one 'voice'

2011-01-22 Thread David Raleigh Arnold
is good or at least not bad. In single staff polyphony which is not very simple, merging rests is a very bad idea because it ruins the integrity of the voices and can create arresting ambiguities. It ought not to be a candidate for default behavior with the notable exception of the whole measure or

Re: Merging Rests in Single Staff with more than one 'voice'

2011-01-22 Thread James Lowe
Hello -Original Message- From: Xavier Scheuer Date: Sat, 22 Jan 2011 19:06:14 +0100 To: James Lowe Cc: "lilypond-user@gnu.org" Subject: Re: Merging Rests in Single Staff with more than one 'voice' >On 22 January 2011 18:52, James Lowe wrote: >> >

Re: Merging Rests in Single Staff with more than one 'voice'

2011-01-22 Thread Xavier Scheuer
On 22 January 2011 18:52, James Lowe wrote: > > Hello, > > I don't often use multiple voices in a single staff, so am a bit > unfamiliar and am still finding my way. > > However I cannot easily see how I can take two 'voices' each from a single > source such that when they are combined on a single

Merging Rests in Single Staff with more than one 'voice'

2011-01-22 Thread James Lowe
Hello, I don't often use multiple voices in a single staff, so am a bit unfamiliar and am still finding my way. However I cannot easily see how I can take two 'voices' each from a single source such that when they are combined on a single staff the rests that both voices share are only printed on

Re: Merging rests

2010-09-13 Thread Wilbert Berendsen
Op maandag 13 september 2010 schreef bart: > I have found a way to merge rests when there are two voices on one stave, > but which evolve as one voice, to limit clutter on the score on this page : > http://lsr.dsi.unimi.it/LSR/Item?id=336 . > > It is very usefull indeed, but isn't there a more ge

Re: Merging rests

2010-09-13 Thread Éditions IN NOMINE
The last thing to do is to merge the R1/ You can do : \new Staff << s4-\markup{Merge rests as per standard notation practice.} \relative c'' { c4 d e b\rest | r2 e4 g | _*b,1\rest*_ } \\ \relative c'' { c4 b a b\rest | r a g2 | _*b1\rest *_} >> *but these are not centered.* So you have to do

Re: Merging rests

2010-09-13 Thread Éditions IN NOMINE
Well, I'm completly amazed by scheme function, which I'm totally unable to build. What I'd have done instead is : \score { \new Score << \new Staff << s4-\markup{LilyPond default, rests in both voices.} \relative c'' { c4 d e r | r2 e4 g | R1 } \\ \relative c'' { c4 b

Merging rests

2010-09-13 Thread bart deruyter
Hi, I have found a way to merge rests when there are two voices on one stave, but which evolve as one voice, to limit clutter on the score on this page : http://lsr.dsi.unimi.it/LSR/Item?id=336 . It is very usefull indeed, but isn't there a more general way to merge rests. It's a lot of code for

Re: Merging rests with two voices on one staff

2010-02-15 Thread Michael J. O'Donnell
Mats, Thanks for the pointer. Somehow, I think of better search terms when I know there's something to find. The discussion that I found shows how to merge full- and multi-measure rests explicitly, when the corresponding rests have been identified (this seems to be essentially the same idea shown

Re: Merging rests with two voices on one staff

2010-02-15 Thread Mats Bengtsson
On Sun, 2010-02-14 at 14:16 +0100, Xavier Scheuer wrote: > On 12 February 2010 17:54, Michael J. O'Donnell > > > I also need to merge whole-measure and multi-measure rests, which, alas, > > the snippet doesn't cover. I will poke into extending the snippet. If > > you've already tried, and know w

Re: Merging rests with two voices on one staff

2010-02-14 Thread Xavier Scheuer
On 12 February 2010 17:54, Michael J. O'Donnell wrote: > Thanks for the tip. That gets me a long way. You're welcome! > I also need to merge whole-measure and multi-measure rests, which, alas, > the snippet doesn't cover. I will poke into extending the snippet. If > you've already tried, and k

Re: Merging rests with two voices on one staff

2010-02-12 Thread Michael J. O'Donnell
o, any hints about automatic merging of rests in single-staff polyphony >> will be greatly valued. >> >> Cheers, >> > > Merging rests automatically... > http://lsr.dsi.unimi.it/LSR/Item?id=336 > > should do the trick. ;-) > > Cheers, > Xavi

Re: Merging rests with two voices on one staff

2010-02-12 Thread Xavier Scheuer
polyphony > will be greatly valued. > > Cheers, Merging rests automatically... http://lsr.dsi.unimi.it/LSR/Item?id=336 should do the trick. ;-) Cheers, Xavier -- Xavier Scheuer ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Merging rests with two voices on one staff

2010-02-12 Thread Michael J. O'Donnell
I am setting S-A-T-B choral music on two staves, S-A on treble and T-B on bass. Most of the time, the two voices on a staff have the same rests, which look much better when they are merged. I haven't found a command to do this automatically. I have been making a separate voice of shared rests, and

Re: [Mutopia-discuss] Merging rests in single-staff polyphony

2004-12-07 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes: > ... > << \context Voice = melody {\voiceOne f g} \\ { \voiceTwo d e } >> > \oneVoice r4 ...} > > or > > \context Voice = melody { > ... > << {\voiceOne f g} \new Voice {\voiceTwo d e } >> \oneVoice r4 ...} > > or to exploit that the Voice contexts created by <<{...}

Re: [Mutopia-discuss] Merging rests in single-staff polyphony

2004-12-07 Thread Mats Bengtsson
P Scott Horne wrote: In a song with a short polyphonic section at the end, I wrote something like this: << { f g } \\ { d e } >> r4 << { a b } \\ { f g } >> It worked as expected, giving a single rest appropriately centred on the staff. This approach seemed more sensible than defining s

RE: Merging rests in single-staff polyphony

2004-12-06 Thread P Scott Horne
cott Horne > -Original Message- > From: Ruud van Silfhout [mailto:[EMAIL PROTECTED] > Sent: 6 décembre 2004 14:31 > To: Lilypond user > Cc: P Scott Horne; [EMAIL PROTECTED] > Subject: Fw: Merging rests in single-staff polyphony > > Hi, > > I think this q

Fw: Merging rests in single-staff polyphony

2004-12-06 Thread Ruud van Silfhout
D]> Sent: Monday, December 06, 2004 5:56 AM Subject: [Mutopia-discuss] Merging rests in single-staff polyphony > In a song with a short polyphonic section at the end, I wrote something like > this: > > << { f g } \\ { d e } >> r4 << { a b } \\ { f g } >> >

merging rests problem (bug?)

2004-02-22 Thread fodber
When there were equal length simulteanous rests in two voices in the same staves in former versions I wrote: << { r4 } \\ { s4 } >> This way the rest was centered, as if it were merged. How to center (merge) rests in current version? Thanks, Bert ___