made reset a function with no params
This commit is contained in:
parent
8a6d97dc50
commit
d5ae4a0053
1 changed files with 10 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue