I noticed latency and stuttering when using the pitch-shifting feature in @quentopp’s multi-effects example from a thread in this forum last August (Link to that thread in a comment below).
Other users in the thread reported the same issue, so I stripped the code down as much as I could to isolate the problem. My new version removes all the other effects, ignores the controls and LED’s, and only processed the left channel. Here’s the code I’m using: https://gist.github.com/mattgillooly/d3449db96a1e363658d6135c3c620025
Even with everything else removed, the latency is still very noticeable, as you can hear in this video: https://www.youtube.com/watch?v=pbZ8oJIWmo4
None of the official examples for the Petal use the pitch-shifter, so I don’t know where else to look. Is this a limitation of the hardware or is there a problem with the code?