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

Issue 3320041: Modify fret calculation algorithm (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by Carl
Modified:
13 years, 4 months ago
Reviewers:
steve.yegge, pls, Neil Puttock, c_sorensen, steve yegge <steve.yegge, t.daniels, patrick schmidt <p.l.schmidt
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Modify fret calculation algorithm Zero fingering creates an open string fret. Add defaultStrings property to define strings that will be used in calculating frets if no string number is specified in a chord. Add regression tests for both of these cases.

Patch Set 1 : Original patch #

Total comments: 13

Patch Set 2 : Respond to Neil's comments #

Patch Set 3 : Respond to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -32 lines) Patch
A input/regression/tablature-default-strings.ly View 1 1 chunk +31 lines, -0 lines 0 comments Download
A input/regression/tablature-zero-finger.ly View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M lily/fretboard-engraver.cc View 8 chunks +16 lines, -2 lines 0 comments Download
M lily/tab-note-heads-engraver.cc View 1 7 chunks +18 lines, -2 lines 0 comments Download
M scm/define-context-properties.scm View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M scm/translation-functions.scm View 1 2 11 chunks +95 lines, -28 lines 0 comments Download

Messages

Total messages: 15
Carl
Here's a patch to the fret calculator that answers the first two of Steve's requests, ...
13 years, 5 months ago (2010-11-25 03:05:05 UTC) #1
steve.yegge
Hi Carl, I looked through the code; it looks great. I built it and tested ...
13 years, 5 months ago (2010-11-26 19:39:06 UTC) #2
Carl
On 2010/11/26 19:39:06, steve.yegge wrote: > Hi Carl, > > I looked through the code; ...
13 years, 5 months ago (2010-11-26 22:41:01 UTC) #3
c_sorensen
On 11/26/10 3:41 PM, "Carl.D.Sorensen@gmail.com" <Carl.D.Sorensen@gmail.com> wrote: > On 2010/11/26 19:39:06, steve.yegge wrote: >> Thanks ...
13 years, 5 months ago (2010-11-26 22:46:43 UTC) #4
pls
Am 26.11.2010 um 23:41 schrieb Carl.D.Sorensen@gmail.com: > On 2010/11/26 19:39:06, steve.yegge wrote: >> Hi Carl, ...
13 years, 5 months ago (2010-11-27 00:25:52 UTC) #5
c_sorensen
On 11/26/10 5:25 PM, "Patrick Schmidt" <p.l.schmidt@gmx.de> wrote: > Am 26.11.2010 um 23:41 schrieb Carl.D.Sorensen@gmail.com: ...
13 years, 5 months ago (2010-11-27 00:34:52 UTC) #6
Neil Puttock
http://codereview.appspot.com/3320041/diff/4001/input/regression/tablature-default-strings.ly File input/regression/tablature-default-strings.ly (right): http://codereview.appspot.com/3320041/diff/4001/input/regression/tablature-default-strings.ly#newcode4 input/regression/tablature-default-strings.ly:4: texidoc=" texidoc = " http://codereview.appspot.com/3320041/diff/4001/input/regression/tablature-default-strings.ly#newcode5 input/regression/tablature-default-strings.ly:5: Context property defaultStrings ...
13 years, 5 months ago (2010-11-27 00:39:21 UTC) #7
steve.yegge
On Fri, Nov 26, 2010 at 2:41 PM, <Carl.D.Sorensen@gmail.com> wrote: > > You're welcome. Thanks ...
13 years, 5 months ago (2010-11-27 02:28:37 UTC) #8
c_sorensen
On 11/26/10 5:25 PM, "Patrick Schmidt" <p.l.schmidt@gmx.de> wrote: > Am 26.11.2010 um 23:41 schrieb Carl.D.Sorensen@gmail.com: ...
13 years, 5 months ago (2010-11-27 04:10:47 UTC) #9
Carl
I've responded to all of Neil's comments. Thanks for the review, Neil! Carl http://codereview.appspot.com/3320041/diff/4001/input/regression/tablature-default-strings.ly File ...
13 years, 5 months ago (2010-11-27 04:17:55 UTC) #10
t.daniels_treda.co.uk
Carl Sorensen wrote Saturday, November 27, 2010 4:10 AM > Neil found a bug in ...
13 years, 5 months ago (2010-11-27 08:22:42 UTC) #11
c_sorensen
On 11/27/10 1:22 AM, "Trevor Daniels" <t.daniels@treda.co.uk> wrote: > > > Carl Sorensen wrote Saturday, ...
13 years, 5 months ago (2010-11-27 13:36:59 UTC) #12
Neil Puttock
Carl, there are two code nitpicks I mentioned before which are still present: `finger-number' is ...
13 years, 4 months ago (2010-12-08 00:03:25 UTC) #13
steve.yegge
Incidentally I'm still working on documenting this feature. I've had to reinstall virtually every piece ...
13 years, 4 months ago (2010-12-08 01:01:48 UTC) #14
c_sorensen
13 years, 4 months ago (2010-12-09 01:59:52 UTC) #15
Thanks, Neil.  They're gone now.

Carl



On 12/7/10 5:03 PM, "n.puttock@gmail.com" <n.puttock@gmail.com> wrote:

> Carl, there are two code nitpicks I mentioned before which are still
> present:
> 
> `finger-number' is defined but not used in translation-functions.scm.
> 
> `pad-list' has a redundant `begin'.
> 
> Cheers,
> Neil
> 
> http://codereview.appspot.com/3320041/

Sign in to reply to this message.

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