I’m attempting to time stretch some audio by changing the pitch value on an EventCategory to lengthen the sound and then using the PitchShift DSP to correct the pitch. I’ve got a couple of issues in attempting this:
1) I set the category pitch in Octave units. I’m not sure I’m mapping correctly between that and the ratio used by the DSP pitch values – currently I do something like pow(2.0f, -pitch) which seems correct about half the time :).
2) I’m wanting to change the pitch values dynamically at runtime but this introduces some popping into the sound, mostly when returning to no pitch change. Is there anything I can do with this approach to minimise that?
- bakelord asked 6 years ago
- You must login to post comments