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

                                                 scale))
     :notes ()
     :w 0 :h 0
     :sound-ready false
     :px-per-ms 0.1
     :scroll-touch-id nil
     :start start

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

(defn sound-ready?
  [instrument]
  (not (nil? (-> instrument :piano-keys first second :synth))))

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