auto-beaming question

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

auto-beaming question

Gauvain Pocentek-3
Hello,

I'm typesetting a piece with a lot of rhythms like:

    es16.[ es32 d16. c32]

and I'd like beaming to be automatically set as in the above exemple,
without using [].
I've tried many things like:

    #(override-auto-beam-setting '(end * * * *) 1 4 )

or

    \set beatLength = #(ly:make-moment 1 4)

and both together but nothing's ok...
How could I do ?

Thanks

Gauvain

       

       
               
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
T?l?chargez cette version sur http://fr.messenger.yahoo.com



_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: auto-beaming question

Graham Percival-2

On 22-Aug-05, at 12:31 PM, Gauvain Pocentek wrote:
>    es16.[ es32 d16. c32]
>
> and I'd like beaming to be automatically set as in the above exemple,
> without using [].
> I've tried many things like:
>
>    #(override-auto-beam-setting '(end * * * *) 1 4 )

If you haven't already, try reading section 8.6.2 from the documentation
for 2.7.  The docs have been (hopefully) clarified, and it will all
apply
to 2.6 as well.

Cheers,
- Graham



_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: auto-beaming question

Gauvain Pocentek-3
Graham Percival wrote:

>
> If you haven't already, try reading section 8.6.2 from the documentation
> for 2.7.  The docs have been (hopefully) clarified, and it will all apply
> to 2.6 as well.

Done. The documentation seems clear to me, but there's something I don't
understand.
Here is a short example:

\version "2.6.3"
\score { \new Staff { \relative c'{

    \key g \major
    \clef violin
    \time 2/4
    #(override-auto-beam-setting '(end * * * *) 1 4 )

    c16. c32 c8 c4      %Bar 1

    c8 c16. c32 c4      %Bar 2
}}}

The result can be seen here:
http://pocentek.perso.cegetel.net/test-override.png
The 1st bar is not correct, and I can't see why.
I'd like to get this: http://pocentek.perso.cegetel.net/test-bracket.png 
(which I obtain whith [])

Gauvain

PS: I tried with 2.6.3 and 2.7.6

       

       
               
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
T?l?chargez cette version sur http://fr.messenger.yahoo.com



_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: auto-beaming question

Joe Neeman

>
> \version "2.6.3"
> \score { \new Staff { \relative c'{
>
>    \key g \major
>    \clef violin
>    \time 2/4
>    #(override-auto-beam-setting '(end * * * *) 1 4 )
>
>    c16. c32 c8 c4      %Bar 1
>
>    c8 c16. c32 c4      %Bar 2
> }}}
>
> The result can be seen here:
> http://pocentek.perso.cegetel.net/test-override.png
> The 1st bar is not correct, and I can't see why.

The reason is because of these 2 lines in
/usr/share/lilypond/2.6.X/scm/auto-beam.scm (or whereever you have
installed lilypond):

((end 1 32 2 4) . ,(ly:make-moment 1 8))
((end 1 32 2 4) . ,(ly:make-moment 3 8))

That is, lilypond has a built-in beam setting that breaks a beam with a
32nd note every 8th note. It's as if every .ly file you process has an
imaginary #(override-auto-beam-setting '(end 1 32 2 4) 1 8 ) at the
beginning. This is mentioned recent versions of the documentation.

So, to answer you question, you need

#(revert-auto-beam-setting '(end 1 32 2 4) 1 8 )
#(revert-auto-beam-setting '(end 1 32 2 4) 3 8 )
c16. c32 c8 c4      %Bar 1
c8 c16. c32 c4      %Bar 2


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: auto-beaming question

Gauvain Pocentek-3
Joe Neeman wrote:

>
> The reason is because of these 2 lines in
> /usr/share/lilypond/2.6.X/scm/auto-beam.scm (or whereever you have
> installed lilypond):
>
> ((end 1 32 2 4) . ,(ly:make-moment 1 8))
> ((end 1 32 2 4) . ,(ly:make-moment 3 8))
>
> That is, lilypond has a built-in beam setting that breaks a beam with
> a 32nd note every 8th note. It's as if every .ly file you process has
> an imaginary #(override-auto-beam-setting '(end 1 32 2 4) 1 8 ) at the
> beginning. This is mentioned recent versions of the documentation.
>
> So, to answer you question, you need
>
> #(revert-auto-beam-setting '(end 1 32 2 4) 1 8 )
> #(revert-auto-beam-setting '(end 1 32 2 4) 3 8 )
> c16. c32 c8 c4      %Bar 1
> c8 c16. c32 c4      %Bar 2
>
Everything's ok now.
Thanks

Gauvain

       

       
               
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
T?l?chargez cette version sur http://fr.messenger.yahoo.com



_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user