lilypond-user
[Top][All Lists]
Advanced

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

Re: Auto-beaming in asymmetrical time signatures


From: Hans Aberg
Subject: Re: Auto-beaming in asymmetrical time signatures
Date: Tue, 9 Aug 2005 15:03:30 +0200


On 9 Aug 2005, at 13:42, Mats Bengtsson wrote:

The easiest way to automate it is probably to do something like
(assuming the piece repeats this pattern 12 times)

barlines = { \repeat 12 {s8*7 \bar ":" s8*7 \bar ":" s8*11 | }

which you can add in one of your staves (since a \bar statement
applies to all staves, you can add it anywhere):

\score{
  ...
  \new Staff <<
    \barlines
    \ordinaryMusicInThisStave
  >>
...
}

This is working; then one, at least, does not have to write it in by hand in each measure, though one still has to fiddle around with the meter count a bit. Thank you. Corrected syntax: barlines = { \repeat unfold 12 {s8*7 \bar ":" s8*7 \bar ":" s8*11 | } }

  Hans Aberg






reply via email to

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