Perhaps you can help me - I'm trying to load two internet streams and compare them merely to see if they are identical (aka sound quality more or less irrelevant). To compensate for timeshifts/delays I want to let one (or both) through a buffer in order to play them back with a delay or ahead (max 2000ms, I believe). For that I've made this first sketch, that kind of draws it out visually in order to eventually make these adjustments. Preliminary sketch code here
For now I'm using the same stream twice for testing purposes, but eventually they will be different.I will have to figure out some smart (FFT?) way to match them up time wise and run them both at a quality-wise lowest common denominator - sufficient enough to tell if they're identical. Perhaps that can be done by subtracting their FFT signatures? Maybe you have som best practice tips.. I'm merely beginning here.