 (ns example.one-bar-sequencer
-  (:use overtone.live))
+  (:use [overtone.live]
+        [overtone.inst drum]))
 
 (def metro (metronome 128))
 

               (let [instruments (bar k)]
                    (dorun
                      (for [instrument instruments]
                         (at (metro (+ offset tick)) (instrument))))))))))

          2.5 [c-hat]
          3   [kick snare]
          3.5 [c-hat]})

; For every tick of the metronome, we loop through all our beats
; and find the apropriate one my taking the metronome tick mod 4.
; Then we play all the instruments for that beat.

(defn player
  [tick]
  (dorun
    (for [k (keys bar)]
      (let [beat (Math/floor k)
            offset (- k beat)]
