lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MusicXML backend for lilypond?


From: Han-Wen Nienhuys
Subject: Re: MusicXML backend for lilypond?
Date: Sun, 22 Jun 2008 00:51:28 +0200

On Thu, Jun 19, 2008 at 2:47 PM, Reinhold Kainhofer
<address@hidden> wrote:
> Thanks for the hint, but unfortunately, the stream does only contain the
> musical content in time-sorted order. MusicXML, however, also contains (or
> rather, can contain) full information about page layout, breaks, object
> positioning and similar settings (this has been extended a lot with MusicXML
> 2.0). Since the stream is generated before the layouting stage, there won't
> be any way to produce MusicXML files containing full page layout. In
> musicxml2ly, of course, I simply ignore any layouting information present in
> the file, because lilypond probably will do the job just as well ;-)

If you would want to do anything like this, you would probably have to
use some sort of dual approach, where you store the stream, label each
event, and then you trace back the grobs during output stage to their
originating events. You can use the ordering from the stream to output
the XML elements in the correct order.

I strongly suspect that fixing the page layout is
- easier
- more useful for the lily community


-- 
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]