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

Re: [web-audio-api] Loop start/stop points (#157)

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

Discussion thread, 30Apr - 8 May:

Discussion thread, 23-24 May:

Comment from Joe Berkovitz, 24 May 2012:
In my original proposal I had suggested that loopStart/loopEnd be set to 0 and the sample length in order to loop the entire sample (iff the "loop" attribute is set on the AudioBufferSourceNode).

After some thought I think that while this behavior obviously makes sense when loopEnd is the sample length, it would be also advantageous to define that whole-sample-looping occurs when loopStart == 0 and loopEnd == 0, and that these in fact be those attributes' default values. This provides a guaranteed way to achieve the whole-sample-looping behavior regardless of what underlying AudioBuffer is set into the AudioBufferSourceNode.

Reply to this email directly or view it on GitHub:
Received on Wednesday, 11 September 2013 14:30:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:24 UTC