TinyModem
Header-only software audio modem library
Loading...
Searching...
No Matches
tinymodem::SimpleFFT Class Reference

Radix 2 complex FFT with a precomputed twiddle table. More...

#include <DSPUtils.h>

Public Member Functions

bool begin (int size)
void process (float *re, float *im)
 In place forward transform.
int size () const

Protected Attributes

int len = 0
audio_tools::Vector< float > cos_table
audio_tools::Vector< float > sin_table

Detailed Description

Radix 2 complex FFT with a precomputed twiddle table.

Member Function Documentation

◆ begin()

bool tinymodem::SimpleFFT::begin ( int size)
inline

◆ process()

void tinymodem::SimpleFFT::process ( float * re,
float * im )
inline

In place forward transform.

◆ size()

int tinymodem::SimpleFFT::size ( ) const
inline

Member Data Documentation

◆ cos_table

audio_tools::Vector<float> tinymodem::SimpleFFT::cos_table
protected

◆ len

int tinymodem::SimpleFFT::len = 0
protected

◆ sin_table

audio_tools::Vector<float> tinymodem::SimpleFFT::sin_table
protected

The documentation for this class was generated from the following file: