lilypond-user
[Top][All Lists]
Advanced

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

Re: subdivideBeams problem


From: Urs Liska
Subject: Re: subdivideBeams problem
Date: Wed, 21 Jul 2010 09:37:37 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5

Hi Neil,

I also came across this problem in the past but for some reason didn't bother to solve it.

AFAICS this is not sufficiently documented. As Hanna Geisel says you are only directed to set beatLength in the snippet "Sub-dividing beams" (http://www.lilypond.org/doc/v2.13/Documentation/notation/beams).

Is there another place in the docs giving the information you posted here?
Otherwise I would open an issue in the tracker, OK?

Best
Urs

Am 21.07.2010 01:32, schrieb Neil Puttock:
On 20 July 2010 13:25, Geisel Hanna<address@hidden>  wrote:

The beams aren't subdivided in my output, but divided by 8th notes.
I think I followed the instructions from the manual correctly, but the
subdivision just doesn't work, where's my mistake?
You're almost there.  There are just two more changes required:

1) You've set beatLength to 1 8, so you also need to set beatGrouping
to ensure the beats are grouped in sets of two:

\set beatGrouping = #'(2 2)

2) The above still doesn't work with demisemiquavers, since there are
some default beaming rules which still need reverting.

Here are the default rules from scm/auto-beam.scm:

;; in 2 4 time:
     ;;   use beatLength for all except 32nd notes
     ;;   end beams with 32nd notes each 1 8 beat

     ((end 1 32 2 4) . ,(ly:make-moment 1 8))
     ((end 1 32 2 4) . ,(ly:make-moment 2 8))
     ((end 1 32 2 4) . ,(ly:make-moment 3 8))

The first and last rules here should be reverted (you can ignore the
second rule if you like; it matches the beat grouping you want, so can
be ignored):

#(revert-auto-beam-setting '(end 1 32 2 4) 1 8)
#(revert-auto-beam-setting '(end 1 32 2 4) 3 8)

I also didn't manage to find the file scm/music-functions.scm, where can I
find that?
It depends on your operating system.  This page should narrow it down:

http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Other-sources-of-information#Other-sources-of-information

Cheers,
Neil

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




reply via email to

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