Latency "trick ?" in Pitch Transposition algo.
Moderator: frank
Re: Latency "trick ?" in Pitch Transposition algo.
Could you please write an example code for a pitch shifter to prevent delay?
Re: Latency "trick ?" in Pitch Transposition algo.
It's not a trick if you using both read pointers and x-fade between them.
or you can write crossfade code yourself, or do not use crossfades at all if your code contain later reverb.
Crossfades needed for blind looping end of buffer with start of buffer.
If start and end of the buffer has much differnce, than this provides hard click, which is hided by crossfade.
I wrote the "clickless" octave down for stm32 engine based on fv-1 principles. It having 256 samples pre-buffer and custom crossfade. Last 256 samples of 4K buffer is blending with prebuffer , so signal contain no volume breaks, except volume of original signal.
If i'll have a more time , will re-write it to FV-1
or you can write crossfade code yourself, or do not use crossfades at all if your code contain later reverb.
Crossfades needed for blind looping end of buffer with start of buffer.
If start and end of the buffer has much differnce, than this provides hard click, which is hided by crossfade.
I wrote the "clickless" octave down for stm32 engine based on fv-1 principles. It having 256 samples pre-buffer and custom crossfade. Last 256 samples of 4K buffer is blending with prebuffer , so signal contain no volume breaks, except volume of original signal.
If i'll have a more time , will re-write it to FV-1