Hello everyone,
I would like to rewrite a GEN 01 table (sound sample) into a GEN 02 table that would upsample the non-power-of-two isize of my GEN 01 table into a GEN 02 table whose isize is the next power-of-two number.
As an example, imagine that I have the following table with an isize = 5:
index 0 = .2
index 1 = -.12
index 2 = .56
index 3 = -.92
index 5 = -.002
Which I wanted to rewrite in an table with an isize = 8
And that I wanted to use cubic interpolation. How would I go about it? My guess is that I would use table3 and tablew and using an irate loop, but I’m not sure as to how I would interpolate between the indexes.
Any ideas?
Thank you
Ben