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

Issue 6489086: Uses horizontal skylines in accidental placement (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by MikeSol
Modified:
10 years, 9 months ago
Reviewers:
Keith, janek, mike7
CC:
lilypond-devel_gnu.org
Base URL:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Visibility:
Public.

Description

Uses horizontal skylines in accidental placement Currently flats in 3rds and 4ths seem too snug, but everything else seems OK. It gets rid of a lot of m4g1c numbers in accidental-placement.cc.

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixes line breaking problem. #

Patch Set 3 : Uses correct axis for Stencil::skylines_from_stencil #

Patch Set 4 : Adds a bit of padding to certain flats #

Patch Set 5 : Rebase on current master #

Total comments: 6

Patch Set 6 : Incorporates Keith's comments #

Total comments: 1

Patch Set 7 : Removes restore-first clause #

Patch Set 8 : Removes unwanted variables #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -129 lines) Patch
M lily/accidental.cc View 1 2 3 4 5 6 7 3 chunks +48 lines, -79 lines 1 comment Download
M lily/accidental-placement.cc View 5 chunks +19 lines, -16 lines 1 comment Download
M lily/include/accidental-interface.hh View 1 1 chunk +1 line, -1 line 0 comments Download
M lily/include/skyline.hh View 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M lily/include/skyline-pair.hh View 1 chunk +2 lines, -0 lines 0 comments Download
M lily/side-position-interface.cc View 1 chunk +25 lines, -33 lines 0 comments Download
M lily/skyline.cc View 4 5 1 chunk +22 lines, -0 lines 0 comments Download
M lily/skyline-pair.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M scm/define-grobs.scm View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16
Keith
I like it, but we need to figure out what went wrong with 'accidental-tie.ly'. There ...
11 years, 7 months ago (2012-09-06 06:23:42 UTC) #1
janek
Patchset 2 screws everything up, LOL! http://lilypond-stuff.1065243.n5.nabble.com/file/n5705606/accidental-spacing-pairs_patchset2.pdf In previous output (see tracker issue http://code.google.com/p/lilypond/issues/detail?id=2811#c4) there ...
11 years, 7 months ago (2012-09-06 08:06:09 UTC) #2
mike7
On 6 sept. 2012, at 10:06, janek.lilypond@gmail.com wrote: > Patchset 2 screws everything up, LOL! ...
11 years, 7 months ago (2012-09-06 09:56:18 UTC) #3
janek
Bah, Rietveld ate my message. On Thu, Sep 6, 2012 at 11:55 AM, mike@mikesolomon.org <mike@mikesolomon.org> ...
11 years, 7 months ago (2012-09-06 22:12:07 UTC) #4
Keith
The output looks very nice, even with half-sharps, reverse flats, etc. The patch makes compilation ...
11 years, 7 months ago (2012-09-07 07:11:48 UTC) #5
mike7
On 7 sept. 2012, at 10:11, k-ohara5a5a@oco.net wrote: > The output looks very nice, even ...
11 years, 7 months ago (2012-09-07 20:56:00 UTC) #6
Keith
Still looks great (except when Phil's computer cancels double-flats, etc.) and now I measure it ...
11 years, 7 months ago (2012-09-08 05:28:02 UTC) #7
Keith
On 2012/09/08 05:28:02, Keith wrote: > now I measure it 2% /faster/ than master. Of ...
11 years, 7 months ago (2012-09-08 05:46:33 UTC) #8
mike7
On 8 sept. 2012, at 08:46, k-ohara5a5a@oco.net wrote: > On 2012/09/08 05:28:02, Keith wrote: >> ...
11 years, 7 months ago (2012-09-08 15:43:57 UTC) #9
janek
On Thu, Sep 27, 2012 at 1:20 PM, Janek Warchoł <janek.lilypond@gmail.com> wrote: > On Sat, ...
11 years, 7 months ago (2012-09-27 11:57:13 UTC) #10
mike7
On 27 sept. 2012, at 13:56, Janek Warchoł <janek.lilypond@gmail.com> wrote: > On Thu, Sep 27, ...
11 years, 7 months ago (2012-09-27 19:01:42 UTC) #11
janek
On Thursday, September 27, 2012, mike@mikesolomon.org wrote: > On 27 sept. 2012, at 13:56, Janek ...
11 years, 7 months ago (2012-09-28 05:16:14 UTC) #12
Keith
http://codereview.appspot.com/6489086/diff/11/lily/accidental-placement.cc File lily/accidental-placement.cc (right): http://codereview.appspot.com/6489086/diff/11/lily/accidental-placement.cc#newcode377 lily/accidental-placement.cc:377: Real offset = -ape->horizontal_skylines_[RIGHT].distance (left_skyline); Both Mike and Janek ...
11 years, 7 months ago (2012-09-28 06:56:36 UTC) #13
janek
accidental spacing comparison posted as comment 4 in issue 2141 http://code.google.com/p/lilypond/issues/detail?id=2141#c4 On Fri, Sep 28, ...
11 years, 7 months ago (2012-09-28 07:30:05 UTC) #14
janek
On Fri, Sep 28, 2012 at 8:56 AM, <k-ohara5a5a@oco.net> wrote: > http://codereview.appspot.com/6489086/diff/11/lily/accidental-placement.cc#newcode377 > lily/accidental-placement.cc:377: Real ...
11 years, 6 months ago (2012-10-04 22:31:35 UTC) #15
Keith
10 years, 9 months ago (2013-07-17 06:18:18 UTC) #16
Message was sent while issue was closed.
https://codereview.appspot.com/6489086/diff/11/lily/accidental.cc
File lily/accidental.cc (right):

https://codereview.appspot.com/6489086/diff/11/lily/accidental.cc#newcode89
lily/accidental.cc:89: (my_stencil->smobbed_copy (), 0.0, Y_AXIS));
We need to check that my_stencil exists here, in case someone defines new
alterations and forgets to assign a glyph for one of them.

newPitchNames = #`(
   (c . ,(ly:make-pitch -1 0 NATURAL))
   (ceseh . ,(ly:make-pitch -1 0 1/9)))
#(ly:parser-set-note-names parser newPitchNames)
{c''2 ceseh''}

I'll add a test and push after a `make check`
Sign in to reply to this message.

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