MSPM0_ValvanoWare  1.0
ECE445L starter code
Functions
DFT.h File Reference

16-point discrete fourier transform More...

#include <stdint.h>

Go to the source code of this file.

Functions

void NoiseReject_Init (void)
 Initialization of noise reject filter. More...
 
int32_t NoiseReject (int32_t x)
 removes random noise from audio signal More...
 
void DFT_Init (void)
 Initialization of discrete fourier transform. More...
 
void DFT (uint32_t i, int32_t x)
 Run DFT. More...
 
int32_t Mag1 (void)
 magnitude of the first frequency More...
 
int32_t Mag2 (void)
 magnitude of the second frequency More...
 

Detailed Description

16-point discrete fourier transform

16-point discrete fourier transform
Let the sampling rate be fs
first frequency f1 is fs/16
second frequency f2 is 2*fs/16

Author
Valvano
Warning
AS-IS
Date
July 29, 2026