<div dir="ltr">Hi guys<div><br></div><div>I've begun work on a JavaScript (well, CoffeeScript) implementation of ChucK, <a href="https://github.com/aknuds1/chuckjs">ChucKJS</a>, for which I'm seeking feedback from ChucK developers in particular. <a href="https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html">Web Audio API</a> 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:</div>
<div><br></div><div>    SinOsc sin => dac;</div><div>    2::second => now;<br></div><div><br></div><div>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.</div>
<div><br></div><div>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 <a href="https://github.com/aknuds1/chuckjs">ChucKJS</a> (like ChucK it's GPL licensed)?</div>
<div><br></div><div>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.</div>
<div><br></div><div>Merry Christmas,</div><div>Arve</div></div>