On 2 Mar 2008, at 17:12, Hugo Flordal wrote:

I have problems getting autobeaming to work together with beam subdivision in 4/4 timing. I'm typesetting for the scottish snare drum and there are two
requirements that need to be fulfilled,

* beams should always start and end on even quarters (and nowhere else), and
  * beams should be subdivided on eighths.

Perhaps something like:

  \time 8/8
  \set beatGrouping = #'(1 1 1 1 1 1 1 1)
  \set subdivideBeams = ##t
  #(override-auto-beam-setting '(end * * 8 8) 2 8)
  #(override-auto-beam-setting '(end * * 8 8) 4 8)
  #(override-auto-beam-setting '(end * * 8 8) 6 8)

And then figure out how to draw a 4-time time signature.

  Hans Ã…berg

----
\version "2.10.33"

% Header
\header {
  title = "Quarter beams with subdivision, minimal test"
  tagline = ##f
}

myautobeams = {
  \set beatGrouping = #'(1 1 1 1 1 1 1 1)
  \set subdivideBeams = ##t
  #(override-auto-beam-setting '(end * * 8 8) 2 8)
  #(override-auto-beam-setting '(end * * 8 8) 4 8)
  #(override-auto-beam-setting '(end * * 8 8) 6 8)
}

% Music
{
  %% Time
  \time 8/8
  {
    %% Change auto beam behaviour
    \myautobeams

        %% First measure
        \partial 8 {
        d8:32(
        }
        \repeat volta 2 {
          d->) \times 2/3 {c16 d c} d8-> c16. d32-> c16. d32-> c d c d c8-> c
        }
  }
}
----



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

Reply via email to