[jmsl] Jmsl to Xml/Midi and Xml/Midi to Jmsl?
jmsl at music.columbia.edu
jmsl at music.columbia.edu
Fri Apr 10 15:36:01 EDT 2009
Hi,
I'm pretty new at programming, but I'm trying to write an applet that people can compose some music and save it on the web to share.
I need to way to pass a sequential collection to php and import back from url. The way I organized the collection is:
1. ParallelCollections (pc) contains one measure of MusicShapes (ms) for different instruments.
2. SequentialCollection (sc) contains all the pcs above.
I tried to convert the entire sc into xml with XStream, but since jmsl is third party library, it throws a security error.
My alternative is midi which might be simpler. I've checked out MidiLoggerNonRealTimeTest, but is there way to feed the entire collection into MidiLogger? MidiLoggerNonRealTimeTest seem to feed one midi message at a time to the logger. If I can export the entire sc into midi, I could just let users save the midi file and share the midi file on the web.
Thanks for all your help.
Chi
More information about the jmsl
mailing list