W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2012

Re: Wavetable example?

From: Chris Rogers <crogers@google.com>
Date: Mon, 30 Jul 2012 18:20:32 -0700
Message-ID: <CA+EzO0=-ZtMAXT7VKznr14m6urjm20CmWQVhnG9xEKBhL3vGVg@mail.gmail.com>
To: Peter van der Noord <peterdunord@gmail.com>
Cc: public-audio@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 31 July 2012 01:21:04 GMT