From 53a86bf8481e5e16b3c71c69532064625ccc6d1b Mon Sep 17 00:00:00 2001 From: Mustafa Date: Sat, 17 May 2014 11:57:25 -0700 Subject: [PATCH] added send-msg to rsc3/main.rkt --- rsc3/main.rkt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rsc3/main.rkt b/rsc3/main.rkt index 55123da..23bbdfc 100644 --- a/rsc3/main.rkt +++ b/rsc3/main.rkt @@ -1562,6 +1562,11 @@ (lambda (fd n u) (async fd (d-recv (encode-graphdef (synthdef n u)))))) +;; osc message -> () +(define (send-msg msg) + (with-sc3 (lambda (fd) + (send fd msg)))) + ;; port -> ugen -> () (define play (lambda (fd u)