Given two FFT chains, this UGen calculates the MSE between the magnitudes of these two inputs and provides a continuous analytic similarity rating (lower the value, more similar the inputs). In it's current state, only hanning window should be used (wintype: 1).
buffer1 |
FFT chain1 |
buffer2 |
FFT chain2 |
wAmount |
Influence of the weight matrix (should be between 0 and 1). Weight matrix helps to minimize errors on regions with more energy. |