 
 ; Start the synth looping, and play with the GUI to hear it change live
 (foo-player (m))
+(stop)
 
 ; Works with instruments too, as long as they have all the necessary metadata.
 (definst bar [note {:default 60 :min 0 :max 120 :step 1}

(ns examples.gui
  (:use overtone.core
        [overtone.gui info control wavetable sequencer]
        [overtone.inst synth drum]))

; 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}


; Create a buffer to use for our wavetable
(def b (buffer 1024))
(waveform-editor b true)

(defsynth table-player
  [buf 0 freq 440]
