News for hackers. Stuff that matters.
Re:Music As Data - Music programming with Clojure by jonromero on Saturday March 12, 2011 @09:31AM (#2316803)
Thx for the post! Feel free to ask anything you like!
Re:Music As Data - Music programming with Clojure by ique on Saturday March 12, 2011 @09:36AM (#2316813)
Can you add a 3D graphics library as well so we can have an awesome (modern) replacement of http://www.pawfal.org/fluxus/ ? :P
Re:Music As Data - Music programming with Clojure by PanosJee on Saturday March 12, 2011 @09:56AM (#2316834)
This is your lucky day! It's built on top of processing so you have access to awesome visual effects!
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!

Re:Music As Data - Music programming with Clojure by thibaut_barrere on Saturday March 12, 2011 @10:42AM (#2316894)
Wicked! I may try to embed your work inside my JRuby/Mirah/Java VST bridge [1] when I'll have more time.

Would be amazing to reuse your syntax inside a VST plugin, to write arpeggiators, drum patterns or other similar things.

Thanks for sharing!

[1] https://github.com/thbar/opaz-plugdk

Re:Music As Data - Music programming with Clojure by catshirt on Saturday March 12, 2011 @04:53PM (#2317593)
a bit ago i started a javascript osc environment [1] for fun. a copy of touchosc, but in the browser and you can edit your controls live.

i didn't have any intentions to share it, but this seems to be an appropriate venue. it's not nearly as cool as anything else in the thread :). pretty proof of concept, but maybe will get some ideas going. the relevance is that it's easy to execute arbitrary code [2] to control any program that supports osc/midi.

[1] https://github.com/catshirt/backbone-osc

[2] https://github.com/catshirt/backbone-osc/blob/master/static/...

Re:Music As Data - Music programming with Clojure by jonromero on Saturday March 12, 2011 @01:15PM (#2317135)
Sounds crazy!