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

Issue 4210051: improving the transition between full-length and shortened stems. (Closed)

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

Description

improving the transition between full-length and shortened stems. Now the change in length between regular stems (3.5 ss) and shortened stems (2.5 ss) is executed more gradually. more flexible transition between regular and shortened stems (BUGGED) Transition in stem length depends on staff radius and other things cosmetic bugfix Some bugs fixed with transition length Combined commit: smooth transition between regular and shortened stems. This is first solution with Han-Wen suggestions added.

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -5 lines) Patch
M lily/stem.cc View 2 chunks +21 lines, -5 lines 3 comments Download

Messages

Total messages: 15
Janek Warchol
This patch handles transition between full length and shortened stems. It follows Han-Wen suggestions and ...
13 years, 2 months ago (2011-02-24 16:47:27 UTC) #1
Graham Percival
On 2/24/11, lemniskata.bernoullego@gmail.com <lemniskata.bernoullego@gmail.com> wrote: > This patch handles transition between full length and shortened ...
13 years, 2 months ago (2011-02-25 05:32:15 UTC) #2
hanwenn
LGTM just cosmetics. http://codereview.appspot.com/4210051/diff/1/lily/stem.cc File lily/stem.cc (right): http://codereview.appspot.com/4210051/diff/1/lily/stem.cc#newcode336 lily/stem.cc:336: SCM s = ly_assoc_get (ly_symbol2scm ("lengths"), ...
13 years, 2 months ago (2011-02-25 14:53:01 UTC) #3
Janek Warchol
2011/2/25 <hanwenn@gmail.com> > LGTM > > just cosmetics. > > > http://codereview.appspot.com/4210051/diff/1/lily/stem.cc > File lily/stem.cc ...
13 years, 2 months ago (2011-02-26 22:41:06 UTC) #4
hanwenn
2011/2/26 Janek Warchoł <lemniskata.bernoullego@gmail.com>: http://codereview.appspot.com/4210051/diff/1/lily/stem.cc#newcode360 >> lily/stem.cc:360: Real shortening_step = min (max (0.25, >> (shorten_property ...
13 years, 2 months ago (2011-02-26 23:43:37 UTC) #5
Janek Warchol
2011/2/27 Han-Wen Nienhuys <hanwenn@gmail.com> > > 2011/2/26 Janek Warchoł <lemniskata.bernoullego@gmail.com>: > > http://codereview.appspot.com/4210051/diff/1/lily/stem.cc#newcode360 > >> ...
13 years, 2 months ago (2011-02-27 07:29:22 UTC) #6
wl_gnu.org
>> well, 2*radius+2 then? Anything that indicates how this number is >> formed is ok. ...
13 years, 2 months ago (2011-02-27 07:39:02 UTC) #7
Graham Percival (old account)
On 2011/02/27 07:39:02, wl_gnu.org wrote: > > Well, this nuber is not formed :) It ...
13 years, 2 months ago (2011-02-27 08:46:09 UTC) #8
Janek Warchol
2011/2/27 <percival.music.ca@gmail.com>: > On 2011/02/27 07:39:02, wl_gnu.org wrote: >> >> > Well, this nuber is ...
13 years, 2 months ago (2011-02-27 23:42:46 UTC) #9
Graham Percival
On 2/27/11, Janek Warchoł <lemniskata.bernoullego@gmail.com> wrote: > Here you are. This contains all the changes ...
13 years, 2 months ago (2011-02-28 07:39:20 UTC) #10
t.daniels_treda.co.uk
Graham Percival wrote Monday, February 28, 2011 7:39 AM > On 2/27/11, Janek Warchoł <lemniskata.bernoullego@gmail.com> ...
13 years, 2 months ago (2011-02-28 12:22:42 UTC) #11
Janek Warchol
2011/2/28 Trevor Daniels <t.daniels@treda.co.uk> > > Graham Percival wrote Monday, February 28, 2011 7:39 AM ...
13 years, 2 months ago (2011-02-28 13:02:16 UTC) #12
t.daniels_treda.co.uk
Janek Warchoł wrote Monday, February 28, 2011 1:02 PM > 2011/2/28 Trevor Daniels <t.daniels@treda.co.uk> > ...
13 years, 2 months ago (2011-03-01 12:41:55 UTC) #13
Janek Warchol
2011/3/1 Trevor Daniels <t.daniels@treda.co.uk> > > Janek Warchoł wrote Monday, February 28, 2011 1:02 PM ...
13 years, 2 months ago (2011-03-02 20:53:25 UTC) #14
t.daniels_treda.co.uk
13 years, 2 months ago (2011-03-02 23:52:14 UTC) #15
Janek Warchoł wrote Wednesday, March 02, 2011 8:53 PM


> 2011/3/1 Trevor Daniels <t.daniels@treda.co.uk>
>
>> Yes, they are longer, but the stems on the full-size notes look 
>> too long
>> in this context to my eye.
>>
>> I've attached the output from 2.13.52.
>
> In my opinion it is ok.

It's OK; just not optimum when isolated like this.

> While i agree that in this particular example the stems may look
> *slightly* better if they were a bit shorter, i suppose that
> implementing this (i.e. making stem length depend on a broader 
> context
> than their position on the staff) would require too much work; i 
> also
> don't see by what criteria this could be judged. Since vast 
> majority
> of cases look better with this patch, and this problem isn't 
> serious
> imo, i suggest leaving it alone.

On balance your patch is a definite improvement, so I agree.

> PS my first patch is now in an official LilyPond release! Hooray!

Congratulations!  Welcome aboard!

Trevor



Sign in to reply to this message.

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