[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: three voices and rest
From: |
Federico Bruni |
Subject: |
Re: three voices and rest |
Date: |
Sat, 13 Nov 2010 10:08:58 +0100 |
Il giorno ven, 12/11/2010 alle 10.41 +0100, Francisco Vila ha scritto:
> 2010/11/12 Federico Bruni <address@hidden>:
>
> > The problem is that the rest of voiceFour is printed under the second
> > voice and not between first and second, as I would like it to be.
> > Is it a normal behaviour?
> > I'm doing something wrong?
>
> I don't know any of the answers, but in the meantime you could g4\rest
> instead of r4, in:
>
> > fourth = \relative c' {
> > r4 <a c> q
> > }
>
That works fine, thanks.
I believe the best way is setting up a default position for rests in
this voice and then using 'note'/rest in case of collisions with other
voices (or repeating the override using \once and a different value).
For example:
fourth = \relative c' {
\override Rest #'staff-position = #-2
r4 <a c> q |
s2. |
r4 <a c> q |
% \once \override Rest #'staff-position = #-1 % alternative to a4\rest
a4\rest <a c> q |
}
Or maybe there's some drawback I'm not aware of?
Thanks to Mats' post here:
http://lists.gnu.org/archive/html/lilypond-user/2007-06/msg00387.html
Cheers,
Federico