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

Unified Diff: scm/translation-functions.scm

Issue 3842041: Change stringTunings entries from semitones to pitches (Closed)
Patch Set: Adjusted for 2.13.46, fixed alterations in convertrules Created 13 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scm/tablature.scm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scm/translation-functions.scm
diff --git a/scm/translation-functions.scm b/scm/translation-functions.scm
index b559a771376a677900f96bf4f627f474c46adebb..a2ee8b9ddb26766184e5f639f34581ac9231ace5 100644
--- a/scm/translation-functions.scm
+++ b/scm/translation-functions.scm
@@ -341,7 +341,7 @@ chords. Returns a placement-list."
tuning)
(define (calc-fret pitch string tuning)
- (- (ly:pitch-semitones pitch) (list-ref tuning (1- string))))
+ (- (ly:pitch-semitones pitch) (ly:pitch-semitones (list-ref tuning (1- string)))))
(define (note-pitch a)
(ly:event-property a 'pitch))
« no previous file with comments | « scm/tablature.scm ('k') | no next file » | no next file with comments »

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