>>>>> "John" == John Chambers <[EMAIL PROTECTED]> writes:
John> In a couple cases, people have scanned in music so that
John> others can transcribe it to abc. (This isn't unusual; it
John> has been done with a lot of old documents, most notoriously
John> with the Dead Sea Scrolls.)
We have the Dead Sea Scrolls in ABC? Where's the URL?
John> I wonder how feasible it would be to add other formats to my abc
John> search bot? I've glanced at lilypond and MusicXML, but not long
John> enough to grok how I might write code to extract information such as
John> titles, keys, etc.
In lilypond, title (and composer, etc.) is in the header, in a line
like:
title = "II. Whoever thinks or hopes of love for love\\\\Cantus";
Key information is a string like:
\key g \dorian;
Neither of these have to be on a line by themselves, as long as the ;
separates them from the other similar things on the line.
I think the problem is that parsing lilypond files is more complicated
because they potentially have more structure than ABC files, and can
have includes, etc. I don't know how difficult what you do with the
ABC would be in practice.
--
Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org/ )
(617) 661-8097 fax: (801) 365-6574
233 Broadway, Cambridge, MA 02139
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html