lilypond-user
[Top][All Lists]
Advanced

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

Re: Two problems with Rests


From: Nathan
Subject: Re: Two problems with Rests
Date: Tue, 1 Jan 2013 15:17:21 -0800

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.
>
> welcome in the New Year and thanks for your wishes!
>
> as a quick answer I'd say you are posting code which is just an excerpt out
> of a bigger /polyphonic/ score - and that's where we need more details to
> see how the voices are set up!
>
> please post a tiny example (just one or two necessary measures) to show the
> problem!
>

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 }
  >>
}

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 }
  >>
}

Regards,
Nathan



reply via email to

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