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

Issue 4022045: Tweaks regtest and adds avoid-collisions property (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 3 months ago by MikeSol
Modified:
13 years ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Tweaks regtest and adds avoid-collisions property Merge branch 'master' of git://git.sv.gnu.org/lilypond into 37final Triggers second quant pass for collisions Bad Revert "Bad" This reverts commit fac518ab6e4ea9fd591c849afb56e247d53c9bf3. Implements a more robust solution to issue 37 Intermediary Intermediary Intermediary Intermediary Intermediary Finally Whitespace fixes

Patch Set 1 #

Patch Set 2 : Attempt to upload scm files #

Patch Set 3 : Attempt to upload scm files #

Patch Set 4 : Allows for variable collision detection in quanting #

Patch Set 5 : Minor change in accidental sniffing #

Patch Set 6 : Tweakable collision radius #

Patch Set 7 : Implementation with one quanting pass #

Total comments: 7

Patch Set 8 : Fixes regtest to better communicate the functionality of beam collision avoidance #

Total comments: 5

Patch Set 9 : Integrates work with Han-Wen's new beam scoring code #

Patch Set 10 : Changes the beam collision engraver so that note heads belonging to a beam are not included #

Unified diffs Side-by-side diffs Delta from patch set Stats (+533 lines, -16 lines) Patch
A input/regression/beam-collision.ly View 1 2 3 4 5 6 7 1 chunk +67 lines, -0 lines 0 comments Download
M lily/beam.cc View 1 2 3 4 5 6 7 8 4 chunks +209 lines, -0 lines 0 comments Download
A lily/beam-collision-engraver.cc View 1 2 3 4 5 6 7 8 9 1 chunk +175 lines, -0 lines 0 comments Download
M lily/beam-quanting.cc View 1 2 3 4 5 6 7 8 15 chunks +59 lines, -15 lines 0 comments Download
M lily/include/beam.hh View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -1 line 0 comments Download
M lily/include/beam-scoring-problem.hh View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -0 lines 0 comments Download
M ly/engraver-init.ly View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M scm/define-grob-properties.scm View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -0 lines 0 comments Download
M scm/define-grobs.scm View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8
Graham Percival (old account)
LGTM. http://codereview.appspot.com/4022045/diff/12001/input/regression/beam-collision.ly File input/regression/beam-collision.ly (right): http://codereview.appspot.com/4022045/diff/12001/input/regression/beam-collision.ly#newcode15 input/regression/beam-collision.ly:15: \clef bass g,,,8[ \clef treble d''8] Could the ...
13 years, 3 months ago (2011-01-29 14:00:09 UTC) #1
MikeSol
All fixed. New patchset uploaded. http://codereview.appspot.com/4022045/diff/12001/input/regression/beam-collision.ly File input/regression/beam-collision.ly (right): http://codereview.appspot.com/4022045/diff/12001/input/regression/beam-collision.ly#newcode15 input/regression/beam-collision.ly:15: \clef bass g,,,8[ \clef ...
13 years, 3 months ago (2011-01-29 14:41:25 UTC) #2
Graham Percival (old account)
http://codereview.appspot.com/4022045/diff/14001/input/regression/beam-collision.ly File input/regression/beam-collision.ly (right): http://codereview.appspot.com/4022045/diff/14001/input/regression/beam-collision.ly#newcode17 input/regression/beam-collision.ly:17: g,,,8[ \clef treble d''8] newline before \clef, newline before ...
13 years, 3 months ago (2011-01-29 14:54:40 UTC) #3
Graham Percival (old account)
I can confirm that the regtests are fine. The patch applies cleanly to master, but ...
13 years, 2 months ago (2011-02-03 17:55:58 UTC) #4
hanwenn
Hey Mike, could you make a separate patch for the engraver, fixing the issue below; ...
13 years, 2 months ago (2011-02-04 00:33:00 UTC) #5
mike_apollinemike.com
On Feb 3, 2011, at 7:33 PM, hanwenn@gmail.com wrote: > Hey Mike, > > could ...
13 years, 2 months ago (2011-02-04 01:24:44 UTC) #6
Graham Percival
On 2/4/11, mike@apollinemike.com <mike@apollinemike.com> wrote: > On Feb 3, 2011, at 7:33 PM, hanwenn@gmail.com wrote: ...
13 years, 2 months ago (2011-02-04 01:56:54 UTC) #7
mike_apollinemike.com
13 years, 2 months ago (2011-02-04 02:47:04 UTC) #8
On Feb 3, 2011, at 8:56 PM, Graham Percival wrote:

> On 2/4/11, mike@apollinemike.com <mike@apollinemike.com> wrote:
>> On Feb 3, 2011, at 7:33 PM, hanwenn@gmail.com wrote:
>> 
>>> could you make a separate patch for the engraver, fixing the issue
>>> below; I think the engraver can go in without further discussion.
>> 
>> Done & attached, but I don't know if it's a good idea to put an engraver in
>> the source that doesn't do anything yet.
> 
> Well, it passes a regtest check.  ;)
> In all seriousness, it may well be worth pushing it just to keep
> things organized, have everybody working from a common base, etc.
> 
> Cheers,
> - Graham

That works too!  We just have to make sure to make a note in the docs if it
winds up being part of 2.14 without any real beam collision.  Otherwise, if
people try to figure out the logic of the program by reading through the source
(which is how I have a quarter of the half clue I currently have about what's
going on), they may get confused.

I found a Ligeti example that I also threw up on the site w/ the other beam
collision examples - it's a minefield for voice crossing, some of which pushes
the beam up by as much as a 5th.

Cheers,
MS
Sign in to reply to this message.

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