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

Issue 4609041: make sure that AmbitusLine is visible for small ambits (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by Janek Warchol
Modified:
10 years, 7 months ago
Reviewers:
mike, Keith, Neil Puttock, Mike, c_sorensen, MikeSol, Trevor Daniels, karin.hoethker, mail, t.daniels
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Until now, the gap between ambitus heads and ambitus line was constant, so either the gap had to be very small or the line wasn't visible in case of smaller ambits (like 4th or 5th). With this patch ambitus gap will be calculated dynamically, depending on the distance between ambitus heads. Also, the default gap for bigger ambits is changed so that ambitus line will end precisely in the staffline or in the middle of staffspace.

Patch Set 1 #

Patch Set 2 : mini fix #

Patch Set 3 : rewriting comments #

Patch Set 4 : controling the amount of corrections #

Total comments: 8

Patch Set 5 : fix naming #

Patch Set 6 : fix whitespace #

Patch Set 7 : quant -> quantize #

Patch Set 8 : ambitus patch returns from the dead! Made simpler and use a callback. #

Total comments: 6

Patch Set 9 : fix stuff found by Keith #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -4 lines) Patch
M input/regression/ambitus-gap.ly View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -1 line 0 comments Download
M scm/define-grob-interfaces.scm View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M scm/define-grob-properties.scm View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M scm/define-grobs.scm View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M scm/output-lib.scm View 1 2 3 4 5 6 7 8 2 chunks +29 lines, -2 lines 0 comments Download

Messages

Total messages: 25
Janek Warchol
12 years, 10 months ago (2011-06-12 23:04:49 UTC) #1
Janek Warchol
Oops, i added wrong Mike... Here is the code i used for testing; i attach ...
12 years, 10 months ago (2011-06-12 23:10:13 UTC) #2
Trevor Daniels
The interpersed comments make it very difficult to read the code. Could you place an ...
12 years, 10 months ago (2011-06-13 08:01:22 UTC) #3
Janek Warchol
On 2011/06/13 08:01:22, Trevor Daniels wrote: > The interpersed comments make it very difficult to ...
12 years, 10 months ago (2011-06-13 09:37:31 UTC) #4
Trevor Daniels
Thanks - much clearer! Two points: a) It would be better to honour the value ...
12 years, 10 months ago (2011-06-13 11:59:10 UTC) #5
Janek Warchol
2011/6/13 <tdanielsmusic@googlemail.com>: > Thanks - much clearer! > > Two points: > > a) It ...
12 years, 10 months ago (2011-06-13 13:52:09 UTC) #6
t.daniels_treda.co.uk
Janek Warchoł wrote Monday, June 13, 2011 2:51 PM > 2011/6/13 <tdanielsmusic@googlemail.com>: >> a) It ...
12 years, 10 months ago (2011-06-13 15:28:46 UTC) #7
Mike
I think you have the wrong Mike :-) On Sun, Jun 12, 2011 at 7:04 ...
12 years, 10 months ago (2011-06-13 16:30:43 UTC) #8
Janek Warchol
2011/6/13 Trevor Daniels <t.daniels@treda.co.uk>: > > Janek Warchoł wrote Monday, June 13, 2011 2:51 PM ...
12 years, 10 months ago (2011-06-15 07:03:34 UTC) #9
karin.hoethker
Hi Janek, the description explains clearly how to use the parameters gap and woot. So, ...
12 years, 10 months ago (2011-06-16 22:53:35 UTC) #10
c_sorensen
On 6/16/11 4:53 PM, "karin.hoethker@googlemail.com" <karin.hoethker@googlemail.com> wrote: > Hi Janek, > > the description explains ...
12 years, 10 months ago (2011-06-16 23:25:29 UTC) #11
MikeSol
Good work! A few comments below. http://codereview.appspot.com/4609041/diff/12001/scm/define-grobs.scm File scm/define-grobs.scm (right): http://codereview.appspot.com/4609041/diff/12001/scm/define-grobs.scm#newcode141 scm/define-grobs.scm:141: (woot . 1) ...
12 years, 10 months ago (2011-06-17 07:18:49 UTC) #12
Janek Warchol
Hi Karin, i'm back from my short vacation. 2011/6/17 <karin.hoethker@googlemail.com>: > the description explains clearly ...
12 years, 10 months ago (2011-06-21 13:04:07 UTC) #13
Janek Warchol
http://codereview.appspot.com/4609041/diff/12001/scm/define-grobs.scm File scm/define-grobs.scm (right): http://codereview.appspot.com/4609041/diff/12001/scm/define-grobs.scm#newcode141 scm/define-grobs.scm:141: (woot . 1) On 2011/06/17 07:18:49, MikeSol wrote: > ...
12 years, 10 months ago (2011-06-21 13:04:38 UTC) #14
mike_apollinemike.com
On Jun 21, 2011, at 3:04 PM, lemniskata.bernoullego@gmail.com wrote: > > http://codereview.appspot.com/4609041/diff/12001/scm/define-grobs.scm > File scm/define-grobs.scm ...
12 years, 10 months ago (2011-06-21 13:07:40 UTC) #15
mail_philholmes.net
----- Original Message ----- From: "Janek Warchoł" <lemniskata.bernoullego@gmail.com> > Have you zoomed the output to ...
12 years, 10 months ago (2011-06-21 13:31:01 UTC) #16
Janek Warchol
2011/6/21 mike@apollinemike.com <mike@apollinemike.com>: > What I meant is that every time you use a magic ...
12 years, 10 months ago (2011-06-21 13:31:52 UTC) #17
mike_apollinemike.com
On Jun 21, 2011, at 3:31 PM, Janek Warchoł wrote: > 2011/6/21 mike@apollinemike.com <mike@apollinemike.com>: >> ...
12 years, 10 months ago (2011-06-21 14:05:47 UTC) #18
Neil Puttock
Hi Janek, I'd be much happier with this change if you used a callback for ...
12 years, 10 months ago (2011-06-22 22:59:34 UTC) #19
Janek Warchol
ambitus patch returns from the dead! Made simpler and use a callback.
10 years, 8 months ago (2013-08-29 13:14:39 UTC) #20
Keith
LGTM except details https://codereview.appspot.com/4609041/diff/29002/input/regression/ambitus-gap.ly File input/regression/ambitus-gap.ly (right): https://codereview.appspot.com/4609041/diff/29002/input/regression/ambitus-gap.ly#newcode5 input/regression/ambitus-gap.ly:5: note heads are set by the ...
10 years, 8 months ago (2013-08-30 04:57:30 UTC) #21
Janek Warchol
fix stuff found by Keith
10 years, 8 months ago (2013-08-30 10:00:39 UTC) #22
Janek Warchol
https://codereview.appspot.com/4609041/diff/29002/input/regression/ambitus-gap.ly File input/regression/ambitus-gap.ly (right): https://codereview.appspot.com/4609041/diff/29002/input/regression/ambitus-gap.ly#newcode5 input/regression/ambitus-gap.ly:5: note heads are set by the @code{gap} property. Also, ...
10 years, 8 months ago (2013-08-30 10:01:58 UTC) #23
Janek Warchol
Just to let you know: i've tested the patch on a bunch of simple SATB ...
10 years, 7 months ago (2013-09-01 16:43:08 UTC) #24
Janek Warchol
10 years, 7 months ago (2013-09-06 07:53:47 UTC) #25
pushed as 1883fef6da1f91b1985ac296f0eb5bc9aee613ec
Sign in to reply to this message.

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