Re: Introducing "LilyPond HTML Live Score"

2015-12-03 Thread Colin Campbell
On 15-11-29 11:08 AM, Mathieu Demange 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/lilyp

Re: Introducing "LilyPond HTML Live Score"

2015-12-02 Thread MarcM
This looks really nice. It would nicely complement http://lilybin.com/ -- View this message in context: http://lilypond.1069038.n5.nabble.com/Introducing-LilyPond-HTML-Live-Score-tp184247p184394.html Sent from the User mailing list archive at Nabble.com

Re: Introducing "LilyPond HTML Live Score"

2015-12-02 Thread Mathieu Demange
Hi David, Can you send me the generated HTML output file ? If you see such a message, this means that the JavaScript code contains errors. I'll fix that if I can see your file. Thanks, Mathieu Le 2015-12-02 22:35, David Bellows a écrit : Hey Mathieu I just updated the project's repository

Re: Introducing "LilyPond HTML Live Score"

2015-12-02 Thread David Bellows
Hey Mathieu > I just updated the project's repository. I refactored and simplified a lot of things. A new problem. I'm able to successfully run the script on both your example and my test file. But now whenever I open it up in a browser (Firefox, Chrome, Rekonq) I get the message that I need to u

Re: Introducing "LilyPond HTML Live Score"

2015-12-02 Thread Mathieu Demange
Hi David, I just updated the project's repository. I refactored and simplified a lot of things. There's now a single python script (make-live-score) which takes care of everything. Also, you don't need to edit your .ly file anymore. Please note that the script except audio files to be specified

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread Paul Morris
> On Nov 29, 2015, at 1:08 PM, Mathieu Demange > wrote: > > http://www.mathieudemange.fr/lilypond-html-live-score-demo/ Nice work! This is great stuff, and I’d probably be interested in using it at some point. (Another case where the ability to automatically calculate the size of the SVG

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread David Bellows
> The jPlayer plugin for jQuery excepts (if possible) two audio formats : > Ogg Vorbis (.ogg) and AAC (.m4a). Please make sure you have your audio > source file converted into those two formats. Hey Mathieu, So here is my Lilypond test file. \include "live-score.ily" \score{ {c e g c'} \layo

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread Richard Shann
On Mon, 2015-11-30 at 14:56 +0100, Mathieu Demange wrote: > Hi Richard, > > The ideal approach would have been to have a timing information > directly inserted in the svg output by LilyPond itself but I tried > everything I could to obtain such a result with no luck. I posted here > about that top

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread David Kastrup
Mathieu Demange writes: > Yes! Thanks for the help! I'll check that as soon as possible. This > could greatly reduce the amount of work which is actually done by the > python script. > > Is there a way to know the current tempo for any given grob ? I don't think so. The context property tempoWh

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread Mathieu Demange
Yes! Thanks for the help! I'll check that as soon as possible. This could greatly reduce the amount of work which is actually done by the python script. Is there a way to know the current tempo for any given grob ? Regards, Mathieu Le 2015-11-30 15:50, David Nalesnik a écrit : On Mon, Nov 3

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread David Nalesnik
On Mon, Nov 30, 2015 at 8:43 AM, Urs Liska wrote: > > > Am 30.11.2015 um 15:19 schrieb David Kastrup: > > Mathieu Demange writes: > > > >> Hi Richard, > >> > >> The ideal approach would have been to have a timing information > >> directly inserted in the svg output by LilyPond itself but I tried

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread David Kastrup
Urs Liska writes: > Am 30.11.2015 um 15:19 schrieb David Kastrup: >> Mathieu Demange writes: >> >>> Hi Richard, >>> >>> The ideal approach would have been to have a timing information >>> directly inserted in the svg output by LilyPond itself but I tried >>> everything I could to obtain such a r

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread Urs Liska
Am 30.11.2015 um 15:19 schrieb David Kastrup: > Mathieu Demange writes: > >> Hi Richard, >> >> The ideal approach would have been to have a timing information >> directly inserted in the svg output by LilyPond itself but I tried >> everything I could to obtain such a result with no luck. I poste

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread David Kastrup
Mathieu Demange writes: > Hi Richard, > > The ideal approach would have been to have a timing information > directly inserted in the svg output by LilyPond itself but I tried > everything I could to obtain such a result with no luck. I posted here > about that topic but I didn't get any clue. (g

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread Mathieu Demange
Hi Richard, The ideal approach would have been to have a timing information directly inserted in the svg output by LilyPond itself but I tried everything I could to obtain such a result with no luck. I posted here about that topic but I didn't get any clue. So I figured out I'd do it myself. I was

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread Richard Shann
On Sun, 2015-11-29 at 19:08 +0100, Mathieu Demange 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). I wonder could

Re: Introducing "LilyPond HTML Live Score"

2015-11-30 Thread Mathieu Demange
Hi David, The jPlayer plugin for jQuery excepts (if possible) two audio formats : Ogg Vorbis (.ogg) and AAC (.m4a). Please make sure you have your audio source file converted into those two formats. I'll update the make-live-script.sh file today so it can accept command line arguments to specify

Re: Introducing "LilyPond HTML Live Score"

2015-11-29 Thread Peter Crighton
2015-11-29 19:08 GMT+01:00 Mathieu Demange : > 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.f

Re: Introducing "LilyPond HTML Live Score"

2015-11-29 Thread David Bellows
> Ow! That's because I clearly didn't except anyone to try the script that > quick :D Ha! I've been looking for something like this for a while. There's another out there but I've had no luck getting it working and I think it's been abandoned. > - make sure you adapt the paper format so that you

Re: Introducing "LilyPond HTML Live Score"

2015-11-29 Thread Mathieu Demange
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 ori

Re: Introducing "LilyPond HTML Live Score"

2015-11-29 Thread David Bellows
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 comple

Introducing "LilyPond HTML Live Score"

2015-11-29 Thread Mathieu Demange
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 re