I have a project that I am working on that needs to compare two sound waves.
I have two sounds waves, w1 and w2. I am looping w1 and playing it on one channel. I play the sound through a device and then record it on another channel, the recorded wave being w2. I want to know if w1=w2 or if w2 contains w1. I have tried looking at the cross corelation of the two waves but this doesn't seem to help because w1 and w2 aren't neccessarly the same length.
Any help would be appreciated.