lilypond-user
[Top][All Lists]
Advanced

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

Auto beaming in unmetered music


From: Benedict Singer
Subject: Auto beaming in unmetered music
Date: Mon, 16 Mar 2009 20:15:58 -0700

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]