lilypond-user
[Top][All Lists]
Advanced

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

Re: Two problems with Rests


From: Alberto Simões
Subject: Re: Two problems with Rests
Date: Wed, 02 Jan 2013 13:47:47 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Thunderbird/17.0



On 01/01/13 23:17, Nathan wrote:
On Tue, Jan 1, 2013 at 2:39 PM, Eluze <address@hidden> wrote:
Alberto Simões-2 wrote
Second, I am having two different problems with rests.

1) rests1.gif shows some examples of:

      f4 ~ f8[ r16 f]

but the rest is over the beam. If you notice at the left, the other is
uglier. What is the best approach to fix this?


2) rests2.gif shows a quarter (?? r8) rest that is being placed
somewhere in the middle on a piano staff. Is is generated by the upper
voice of the top score, with

    ~ g4 \oneVoice r8 \voiceOne g8 | c2

the idea was to get a centered rest in the staff.
I did this before in other situations, now sure what is wrong this time.

I was able to reproduce something similar to the first example:

\new Staff {
   | f'8[ r16 f'16] d'8[ r16 d'16] bes8[ r16 bes16] bes4
   <<
     { f'8[ r16 f'16] d'8[ r16 d'16] bes8[ r16 bes16] bes4 } \\
     { bes1 }
   >>
}

Exactly, if I deactivate the second voice, it shows properly.

The 16th rests in the first measure are avoiding the beams, but not in
the second measure.

It's possible to adjust the rests manually like so:

\new Staff {
   | f'8[ r16 f'16] d'8[ r16 d'16] bes8[ r16 bes16] bes4
   <<
     { f'8[ r16 f'16] d'8[ g'16\rest d'16] bes8[ e'16\rest bes16] bes4 } \\
     { bes1 }
   >>
}

Not the most legible solution, but it works :)

Probably I can use the same tweak for my second problem. But I'll dig around for the cause before.

Thank you
Alberto



reply via email to

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