#include </opt/build/repo/nap/system_modules/napfft/src/fftbuffer.h>
◆ AmplitudeSpectrum
◆ PhaseSpectrum
◆ EOverlap
Number of overlaps (hops)
| Enumerator |
|---|
| One | |
| Three | |
| Five | |
| Seven | |
| Nine | |
| Eleven | |
◆ FFTBuffer()
- Parameters
-
| dataSize | FFT buffer size |
| overlap | FFT buffer overlap |
◆ ~FFTBuffer()
◆ getAmplitudeSpectrum()
- Returns
- normalized magnitudes (rho)
◆ getBinCount()
| uint getBinCount |
( |
| ) |
const |
- Returns
- the number of FFT bins
◆ getDataSize()
- Returns
- the number of sample buffer data elements
◆ getPhaseSpectrum()
- Returns
- normalized phase angles (theta)
◆ supply()
| void supply |
( |
const std::vector< float > & |
samples | ) |
|
Update the internal sample buffer to perform FFT on. This funtion is thread-safe.