lilypond-user
[Top][All Lists]
Advanced

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

Re: How to position whole-bar rests?


From: Peter Toye
Subject: Re: How to position whole-bar rests?
Date: Sat, 11 May 2013 12:27:31 +0100

Thomas,
 
 Many thanks. In fact, all I had to do was to override the
 staff position of the MultiMeasureRest and it's now fine.
 Didn't have to change the voices at all.
 
Best regards,
 
Peter
 mailto:address@hidden
 www.ptoye.com
 
 -------------------------
Saturday, May 11, 2013, 11:13:08 AM, you wrote:
 
> 2013/5/11 Peter Toye <address@hidden>:
>> Thomas,
>>
>> Sorry - here it is.
>>
>> RestText= {e2\rest}
>>
>> OboePart= {
>>
>>   \time 2/4
>>
>>   {
>>     <<
>>       \relative c'
>>       {
>>         \repeat unfold 9 {\RestText }|
>>       }
>>       \new CueVoice
>>       \relative c''
>>       {
>>         \stemUp
>>         r4 r8. a16 | c8. b16 c8 d | e4 e8. c16 | e8 r16 d d8 b | g4. g8 |
>>         c r16 c b8 a | g8. g16 g8 g | b4 a~ | a2|
>>       }
>>     >>
>>
>>   }
>> }
>>
>>
>> Best regards,
>>
>> Peter

> Hi Peter,

> thanks for the code, though, without version. ;)

> 1) I don't like pitched rests, they will cause problems when transposing.
> I'd recommend to use
> \override Rest #'staff-position = ...
> or
> override MultiMeasureRest #'staff-position = ...

> 2) To stop the warning use \voiceOne, \voiceTwo etc not \stemUp, \stemDown

> My suggestion:

> \version "2.16.2"

> OboePart= {

>   \time 2/4

>   {
>     <<
>       \relative c'
>       {
>         \voiceTwo \repeat unfold 9 {
>                 % maybe:
>                 % \override MultiMeasureRest #'staff-position = #-2
>                 R2
>         } |
>       }
>       \new CueVoice
>       \relative c''
>       {
>         \voiceOne
>         % maybe:
>         %\override Rest #'staff-position = #0
>         r4 r8. a16 | c8. b16 c8 d | e4 e8. c16 | e8 r16 d d8 b | g4. g8 |
>         c r16 c b8 a | g8. g16 g8 g | b4 a~ | a2|
>       }
>     >>

>   }
> }

> \new Staff \OboePart


> HTH,
>   Harm
 




reply via email to

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