 (ns examples.gui
-  (:use overtone.core))
+  (:use overtone.core
+        [overtone.gui info control wavetable]))
+
+; Show the server info window
+(server-window)
 
 ; Create a synth with metadata that can be used to generate a GUI controller
 (defsynth foo [note {:default 60 :min 0 :max 120 :step 1}

            (sin-osc (midicps note)))))

; Create the gui controller
;(synth-controller foo)

(def m (metronome 85))


  (apply-at (m (inc b)) #'foo-player [(inc b)]))

; Start the synth looping, and play with the GUI to hear it change live
(foo-player (m))

; Works with instruments too, as long as they have all the necessary metadata.
(definst bar [note {:default 60 :min 0 :max 120 :step 1}
