templatize archaeopteryx drum definition files to control arx via other ruby codes
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 3 commits ahead, 1 commit behind atduskgreg:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.rdoc
drum_definition.erb
templarx.rb

README.rdoc

Templarx

Acts as an extremely primitive controller for the Archaeopteryx probabilistic steop sequencer:

wiki.github.com/gilesbowkett/archaeopteryx

To use, get Arx to play music. This tutorial is helpful:

gilesbowkett.blogspot.com/2008/01/drive-propellerhead-reason-with-ruby.html

Then, with a copy of eval_style.rb that includes a reference to db_drum_definition.rb running, do this elsewhere:

t = Templarx.new :definition_path => "~/path/to/arx/db_drum_definition.rb"
t.default_probability = 0.4
t.rewrite_drum_definition

All it does is replace all the 16th note probabilities with the value you pass in.

More in the future. Watch this space.