Re: FFT & IFFT with the Web Audio API

Den 2013-06- 12:06:56 skrev Olivier Thereaux <Olivier.Thereaux@bbc.co.uk>:

>
> On 18/06/2013 07:23, "Marcus Geelnard" <mage@opera.com> wrote:
>
>> Yes, and that's part of the purpose of this spec proposal:
>> http://people.opera.com/mage/dspapi/
>>
>> Specifically, the FFT and Filter interfaces closely mimic what's part of
>> the Web Audio API today, except that it's exposed directly to JS.
>
> I still like the concepts in the DSP API but am still not sure it would
> really be in scope for our group - it seems much too broad. Is that a  
> fair assessment of the group's opinion?

Sure, maybe I wasn't clear about that. It's not part of the current Audio  
WG scope - it's merely related to the work we do here.

> With my co-chair hat off and AC rep hat on, I would certainly encourage
> Opera to submit it as a W3C Member Submission, and see it added to the
> scope of e.g. The HTML WG if there is support from other W3C members.

Personally (all hats off), I'd like to make draft implementations for  
Blink/WebKit & Firefox (since they're open source, and they have most of  
the necessary code under their hoods these days thanks to Web Audio), but  
unfortunately that's not in line with my current assignments at Opera, and  
I'm not sure what I'd be able to do in my spare time (it's not the lack of  
will, trust me).

Another personal note: With regards to what scope to include it in, the  
closer it is to Web Audio, the easier it would be to agree on a standard  
(e.g. limit support to 32-bit floating point typed arrays, 1D real/complex  
data, etc). In a way it's similar to how one could easily extend the scope  
of the OfflineAudioContext to a generic signal processing framework, but  
by keeping it within the limits of Web Audio, it's actually manageable.

Anyway, I'll see what I can do...

/Marcus

> The web audio API spec could then be updated in the future to explain how
> its concepts build upon the lower-level DSP API, without significant
> changes to its interfaces or indeed existing implementations.
>
> --
> Olivier
>
>
>
> -----------------------------
> http://www.bbc.co.uk
> This e-mail (and any attachments) is confidential and
> may contain personal views which are not the views of the BBC unless  
> specifically stated.
> If you have received it in
> error, please delete it from your system.
> Do not use, copy or disclose the
> information in any way nor act in reliance on it and notify the sender
> immediately.
> Please note that the BBC monitors e-mails
> sent or received.
> Further communication will signify your consent to
> this.
> -----------------------------


-- 
Marcus Geelnard
Technical Lead, Mobile Infrastructure
Opera Software

Received on Wednesday, 19 June 2013 09:00:33 UTC