im currently comparing 2 signals:
A = some music
B = A + noise
and ive implemented cross correlation in frequency domain via complex multiplication to determine the time offset, which works perfectly so far.
Now what i need in addition to the time offset is the amplitude offset, means a faktor by which A should be scaled to match the amplitude of A contained in B.
Ive been given advice to do this i have to multiply my A by the cross-correlation peak but heres my problem: my peak is NOT as expected between -1 and 1 but much higher (e.g. ~300). (even though it shows the time offset perfectly)
So here are my questions: am i missing some normalization of my CC values? what exactly is the difference between normalized CC and "normal" CC. what is the best way to get the amplitude factor?
Thanks!