Hi all, I am trying to set up a zope based web application which manages musical content, specifically lilypond notation, ogg-vorbis audio, midi, and information about these files (songs) I need a way to give users of the project a way to add, correct, edit etc. lilypond files. Lilypond is a text based ascii format for musical notation, so theoritcally a text box would be good enough. essentially I would like to give them two possibilities: 1. the ability to edit on the web page itself either: a.) with colorization, completion etc of common lilypond funtions. this is already available with vim and emacs, but I would like to add some of that functunality to a zope textbox. b.) A more graphical front end to lilypond where the user see's graphics of the various elements and clicks on them with the mouse (or uses a shortcut key) to add the elements to the page. 2. the ability to edit lilypond files remotely and upon save upload them to the zope server. In the above cases midi playback of the resulting files would take place by sending the file to the lilypond parser and playing the result in a midi player. How do I go about creating from scratch such an editing enviroment or modifying and existing one? Thanks Aaron
On Monday 17 May 2004 10:55 pm, Aaron wrote:
I am trying to set up a zope based web application which manages musical content, specifically lilypond notation, ogg-vorbis audio, midi, and information about these files (songs)
I need a way to give users of the project a way to add, correct, edit etc. lilypond files.
Interesting project. :-)
1. the ability to edit on the web page itself either: a.) with colorization, completion etc of common lilypond funtions. this is already available with vim and emacs, but I would like to add some of that functunality to a zope textbox. b.) A more graphical front end to lilypond where the user see's graphics of the various elements and clicks on them with the mouse (or uses a shortcut key) to add the elements to the page.
2. the ability to edit lilypond files remotely and upon save upload them to the zope server.
In the above cases midi playback of the resulting files would take place by sending the file to the lilypond parser and playing the result in a midi player.
How do I go about creating from scratch such an editing enviroment or modifying and existing one?
First of all, anything remotely WYSIWYG is a Javascript problem, and one that requires recent improvements to Javascript, which are only compatible with very recent versions of Internet Explorer and Mozilla. I'd research the "Epoz" project for that. I bet some of the code could be applied to your project. (?) Generating music is pretty easy -- you just call the lilypond parser from your Zope server when you submit the form. The return page provides a link to the digitized sound data. You probably want to use the streaming "LocalFS" system or something similar, in case the datafile is large. Cheers, Terry -- Terry Hancock ( hancock at anansispaceworks.com ) Anansi Spaceworks http://www.anansispaceworks.com
Thanks I will check EPOZ out, I never looked cause it was WYSIWYG, but your right. What about editor features to a text box anyone? Aaron On ג', 2004-05-18 at 08:34, Terry Hancock wrote:
On Monday 17 May 2004 10:55 pm, Aaron wrote:
I am trying to set up a zope based web application which manages musical content, specifically lilypond notation, ogg-vorbis audio, midi, and information about these files (songs)
I need a way to give users of the project a way to add, correct, edit etc. lilypond files.
Interesting project. :-)
1. the ability to edit on the web page itself either: a.) with colorization, completion etc of common lilypond funtions. this is already available with vim and emacs, but I would like to add some of that functunality to a zope textbox. b.) A more graphical front end to lilypond where the user see's graphics of the various elements and clicks on them with the mouse (or uses a shortcut key) to add the elements to the page.
2. the ability to edit lilypond files remotely and upon save upload them to the zope server.
In the above cases midi playback of the resulting files would take place by sending the file to the lilypond parser and playing the result in a midi player.
How do I go about creating from scratch such an editing enviroment or modifying and existing one?
First of all, anything remotely WYSIWYG is a Javascript problem, and one that requires recent improvements to Javascript, which are only compatible with very recent versions of Internet Explorer and Mozilla.
I'd research the "Epoz" project for that. I bet some of the code could be applied to your project. (?)
Generating music is pretty easy -- you just call the lilypond parser from your Zope server when you submit the form. The return page provides a link to the digitized sound data. You probably want to use the streaming "LocalFS" system or something similar, in case the datafile is large.
Cheers, Terry
-- Terry Hancock ( hancock at anansispaceworks.com ) Anansi Spaceworks http://www.anansispaceworks.com
On Tuesday 18 May 2004 12:28 am, Aaron wrote:
Thanks I will check EPOZ out, I never looked cause it was WYSIWYG, but your right. What about editor features to a text box anyone?
Basically, it can't be done. That's all provided by the browser. The old standard Javascript had no means to acquire the state or position of the cursor within the text. This limited you to appending stuff at the end, not being able to edit in place. Cheers, Terry -- Terry Hancock ( hancock at anansispaceworks.com ) Anansi Spaceworks http://www.anansispaceworks.com
Thanks I will check EPOZ out,
Maybe you should start with kupu instead: http://kupu.oscom.org/ It's a restart based on Epoz, with the goal of being more modular. -- Jean Jordaan http://www.upfrontsystems.co.za /training <-- Zope/Plone training! /training/af <-- Nie af nie, Afrikaans.
Thanks I grabbed it Aaron On ד', 2004-05-19 at 11:21, Jean Jordaan wrote:
Thanks I will check EPOZ out,
Maybe you should start with kupu instead: http://kupu.oscom.org/
It's a restart based on Epoz, with the goal of being more modular.
participants (3)
-
Aaron -
Jean Jordaan -
Terry Hancock