Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
Loading...
Searching...
No Matches
DFT32.c File Reference

Functions

void UpdateOutputBins32 (dft32_data *dd)
 TODO.
 
int SetupDFTProgressive32 (dft32_data *dd)
 TODO.
 
void UpdateBins32 (dft32_data *dd, const uint16_t *frequencies)
 TODO.
 
void PushSample32 (dft32_data *dd, int16_t dat)
 TODO.
 

Variables

const int16_t Ssinonlytable [256]
 

Function Documentation

◆ UpdateOutputBins32()

void UpdateOutputBins32 ( dft32_data * dd)

TODO.

Parameters
dd

◆ SetupDFTProgressive32()

int SetupDFTProgressive32 ( dft32_data * dd)

TODO.

Parameters
dd
Returns
int

◆ UpdateBins32()

void UpdateBins32 ( dft32_data * dd,
const uint16_t * frequencies )

TODO.

Parameters
dd
frequencies

◆ PushSample32()

void PushSample32 ( dft32_data * dd,
int16_t dat )

TODO.

Parameters
dd
dat

Variable Documentation

◆ Ssinonlytable

const int16_t Ssinonlytable[256]
Initial value:
= {
0, 36, 73, 110, 147, 183, 220, 256, 292, 328, 364, 400, 435, 470, 505, 539,
574, 607, 641, 674, 707, 739, 771, 802, 833, 863, 893, 922, 951, 979, 1007, 1034,
1060, 1086, 1111, 1135, 1159, 1182, 1204, 1226, 1247, 1267, 1286, 1305, 1322, 1339, 1355, 1371,
1385, 1399, 1412, 1424, 1435, 1445, 1455, 1463, 1471, 1477, 1483, 1488, 1492, 1495, 1498, 1499,
1500, 1499, 1498, 1495, 1492, 1488, 1483, 1477, 1471, 1463, 1455, 1445, 1435, 1424, 1412, 1399,
1385, 1371, 1356, 1339, 1322, 1305, 1286, 1267, 1247, 1226, 1204, 1182, 1159, 1135, 1111, 1086,
1060, 1034, 1007, 979, 951, 922, 893, 863, 833, 802, 771, 739, 707, 674, 641, 607,
574, 539, 505, 470, 435, 400, 364, 328, 292, 256, 220, 183, 147, 110, 73, 36,
0, -36, -73, -110, -146, -183, -219, -256, -292, -328, -364, -399, -435, -470, -505, -539,
-573, -607, -641, -674, -706, -739, -771, -802, -833, -863, -893, -922, -951, -979, -1007, -1034,
-1060, -1086, -1111, -1135, -1159, -1182, -1204, -1226, -1247, -1267, -1286, -1305, -1322, -1339, -1355, -1371,
-1385, -1399, -1412, -1424, -1435, -1445, -1454, -1463, -1471, -1477, -1483, -1488, -1492, -1495, -1498, -1499,
-1500, -1499, -1498, -1495, -1492, -1488, -1483, -1477, -1471, -1463, -1455, -1445, -1435, -1424, -1412, -1399,
-1385, -1371, -1356, -1339, -1322, -1305, -1286, -1267, -1247, -1226, -1204, -1182, -1159, -1135, -1111, -1086,
-1060, -1034, -1007, -979, -951, -923, -893, -863, -833, -802, -771, -739, -707, -674, -641, -608,
-574, -540, -505, -470, -435, -400, -364, -328, -292, -256, -220, -183, -147, -110, -73, -37,
}