#ifndef _EMBEDDEDNF_H #define _EMBEDDEDNF_H #include "dft.h" #define DFREQ 8000 #define BASE_FREQ 55.0 // You may make this a float. //The higher the number the slackier your FFT will be come. #define FUZZ_IIR_BITS 1 //Notes are the individually identifiable notes we receive from the sound. //We track up to this many at one time. Just because a note may appear to //vaporize in one frame doesn't mean it is annihilated immediately. #define MAXNOTES 10 //Determines bit shifts for where notes lie. We represent notes with an uint8_t //We have to define all of the possible locations on the note line in this. //note_frequency = 0..((1<