[Top][All Lists]

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

Re: Auto beaming in unmetered music

From: Trevor Daniels
Subject: Re: Auto beaming in unmetered music
Date: Tue, 17 Mar 2009 09:22:07 -0000


The easiest way to do this is to set measureLength and beatLength explicitly (as you've begun to do), but for them to be effective you need to either

a) revert any autoBeam settings that apply to the time signature in force (here the default 4/4), as explained in Notation Reference 1.2.4 Setting automatic beam behaviour, or

b) use an uncommon time signature that has no autobeam settings, and prevent it being displayed.

Using (b) is easiest, as follows


notes = \relative c'' {
\clef treble
\override Score.TimeSignature #'stencil = ##f
\time 7/8
\key g \major
\set Score.measureLength = #(ly:make-moment 1 4)
\set Score.beatLength = #(ly:make-moment 1 4)

c8 fis c a c e \bar "|"



----- Original Message ----- From: "Benedict Singer" <address@hidden>
To: <address@hidden>
Sent: Tuesday, March 17, 2009 3:15 AM
Subject: Auto beaming in unmetered music

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.


\version "2.11.62"

\paper {
  #(set-paper-size "letter")

notes = \relative c'' {
\clef treble
\key g \major
#(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 { }

lilypond-user mailing list

reply via email to

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