[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question about lilypond and its representation.
From: |
Han-Wen Nienhuys |
Subject: |
Re: question about lilypond and its representation. |
Date: |
Sat, 28 Sep 2002 20:51:04 +0200 |
address@hidden writes:
> > alteration="0">
> > </pitch>
> > </NoteEvent>
> > </elements></RequestChord>
>
> This is great; it's very close to what I want. However, I need the
> notes to be represented in this manner too, for example:
>
> \key c \minor r8 c16 b c8 g as c16 b c8 d | g,4
>
> Could be something along the lines of (this is a rough sketch..):
>
> <key c="minor">
> <rest note="8">
> <note type="1">c</note>
> <note>b</note>
> <note type="8">c</note>
> ..etc..
> </key>
>
> The specifics are not that important as long as the actual music--the
> notes--are represented in an XMLish format. Is this possible with
> Lilypond?
What I posted above is a direct XML-ified representation of how lily
stores music. If you want to make it into other formats, you will have
to write code, either in Scheme or in C++ to do so.
In summary, yes, it's possible, but you're going to have to write the
code yourself.
--
Han-Wen Nienhuys | address@hidden | http://www.cs.uu.nl/~hanwen