[chuck-users] webchuck and osc

M. Edward (Ed) Borasky znmeb at znmeb.net
Tue Aug 25 18:08:50 EDT 2020


Thanks! So it's Emscripten-based - that's what I was hoping for.

On Tue, Aug 25, 2020 at 3:06 PM Jack Atherton <lja at ccrma.stanford.edu> wrote:
>
> Here's two pages that use WebChucK in slightly different ways -- you can look at the source to get an idea, download relevant files, etc:
>
> https://ccrma.stanford.edu/~lja/webchuck/
> https://ccrma.stanford.edu/~lja/timbre-library/
>
> I think this might be the most recent branch on github. It's at least the one that has been modified most recently.
> https://github.com/ccrma/chuck/tree/emscripten-pattern-c
>
> Sorry for the lack of clear documentation! As with a lot of ChucK things, development is very sporadic.
>
> ~Jack
>
> On Tue, Aug 25, 2020 at 2:53 PM M. Edward (Ed) Borasky <znmeb at znmeb.net> wrote:
>>
>> This is the first I've heard of WebChuck - is there a link to it?
>> Google turned up nothing.
>>
>> On Tue, Aug 25, 2020 at 11:39 AM Jack Atherton <lja at ccrma.stanford.edu> wrote:
>> >
>> > 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
>> >
>> > _______________________________________________
>> > chuck-users mailing list
>> > chuck-users at lists.cs.princeton.edu
>> > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>>
>>
>>
>> --
>> Borasky Research Journal https://www.znmeb.mobi
>>
>> Markovs of the world, unite! You have nothing to lose but your chains!
>> _______________________________________________
>> chuck-users mailing list
>> chuck-users at lists.cs.princeton.edu
>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users



-- 
Borasky Research Journal https://www.znmeb.mobi

Markovs of the world, unite! You have nothing to lose but your chains!


More information about the chuck-users mailing list