Re: Oscillator node phase

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