bug-lilypond
[Top][All Lists]
Advanced

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

Re: Typo in Snippets 2.11.39: compound-time example


From: Hans Aberg
Subject: Re: Typo in Snippets 2.11.39: compound-time example
Date: Thu, 28 Feb 2008 16:11:02 +0100


On 28 Feb 2008, at 14:22, Mats Bengtsson wrote:

Are you sure that you understand how the compound-time Scheme function
works?

No me either :-). Actually, I use:
----
barlines = { \repeat unfold 8 {s16*7 \bar ":" s16*7 \bar ":" s16*11 | } }

\score {
\new Staff <<
  \barlines
\relative {
  \tempo 4 = 126
  \key e \minor
  \time 25/16
  \set beatGrouping = #'(3 4 3 4 4 3 4)
  #(override-auto-beam-setting '(end * * 25 16)  3 16)
  #(override-auto-beam-setting '(end * * 25 16)  7 16)
  #(override-auto-beam-setting '(end * * 25 16) 10 16)
  #(override-auto-beam-setting '(end * * 25 16) 14 16)
  #(override-auto-beam-setting '(end * * 25 16) 18 16)
  #(override-auto-beam-setting '(end * * 25 16) 21 16)
  ...
  }
}
----

The one could refine, so that the 4's have a common beam, but the second beam is broken in groups 2+2. In the scores of the region, sometimes that is done, to show a metric subaccent pattern. So the above beatGrouping might be changed to:
  \set beatGrouping = #'(3 2 2 3 2 2 2 2 3 2 2)
But the right/left stemming might come out wrongly.

(I am working a bit on this beaming problem, and I come as far as writing a Haskell program that can write LilyPond code.)

  Hans Ã…berg






reply via email to

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