- From: Chris Rogers <crogers@google.com>
- Date: Mon, 30 Jul 2012 18:20:32 -0700
- To: Peter van der Noord <peterdunord@gmail.com>
- Cc: public-audio@w3.org
Received on Tuesday, 31 July 2012 01:21:03 UTC
On Sat, Jul 21, 2012 at 1:13 PM, Peter van der Noord <peterdunord@gmail.com>wrote: > Can anybody give a quick and short example of the creation of a > wavetable? I did some reading about wavetables, and as i understand > it, you can specify the harmonics for the wave-cycle, but i'm not sure > how it works and what the params do exactly > > > Peter > > Hi Peter, You could have a look at this simple example (need Chrome Canary): http://chromium.googlecode.com/svn/trunk/samples/audio/tone-editor.html You can draw the harmonic components of a periodic waveform by clicking and dragging in the view. You can also change the pitch of the oscillator with the knob. I'm not sure that the JS code for this represents a quick and short example (I'll have to create some more straight-forward tutorial code later). But, it might be helpful to understand how a periodic sound changes based on its harmonic components... Cheers, Chris
Received on Tuesday, 31 July 2012 01:21:03 UTC