[chuck-users] webchuck and osc

Jack Atherton lja at ccrma.stanford.edu
Tue Aug 25 14:37:37 EDT 2020


It doesn't! Never quite figured out architecturally how this might work.
The workaround would be to use some JavaScript mechanism for communicating
with outside programs, then use global variables to communicate between JS
and ChucK.

~Jack

On Tue, Aug 25, 2020 at 5:02 AM Mícheál Ó Catháin <
micheal.ocathain at gmail.com> wrote:

> hi there,
>
> Webchuck is such an excellent development - thanks for all the work that
> has gone into this by Jack (and others I'm sure).  Hopefully I'll be able
> to contribute in some way in future, after getting up the learning curve a
> bit more!
>
> I have a question about using OSC with webchuck...
>
> I have a .ck script running on my local machine, using OSC to emit
> messages every X samples of a .wav file played by a SndBuf.
> These OSC messages are received by a webpage on my local machine.
> For this receiver I am running the page using node.js, and...
> * https://github.com/automata/osc-web
> * socket.io
>
> Locally, this works fine - as I play the .wav file via ChucK on
> MiniAudicle, the webpage at localhost:3000 displays the OSC messages as I'd
> expect.
>
> However when I try to run this same .ck file using Webchuck, I get the
> following error message:
> chucknode.js:189 [osc-eibhlin.ck]:line(38): undefined type 'OscOut'...
>
> Does Webchuck feature OSC messages yet?
>
>
> Thanks
> Micheal
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20200825/fde160d8/attachment.html>


More information about the chuck-users mailing list