[web-audio-api] defaults for OscillatorNode (#211)

> Originally reported on W3C Bugzilla [ISSUE-22287](https://www.w3.org/Bugs/Public/show_bug.cgi?id=22287) Wed, 05 Jun 2013 18:56:46 GMT
> Reported by Ralph Giles
> Assigned to 

https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#attributes-OscillatorNode defines the default 'type' as 'sine', but doesn't supply defaults for frequency or detune. However it is possible to create an Oscillator node and start it playing without explicitly setting values to these parameters.

I suggest the spec document the following defaults:

  'frequency': The default value is 440.
  'detune': The default value is 0.

These are unsurprising, and are what we're using in Firefox. Also sounds like what Chrome is using.

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/211

Received on Wednesday, 11 September 2013 14:31:43 UTC