samples, a sample rate of
samples per second, and a phase increment
sample per time step, the output signal will have a fundamental frequency of
(assuming the wavetable holds only one period of the waveform).
is given by
, where
is the sample period.
samples and your sample rate is
samples per second, the fundamental frequency
will be 46.875 Hz with
. If
, you will read through the table twice as many times in the same time duration, so the resultant frequency will be 93.75 Hz. More generally, if you want
Hz, then the pointer needs to jump by 9.387 samples in the buffer per time step (
) to produce the desired frequency.
| ©2004-2025 McGill University. All Rights Reserved. Maintained by Gary P. Scavone. |