|
| fft_t (const unsigned int &) |
|
| ~fft_t () |
|
void | wave2spec (const mha_wave_t *, mha_spec_t *, bool swap) |
| fast fourier transform. More...
|
|
void | spec2wave (const mha_spec_t *, mha_wave_t *) |
|
void | spec2wave (const mha_spec_t *, mha_wave_t *, unsigned int offset) |
| wave may have fewer number of frames than needed for a complete iFFT. More...
|
|
void | forward (mha_spec_t *sIn, mha_spec_t *sOut) |
|
void | backward (mha_spec_t *sIn, mha_spec_t *sOut) |
|
void | wave2spec_scale (const mha_wave_t *, mha_spec_t *, bool swap) |
|
void | spec2wave_scale (const mha_spec_t *, mha_wave_t *) |
|
void | forward_scale (mha_spec_t *sIn, mha_spec_t *sOut) |
|
void | backward_scale (mha_spec_t *sIn, mha_spec_t *sOut) |
|
◆ fft_t()
MHASignal::fft_t::fft_t |
( |
const unsigned int & |
n | ) |
|
◆ ~fft_t()
MHASignal::fft_t::~fft_t |
( |
| ) |
|
◆ wave2spec()
fast fourier transform.
if swap is set, the buffer halfes of the wave signal are exchanged before computing the fft.
◆ spec2wave() [1/2]
◆ spec2wave() [2/2]
void MHASignal::fft_t::spec2wave |
( |
const mha_spec_t * |
spec, |
|
|
mha_wave_t * |
wave, |
|
|
unsigned int |
offset |
|
) |
| |
wave may have fewer number of frames than needed for a complete iFFT.
Only as many frames are written into wave as fit, starting with offset offset of the complete iFFT.
◆ forward()
◆ backward()
◆ wave2spec_scale()
◆ spec2wave_scale()
◆ forward_scale()
◆ backward_scale()
◆ sort_fftw2spec()
void MHASignal::fft_t::sort_fftw2spec |
( |
fftw_real * |
s_fftw, |
|
|
mha_spec_t * |
s_spec, |
|
|
unsigned int |
ch |
|
) |
| |
|
private |
Arrange the order of an fftw spectrum to the internal order.
The fftw spectrum is arranged [r0 r1 r2 ... rn-1 in in-1 ... i1], while the interal order is [r0 – r1 i1 r2 i2 ... rn-1 in-1 rn –].
◆ sort_spec2fftw()
void MHASignal::fft_t::sort_spec2fftw |
( |
fftw_real * |
s_fftw, |
|
|
const mha_spec_t * |
s_spec, |
|
|
unsigned int |
ch |
|
) |
| |
|
private |
Arrange the order of an internal spectrum to the fftw order.
◆ nfft
unsigned int MHASignal::fft_t::nfft |
|
private |
◆ n_re
unsigned int MHASignal::fft_t::n_re |
|
private |
◆ n_im
unsigned int MHASignal::fft_t::n_im |
|
private |
◆ scale
◆ buf_in
◆ buf_out
◆ fftw_plan_wave2spec
rfftw_plan MHASignal::fft_t::fftw_plan_wave2spec |
|
private |
◆ fftw_plan_spec2wave
rfftw_plan MHASignal::fft_t::fftw_plan_spec2wave |
|
private |
◆ fftw_plan_fft
fftw_plan MHASignal::fft_t::fftw_plan_fft |
|
private |
◆ fftw_plan_ifft
fftw_plan MHASignal::fft_t::fftw_plan_ifft |
|
private |
The documentation for this class was generated from the following files: