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

Issue 6498077: Approximates cross-staff slurs in VerticalAxisGroup vertical-skylines.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by MikeSol
Modified:
11 years, 4 months ago
Reviewers:
Keith, dak, mike7, mail, Graham Percival, joeneeman
CC:
lilypond-devel_gnu.org
Base URL:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Visibility:
Public.

Description

Approximates cross-staff slurs in VerticalAxisGroup vertical-skylines.

Patch Set 1 #

Patch Set 2 : Moves cross-staff skyline logic to page-layout-problem.cc #

Patch Set 3 : Eliminates potential conflict of script-priority and avoid-slur #

Patch Set 4 : Builds cross-staff-stub skylines directly into VerticalAxisGroup skylines #

Total comments: 17

Patch Set 5 : Addresses David's comments. #

Patch Set 6 : Uses single data structure in engraver for slur and stubs. #

Total comments: 1

Patch Set 7 : Minor speedups #

Patch Set 8 : Removes some cruft #

Patch Set 9 : Large speed up by fixing erroneous callback #

Total comments: 2

Patch Set 10 : Adds comments #

Total comments: 4

Patch Set 11 : Copies properties from surrogate #

Total comments: 3

Patch Set 12 : Uses grob cause #

Patch Set 13 : Better approximations #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+548 lines, -158 lines) Patch
A input/regression/cross-staff-slur-vertical-spacing.ly View 1 1 chunk +73 lines, -0 lines 0 comments Download
M lily/align-interface.cc View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M lily/axis-group-interface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +44 lines, -25 lines 0 comments Download
M lily/figured-bass-position-engraver.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M lily/grob.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +20 lines, -1 line 0 comments Download
M lily/include/axis-group-interface.hh View 1 2 chunks +3 lines, -2 lines 0 comments Download
M lily/include/grob.hh View 1 chunk +2 lines, -0 lines 0 comments Download
M lily/include/slur.hh View 1 2 3 4 5 1 chunk +10 lines, -1 line 0 comments Download
M lily/include/slur-scoring.hh View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M lily/include/stem.hh View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M lily/melody-engraver.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M lily/phrasing-slur-engraver.cc View 1 2 3 4 5 6 7 8 9 10 11 13 chunks +80 lines, -31 lines 0 comments Download
M lily/script-column.cc View 1 2 3 4 5 6 7 8 9 2 chunks +22 lines, -0 lines 1 comment Download
M lily/skyline.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -1 line 0 comments Download
M lily/slur.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +77 lines, -10 lines 0 comments Download
M lily/slur-configuration.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M lily/slur-engraver.cc View 1 2 3 4 5 6 7 8 9 10 11 12 chunks +94 lines, -32 lines 0 comments Download
M lily/slur-scoring.cc View 1 2 3 4 5 6 7 8 9 10 11 12 18 chunks +41 lines, -20 lines 0 comments Download
M lily/stem.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +21 lines, -25 lines 0 comments Download
M lily/tab-tie-follow-engraver.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M scm/define-grob-interfaces.scm View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
M scm/define-grobs.scm View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +24 lines, -0 lines 0 comments Download
M scm/output-lib.scm View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 29
Keith
I might have a test case for you at http://www.mutopiaproject.org/cgibin/piece-info.cgi?id=1776 It seems you copy each ...
11 years, 8 months ago (2012-09-01 23:58:37 UTC) #1
MikeSol
On 2012/09/01 23:58:37, Keith wrote: > I might have a test case for you at ...
11 years, 8 months ago (2012-09-02 06:25:58 UTC) #2
dak
http://codereview.appspot.com/6498077/diff/21/lily/axis-group-interface.cc File lily/axis-group-interface.cc (right): http://codereview.appspot.com/6498077/diff/21/lily/axis-group-interface.cc#newcode390 lily/axis-group-interface.cc:390: /* Where is the point in putting a whole ...
11 years, 8 months ago (2012-09-02 15:59:00 UTC) #3
MikeSol
Thanks for the review! http://codereview.appspot.com/6498077/diff/21/lily/axis-group-interface.cc File lily/axis-group-interface.cc (right): http://codereview.appspot.com/6498077/diff/21/lily/axis-group-interface.cc#newcode419 lily/axis-group-interface.cc:419: */ On 2012/09/02 15:59:00, dak ...
11 years, 8 months ago (2012-09-02 16:45:14 UTC) #4
dak
http://codereview.appspot.com/6498077/diff/21/lily/phrasing-slur-engraver.cc File lily/phrasing-slur-engraver.cc (right): http://codereview.appspot.com/6498077/diff/21/lily/phrasing-slur-engraver.cc#newcode119 lily/phrasing-slur-engraver.cc:119: if (slur_stubs_.find (slurs_[j]) == slur_stubs_.end ()) On 2012/09/02 16:45:14, ...
11 years, 8 months ago (2012-09-02 17:02:12 UTC) #5
Keith
On 2012/09/02 06:25:58, MikeSol wrote: > It's not a copy of the original slur because ...
11 years, 8 months ago (2012-09-02 20:38:28 UTC) #6
MikeSol
On 2012/09/02 20:38:28, Keith wrote: > On 2012/09/02 06:25:58, MikeSol wrote: > > > It's ...
11 years, 8 months ago (2012-09-03 05:07:41 UTC) #7
mike7
On 3 sept. 2012, at 07:07, mtsolo@gmail.com wrote: > On 2012/09/02 20:38:28, Keith wrote: >> ...
11 years, 7 months ago (2012-09-03 13:46:33 UTC) #8
MikeSol
On 2012/09/03 13:46:33, mike7 wrote: > On 3 sept. 2012, at 07:07, mailto:mtsolo@gmail.com wrote: > ...
11 years, 7 months ago (2012-09-03 19:26:51 UTC) #9
MikeSol
The speed problem was twofold - some cruft in callbacks coupled with the fact that ...
11 years, 7 months ago (2012-09-04 06:40:58 UTC) #10
Keith
Works for me. 16% slower than master. (I'll try make clean and make.) It makes ...
11 years, 7 months ago (2012-09-04 07:45:00 UTC) #11
Keith
> (I'll try make clean and make.) 16% slower than master. > It makes no ...
11 years, 7 months ago (2012-09-04 07:53:39 UTC) #12
mike7
On 4 sept. 2012, at 09:45, k-ohara5a5a@oco.net wrote: > Works for me. 16% slower than ...
11 years, 7 months ago (2012-09-04 08:09:21 UTC) #13
mail_philholmes.net
----- Original Message ----- From: <mike@mikesolomon.org> To: <mtsolo@gmail.com>; <k-ohara5a5a@oco.net>; <dak@gnu.org>; <mike@mikesolomon.org>; <lilypond-devel@gnu.org>; <reply@codereview-hr.appspotmail.com> Sent: Tuesday, ...
11 years, 7 months ago (2012-09-04 08:27:20 UTC) #14
dak
On 2012/09/04 08:09:21, mike7 wrote: > On 4 sept. 2012, at 09:45, mailto:k-ohara5a5a@oco.net wrote: > ...
11 years, 7 months ago (2012-09-04 08:33:45 UTC) #15
Graham Percival
On Tue, Sep 04, 2012 at 08:33:45AM +0000, dak@gnu.org wrote: -snip review- > So, _now_ ...
11 years, 7 months ago (2012-09-04 11:15:30 UTC) #16
joeneeman
On 2012/09/02 06:25:58, MikeSol wrote: > On 2012/09/01 23:58:37, Keith wrote: > > I might ...
11 years, 7 months ago (2012-09-04 15:45:22 UTC) #17
mike7
On 4 sept. 2012, at 17:45, joeneeman@gmail.com wrote: > On 2012/09/02 06:25:58, MikeSol wrote: >> ...
11 years, 7 months ago (2012-09-04 22:33:35 UTC) #18
mike7
On 5 sept. 2012, at 00:33, mike@mikesolomon.org wrote: > > On 4 sept. 2012, at ...
11 years, 7 months ago (2012-09-04 23:23:26 UTC) #19
Keith
On 2012/09/04 08:09:21, mike7 wrote: > On 4 sept. 2012, at 09:45, mailto:k-ohara5a5a@oco.net wrote: > ...
11 years, 7 months ago (2012-09-07 07:34:19 UTC) #20
mike7
On 7 sept. 2012, at 09:34, k-ohara5a5a@oco.net wrote: > On 2012/09/04 08:09:21, mike7 wrote: > ...
11 years, 7 months ago (2012-09-07 16:23:21 UTC) #21
Keith
On Fri, 07 Sep 2012 09:23:08 -0700, mike@mikesolomon.org <mike@mikesolomon.org> wrote: > > On 7 sept. ...
11 years, 7 months ago (2012-09-08 06:06:56 UTC) #22
mike7
On 8 sept. 2012, at 09:06, Keith OHara <k-ohara5a5a@oco.net> wrote: > On Fri, 07 Sep ...
11 years, 7 months ago (2012-09-08 15:44:01 UTC) #23
mike7
On 8 sept. 2012, at 18:43, mike@mikesolomon.org wrote: > > On 8 sept. 2012, at ...
11 years, 7 months ago (2012-09-10 04:19:35 UTC) #24
Keith
On 2012/09/07 16:23:21, mike7 wrote: > On 7 sept. 2012, at 09:34, mailto:k-ohara5a5a@oco.net wrote: > ...
11 years, 7 months ago (2012-09-10 20:26:07 UTC) #25
mike7
On 10 sept. 2012, at 23:26, k-ohara5a5a@oco.net wrote: > On 2012/09/07 16:23:21, mike7 wrote: >> ...
11 years, 7 months ago (2012-09-11 04:55:08 UTC) #26
dak
http://codereview.appspot.com/6498077/diff/6033/lily/phrasing-slur-engraver.cc File lily/phrasing-slur-engraver.cc (right): http://codereview.appspot.com/6498077/diff/6033/lily/phrasing-slur-engraver.cc#newcode116 lily/phrasing-slur-engraver.cc:116: Grob *stub = make_spanner ("SlurStub", info.grob ()->self_scm ()); Why ...
11 years, 7 months ago (2012-09-11 20:52:34 UTC) #27
Keith
http://codereview.appspot.com/6498077/diff/15001/lily/script-column.cc File lily/script-column.cc (right): http://codereview.appspot.com/6498077/diff/15001/lily/script-column.cc#newcode59 lily/script-column.cc:59: * avoid-staff of slur trumps script priority. If one ...
11 years, 7 months ago (2012-09-22 18:06:47 UTC) #28
dak
11 years, 4 months ago (2012-12-13 12:08:37 UTC) #29
Ugh, found those unsent "Draft Comments" in my backlog, no idea whether they
still apply.  Might be worth glancing over.

https://codereview.appspot.com/6498077/diff/28/lily/phrasing-slur-engraver.cc
File lily/phrasing-slur-engraver.cc (right):

https://codereview.appspot.com/6498077/diff/28/lily/phrasing-slur-engraver.cc...
lily/phrasing-slur-engraver.cc:322: // There are likely SlurStubs we don't need.
Get rid of them.
Why don't you need them?  Which don't you need?  What happens with the rest?

https://codereview.appspot.com/6498077/diff/6033/lily/phrasing-slur-engraver.cc
File lily/phrasing-slur-engraver.cc (right):

https://codereview.appspot.com/6498077/diff/6033/lily/phrasing-slur-engraver....
lily/phrasing-slur-engraver.cc:324: // There are likely SlurStubs we don't need.
Get rid of them.
The whole loop is uncommented.  What SlurStubs do you not need?  What SlurStubs
_do_ you need?  How do you distinguish them?  Why don't you need some?  How do
you get rid of them?  What happens with those that you keep?

https://codereview.appspot.com/6498077/diff/6033/lily/slur-engraver.cc
File lily/slur-engraver.cc (right):

https://codereview.appspot.com/6498077/diff/6033/lily/slur-engraver.cc#newcod...
lily/slur-engraver.cc:124: * For every active slur, we create a slur stub.
Meaning notecolumns x slurs stubs.
Sign in to reply to this message.

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