FrameCompare:
Filter:
sc3-plugins/Classes (extension) | UGens > Analysis | UGens > FFT

FrameCompare
ExtensionExtension

calculates spectral MSE distance of two fft chains

Description

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).

Class Methods

.kr

Arguments:

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.

Examples