made reset a function with no params

This commit is contained in:
Mustafa 2014-05-27 16:39:21 -07:00
parent 8a6d97dc50
commit d5ae4a0053

View file

@ -1550,13 +1550,6 @@
(send fd m)
(wait fd "/done")))
;; port -> ()
(define reset
(lambda (fd)
(send fd (bundle -1 (list (g-free-all1 0)
clear-sched
(g-new1 1 0 0))))))
;; port -> string -> ugen -> ()
(define send-synth
(lambda (fd n u)
@ -1600,6 +1593,16 @@
;; (socket -> a) -> a
(define with-sc3 with-udp-sc3)
;; port -> ()
(define (reset)
(with-sc3 (lambda (fd)
(send fd (bundle -1 (list (g-free-all1 0)
clear-sched
(g-new1 1 0 0)))))))
;; ((socket -> a) -> a) -> (ugen -> ())
(define audition-using
(lambda (f)