W3C home > Mailing lists > Public > public-audio@w3.org > April to June 2013

[Bug 22287] New: defaults for OscillatorNode

From: <bugzilla@jessica.w3.org>
Date: Wed, 05 Jun 2013 18:56:46 +0000
To: public-audio@w3.org
Message-ID: <bug-22287-5429@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22287

            Bug ID: 22287
           Summary: defaults for OscillatorNode
    Classification: Unclassified
           Product: AudioWG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Audio API
          Assignee: crogers@google.com
          Reporter: giles@mozilla.com
        QA Contact: public-audio@w3.org

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 5 June 2013 18:56:51 UTC

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