[tw] Re: Music notation - LilyPond in a TW??
+1 (no, make that +10!) 2009/3/10 Måns humam...@gmail.com: LilyPond (http://lilypond.org/web/) uses Project GNU's GUILE Scheme interpreter for extension. Scheme is a dialect of the LISP programming language. I'm using OOoLilyPondPlugin(http://ooolilypond.sourceforge.net/) in OpenOffice and I can write musical notation via a little texteditor in Writer, Impress and Draw. Here's an example: \relative c'' {c d e f g} \addlyrics {this fol--lows the notes} . It runs the LilyPondcode through a local installation of LilyPond - (it's a program without any gui) - but it can also be used from a server running lilypond... - and produces a png - from a ps-file made by LilyPond. The quality is very good!! If I want to reedit the music - I just click the graphic and reinvoke the macro - which shows the previous code for the ps-file and lets me overwrite the previous png-output. It's very elegant and intuitive..And it means that You can send your document to someone who hasn't Lilypond installed - and they can read the notation anyway!! I've seen Mr Paolo Soares': ASCIIMathMLPlugin (made in collaboration with Peter Jipsen )(http://www.math.ist.utl.pt/~psoares/ asciimathml.html#Dynamic) - and was wondering if it is possible to make something like that for musical notation in a TW?? A plugin with an option to specify the location of the Lilypond.exe file (Like the FCK-editor plugin) - would make it very mobile - and let musicteachers publish lessons and pieces online - as well as give their students a TW-version (maybe with pngs in the same directory as the html) - working as a portable musicscrapbook - and the music could be edited - when the TW is loaded on a PC with LilyPond installed - or from the web - but still useable without LilyPond - because of the pngs... Maybe I'm just dreaming??!! Food for thought: // If music is the food of love - then let's try to write some music - in a TW :-)// YS Måns Mårtensson --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Music notation - LilyPond in a TW??
I *love* the idea, though I think technically, it could be quite hard. A normal .png isn't embedded in the .html file at the moment, so you'd have to link to a .png file outside the TW. But I've seen some truely amazing things, and I think this could be accomplished! Regards, -Reenen On Wed, Mar 11, 2009 at 11:01 AM, Russ Thomas russgtho...@gmail.com wrote: +1 (no, make that +10!) 2009/3/10 Måns humam...@gmail.com: LilyPond (http://lilypond.org/web/) uses Project GNU's GUILE Scheme interpreter for extension. Scheme is a dialect of the LISP programming language. I'm using OOoLilyPondPlugin(http://ooolilypond.sourceforge.net/) in OpenOffice and I can write musical notation via a little texteditor in Writer, Impress and Draw. Here's an example: \relative c'' {c d e f g} \addlyrics {this fol--lows the notes} . It runs the LilyPondcode through a local installation of LilyPond - (it's a program without any gui) - but it can also be used from a server running lilypond... - and produces a png - from a ps-file made by LilyPond. The quality is very good!! If I want to reedit the music - I just click the graphic and reinvoke the macro - which shows the previous code for the ps-file and lets me overwrite the previous png-output. It's very elegant and intuitive..And it means that You can send your document to someone who hasn't Lilypond installed - and they can read the notation anyway!! I've seen Mr Paolo Soares': ASCIIMathMLPlugin (made in collaboration with Peter Jipsen )(http://www.math.ist.utl.pt/~psoares/http://www.math.ist.utl.pt/%7Epsoares/ asciimathml.html#Dynamic) - and was wondering if it is possible to make something like that for musical notation in a TW?? A plugin with an option to specify the location of the Lilypond.exe file (Like the FCK-editor plugin) - would make it very mobile - and let musicteachers publish lessons and pieces online - as well as give their students a TW-version (maybe with pngs in the same directory as the html) - working as a portable musicscrapbook - and the music could be edited - when the TW is loaded on a PC with LilyPond installed - or from the web - but still useable without LilyPond - because of the pngs... Maybe I'm just dreaming??!! Food for thought: // If music is the food of love - then let's try to write some music - in a TW :-)// YS Måns Mårtensson -- o__ ,_./ _ (_)_\(_)___ ...speed is good ___ I believe five out of four people have a problem with fractions. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Music notation - LilyPond in a TW??
Hi Reenen Laurie I don't think that the embedding - is the problem -The viewtemplate for Lilypond code should just show the generated png inline - from an relative URL to the same directory of the html/TW. In the edittemplate for tiddlers tagged Lilypond - you should see the code - which will be sent to lilypond.exe by some macro - to produce a new png - and overwrite the existing/previous one. I believe that writing the macro is the real challenge. I'm no programmer so I can't tell how difficult that would be - but I think that the fact that it involves using a local program (Lilypond) from the browser - might conflict with some security issues with browsers... And you would have to have some kind of php-script on the serverside that would allow it to write pngs to the directory as well... I hope that there are some programmers who can see the potential in writing this kind of macro to extend TiddlyWikis funtionality. I would be one of the first to use it - that's for sure... Untill then I will continue to upload pictures to my ftp - and iframe or minibrowse them in TW - Which is also great!! But I like to use TW as a full program - and the ability to edit music directly in TW - would really be something - and put it in front of some of the other (static) serverside Wikis... Regards Måns Mårtensson On Mar 11, 12:38 pm, Reenen Laurie rlau...@gmail.com wrote: I *love* the idea, though I think technically, it could be quite hard. A normal .png isn't embedded in the .html file at the moment, so you'd have to link to a .png file outside the TW. But I've seen some truely amazing things, and I think this could be accomplished! Regards, -Reenen On Wed, Mar 11, 2009 at 11:01 AM, Russ Thomas russgtho...@gmail.com wrote: +1 (no, make that +10!) 2009/3/10 Måns humam...@gmail.com: LilyPond (http://lilypond.org/web/) uses Project GNU's GUILE Scheme interpreter for extension. Scheme is a dialect of the LISP programming language. I'm using OOoLilyPondPlugin(http://ooolilypond.sourceforge.net/) in OpenOffice and I can write musical notation via a little texteditor in Writer, Impress and Draw. Here's an example: \relative c'' {c d e f g} \addlyrics {this fol--lows the notes} . It runs the LilyPondcode through a local installation of LilyPond - (it's a program without any gui) - but it can also be used from a server running lilypond... - and produces a png - from a ps-file made by LilyPond. The quality is very good!! If I want to reedit the music - I just click the graphic and reinvoke the macro - which shows the previous code for the ps-file and lets me overwrite the previous png-output. It's very elegant and intuitive..And it means that You can send your document to someone who hasn't Lilypond installed - and they can read the notation anyway!! I've seen Mr Paolo Soares': ASCIIMathMLPlugin (made in collaboration with Peter Jipsen )(http://www.math.ist.utl.pt/~psoares/http://www.math.ist.utl.pt/%7Epsoares/ asciimathml.html#Dynamic) - and was wondering if it is possible to make something like that for musical notation in a TW?? A plugin with an option to specify the location of the Lilypond.exe file (Like the FCK-editor plugin) - would make it very mobile - and let musicteachers publish lessons and pieces online - as well as give their students a TW-version (maybe with pngs in the same directory as the html) - working as a portable musicscrapbook - and the music could be edited - when the TW is loaded on a PC with LilyPond installed - or from the web - but still useable without LilyPond - because of the pngs... Maybe I'm just dreaming??!! Food for thought: // If music is the food of love - then let's try to write some music - in a TW :-)// YS Måns Mårtensson -- o__ ,_./ _ (_)_\(_)___ ...speed is good ___ I believe five out of four people have a problem with fractions. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---
[tw] Re: Music notation - LilyPond in a TW??
The address to Mr Soares' Plugin is of course: http://www.math.ist.utl.pt/~psoares/asciimathml.html#ASCIIMathMLPlugin On 10 Mar., 23:48, Måns humam...@gmail.com wrote: LilyPond (http://lilypond.org/web/) uses Project GNU's GUILE Scheme interpreter for extension. Scheme is a dialect of the LISP programming language. I'm using OOoLilyPondPlugin(http://ooolilypond.sourceforge.net/) in OpenOffice and I can write musical notation via a little texteditor in Writer, Impress and Draw. Here's an example: \relative c'' {c d e f g} \addlyrics {this fol--lows the notes} . It runs the LilyPondcode through a local installation of LilyPond - (it's a program without any gui) - but it can also be used from a server running lilypond... - and produces a png - from a ps-file made by LilyPond. The quality is very good!! If I want to reedit the music - I just click the graphic and reinvoke the macro - which shows the previous code for the ps-file and lets me overwrite the previous png-output. It's very elegant and intuitive..And it means that You can send your document to someone who hasn't Lilypond installed - and they can read the notation anyway!! I've seen Mr Paolo Soares': ASCIIMathMLPlugin (made in collaboration with Peter Jipsen )(http://www.math.ist.utl.pt/~psoares/ asciimathml.html#Dynamic) - and was wondering if it is possible to make something like that for musical notation in a TW?? A plugin with an option to specify the location of the Lilypond.exe file (Like the FCK-editor plugin) - would make it very mobile - and let musicteachers publish lessons and pieces online - as well as give their students a TW-version (maybe with pngs in the same directory as the html) - working as a portable musicscrapbook - and the music could be edited - when the TW is loaded on a PC with LilyPond installed - or from the web - but still useable without LilyPond - because of the pngs... Maybe I'm just dreaming??!! Food for thought: // If music is the food of love - then let's try to write some music - in a TW :-)// YS Måns Mårtensson --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TiddlyWiki group. To post to this group, send email to TiddlyWiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~--~~~~--~~--~--~---