lilypond-user
[Top][All Lists]
Advanced

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

Re: Still: Beaming


From: Jan Nieuwenhuizen
Subject: Re: Still: Beaming
Date: Fri, 19 Mar 2004 10:23:24 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Joerg Anders writes:

> What happens if 2 rules match ? 
>
> For instance in scm/auto-beam.scm:
>
>       ((end * * 4 4) . ,(ly:make-moment 1 2))
>               ...
>       ((end 1 16 4 4) . ,(ly:make-moment 1 4))

The most specific wins, in this case 1 16 4 4)

> What's the rule over rules ?
>
>       a.) The last matching rules is applied ?
>
>       b.) The most precise rule is applied ?


b.)

Btw, if you find something better, you'll let us know, right?

Jan.


see lily/auto-beam-engraver.cc:

/*
  Determine end moment for auto beaming (or begin moment, but mostly
  0==anywhere) In order of increasing priority:
  
  i.   begin anywhere, end at every beat
  ii.  end   *    <num> <den>
  iii. end <type> <num> <den>
  
  iv.  end   *      *     *
  v.   end <type>   *     *
  
  
  Rationale:
  
  [to be defined in config file]
  i.   easy catch-all rule
  ii.  exceptions for time signature
  iii. exceptions for time signature, for specific duration type
  
  [user override]
  iv.  generic override
  v.   override for specific duration type
  
*/


-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org





reply via email to

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