ADANA1
From STX Wiki
Jump to navigationJump to search
ADANA1 - basic spectral descriptors
This SPAtom was developed for the NOIDESc project in 2006.
Usage:
ADANA1 A AREF A0 AW DF FMIN FMAX DT DATA
Inputs:
- A
- An FFT amplitude spectrum (linear).
- AREF
- The reference amplitude (linear).
- AW
- The spectrum weighting:
0
=NONE
,1
=A
(dBA).
- A0
- The amplitude normalization for descriptor computation in dB.
- DF
- The FFT frequency resolution in Hz.
- FMIN, FMAX
- The frequency range in Hz.
- DT
- The time resolution (hopsize) in seconds.
- DATA
- The output table (either an extended or parameter table with 6 numeric fields)
- DATA[*,0] - the rms energy in dB
- DATA[*,1] - the centroid in Hz
- DATA[*,2] - the spread
- DATA[*,3] - the skew
- DATA[*,4] - the flux, 1st oder = correlation coef. of two spectra
- DATA[*,5] - the (neg.) slope in dB / kHz
Note: The input A0 is used as offset (floor) for the computation of centroid, spread and skew. This means first A0 is subtracted from the log. amplitude spectrum and than the negative amplitudes are truncated (set to 0).