4 ms·
I've done the DSP work at a high level using Matlab. What I want is to be able to deploy it in the browser, using the FFTW library on the host system, such tha
by DonGateley 13y ago
I've done the DSP work at a high level using Matlab. What I want is to be able to deploy it in the browser, using the FFTW library on the host system, such that whatever audio is emanating from the browser due to an open page, like a music or movie player, is is passed through my DSP filter (which also has an interactive control panel) before being sent to the underlying system's audio sink.
I'm a DSP guy and completely naive relative to web programming. Does this sound like something for which the web audio api is appropriate?
The most obvious deployment to me would be a plugin, assuming one can access the outgoing audio stream, but that would not, of course, be browser agnostic.
- mankash666 13y agoDo you use a constant N in your N-point FFT? What is the N value? I can do the FFT implementation in javascript. You have to figure out how to pass audio samples (Raw PCM?) to it.
- DonGateley 13y agoYes, constant. For the most important feature it would require two 1k point FFT's and two 1k point IFFT's (possibly reducible to 512 pt) every 22 useconds and for an extended feature, 4k. I don't think Javascript is up to that which is why I mentioned somehow making calls to the native coded FFTW routines. If that can be done from Javscript there should be no problem. It's actually filtering of the browser's output audio samples that remains a total mystery to me. I'm not sure that even can be done which is why I brought it up.