Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
|
Go to the source code of this file.
Data Structures | |
struct | embeddedNf_data |
Macros | |
#define | USE_32DFT |
#define | BASE_FREQ 55.0 |
#define | FUZZ_IIR_BITS 1 |
#define | MAX_NOTES 12 |
#define | FILTER_BLUR_PASSES 2 |
#define | SEMI_BITS_PER_BIN 3 |
#define | NOTE_RANGE ((1 << SEMI_BITS_PER_BIN) * FIX_B_PER_O) |
#define | MAX_JUMP_DISTANCE 4 |
#define | MAX_COMBINE_DISTANCE 7 |
#define | AMP_1_IIR_BITS 4 |
#define | AMP_2_IIR_BITS 2 |
#define | MIN_AMP_FOR_NOTE 80 |
#define | MINIMUM_AMP_FOR_NOTE_TO_DISAPPEAR 64 |
#define | PRECOMPUTE_FREQUENCY_TABLE |
Functions | |
void | UpdateFrequencies (dft32_data *dd) |
TODO. | |
void | HandleFrameInfo (embeddedNf_data *ed, dft32_data *dd) |
TODO. | |
void | InitColorChord (embeddedNf_data *ed, dft32_data *dd) |
struct embeddedNf_data |
#define USE_32DFT |
#define BASE_FREQ 55.0 |
#define FUZZ_IIR_BITS 1 |
#define MAX_NOTES 12 |
#define FILTER_BLUR_PASSES 2 |
#define SEMI_BITS_PER_BIN 3 |
#define NOTE_RANGE ((1 << SEMI_BITS_PER_BIN) * FIX_B_PER_O) |
#define MAX_JUMP_DISTANCE 4 |
#define MAX_COMBINE_DISTANCE 7 |
#define AMP_1_IIR_BITS 4 |
#define AMP_2_IIR_BITS 2 |
#define MIN_AMP_FOR_NOTE 80 |
#define MINIMUM_AMP_FOR_NOTE_TO_DISAPPEAR 64 |
#define PRECOMPUTE_FREQUENCY_TABLE |
void UpdateFrequencies | ( | dft32_data * | dd | ) |
TODO.
dd |
void HandleFrameInfo | ( | embeddedNf_data * | ed, |
dft32_data * | dd ) |
TODO.
ed | |
dd |
void InitColorChord | ( | embeddedNf_data * | ed, |
dft32_data * | dd ) |