           (dom/button #js {:onClick #(om/update-state! this assoc :note n)
                            :style   (if (= n note)
                                       #js {:background "#0c0"})
-                           :key n}
+                           :key     n}
             (or n "Mute")))
         (debounce-slider {:react-key "debounce" :min 30 :max 320 :value interval :on-change #(om/update-state! this assoc :interval %)})
-        #_ (let [i 1.5]
-          (sound-pattern {:react-key "pattern" :pattern (flatten [(chord "C3") i
-                                                                  (chord "G3") i
-                                                                  "A3" "C4" "E4" i
-                                                                  (chord "F3") i])}))
+        #_(let [i 1.5]
+            (sound-pattern {:react-key "pattern" :pattern (flatten [(chord "C3") i
+                                                                    (chord "G3") i
+                                                                    "A3" "C4" "E4" i
+                                                                    (chord "F3") i])}))
         (if note
           (sound-pattern {:react-key "pattern" :pattern (tick-pattern note (/ 60 interval))}))))))
 

(om/defui ChordMetronome
  Object
  (initLocalState [_]
    {:note nil
     :interval 60})

  (render [this]

    29 "D3"
    42 "Eb4")

  (let [res (-> (st/check-var #'audio/semitone->note) :result)]
    (is (true? res) res)))
