Discussion:
From: Harry Thaw <harry.kendall.thaw-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
owner-sc-users-lSHO60Uw44Cwa9SdKMSz+
2014-09-06 22:00:20 UTC
Permalink
hi-
does anyone have an idea about how to execute a Pdef in SuperCollider with
an incoming OSC message? i'm a little stuck.

-hkt
Julian Rohrhuber
2014-09-06 22:07:57 UTC
Permalink
hi-
does anyone have an idea about how to execute a Pdef in SuperCollider with an incoming OSC message? i'm a little stuck.
-hkt
You can do anything you could normally evaluate as code in a OSCFunc or OSCdef

so just stick your code (Pdef(\x).play) in the function of the OSCdef, e.g. (OSCdef(\z, { ... }, '/do_it')



_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

Loading...