Ow! That's because I clearly didn't except anyone to try the script
that quick :D It's not fail-proof, yet, but here are some hints (before
all this gets managed automatically):
- make sure you adapt the paper format so that your score fits into one
single page (see the \paper block in the original score.ly file)
- adapt the Javascript code in the index.tpl file (lines 80, 81, 82) to
the audio files you want to use (if any)
Thanks for you interest! The tool is currently at an early stage of
development (more like a proof-of-concept actually). There's still quite
a lot of work to do :)
Yours,
Mathieu
Le 2015-11-29 20:10, David Bellows a écrit :
This seems like it might be exceedingly cool, but I'm running into a
problem. When running make-live-score.sh I get this:
Drawing systems...
Layout output to `score-page-1.svg'...
Layout output to `score-page-2.svg'...
Layout output to `score-page-3.svg'...
Success: compilation successfully completed
Adding #score id to <svg> tag...
sed: can't read score.svg: No such file or directory
Injecting events timing data into score.svg...
Traceback (most recent call last):
File "injector.py", line 6, in <module>
svg = ET.parse("score.svg")
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in
parse
tree.parse(source, parser)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in
parse
source = open(source, "rb")
IOError: [Errno 2] No such file or directory: 'score.svg'
Injecting score.svg into index.html...
I'm really not sure what I should be doing. I changed the name of my
original Lilypond file to score.ly and the svg files are all correct
but the index.html file still plays your original demo.
On Sun, Nov 29, 2015 at 10:08 AM, Mathieu Demange
<cont...@mathieudemange.fr> wrote:
Hello all,
I've been developing a tool which is at a very early stage now, but I
humbly
guess you should like the idea. Check this very simple page and click
the
"play" button (or you can click any note or rest).
http://www.mathieudemange.fr/lilypond-html-live-score-demo/
There's a public repository for the tool here :
https://gitlab.com/sigmate/lilypond-html-live-score
And the score used in the demo is a transcription I made which is a
free
score (CC-BY-SA) available on this repo :
https://gitlab.com/sigmate/transcription-pools-vibes-solo
Looking forward to hear your feedback!
Cheers,
Mathieu
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user