FrameCompare:
Filter:
Classes (extension) | UGens > Analysis | UGens > FFT

FrameCompare : UGen : AbstractFunction : Object
ExtensionExtension

calculates spectral MSE distance of two fft chains
Source: BatUGens.sc

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

FrameCompare.kr(buffer1, buffer2, wAmount: 0.5)

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.

Inherited class methods

Instance Methods

Inherited instance methods

Examples