Files
soothe2-re/dsp/fft_stage.hpp
T
Matiq 7dcbcf49b4 dsp/: C++ skeleton with working FFT/WOLA STFT
- Cooley-Tukey radix-2 FFT (forward + inverse with /N normalization)
- WOLA STFT/ISTFT with Hann window (nfft=2048, hop=512)
- WAV16 read + WAV24 write (fixed aliasing bug in read)
- Fixed in-place processing bug (separate input/output buffers)
- Biquad filter (peak/shelf/reject)
- Peak detector skeleton
- MS encode/decode (M8 stereo)
- Harness: WAV16 → STFT → WAV24 passthrough verified non-zero output

Verified: burst500.wav passthrough produces output RMS=0.0678
2026-08-17 11:25:35 +03:00

12 lines
317 B
C++

#pragma once
#include <cstddef>
#include <cstdint>
namespace fft_stage {
void cplx_mul(double* out, const double* in1, const double* in2, uint32_t n);
void stage_complex(double* out, const double* in, const double* tw, uint32_t n);
void stage_double(double* out, const double* in, const double* tw, uint32_t n);
}