- From: Nick Thompson <ncthom91@gmail.com>
- Date: Sat, 24 Nov 2012 15:36:57 -0500
- To: Patrick Borgeat <patrick.borgeat@gmail.com>
- Cc: public-audio@w3.org
- Message-ID: <CAOXEKCNFnPCeaENdutN3oRHnLBvN+qyo-a3ZHeftnPh+4gNPiA@mail.gmail.com>
Hi Patrick, I don't usually promote my own musings, but I recently wrote a blog post that describes one method of achieving phase offsets with OscillatorNodes that I think you might find useful: http://nick-thompson.github.com/2012/11/01/PhaseOffsetsWithWaveTables.html This method doesn't allow for modulating the phase parameter, unfortunately, but it should help you with your first two examples. I'd be happy to elaborate if the post doesn't do the topic justice. Regards, Nick On Sat, Nov 24, 2012 at 10:01 AM, Patrick Borgeat <patrick.borgeat@gmail.com > wrote: > Hi there, > > I wonder if OscillatorNodes could have some kind of phase offset (or maybe > I'm missing something and there is such thing?) > > Here's an example how the phase parameter in SuperCollider affects the > signal: > > > [image: Inline-Bild 3] > [image: Inline-Bild 4] > > Phase offsets are pretty important for LFOs. I also use them for drum > synthesis (to have a nice click at the beginning). > > A phase offset could be passed as an optional double offset=0 parameter to > the start method of OscillatorNodes. A modulateable phase parameter could > be interesting as well off course, but might be overkill for the Web Audio > API. > > > Looking forward reading your thoughts on that :-). > > cheers, > Patrick > > >
Attachments
- image/png attachment: image.png
- image/png attachment: 02-image.png
Received on Saturday, 24 November 2012 20:37:24 UTC