hey there,

it's been a while, but last time i checked, one way (flx->sc) communication the easy way, went like this:

(define osc-dest-port 57120) ;; to supercollider
(osc-destination (string-append "osc.udp://localhost:" (number->string osc-dest-port)))
(osc-send "/bla" "sif" (list "blubb" 23 0.1234))

in sc:

o = OSCresponder.new(nil, "/bla", { |time, addr, msg|
    msg[0].postln; // path: "/bla"
    msg[1].postln; // string: "blubb"
    msg[2].postln; // int: 23
    msg[3].postln; // float: 0.1234
}).add;

hope it's working, no time for testing now, sorry,
ub

On 23.01.2012 03:23, Richie Cyngler wrote:
Hi All,

This is related to the post that Ted just sent out but I didn't want to hijack his thread. I'm really interested to see what I can get going with SuperCollider => Fluxus. OSC would be the way to do this I guess. I've tried to find info on doing this but I haven't had any luck. So any advice about receiving/sending OSC into Fluxus, or any advice about interfacing with SuperCollider directly in some other way would be very interesting to me. Example working code would be even better xD

thanks heaps

--
Richie

www.glitchpop.com <http://www.glitchpop.com>


Reply via email to