MULACRTALOG

From STX Wiki
Jump to navigation Jump to search

MULACRTALOG

Usage:

MULACRTALOG L D WFUNC WTYPE X1 .. X4 REF AVR OUT A1 .. A4 Y1 .. Y4

Inputs:
L
The frame length in samples (number)
D
The hop size in samples (number), where D <= L.
WFUNC
The window function (string). See WINDOW for details.
WTYPE
The window type. The following values are supported:
0 - dual
1 - tight
A1-4
The input signals (vector) with length D
REF
The reference amplitude for dB conversion
AVR
The exponential averaging factor (0<=AVR<=1).
Outputs:
A1-4
The log. amplitude spectrum (vector)
Y1-4
The reconstructed signals (overlap-add) used for the spectrum computation (vector) with length L
Function:

Gabor analysis for frame multipliers, optimized for real-time / stereo. This atom is used to compute the spectra displayed by the STx script ReTiSiMo.

Notes:

Averaging: A[i,t] = A[i,t-1]*sqrt(AVR) + spectrum[i,t]*(1-sqrt(AVR))