W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2013

Testing

From: Chris Lowis <chris.lowis@bbc.co.uk>
Date: Wed, 3 Jul 2013 11:22:28 +0100
To: WebAudio <public-audio@w3.org>
Message-ID: <m0zju46izf.fsf@bbc.co.uk>

Hi!

It's been a few weeks since we last discussed testing. I'd like to do a
bit more work on this in the next couple of weeks.

The previous discussion concerned whether to use OfflineAudioContext or
ScriptProcessorNode at the core of the tests to compare generated audio
with a known-good reference.

The advantage of ScriptProcessorNode is that it currently works on all
implementations. The disadvantage is that tests can only run "in real
time".

With OfflineAudioContext, tests can run faster than real time - but
there was some discussion about if/how OfflineAudioContext could be
implemented given the spec as it stands.

We've worked to improve OfflineAudioContext - so are we now happy that
we can use that as the basis of our test suite?

For reference, a test which uses ScriptProcessorNode to test GainNode is
here:

https://github.com/WebAudio/web-platform-tests/blob/master/webaudio/the-audio-api/the-gainnode-interface/gain-node-mozilla.html

and one which uses OfflineAudioContext for the same purpose is here:

https://github.com/WebAudio/web-platform-tests/blob/master/webaudio/the-audio-api/the-gainnode-interface/gain-node-webkit.html

Cheers,

Chris

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.
					
Received on Wednesday, 3 July 2013 10:23:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:10 UTC