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

Re: [web-audio-api] (OscillatorTypeModification): Oscillator type modification (#136)

From: Olivier Thereaux <notifications@github.com>
Date: Wed, 11 Sep 2013 07:29:57 -0700
To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Message-ID: <WebAudio/web-audio-api/issues/136/24244493@github.com>
> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=17367#11) by Chris Wilson on W3C Bugzilla. Wed, 04 Sep 2013 23:30:13 GMT

(In reply to [comment #11](#issuecomment-24244486))
> In the case of AudioBufferSourceNode, we let the buffer attribute to be set
> during playback with no restrictions, and of course no guarantees on when
> the "switch" happens.  I don't see why we should strive to do something
> different here, therefore I think option (2) is probably better.

This isn't the same case at all.  In fact, if you change the buffer attribute, what happens?  Does it reset?  I would not think this would make a change.

I tested, and Blink does in fact maintain phase across this change, and the more I've thought about, the more I believe that is exactly the right thing to do.  Otherwise, you have no idea what phase the oscillator is in anymore.

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

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