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

Issue 1669041: tablature: ties and harmonics (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 10 months ago by marc
Modified:
13 years, 4 months ago
Reviewers:
carl.d.sorensen, Neil Puttock
CC:
frogs_lilynet.net, lilypond-devel_gnu.org
Visibility:
Public.

Description

tablature: ties and harmonics Harmonic parentheses should mimic the visibility according to the corresponding TabNoteHead in tie situations. * the hard coded values for drawing the angled brackets were changed to properties (but they still cannot be reached within parenthesize-tab-note-head - is there a possibility to overcome this limitation?) * the parenthesize-tab-note-head draws harmonic parentheses if necessary and surronds fret number AND harmonic parentheses by normal parentheses (at the moment, the fret number seems to disapper at random, see the regression test file)

Patch Set 1 #

Total comments: 13

Patch Set 2 : First corrections #

Patch Set 3 : Simplifications due to new "whiteout policy" #

Patch Set 4 : Changing TabNoteHead #'layer #

Total comments: 5

Patch Set 5 : Further corrections #

Patch Set 6 : Reverted the spurious reverts of a former patch #

Patch Set 7 : Changes in scm/stencil.scm (does not work properly!) #

Patch Set 8 : complete set of changes to this issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -57 lines) Patch
A input/regression/tablature-tie-harmonic.ly View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M scm/define-grob-interfaces.scm View 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M scm/define-grob-properties.scm View 2 3 4 5 6 7 3 chunks +3 lines, -0 lines 0 comments Download
M scm/define-grobs.scm View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M scm/output-lib.scm View 1 2 3 4 1 chunk +32 lines, -34 lines 0 comments Download
M scm/stencil.scm View 1 chunk +18 lines, -4 lines 0 comments Download
M scm/tablature.scm View 1 2 3 4 5 6 7 7 chunks +69 lines, -18 lines 0 comments Download

Messages

Total messages: 14
Neil Puttock
http://codereview.appspot.com/1669041/diff/1/2 File input/regression/tablature-tie-harmonic.ly (right): http://codereview.appspot.com/1669041/diff/1/2#newcode3 input/regression/tablature-tie-harmonic.ly:3: \header{ texidoc = "Harmonics in tablature follow the rules ...
13 years, 10 months ago (2010-06-13 19:51:18 UTC) #1
marc
n.puttock@gmail.com schrieb: > > > > > > http://codereview.appspot.com/1669041/diff/1/2 > File input/regression/tablature-tie-harmonic.ly (right): > > ...
13 years, 10 months ago (2010-06-14 09:34:13 UTC) #2
marc
Marc Hohl schrieb: > n.puttock@gmail.com schrieb: > [...] >> >> http://codereview.appspot.com/1669041/diff/1/6#newcode293 >> scm/tablature.scm:293: ;; we ...
13 years, 10 months ago (2010-06-19 09:13:58 UTC) #3
marc
Marc Hohl schrieb: > Marc Hohl schrieb: > [...] > if it is accepted, I ...
13 years, 10 months ago (2010-06-21 19:06:52 UTC) #4
Neil Puttock
On 2010/06/21 19:06:52, marc wrote: > Now I *must* overlook the obvious, because the fret ...
13 years, 10 months ago (2010-06-22 21:41:30 UTC) #5
marc
n.puttock@gmail.com schrieb: > On 2010/06/21 19:06:52, marc wrote: > >> Now I *must* overlook the ...
13 years, 10 months ago (2010-06-23 06:33:34 UTC) #6
Carl
Looks pretty good. I have a few comments about things that seem to be unnecessarily ...
13 years, 10 months ago (2010-06-23 12:47:24 UTC) #7
marc
Carl.D.Sorensen@gmail.com schrieb: > Looks pretty good. I have a few comments about things that seem ...
13 years, 10 months ago (2010-06-27 09:19:42 UTC) #8
c_sorensen
On 6/27/10 3:19 AM, "Marc Hohl" <marc@hohlart.de> wrote: > Carl.D.Sorensen@gmail.com schrieb: >> http://codereview.appspot.com/1669041/diff/26001/27003 >> File ...
13 years, 10 months ago (2010-06-27 13:42:05 UTC) #9
marc
Carl Sorensen schrieb: > [...] >>> http://codereview.appspot.com/1669041/diff/26001/27004#newcode130 >>> scm/define-grob-properties.scm:130: (bracket-width ,number? "Width of >>> the ...
13 years, 10 months ago (2010-06-30 07:48:12 UTC) #10
c_sorensen
On 6/30/10 1:48 AM, "Marc Hohl" <marc@hohlart.de> wrote: > Carl Sorensen schrieb: >> [...] >>>> ...
13 years, 10 months ago (2010-06-30 15:52:30 UTC) #11
Neil Puttock
On 2010/06/30 07:48:12, marc wrote: > So I tried to extend the parenthesize-stencil function in ...
13 years, 10 months ago (2010-06-30 22:26:01 UTC) #12
marc
Carl Sorensen schrieb: > > On 6/30/10 1:48 AM, "Marc Hohl" <marc@hohlart.de> wrote: > > ...
13 years, 10 months ago (2010-07-01 06:07:44 UTC) #13
marc
13 years, 10 months ago (2010-07-01 06:13:05 UTC) #14
n.puttock@gmail.com schrieb:
> On 2010/06/30 07:48:12, marc wrote:
>
>> So I tried to extend the parenthesize-stencil function in
> scm/stencil.scm.
>> It compiles without error, but the regression file is cluttered up.
>
> I can't test this.  Would you mind uploading another version here which
> includes all the changes since the first patch set?
Of course! I hope I did it right - at least it looks like I have catched 
everything.
>
>> I feel that this is not the right approach, either. I still don't
> understand
>> why I have to shift the TabNoteHead #'layer at all. As far as I see
> it,
>> HarmonicParenthesesItem #'stencils is a list of stencils, containing
> the
>> left and the right angle bracket, which are placed either side of the
>> TabNoteHead #'stencil. So the order in which the stancils are placed
>> should not change anything at all, but if the TabNoteHead #'stencil is
> set
>> *before* the HarmonicParenthesesItem #'stencils, it seems that some
>> whitespace occurs between the angle brackets, overriding the
>> already placed TabNoteHead.
>
> You added the default for 'whiteout to HarmonicParenthesesItem in your
> first patch.  It applies the whiteout to the total extent: the two
> brackets plus the space between.
Ah, that makes everything clearer, thanks for this explanation!
>
> I don't know why grobs with the same layer sometimes swap places, but
> there's nothing we can do about it apart from change 'layer to ensure
> visibility, unless you remove 'whiteout for the angle brackets.
Now the whole #'layer stuff makes a lot more sense to me ...

Thank you

Marc

Sign in to reply to this message.

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