Advertisement
Guest User

Overtone Demo.

a guest
Oct 4th, 2014
224
0
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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement