|
Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
|
Go to the source code of this file.
Data Structures | |
| struct | dft32_data |
Macros | |
| #define | APPROX_NORM 1 |
| #define | OCTAVES 5 |
| #define | FIX_B_PER_O 24 |
| #define | FIX_BINS (FIX_B_PER_O * OCTAVES) |
| #define | BIN_CYCLE (1 << OCTAVES) |
| #define | DFT_IIR 6 |
Functions | |
| 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. | |
| void | UpdateOutputBins32 (dft32_data *dd) |
| TODO. | |
| struct dft32_data |
| Data Fields | ||
|---|---|---|
| uint16_t | embeddedBins32[FIX_BINS] | |
| uint8_t | sDoneFirstRun | |
| uint16_t | sDatSpace32A[FIX_BINS *2] | |
| int32_t | sDatSpace32B[FIX_BINS *2] | |
| int32_t | sDatSpace32BOut[FIX_BINS *2] | |
| uint8_t | Sdo_this_octave[BIN_CYCLE] | |
| int32_t | sAccum_octave_bins[OCTAVES] | |
| uint8_t | sWhichOctavePlace | |
| uint16_t | embeddedBins[FIX_BINS] | |
| #define APPROX_NORM 1 |
| #define OCTAVES 5 |
| #define FIX_B_PER_O 24 |
| #define FIX_BINS (FIX_B_PER_O * OCTAVES) |
| #define BIN_CYCLE (1 << OCTAVES) |
| #define DFT_IIR 6 |
| int SetupDFTProgressive32 | ( | dft32_data * | dd | ) |
TODO.
| dd |
| void UpdateBins32 | ( | dft32_data * | dd, |
| const uint16_t * | frequencies ) |
TODO.
| dd | |
| frequencies |
| void PushSample32 | ( | dft32_data * | dd, |
| int16_t | dat ) |
TODO.
| dd | |
| dat |
| void UpdateOutputBins32 | ( | dft32_data * | dd | ) |
TODO.
| dd |