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: Mats Bengtsson
Subject: Re: setting beams for "odd" time signatures
Date: Mon, 07 Aug 2006 11:11:25 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417

It turns out that what was missing in my proposed solution was
to revert the default settings:

 #(revert-auto-beam-setting '(end * * 12 8) 3 8)
 #(revert-auto-beam-setting '(end * * 12 8) 3 4)
 #(revert-auto-beam-setting '(end * * 12 8) 9 8)

Then, you can use
#(override-auto-beam-setting '(end 1 8 12 8) 3 8)
#(override-auto-beam-setting '(end 1 8 12 8) 7 8)
#(override-auto-beam-setting '(end 1 8 12 8) 10 8)

(or  with wildcards '*' as Markus proposes). Also, setting beatLength
doesn't seem to have any relevance at all here. I tried to comment it
out in Markus' example and didn't notice any difference.

  /Mats

Markus Schneider wrote:

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





_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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