Re: Auto beaming question

2006-02-06 Thread Joe Neeman




- groups of sixteenth and thirty-second notes.  These should also be  
beamed per beat, e.g. three sixteenths and two thirty-seconds.


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

The sixteenth note triplets are beamed correctly, but the groups with  
thirty-second notes are beamed incorrectly.  Can anyone tell me which  
auto-beaming commands to use?  Thanks!


The problem is that the default auto-beaming (as defined in 
scm/auto-beam.scm) has the following settings:

#(override-auto-beam-setting '(end 1 32 4 4) 1 8)
#(override-auto-beam-setting '(end 1 32 4 4) 1 4)
#(override-auto-beam-setting '(end 1 32 4 4) 3 8)
#(override-auto-beam-setting '(end 1 32 4 4) 5 8)
#(override-auto-beam-setting '(end 1 32 4 4) 3 4)
#(override-auto-beam-setting '(end 1 32 4 4) 7 8)

So in order to get the behaviour you want, you need to _remove_ rules, 
not add them:

#(revert-auto-beam-settings '(end 1 32 4 4) 1 8)
#(revert-auto-beam-settings '(end 1 32 4 4) 3 8)
.. and so on

Joe


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Auto beaming question

2006-02-06 Thread Benjamin Esham

On Feb 6, 2006, at 8:44 PM, Joe Neeman wrote:


Benjamin Esham wrote:

- groups of sixteenth and thirty-second notes.  These should also  
be  beamed per beat, e.g. three sixteenths and two thirty-seconds.


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

The sixteenth note triplets are beamed correctly, but the groups  
with  thirty-second notes are beamed incorrectly.  Can anyone tell  
me which  auto-beaming commands to use?  Thanks!


[...] So in order to get the behaviour you want, you need to  
_remove_ rules, not add them:

#(revert-auto-beam-settings '(end 1 32 4 4) 1 8)
#(revert-auto-beam-settings '(end 1 32 4 4) 3 8)
.. and so on


This worked like a charm.  Thanks! :-)

--
Benjamin D. Esham
[EMAIL PROTECTED]  |  http://bdesham.net  |  AIM: bdesham128
Wikipedia, the Free Encyclopedia  •  http://en.wikipedia.org




PGP.sig
Description: This is a digitally signed message part
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: auto-beaming question

2005-08-23 Thread 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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: auto-beaming question

2005-08-23 Thread Gauvain Pocentek

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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: auto-beaming question

2005-08-22 Thread Gauvain Pocentek

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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user