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

Re: Oscillator node phase

From: Chris Rogers <crogers@google.com>
Date: Wed, 5 Jun 2013 10:40:17 -0700
Message-ID: <CA+EzO0n6E5AEEwRcCq_+051aoG6GyecfFeDamjFti0yOwxt0WQ@mail.gmail.com>
To: Ralph Giles <giles@mozilla.com>
Cc: "public-audio@w3.org" <public-audio@w3.org>
On Wed, Jun 5, 2013 at 10:32 AM, Ralph Giles <giles@mozilla.com> wrote:

> The spec says, "The OscillatorNode's instantaneous phase at each time is
> the thime integral of computedFrequency." But what are the bounds of
> integration?
>
> Does this mean the zero phase of the oscillator is aligned with t=0 in
> the context graph? Rather than, say, the value of t at the last start()
> call?
>

It's aligned with the start time of the oscillator.  There's been some
discussion about how to control what this initial phase value will be, but
for now this is not settable.


>
>  -r
>
>
Received on Wednesday, 5 June 2013 17:40:44 UTC

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