back to list

Tuning Accuracy - correction

🔗J. Scott <cgscott@xxxxxxx.xxxx>

5/16/1999 12:29:40 AM

Hey guys,

There's a small error in one of the paragraphs of
my post. Sorry about that; I am such a retard sometimes!

- Jeff

The corrected paragraph:

So to generate the output samples we would start by getting a sample
at location 1024. After 1/48000 of a second we would advance the
wave pointer to 1024 + 3.2 = 1027.2. We'd grab samples from locations
1027 and 1028 and output 0.2 times the value at location 1027 plus
0.8 times the value at location 1028 (assuming linear interpolation).
And 1/48000 of a second later we'd do it again, advancing to 1030.4 ...
until we go past the end of the table at location 1024+256 = 1280,
where we would subtract 256 to get back towards the beginning of
the wave table.