[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Voice.autoBeamSettings fails \revert ?
From: |
Graham Percival |
Subject: |
Re: Voice.autoBeamSettings fails \revert ? |
Date: |
Sat, 27 Sep 2003 20:53:24 -0700 |
On Tue, 23 Sep 2003 23:48:53 +0200
Han-Wen Nienhuys <address@hidden> wrote:
> address@hidden writes:
> > I make a mistake, or is this a bug?
>
> No, it is a bug.
>
> We're using the wrong equality somewhere. Try
>
> #(define end-key '(end * * * *))
>
> \score{ \notes { \relative c''{
> \time 12/16
> \property Voice.autoBeamSettings \override #end-key = #(ly:make-moment
> 3 16)
> d16 e cis d e cis d e cis \times 3/2{d e}
>
> \time 4/4
> \property Voice.autoBeamSettings \revert #end-key
> f a d, a' e a cis, a' f a d, a' e a cis, a'
> }}}
The plot thickens! That example works (with 2.0.0), but a different version
doesn't.
I tried to move the commands into a "\inthree" and "\infour" command. I think
I'm
supposed to be able to do this, right?
I'm happy enough with copying and pasting the working solution; I'm just
presenting
this in case it helps to track down the bug.
HTH,
- Graham
----
#(define end-key '(end * * * *))
inthree=\notes{
\property Voice.autoBeamSettings \override #end-key = #(ly:make-moment 3 16)
}
infour=\notes{
\property Voice.autoBeamSettings \revert #end-key
}
\score{ \notes { \relative c''{
\time 12/16
\inthree
%\property Voice.autoBeamSettings \override #end-key = #(ly:make-moment 3 16)
d16 e cis d e cis d e cis \times 3/2{d e}
\time 4/4
\infour
%\property Voice.autoBeamSettings \revert #end-key
f a d, a' e a cis, a' f a d, a' e a cis, a'
}}}