lilypond-user
[Top][All Lists]
Advanced

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

Re: Auto beaming


From: Craig Bakalian
Subject: Re: Auto beaming
Date: Tue, 17 Mar 2009 05:49:44 -0400

Hi,
I don't know if you want to do this, but can't you simply use the beaming syntax [ ]
to handle your requirements.  Like

c8 [ fis c a c e \bar "|"
c8 fis c a c e c d c b \bar "|"
c8 d c b c g \bar "|"
c8 d c b c g c fis, c' c' \bar "|"
c,8 c, c' c'  ]  \bar "|"

would beam all of the above.  But, perhaps you don't want to do it this way?


Craig Bakalian
560 Keswick Drive
Yardley, PA 19067
215-428-0856



On Mar 17, 2009, at 5:22 AM, address@hidden wrote:

Hi all,


I'm writing some un-metered music, using \cadenzaOn and putting in  

\bar "|" where I want barlines. However, the music is a lot of 8th and  

16th notes, and I'd like them beamed into quarter note groups at all  

times, i.e. 2 consecutive 8ths beam together, and 4 consecutive 16ths  

beam together. However, I've been unable to get this behavior to  

continue past the first 4 8th notes. See below for an example. LSR and  

the mailing list archives didn't turn up any solution to this, along  

with the snippets in the manual.


Thanks,

Ben


\version "2.11.62"


\paper {

   #(set-paper-size "letter")

}


notes = \relative c'' {

\clef treble

\key g \major

\cadenzaOn

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

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


c8 fis c a c e \bar "|"

c8 fis c a c e c d c b \bar "|"

c8 d c b c g \bar "|"

c8 d c b c g c fis, c' c' \bar "|"

c,8 c, c' c' \bar "|"

c2 r4 \bar "|"

c,16 fis fis fis c a a a c e e e \bar "|"

fis16 c fis fis a, c a a e' c e e d c d d b c b b \bar "|"

\bar "|."

}


\score {

\new Staff << \notes >>

\layout { }

\midi { }

}



reply via email to

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