Hi Nathan
Thanks for the swift feedback (and starring my repository)! I'll consider
filing issues with things that need to be done, when I can think of
something. I'm totally new to ChucK, so ChucKJS is also a way for me to
learn ChucK itself. As such, I'm not at all sure if this project is even
feasible, but I'm treating it as a fun experiment. Hopefully, it can work
well enough at some point to complement the original ChucK.
Merry Christmas.
Arve
On Fri, Dec 27, 2013 at 2:45 AM, Nathan Leiby
Hi Arve,
Sounds very interesting! I have toyed with this a little (more web-audio API for making a DJing app, but to re-implement things I have done in Chuck). I've starred the repo and will keep an eye on your progress.
I haven't been able to carve out of a lot of time recently for side projects as I'm just starting a new job, but I'd love to contribute soon if possible. Definitely consider filing some issues with suggested features and I'll take a look.
Thanks! Nate
On Thu, Dec 26, 2013 at 5:36 PM, Arve Knudsen
wrote: Hi guys
I've begun work on a JavaScript (well, CoffeeScript) implementation of ChucK, ChucKJS https://github.com/aknuds1/chuckjs, for which I'm seeking feedback from ChucK developers in particular. Web Audio APIhttps://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html is used to produce sound. Very little of the language is implemented so far, I've just today finished end-to-end support (including a VM) for playing back a sine tone for a certain interval of time as in the following program:
SinOsc sin => dac; 2::second => now;
Even though this may seem minor, I'm pretty happy that this is at all possible just from within the browser :) As explained in the project's README, there is a self-contained example (examples/example1.html) which demonstrates the aforementioned sine wave playback capability.
What do you guys think, are anyone else interested in being able to run ChucK programs in the browser? Anyone interested in helping out on ChucKJS https://github.com/aknuds1/chuckjs (like ChucK it's GPL licensed)?
My motivation for writing ChucKJS is to develop an online development environment for ChucK where one can execute the programs directly in the browser, I figure this will lower the threshold and make the language more fun to work with.
Merry Christmas, Arve
_______________________________________________ chuck-dev mailing list chuck-dev@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
-- Nathan Leiby
Hi Arve,
Very cool. A browser based ChucK implementation, even with just the core
language features, will do great things for the accessibility and
demo-ability of the language. Do keep us posted on your progress.
spencer
On Thu, Dec 26, 2013 at 8:58 PM, Arve Knudsen
Hi Nathan
Thanks for the swift feedback (and starring my repository)! I'll consider filing issues with things that need to be done, when I can think of something. I'm totally new to ChucK, so ChucKJS is also a way for me to learn ChucK itself. As such, I'm not at all sure if this project is even feasible, but I'm treating it as a fun experiment. Hopefully, it can work well enough at some point to complement the original ChucK.
Merry Christmas. Arve
On Fri, Dec 27, 2013 at 2:45 AM, Nathan Leiby
wrote: Hi Arve,
Sounds very interesting! I have toyed with this a little (more web-audio API for making a DJing app, but to re-implement things I have done in Chuck). I've starred the repo and will keep an eye on your progress.
I haven't been able to carve out of a lot of time recently for side projects as I'm just starting a new job, but I'd love to contribute soon if possible. Definitely consider filing some issues with suggested features and I'll take a look.
Thanks! Nate
On Thu, Dec 26, 2013 at 5:36 PM, Arve Knudsen
wrote: Hi guys
I've begun work on a JavaScript (well, CoffeeScript) implementation of ChucK, ChucKJS https://github.com/aknuds1/chuckjs, for which I'm seeking feedback from ChucK developers in particular. Web Audio APIhttps://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html is used to produce sound. Very little of the language is implemented so far, I've just today finished end-to-end support (including a VM) for playing back a sine tone for a certain interval of time as in the following program:
SinOsc sin => dac; 2::second => now;
Even though this may seem minor, I'm pretty happy that this is at all possible just from within the browser :) As explained in the project's README, there is a self-contained example (examples/example1.html) which demonstrates the aforementioned sine wave playback capability.
What do you guys think, are anyone else interested in being able to run ChucK programs in the browser? Anyone interested in helping out on ChucKJS https://github.com/aknuds1/chuckjs (like ChucK it's GPL licensed)?
My motivation for writing ChucKJS is to develop an online development environment for ChucK where one can execute the programs directly in the browser, I figure this will lower the threshold and make the language more fun to work with.
Merry Christmas, Arve
_______________________________________________ chuck-dev mailing list chuck-dev@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
-- Nathan Leiby
_______________________________________________ chuck-dev mailing list chuck-dev@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
participants (2)
-
Arve Knudsen
-
Spencer Salazar