Re: Float denormal issue in JavaScript processor node in Web Audio API (2)

Humm… have you ever tried to port and run audio code on the GPU? Basically audio code is not well suited for data parallel kind of parallelism you have on a GPU, and yes you also have latency issues in a "real-time" kind of use :  like transferring audio data between CPU and GPU at each audio callback.

And again with emscripten compilation chain porting C/C++ code audio code in asm.js  and then on the Web starts to be very interesting. But then the slow denormal issue has to be treated.

Stéphane Letz

Le 20 juin 2014 à 13:57, Katelyn Gadd <kg@luminance.org> a écrit :

> Just a suggestion: Since this is a performance-sensitive use case and
> JS is a poorly suited language for computing in general (not to
> mention intensive FP arithmetic), you should consider using WebGL to
> do your audio processing on the GPU. Your performance will be vastly
> superior and you can tap into hardware on almost every configuration.
> The only real issue there is latency...
> 
> On Fri, Jun 20, 2014 at 3:50 AM, Stéphane Letz <letz@grame.fr> wrote:
>> The discussion can be of interest for the community, see :
>> 
>> https://bugzilla.mozilla.org/show_bug.cgi?id=1027624
>> 
>> Best Regards
>> 
>> Stéphane Letz
>> 
>> 
>> 

Received on Friday, 20 June 2014 12:09:50 UTC