SHARE
TWEET

Overtone Demo.

a guest Oct 4th, 2014 180 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;(use 'overtone.live)
  2.  
  3. ;; It's easy to demo a sin wave
  4. (demo 2 (sin-osc 440)
  5.  
  6. ;; If I define my own instrument
  7. (definst my-sin [freq 440]
  8.   (sin-osc freq))
  9.  
  10. ;; Trying to demo it causes it to run until stopped
  11. (demo 2 (my-sin))
  12. (stop)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top