Page 1 of 1

COMPA and COMPC for inverted pitch shifts?

Posted: Wed Aug 17, 2011 2:49 pm
by seancostello
Hi all,

I'm trying to get the most bang out of my pitch shifting code, for detuning operations. Can I use COMPA and COMPC in my cho instructions to get pitch shift happening with the opposite amount of pitch shift?

Thanks,

Sean Costello

Posted: Wed Aug 17, 2011 9:20 pm
by frank
No, it doesn't work like that. The COMPC calculates 1-coeff for interpolation and the COMPA is to calculate the 180 degree shifted ramp. The speed of the ramp is what controls the actual pitch shift amount, it moves the read pointer faster or slower through memory relative to the write pointer.