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

Macros

#define PCOMP(f)   (uint16_t)((65536.0) / (D_FREQ) * (f * BASE_FREQ) * 16 + 0.5)
 

Functions

void UpdateFrequencies (dft32_data *dd)
 TODO.
 
void InitColorChord (embeddedNf_data *ed, dft32_data *dd)
 
void HandleFrameInfo (embeddedNf_data *ed, dft32_data *dd)
 TODO.
 

Macro Definition Documentation

◆ PCOMP

#define PCOMP ( f)    (uint16_t)((65536.0) / (D_FREQ) * (f * BASE_FREQ) * 16 + 0.5)

Function Documentation

◆ UpdateFrequencies()

void UpdateFrequencies ( dft32_data * dd)

TODO.

Parameters
dd

◆ InitColorChord()

void InitColorChord ( embeddedNf_data * ed,
dft32_data * dd )

◆ HandleFrameInfo()

void HandleFrameInfo ( embeddedNf_data * ed,
dft32_data * dd )

TODO.

Parameters
ed
dd