Programmer Guide/SPU Reference/MULACRTALOG: Difference between revisions
From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import) |
m (Text replace - "S_TOOLS-STx" to "{{STX}}") |
||
Line 52: | Line 52: | ||
=====Function:===== | =====Function:===== | ||
Gabor analysis for frame multipliers, optimized for real-time / stereo. This atom is used to compute the spectra displayed by the | 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:===== | =====Notes:===== | ||
Averaging: <code>A[i,t] = A[i,t-1]*sqrt(</code><var>AVR</var><code>) + spectrum[i,t]*(1-sqrt(</code><var>AVR</var><code>))</code> | Averaging: <code>A[i,t] = A[i,t-1]*sqrt(</code><var>AVR</var><code>) + spectrum[i,t]*(1-sqrt(</code><var>AVR</var><code>))</code> |
Latest revision as of 16:58, 5 April 2011
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))