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

Dependencies:   FFT FrequencyFinder Motor NewTextLCD PinDetect mbed strings

Revision:
8:651fbf5ae98a
Parent:
2:9c0a83c5ded5
Child:
9:2a211133e79a
diff -r 057bcd99a3f8 -r 651fbf5ae98a FrequencyFinder/FrequencyFinder.cpp
--- a/FrequencyFinder/FrequencyFinder.cpp	Fri Apr 20 17:28:27 2012 +0000
+++ b/FrequencyFinder/FrequencyFinder.cpp	Fri Apr 20 21:27:55 2012 +0000
@@ -44,13 +44,13 @@
         if (j<100)
             signal_array[j]=0;
         else if (j<400)
-            signal_array[j]=signal_array[j]*2;
+            signal_array[j]=signal_array[j]*5;
         else if (j<600)
-            signal_array[j]=signal_array[j]*3;
+            signal_array[j]=signal_array[j]*6;
         else if (j<800)
-            signal_array[j]=signal_array[j]*4;
+            signal_array[j]=signal_array[j]*7;
         else
-            signal_array[j]=signal_array[j]*5;
+            signal_array[j]=signal_array[j]*8;
     }
 }