 
 (defn maybe-init-synths
   [instrument]
-  (if (:sound-ready instrument)
+  (if (sound-ready? instrument)
     instrument
     (add-synths-to-instrument instrument)))
 

          (js-obj "a" 5 "d" 10000 "s" 0 "r" 500)
          (timbre "fami" (js-obj "freq" freq "mul" 0.1))))

(defn create-instrument
  [scale]
  (let [start (.getTime (js/Date.))]


(defn add-synths-to-instrument
  [instrument]
  (reduce (fn [a x] (assoc-in a [:piano-keys x :synth] (create-note-synth x)))
          instrument
          (-> instrument :piano-keys keys)))

(defn play-piano-key
  [instrument freq]
