lilypond-user
[Top][All Lists]
Advanced

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

Re: setting beams for "odd" time signatures


From: Markus Schneider
Subject: Re: setting beams for "odd" time signatures
Date: Sat, 5 Aug 2006 03:02:02 +0200

Adam,

I also expected Mats' solution to work - but it doesn't. If this is by
design or random I can't say, but if you use

#(override-auto-beam-setting '(end * * * *) 3 8)
#(override-auto-beam-setting '(end * * * *) 7 8)
#(override-auto-beam-setting '(end * * * *) 10 8)

and

\time 12/8
\set beatLength = #(ly:make-moment 1 16)

in conjunction it will work as expected.

See full example below.

HTH
Markus

%%% Begin Snippet
music = \relative {
  #(override-auto-beam-setting '(end * * * *) 3 8)
  #(override-auto-beam-setting '(end * * * *) 7 8)
  #(override-auto-beam-setting '(end * * * *) 10 8)

  \key e \minor
  \time 12/8
  \set beatLength = #(ly:make-moment 1 16)

  \mark \default
  \repeat volta 2 {
    d8 e e e4 b'8 a g fis g e4 |
    d8 e e e4 b'8 a g fis g e4 |
    \break
    d8 e e e4 b'8 a g fis g e8 fis |
  }
  \alternative {
    {g4 fis8 g a g d e4. e4}
    {g4 fis8 g a g d e4. e8 fis}
  }
  \break

  \mark \default
  \repeat volta 2 {
    g4. g8 fis e d d4.~ d4 |
    d4. e8 fis g fis g4 fis8 e d |
  }
  \alternative {
    {e4 fis8 g fis e d e4. e8 fis}
    {e4 fis8 g fis e d e4. e4}
  }
  \break

  \mark \default
  \repeat volta 2 {
    g8 a a a4 b8 c b4 g8 a4 |
    g8 a a a4 b8 c b4 g8 a4
    \break
    g8 a a a4 b8 c b4 g8 a4 |
    d4. c8 b a g a4. a4
  }
  \break

  \mark \default
  \repeat volta 2 {
    c8 d e d c b g a4. d,4 |
    c'4 b8 c d b g a4. a4
  }
  \break
}

\score { {
  \set Score.markFormatter = #format-mark-box-numbers
  <<
    \new ChordNames { e4 }
    \new Staff \music
  >>
  }

  \layout { }
}
%%% End Snippet







reply via email to

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