Skip to content

Commit

Permalink
took out earlier hack bullshit
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesbowkett committed Jun 20, 2011
1 parent 38c70cf commit 3ec7266
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions drums_live.rb
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
require 'lib/archaeopteryx'
require 'rbcoremidi/apc20'

$wtf.capture do
@clock = Clock.new(170)

@clock = Clock.new(170)

@loop = Loop.new(:clock => @clock,
:measures => 4,
:beats => 16,
:logging => false,
:evil_timer_offset_wtf => 0.2,
:midi => LiveMIDI.new(:clock => @clock, # meh
:logging => true,
:midi_destination => 0),
:generator => Rhythm.new(:drumfile => "db_drum_definition.rb",
:mutation => L{|measure| 0 == (measure - 1) % 2}))
@loop.generate_beats
gets

end
@loop = Loop.new(:clock => @clock,
:measures => 4,
:beats => 16,
:logging => false,
:evil_timer_offset_wtf => 0.2,
:midi => LiveMIDI.new(:clock => @clock, # meh
:logging => true,
:midi_destination => 0),
:generator => Rhythm.new(:drumfile => "db_drum_definition.rb",
:mutation => L{|measure| 0 == (measure - 1) % 2}))
@loop.generate_beats
gets

0 comments on commit 3ec7266

Please sign in to comment.