[chuck-dev] ChucKJS

Spencer Salazar spencer at ccrma.stanford.edu
Sat Dec 28 11:26:03 EST 2013


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 <arve.knudsen at gmail.com>wrote:

> 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 <nathanleiby at gmail.com>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 <arve.knudsen at gmail.com>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 API<https://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 at lists.cs.princeton.edu
>>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
>>>
>>>
>>
>>
>> --
>> Nathan Leiby
>>
>
>
> _______________________________________________
> chuck-dev mailing list
> chuck-dev at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-dev/attachments/20131228/de51a501/attachment.html>


More information about the chuck-dev mailing list