|
From: | Han-Wen Nienhuys |
Subject: | Re: How to add another output format? |
Date: | Wed, 08 Feb 2006 13:09:42 +0100 |
User-agent: | Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) |
Milan Zamazal wrote:
I started to work on a small project to output a Festival singing mode file from LilyPond input (this is useful for blind authors to easily check lyrics is properly aligned with music). I think this could be similar to producing MIDI output but I haven't found a way how to take advantage of it. Is there a better way how to do it than analyzing the parsed music expression (as displayed by \displayMusic)? Is there any documentation on adding new output formats (without modifying LilyPond)?
I think the quickest hack would be to add an engraver to the Lyrics context, which can catch lyric syllables and trace to which note (including pitch and onset time) these are connected. Another option is to analyse the music in a separate processing phase (this is similar to how \partcombine works). I can make a quote, if you want to sponsor this.
-- Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.com
[Prev in Thread] | Current Thread | [Next in Thread] |