Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;(use 'overtone.live)
- ;; It's easy to demo a sin wave
- (demo 2 (sin-osc 440)
- ;; If I define my own instrument
- (definst my-sin [freq 440]
- (sin-osc freq))
- ;; Trying to demo it causes it to run until stopped
- (demo 2 (my-sin))
- (stop)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement