|
From: | Phil Holmes |
Subject: | Re: Vocal music sheet - hyphens wrongly engraved |
Date: | Thu, 11 Apr 2013 11:29:24 +0100 |
Jun,
There are a number of "challenges" with this song
file. It's these that produce the errors rather than versions of
lilypond. I thought it might be better to run through the errors and their
fixes line by line - hopefully this will help you into the future. I'll
put my commented fixes in a different colour, and apologise to those who don't
get on with HTML or top posting.... Here's the logfile
output:
GNU LilyPond
2.16.0
Processing `D:/Music/NWC2Ly/Though Your Sins Be as Scarlet.ly' Parsing... D:/Music/NWC2Ly/Though Your Sins Be as Scarlet.ly:12:168: error: GUILE signaled an error for the _expression_ beginning here title = \markup \fill-line { \line {} \line { Source: Pentecostal Hymns Nos. 1 and 2 Combined, by Henry Date (Chicago, Illinois: The Hope Publishing Company, 1894), # 427.} } D:/Music/NWC2Ly/Though Your Sins Be as
Scarlet.ly:12:167: error: not a markup
title = \markup \fill-line { \line {} \line { Source: Pentecostal Hymns Nos. 1 and 2 Combined, by Henry Date (Chicago, Illinois: The Hope Publishing Company, 1894), # 427.} } This is a problem with the
information in your file - the comments include a #, which is a reserved
character for lilypond. I could add a feature to my converter to allow
this, but the simplest fix is to change # to No. However, I also use the
comments for a different part of the lilypond output, so the optimum fix is to
change the information completely, getting rid of this comment. I've done
this in the attached file.
D:/Music/NWC2Ly/Though Your Sins Be as
Scarlet.ly:15:0: error: syntax error, unexpected \paper
\paper{
This is a consequence of the issue
above, and is fixed as described above.
D:/Music/NWC2Ly/xSinsUnnamed-000Alyrics.ly:3:46:
error: syntax error, unexpected '}'
"1. \markup{ \concat{ \char ##x0093 Though"} } your sins be as scar -- let, This is a bug in my program - your
quote marks are not ascii and so have to be encoded, and I've got that wrong
when they're with other text. The simplest fix is to use ordinary quote
marks, and also to get rid of the stanza (verse) numbers and use the converter
feature with automatic stanza numbers - these look much better.
D:/Music/NWC2Ly/xSinsUnnamed-000Alyrics.ly:13:2:
error: syntax error, unexpected '}'
} D:/Music/NWC2Ly/xSinsUnnamed-000Clyrics.ly:3:45: error: syntax error, unexpected '}' "3. \markup{ \concat{ He\char ##x0092 ll"} } for -- give your trans -- gress -- ions, D:/Music/NWC2Ly/xSinsUnnamed-000Clyrics.ly:13:2:
error: syntax error, unexpected '}'
} These are all the same
issue.
D:/Music/NWC2Ly/xSinsThoughYourSins.ly:28:0: error: syntax error, unexpected >> >>
D:/Music/NWC2Ly/xSinsThoughYourSins.ly:41:0: error:
syntax error, unexpected '}'
}
D:/Music/NWC2Ly/Though Your Sins Be as
Scarlet.ly:44:0: error: syntax error, unexpected '}'
}
C:/Program Files
(x86)/LilyPondV2.16.0/usr/share/lilypond/current/ly/init.ly:111:66: error:
syntax error, unexpected $end
(ly:parser-error parser (_ "expected error, but none found")))) Unbound variable: 427.}
fatal error: failed files: "D:\\Music\\NWC2Ly\\Though Your Sins Be as Scarlet.ly" Program finished
These are caused by the rather
strange music in bar 10. The music uses Noteworthy's ability to put
voicing onto a single staff line - this is quite hard to convert to lilypond (it
requires my converter to use what's called implicit voicing) and with the
triplets combined with the slurs and the voicing, my converter gets it
wrong. The _best_ way to fix this is to update the noteworthy input to use
separate layered staves where separate voices are needed. Where there
aren't separate notes, we just have hidden rests.
I've done that as attached.
There are some difficulties with the way the tie swaps from an upstem note to a
downstem one in bar 10, so I've used a hidden note to accommodate it. Once
done, and rerunning the converter and lilypond, we get:
D:/Music/NWC2Ly/xSinsSoprano.ly:15:84: warning:
barcheck failed at: 1/4
ees'8.^\markup {\large \italic "Duet"} ees'16^\markup {\large \italic "Gently"} | % 1 This is because your tune starts with
a partial bar (an upbeat, or an anacrusis). We fix with the a lilypond
command of \partial. The other thing to be aware of is that your lyrics
ignore the beaming of the notes, so we allow for that with a converter command:
ignoreBeams.
Finally - you've helped me find a bug
where we have the lyric word!". I've fixed this and have just uploaded an
updated version.
I hope my notes have been useful and
you'll persevere with my converter and lilypond. There's some learning to
do, but the results are worth it, IMHO.
-- Phil Holmes
|
Though Your Sins Be as Scarlet.pdf
Description: Adobe PDF document
Though Your Sins Be as Scarlet.nwctxt
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |