lilypond-user
[Top][All Lists]
Advanced

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

autoBeamSettings question...


From: Alexandre Beneteau
Subject: autoBeamSettings question...
Date: Sun, 16 Feb 2003 21:37:57 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212

Hello again,

I have read and read again the documentation about the autoBeamSettings
(http://lilypond.org/development/Documentation/user/out-www/lilypond/Setting-automatic-beam-behavior.html#Setting%20automatic%20beam%20behavior))
and can't achieve to use it (I know,  I can be a bit
stupid sometimes ;-) )

In 3/4 time, I would like each beam containing 32th notes to end every quarter note (and not on every 8th note like default), so I've imagined issuing :

\property Voice.autoBeamSettings \override #'(end 1 32 3 4) = #'(ly:make-moment 1 4)

should does the job. But it does not ; so I've missed something...
Could someone explain me where I am wrong ?

Please see the attached ly file and png output to clarify my problem...

Thanks in advance


        Alex.

\header {
  tagline = ""
}

\score { \notes  \relative c'' {
  \time 3/4
  r32^"Default behavior" \repeat unfold 23 {c} c2.
  % override default beaming settings
  \property Voice.autoBeamSettings \override #'(end 1 32 3 4) = 
#'(ly:make-moment 1 4)
  r32^"After trying to change" \repeat unfold 23 {c} c2.
  r32^"What I would like to have" c c c c c c c \repeat unfold 2 {[c c c c c c 
c c]} c2.
}
}

PNG image


reply via email to

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