[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
question about lilypond and its representation.
From: |
Han-Wen Nienhuys |
Subject: |
question about lilypond and its representation. |
Date: |
Sat, 28 Sep 2002 19:10:23 +0200 |
address@hidden writes:
> Hi,
>
> I do semantic web researcher for MINDSWAP
> <http://www.mindswap.org>, and I'm very interested in using Lilypond
> for one of my projects. My central problem however, is that in
> order for my to use Lilypond within my project, I'd need to have it
> represented in XML syntax (check out the SVG project on w3.org for an
> example
> of a format represented serialized in XML). Before attempting this
> daunting task on my own, I was wondering if you guys know of any
> effort to build such representation of Lilypond, or if you've
> considered it. Looking forward to hearing from you.
It depends on what you need exactly. In the current development
series, it is possible to dump an XML-ish representation of the input
(of the music in the inputfile, to be precise), but Lily does not read
it back.
blauw:~/usr/src/lilypond$ lilypond input/test/to-xml.ly
lstat(/home/hanwen/bin/usr) failed ...
/home/hanwen/bin/usr: Onbekend bestand of map
GNU LilyPond 1.7.0
Now processing: `input/test/to-xml.ly'
Parsing...<SequentialMusic>
<elements><SimultaneousMusic>
<elements><RequestChord>
<elements><NoteEvent>
<duration
log="2"
dots="0"
numer="1"
denom="1">
</duration>
<pitch
octave="1"
notename="0"
alteration="0">
</pitch>
</NoteEvent>
</elements></RequestChord>
--
Han-Wen Nienhuys | address@hidden | http://www.cs.uu.nl/~hanwen