Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(224)

Issue 1667044: Revised autobeam settings patch -- cleaned up debug comments (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 10 months ago by Carl
Modified:
13 years, 8 months ago
Reviewers:
Neil Puttock
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Revised autobeam settings patch -- cleaned up debug comments in code and eliminated the irrelevant changes in Documentation/snippets just due to running makelsr.py Redo autobeam settings to make resetting easier Autobeaming now depends on context properties that can be \set by the user. When the time signature is changed, default autobeam settings for the time signature are read and the context properties are changed to set the autobeaming properties. This change eliminates \overrideBeamSettings and \revertBeamSettings. New functions have been defined to set time signature default properties: \overrideTimeSignatureSettings and \revertTimeSignatureSettings in order to give autobeam settings persistence through time signature changes. A Scheme function make-setting has been defined to make it easier to create a time signature setting.

Patch Set 1 : Revised timeSignatureSettings description #

Patch Set 2 : Update autobeaming rules to solve some beaming problems #

Patch Set 3 : Fix bugs in new autobeam start rule #

Patch Set 4 : Fixed all beaming issues #

Total comments: 23

Patch Set 5 : Respond to Neil's comments, except alist indentation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+960 lines, -559 lines) Patch
M Documentation/de/notation/rhythms.itely View 1 2 3 4 8 chunks +31 lines, -31 lines 0 comments Download
M Documentation/es/notation/rhythms.itely View 1 2 3 4 5 chunks +23 lines, -22 lines 0 comments Download
M Documentation/fr/notation/rhythms.itely View 1 2 3 4 45 chunks +120 lines, -118 lines 0 comments Download
M Documentation/notation/rhythms.itely View 7 chunks +127 lines, -72 lines 0 comments Download
M Documentation/snippets/beam-endings-in-score-context.ly View 3 chunks +8 lines, -10 lines 0 comments Download
M Documentation/snippets/beam-grouping-in-7-8-time.ly View 2 chunks +3 lines, -4 lines 0 comments Download
M Documentation/snippets/compound-time-signatures.ly View 2 chunks +3 lines, -4 lines 0 comments Download
M Documentation/snippets/conducting-signs,-measure-grouping-signs.ly View 1 2 3 4 3 chunks +21 lines, -9 lines 0 comments Download
M Documentation/snippets/fretted-headword.ly View 2 chunks +3 lines, -4 lines 0 comments Download
M Documentation/snippets/new/beam-endings-in-score-context.ly View 3 chunks +7 lines, -9 lines 0 comments Download
M Documentation/snippets/new/beam-grouping-in-7-8-time.ly View 2 chunks +2 lines, -3 lines 0 comments Download
M Documentation/snippets/new/compound-time-signatures.ly View 2 chunks +2 lines, -3 lines 0 comments Download
M Documentation/snippets/new/conducting-signs,-measure-grouping-signs.ly View 1 2 3 4 2 chunks +20 lines, -9 lines 0 comments Download
M Documentation/snippets/new/fretted-headword.ly View 1 chunk +2 lines, -3 lines 0 comments Download
M Documentation/snippets/new/reverting-default-beam-endings.ly View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M Documentation/snippets/reverting-default-beam-endings.ly View 2 chunks +3 lines, -4 lines 0 comments Download
M input/regression/les-nereides.ly View 1 2 3 4 2 chunks +3 lines, -4 lines 0 comments Download
M lily/auto-beam-engraver.cc View 1 2 3 4 chunks +3 lines, -5 lines 0 comments Download
M lily/beam-setting-scheme.cc View 1 chunk +0 lines, -78 lines 0 comments Download
M lily/beaming-pattern.cc View 2 chunks +1 line, -2 lines 0 comments Download
M lily/include/beam-settings.hh View 1 chunk +0 lines, -29 lines 0 comments Download
M lily/measure-grouping-engraver.cc View 3 chunks +3 lines, -13 lines 0 comments Download
M ly/bagpipe.ly View 1 2 3 4 3 chunks +14 lines, -17 lines 0 comments Download
M ly/engraver-init.ly View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download
M ly/music-functions-init.ly View 1 2 3 4 2 chunks +15 lines, -28 lines 0 comments Download
M python/convertrules.py View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
M scm/auto-beam.scm View 1 2 3 4 3 chunks +76 lines, -49 lines 0 comments Download
M scm/define-context-properties.scm View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M scm/lily.scm View 1 chunk +1 line, -1 line 0 comments Download
M scm/lily-library.scm View 1 chunk +9 lines, -0 lines 0 comments Download
M scm/music-functions.scm View 1 2 3 4 2 chunks +46 lines, -24 lines 0 comments Download
A scm/time-signature-settings.scm View 3 4 1 chunk +387 lines, -0 lines 0 comments Download

Messages

Total messages: 11
Carl
I've posted a revised patch under a new issue, because I was working with my ...
13 years, 10 months ago (2010-06-15 22:27:48 UTC) #1
t.daniels_treda.co.uk
Carl.D.Sorensen wrote Tuesday, June 15, 2010 11:27 PM > Description: > Revised autobeam settings patch ...
13 years, 10 months ago (2010-06-16 09:18:20 UTC) #2
c_sorensen
On 6/16/10 3:18 AM, "Trevor Daniels" <t.daniels@treda.co.uk> wrote: > > > Carl.D.Sorensen wrote Tuesday, June ...
13 years, 10 months ago (2010-06-16 12:30:52 UTC) #3
Neil Puttock
Hi Carl, There's a file missing from this set: time-signature-settings.scm. Cheers, Neil
13 years, 10 months ago (2010-06-16 22:21:43 UTC) #4
Neil Puttock
Carl, have you looked at the regtest output? I've copied time-signature-settings.scm from the other set ...
13 years, 10 months ago (2010-06-16 23:31:23 UTC) #5
Carl
On 2010/06/16 23:31:23, Neil Puttock wrote: > Carl, have you looked at the regtest output? ...
13 years, 10 months ago (2010-06-19 04:55:25 UTC) #6
Carl
Oh, I forgot to mention that a new version of the patch has been posted ...
13 years, 10 months ago (2010-06-19 04:56:20 UTC) #7
Neil Puttock
On 2010/06/19 04:55:25, Carl wrote: > Both versions can be used, according to Ross. The ...
13 years, 10 months ago (2010-06-20 20:23:32 UTC) #8
Neil Puttock
Hi Carl, Here are some preliminary comments. I'll try to give the patch a more ...
13 years, 10 months ago (2010-06-22 22:58:53 UTC) #9
Carl
THanks for the review, Neil. As far as the indentation on the alist goes, did ...
13 years, 10 months ago (2010-06-23 01:51:10 UTC) #10
Neil Puttock
13 years, 10 months ago (2010-06-27 22:39:57 UTC) #11
On 2010/06/23 01:51:10, Carl wrote:

> As far as the indentation on the alist goes, did you reindent the whole list,
or
> just the beam-settings part?  I ask this, because the sample you gave has
> different indentation for beam-settings than for the time signature.

It's indented from the start of the alist in emacs.

> At present, the rules are basically translated directly from the current
> beam-settings.scm.  I was planning on overhauling this list once the basic
> functionality of the patch was accepted.  But perhaps I should go ahead and
> revise this list now.

I'm thinking more of the way the beaming is broken when there's a rest. 
Currently, 6/4 will beam

r8 c c c c c

with one beam spanning the notes, whereas your patch only beams the last four
notes unless I change the beat length.

Cheers,
Neil
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b