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
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@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@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
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
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
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@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@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!
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
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
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 <
hi there,
Webchuck is such an excellent development - thanks for all the work
micheal.ocathain@gmail.com> wrote: 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@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@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@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Thanks! So it's Emscripten-based - that's what I was hoping for.
On Tue, Aug 25, 2020 at 3:06 PM Jack Atherton
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
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
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
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@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@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@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@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!
Me too, and I'm very interested. Does it use WASM (sounds like it does)?
brad
On Tue, Aug 25, 2020 at 2:53 PM M. Edward (Ed) Borasky
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
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
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@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@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@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
Yes it does! If I remember correctly it relies on Hongchan's design pattern
here:
https://developers.google.com/web/updates/2018/06/audio-worklet-design-patte...
~Jack
On Tue, Aug 25, 2020 at 3:20 PM Brad Garton
Me too, and I'm very interested. Does it use WASM (sounds like it does)?
brad
On Tue, Aug 25, 2020 at 2:53 PM M. Edward (Ed) Borasky
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
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@gmail.com> wrote:
hi there,
Webchuck is such an excellent development - thanks for all the work
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
wrote: 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! 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@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@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@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (4)
-
Brad Garton
-
Jack Atherton
-
M. Edward (Ed) Borasky
-
Mícheál Ó Catháin