(ns overtone.examples.instruments.pitch-controller
  (:use overtone.live))

;; Fire off this synth and connect an instrument/mic.
;; The pitch will be detected and used to control the saw waves

(defsynth pitch-controlled-saws
  [out-bus 0]
  (let [p   (pitch (sound-in) )
        p   (/ p 4)
        p   (lag p 1)]
    (out out-bus (saw [p (+ p (* p 0.01))]))))

;;(pitch-controlled-saws)
;;(stop)

Add simple mic/input pitch-controlled synth example
Add simple mic/input pitch-controlled synth example
mcanthony/overtone,brunchboy/overtone,chunseoklee/overtone,la3lma/overtone,craftybones/overtone,ethancrawford/overtone,Widea/overtone,pje/overtone