Yeah that's pretty much what I'm doing, but I'm beginning to suspect the problem is something else, like not indexing the array properly or something.
The cool thing about doing autocorellation in the time domain is that, on top of it being fast to compute, tracking is pretty much instantaneous, down to a half-cycle or so. It's that accurate and precise tracking that enables the pitch shifting portion to be dead-simple and avoid getting into stuff like PSOLA etc.
|