W3C home > Mailing lists > Public > public-audio@w3.org > October to December 2012

Re: Phase offset for OscillatorNodes?

From: Srikumar Karaikudi Subramanian <srikumarks@gmail.com>
Date: Tue, 27 Nov 2012 09:17:18 +0530
Cc: Chris Wilson <cwilso@google.com>, Chris Rogers <crogers@google.com>, "public-audio@w3.org" <public-audio@w3.org>, Patrick Borgeat <patrick.borgeat@gmail.com>
Message-Id: <07D21924-86D4-4E33-8380-50E6D9A307A5@gmail.com>
To: Jussi Kalliokoski <jussi.kalliokoski@gmail.com>
Hi Jussi and others,

Some questions came to my mind -

When an oscillator node generates a signal based on a given wavetable (or "fourier series" or whatever it is going to be renamed as) that has multiple frequency components in it, which component(s) would such a phase offset change? Only the fundamental f0? ... or will n x phaseOffset will be used for each of the n x f0 frequency components, which amounts to a time delay of the signal? ... Or is it going to apply only in the sine/square/triangle cases and remain an unused parameter in the case of wavetables?

If the n x phaseOffset approach is going to be taken, why not just call it "delay"? ... and what are the cases in which tacking on a delay node to the current oscillator node won't do to achieve the phase shift?


On 27 Nov, 2012, at 3:08 AM, Jussi Kalliokoski <jussi.kalliokoski@gmail.com> wrote:

> +1 indeed!
> On Nov 26, 2012 11:06 PM, "Chris Wilson" <cwilso@google.com> wrote:
> >
> > +1!
> >
> >
> > On Mon, Nov 26, 2012 at 12:30 PM, Patrick Borgeat <patrick.borgeat@gmail.com> wrote:
> >>
> >> Sounds awesome!
> >>
> >>
> >> 2012/11/26 Chris Rogers <crogers@google.com>
> >>>
> >>> Yeah, .phaseOffset is really what it needs to be I think.  This would be additive with the cummulative phase from .frequency (and .detune).  This seems nice since if you set .frequency to 0, then there would be no cummulative phase and you could control the phase directly with .phaseOffset.  How does that sound?
> >>
> >>
> >

Received on Tuesday, 27 November 2012 03:47:53 UTC

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