Hello Kevin, welcome back to the Pond :-)There have been many syntax changes since v2.12, and one of them is the culprit here, so you’ll want to get a look at <http://lilypond.org/doc/v2.18/Documentation/usage/updating-files-with-convert_002dly>. (In case you’re using Frescobaldi: Tools/Update with convert.ly…)
BTW: we use to have the version number right at the beginning of the file. The attached version works fine.
All the best, Simon Am 24.08.2015 um 17:36 schrieb Kevin Nowaczyk:
I have a lilypond file which used to parse perfectly well several years ago. I recently reinstalled lilypond (2.18.2 from debian-stable) and now I receive an error. I've reduced the file down and determined that setting the stringTunings is the problem. The file I have has both guitar tab and bass guitar tab. If I leave the \set TabStaff.stringTunings = #'(4 -1 -5 -10 -15 -20) line out, it displays correctly. If I add it in, it presents the following error: GNU LilyPond 2.18.2 Processing `Steven_smith_working.ly' Parsing... Interpreting music...[8]/usr/share/lilypond/2.18.2/scm/translation-functions.scm:313:39: In procedure ly:pitch-tones in expression (ly:pitch-tones (list-ref tuning #)): /usr/share/lilypond/2.18.2/scm/translation-functions.scm:313:39: Wrong type argument in position 1 (expecting Pitch): 4 My test file: guitarmusic = { \key g \minor R1*12 r8 bes'8\1 bes'\1 bes'\1 r8 a'\1 a'\1 a'\1 r c''\1 c''\1 c''\1 r bes'\1 bes'\1 bes'\1 r bes'\1 bes'\1 bes'\1 r a'\1 a'\1 a'\1 r d''\1 d''\1 d''\1 r d''\1 d''\1 d''\1 r8 bes'8\1 bes'\1 bes'\1 r8 a'\1 a'\1 a'\1 r c''\1 c''\1 c''\1 r bes'\1 bes'\1 bes'\1 r bes'\1 bes'\1 bes'\1 r a'\1 a'\1 a'\1 d''\1 d''\1 d''\1 d''\1 d''\1 d''\1 d''\1 d''\1 } \version "2.12.3" \score { \new StaffGroup << \new TabStaff << \set TabStaff.stringTunings = #'(4 -1 -5 -10 -15 -20) { \guitarmusic } >> >> \layout{} } Obviously, if all I'm doing is standard-tuned guitar, I can leave out the call to stringTunings, but for bass guitar I need that call. Thanks for any help, Kevin Nowaczyk _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
\version "2.18.0" guitarmusic = { \key g \minor R1*12 r8 bes'8\1 bes'\1 bes'\1 r8 a'\1 a'\1 a'\1 r c''\1 c''\1 c''\1 r bes'\1 bes'\1 bes'\1 r bes'\1 bes'\1 bes'\1 r a'\1 a'\1 a'\1 r d''\1 d''\1 d''\1 r d''\1 d''\1 d''\1 r8 bes'8\1 bes'\1 bes'\1 r8 a'\1 a'\1 a'\1 r c''\1 c''\1 c''\1 r bes'\1 bes'\1 bes'\1 r bes'\1 bes'\1 bes'\1 r a'\1 a'\1 a'\1 d''\1 d''\1 d''\1 d''\1 d''\1 d''\1 d''\1 d''\1 } \score { \new StaffGroup << \new TabStaff << \set TabStaff.stringTunings = #`(,(ly:make-pitch 0 2 NATURAL) ,(ly:make-pitch -1 6 NATURAL) ,(ly:make-pitch -1 4 NATURAL) ,(ly:make-pitch -1 1 NATURAL) ,(ly:make-pitch -2 5 NATURAL) ,(ly:make-pitch -2 2 NATURAL) ) { \guitarmusic } >> >> \layout{} }
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user