13 #define FFT_SIZE 256 //256, 512 or 1024, nothing else, just 256 supported 14 #define FFT_SAMPLES (2*FFT_SIZE) 16 #define FFT_Y_BORDER 0 17 #define FFT_Y_BORDER_TOP 70 18 #define FFT_X_WIDTH 20 19 #define FFT_X_W_RECT (FFT_X_WIDTH-3) 20 #define FFT_X_START 20 22 #define X_STEPS 7 //for line and point graph 24 #define FFT_BIN_SKIP 0 //0..10 : how many low freq. bins to skip for higher resolution on higher freq. 25 #define FFT_DISP_TYPE 2 //0..2 : 0 = bars, 1 = points, 2 = lines - 1: points, it the fastest way 27 #define COLOR_INACTIVE LCD_COLOR_BLACK 28 #define COLOR_LEFT LCD_COLOR_YELLOW 29 #define COLOR_RIGHT LCD_COLOR_GREEN float float32_t
32-bit floating-point type definition.
int32_t FFT_Filter(int ch)
void FFT_DisplayGraph(int ch)
Display the FFT, depending on the barType - which type we want to display.
int32_t FFT_Ready(float32_t **result, int *numResults)