lilypond-user
[Top][All Lists]
Advanced

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

Re: Autobeaming with subdivision in 4/4


From: Hugo Flordal
Subject: Re: Autobeaming with subdivision in 4/4
Date: Mon, 3 Mar 2008 22:32:04 +0100 (CET)

OK, thanks, that's one solution... but I guess that is not 
the "right" way of doing it? Another way to do it is to run 
these lines instead of the 4/4 specific ones I gave in the 
example file.

#(override-auto-beam-setting '(end * * * *) 1 4 'Voice)
#(override-auto-beam-setting '(end * * * *) 2 4 'Voice)
#(override-auto-beam-setting '(end * * * *) 3 4 'Voice)

Then (surprisingly(?)) it works fine, and the output looks 
great. However, I do not want */* rules since I want to 
place these lines in a generic definition file that I 
\include everywhere, which would mess up all non */4 scores. 
(Right now I have a beautiful definition file where 
everything but the auto-beaming is configured nicely for my 
scottish snare drumming needs.)
  So... can it be done "the right way" (presumably by 
reverting and overriding the auto-beaming rules(?))? Or 
perhaps these are bugs that I, as a user, can not overcome 
without hacks like these?

  thanks
    hguo

On Sun, 2 Mar 2008, Hans Aberg wrote:

> 
> 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
>       }
>  }
> }
> ----
> 

----------------------------------------
Hugo Flordal     +46 704 74 69 52 (cell)
Kansligränd 5    +46 8 594 318 19 (home)
141 63 Huddinge
Sweden          address@hidden (email)
----------------------------------------

reply via email to

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