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:51 -0700
To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Message-ID: <WebAudio/web-audio-api/issues/136/24244426@github.com>
> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=17367#2) by Chris Rogers on W3C Bugzilla. Thu, 14 Jun 2012 01:02:05 GMT

(In reply to [comment #2](#issuecomment-24244421))
> (In reply to [comment #1](#issuecomment-24244411))
> > Yes, it should be possible to change the type or call setWaveTable() at any
> > time.
> 
> Should there be any smoothing or similar applied to the change (as specified
> for delayNode, for instance)?
> 
> Should there be a minimal delay between the change and when the effect takes
> place (e.g. if an Oscillator node is connected directly to the AudioDestination
> node, how long before the change becomes audiable)?

I don't think it's essential for the change to occur with minimal delay.  In other words, I don't think it's as critical for this change to happen as quickly as say a call to noteOn(0) (representing playing a sound immediately).  I'm expecting the type will be changed as a result of some user action in the UI (changing osc-type menu from square->sawtooth).

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

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