News for hackers. Stuff that matters.
Re:Music As Data - Music programming with Clojure by jackowayed on Saturday March 12, 2011 @05:37PM (#2317665)
I'm a bit confused about how to install and run it (I'm pretty new to Clojure). Can you flesh out steps like "compile core.clj"?

I tried lein compile but that failed. I did lein jar instead. Then I did lein repl (didn't have a lein swank task), which downloaded some processing stuff and then gave me a reply. I tried running (start main), but it said it couldn't resolve the symbol start. Do I need to do something to include the jar?

Re:Music As Data - Music programming with Clojure by zmitri on Saturday March 12, 2011 @06:03PM (#2317704)
you actually need to download and make jars of the minim libraries (https://github.com/ddf/Minim and http://code.compartmental.net/2009/11/02/building-minim-with... will help) and then add those jars to the lib folder.

then run: "lein repl"

once in the repl: (compile 'music-as-data.core) (ns music-as-data.core)

and then you're good to go!