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

Re: [web-audio-api] ScriptProcessorNode Delays (#99)

From: Olivier Thereaux <notifications@github.com>
Date: Wed, 11 Sep 2013 07:29:35 -0700
To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Message-ID: <WebAudio/web-audio-api/issues/99/24244194@github.com>
> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=17391#0) by Olivier Thereaux on W3C Bugzilla. Thu, 07 Jun 2012 15:47:14 GMT

Comment from Chris Rogers, 9 May 2012:
«
For synthesis of "notes" using custom DSP in a JavaScriptAudioNode, I believe the .playbackTime attribute is sufficient for synchronization:
https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioProcessingEvent

In the more general case of processing with effects (not synthesis), we should probably expose a .latency attribute on AudioNode so that appropriate compensation can be done in the use cases where it needs to be done.

Mailing list post with quite a bit of detail about latency and compensation strategies:
http://lists.w3.org/Archives/Public/public-audio/2012AprJun/0066.html
»

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/99#issuecomment-24244194
Received on Wednesday, 11 September 2013 14:33:31 UTC

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