FFT inestable on RXTX_MODE for Autotune project #2124
-
Problem DescriptionHi! I have been testing the library with great results on ESP32S3 and the audio code SGTL5000. I am preparing a project for doing Autotune, that is correcting the pitch of a sound when the note is off. The audio diagram would be something like:
The PitchShift I am using a Faust DSP block, that works great by itself. It gives more stable readings than the builtin library Pitch effect. As a test I put a sin signal generator on the audio input, but the FFT starts being inestable, as is reading the processed signal and not the input signal. Causing a inestable tone at the output. I have tested also AudioESP32FFT, that gives the same results. I tried to put some BufferedStream following a diagram similar to the next, but gives also the same results. I have been trying to understand the problem, and seems that FFT is analyzing the output signal, and not the input signal, or a mix of the two of them, causing a inestable reading of the frequency. Any thoughts about how to fix it? I am pretty impressed with the library. With 100lines I can do FFT, Pitch, Mixing, etc. Its pretty impressive. Device DescriptionESP32S3 with SGTL5000 audio codec. Sketch
Other Steps to ReproduceNo response What is your development environment (incl. core version info)Platform IO 3.3.4
I have checked existing issues, discussions and online documentation
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Maybe the issue comes from the delays: so try to minimize the delays in the processing chain:
|
Beta Was this translation helpful? Give feedback.
Maybe the issue comes from the delays: so try to minimize the delays in the processing chain: