How To: Algorithmic Music with Ruby, Reaktor, and OSC
Posted on | November 20, 2009 | 2 Comments
The basic idea is to use a simple OSC library available for Ruby to code interesting music, and have Native Instruments’ Reaktor serve as the sound engine. Tadayoshi Funaba has an excellent site including all sorts of interesting Ruby modules. I grabbed the osc.rb module and had fun with it.
I’m giving a brief presentation at the Bay Area Computer Music Technology Group (BArCMuT) meet-up tomorrow, un-officially as part of RubyConf 2009 here in San Francisco.
Here’s a link with downloads and code from my talk. It should be all you need to get started, if you have a system capable of running Ruby, and a copy of Reaktor 5+ (this should work with the demo version too).
Ruby mono sequence example:
reaktorOscMonoSequences-192 MP3Ruby polyphonic drums example:
reaktorOscPolyphonicDrums-192 MP3Leave a comment below if you have any questions, or cool discoveries!
Comments
2 Responses to “How To: Algorithmic Music with Ruby, Reaktor, and OSC”
Leave a Reply
December 7th, 2009 @ 8:20 pm
how exciting! Are there any audio examples of music created this way to listen to?
February 22nd, 2010 @ 5:35 am
Hi Beau, I finally added audio examples to this blog post. The source functions used for each of these is in the download link for the talk.