A program to automatically tune a guitar. Written by Justin Reidhead and Steven Swenson

Dependencies:   FFT FrequencyFinder Motor NewTextLCD PinDetect mbed strings

Revision:
15:bb2bc286f44b
Parent:
14:fd59e7acf2e5
--- a/FrequencyFinder/FrequencyFinder.h	Thu Apr 26 22:20:53 2012 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-#pragma once
-#include "mbed.h"
-#include "FFT.h"
-
-#include "NewTextLCD.h"
-
-using namespace std;
-
-const int size=4096;
-
-class FrequencyFinder{
-public:
-
-FrequencyFinder(PinName input);
-~FrequencyFinder();
-
-float find_frequency();
-void get_data();
-void take_abs();
-int find_peak();
-int find_max(int);
-void initialize_array();
-void copy_data();
-
-private:
-    float signal_array[size];
-    int index;
-    int peak;
-    int frequency_final;
-    
-    Ticker ticker;
-    AnalogIn _signal_in;
-    AnalogOut _dc_offset;
-   
-};
\ No newline at end of file