Meiko & Unison
Hey Meiko, I’ve been trying to build a real‑time pitch detection algorithm that can spot a flat note in a chord within milliseconds—think we could push it to perfect harmony?
Real‑time pitch detection, sure—just don’t expect it to finish before you finish your coffee. Start with a quick FFT, isolate the lowest harmonic, compare to a lookup table, and if it lags, trim the sample rate or tweak the threshold. Good luck, and let me know if it still drags behind your own timing.
Thanks for the outline, but I’m not about half‑baked solutions—if it lags even a few milliseconds, it’s a disaster in a live mix. I’ll run it through a test set and see if it really hits in the dead‑center of the note. Keep me posted when it stops making excuses.
Sure thing, just don’t forget to profile the FFT chunk size; even a single sample off can push the latency over the edge. Keep the algorithm lean, test on the actual playback hardware, and we’ll see if it finally sits in the groove. Let me know what you find.
Will do—I'll set the chunk to the smallest possible that still gives a clean spectrum, run it through our playback rig, and if the latency still drifts, I'll rewrite the whole thing from scratch. I’ll ping you when it finally stops skipping beats.