public
Fork of gilesbowkett/archaeopteryx
Description: Ruby MIDI DJing/live-coding thing
Homepage:
Clone URL: git://github.com/bleything/archaeopteryx.git
archaeopteryx / eval_style.rb
100644 14 lines (11 sloc) 0.454 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'lib/archaeopteryx'
 
$clock = Clock.new(170)
$mutation = L{|measure| 0 == (measure - 1) % 2}
$measures = 4
 
@loop = Arkx.new(:clock => $clock, # rename Arkx to Loop
                 :measures => $measures,
                 :logging => false,
                 :evil_timer_offset_wtf => 0.2,
                 :generator => Rhythm.new(:drumfile => "db_drum_definition.rb",
                                          :mutation => $mutation))
@loop.go