![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Main Page: http://www.georgiacomputes.org Event Calendar: Google Calendar ![]() |
Using JMusic from JESWe use a really neat package for music called JMusic (http://jmusic.ci.qut.edu.au/) in our Media Computation Data Structures class (http://coweb.cc.gatech.edu/cs1316). I'm teaching a workshop in Chicago this week where the question came up (again), "Can we do this from JES?" At this moment, they are all working on MIDI music in Java, so I decided to try to make it work. (You can see their cool media at http://home.cc.gatech.edu/gacomputes). It works!Here's how I did it (on Windows): (1) Copy jmusic.jar and the JMusic inst folder into your JES directory. (2) Edit JES.bat so that jmusic.jar and the JMusic inst folder are on the Java classpath, like this: set java="win-jre\bin\java.exe" set classpath=".\jars\jython.jar;.\jars\jmf.jar;.\jars\jl1.0.jar;.\jars\junit.jar;.\Sources;.\jmusic.jar;.\inst" %java% -Dpython.home="jython-2.1" -Xmx512m -classpath %classpath% JESstartup (3) Start up JES. (4) Here's an example that works:
You'll see Western music notation, have the ability to play the notes, and the ability to save out MIDI files. Cool! Mark Last modified 10 July 2008 at 3:01 pm by Mark Guzdial |