|
From: | musicus |
Subject: | Fw: Re: digital music editions - is Lilypond a suitable tool for it? |
Date: | Sun, 14 Feb 2016 15:32:35 +0000 |
User-agent: | eM_Client/6.0.24144.0 |
Dear all,
attached there is a small example of a digital music edition. By clicking on the red button you can switch between two variants of measure 2. The html file is mainly an exported lilypond svg file - extended with simple _javascript_ for toggling the visibility.
Necessary changes of Lilypond svg file:
- grouping each variant and providing it with ID (My workaround was to put the music of the different variants in markups, which can be tweaked with ID's)
- setting visibility="hidden" for all variants except the first "Standard" one
Problems:
- consistent bar width (workaround with MultiMeasureRest.minimum-length) - by creating multiple staves via markup, vertical aligning with the rest of the music is tricky
Additionally you have to create a _javascript_ function every time...
Any help and thoughts are appreciated! Best regards, musicus |
[Prev in Thread] | Current Thread | [Next in Thread] |