Re: Help needed with a sync-problem

Citerar Jussi Kalliokoski <jussi.kalliokoski@gmail.com>:

> On Fri, Aug 3, 2012 at 10:38 PM, Adam Goode <agoode@google.com> wrote:
>
>> I think a good way forward at this point would be for someone to write
>> "webaudio.js", which attempts to reimplement all of the existing webaudio
>> nodes only in terms of jsnodes. This way, we can: more easily enumerate the
>> exact limitations of the current javascript node mechanism, help to inform
>> the new DSP draft, and have another implementation of the standard nodes.
>> Any issues found can be filed as bugs against the underlying implementation.
>>
>> I suspect that this will be mostly doable and interesting, so someone
>> should do it! :)
>>
>
> Very good analysis, Adam!
>
> We (Official.fm Labs) have been planning to do something like that
> (webaudio.js) for a while now. I think Marcus also volunteered to do this?
> Anyway we'd be glad to give a hand.
>
> The main blocking issue for that is this:
> https://www.w3.org/Bugs/Public/show_bug.cgi?id=17388

Actually, I've wanted to do this for some time, but there are a few  
limitations of the JS node that makes it impossible to re-implement  
most nodes with it (at least in a way that makes them operate  
identically). Apart from Bug 17388, we also have:

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17533
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17534

(and possibly some other things that I've forgot about)

In any event, in order to put the DSP API to test, I'm currently doing  
a Web Audio API-kindof-subset-reimplementation in JavaScript (does not  
require Web Audio API - more of a shim). Not quite there yet, but  
making progress. Will let you know how it turns out (if/when I have  
the time to complete it).

Regards,

   Marcus

Received on Friday, 3 August 2012 21:03:25 UTC