This commit is contained in:
2025-07-14 22:52:15 +03:00
parent f1343ea200
commit 96de65cde0
9 changed files with 174 additions and 25 deletions

12
src/fft.h Normal file
View File

@ -0,0 +1,12 @@
#pragma once
#include <stdlib.h>
#include <math.h>
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#define FFT_SIZE 4096
void init_hamming_window();
void compute_fft(float* time_data, float* freq_out);