Hi PD community!
I have this "simple" idea (in quote yes) that it would be "easy" (in quote also) to compare 2 metronome audio signal (similar but not identical) in pd: 1 source ADC1 and another metronome on ADC2. I need to get the latency between the 2, or the syncness (if this term exist in english) between source 1 and source 2. So maybe they are 20ms apart (+ or - would be fantastic but would be happy with just + for now).
It's not for testing my soundcard round-trip latency (for that I am using the excellent patch from Katja). I want to jam with someone and we are using ableton link pd external - we can manage the offset by ear, but would like to have the exact MS.
Found this python library, but it works with a specific sound signal, I have in mind a more relax metronome signal (ie coming from a midi drum machine (snare, hihat x3)).
I have a feeling that a patch like that is already coded...
Thanks!