A program to automatically tune a guitar. Written by Justin Reidhead and Steven Swenson
Dependencies: FFT FrequencyFinder Motor NewTextLCD PinDetect mbed strings
Diff: strings/strings.h
- Revision:
- 15:bb2bc286f44b
- Parent:
- 14:fd59e7acf2e5
diff -r fd59e7acf2e5 -r bb2bc286f44b strings/strings.h --- a/strings/strings.h Thu Apr 26 22:20:53 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -#pragma once -#include "string" - -class strings -{ -public: - strings(int string_num); - strings(); - ~strings(void); - - void inc_index(); - void reset_index(); - char* get_note(); - float get_freq(); - - protected: - void set_values(int string_num); - -private: - float frequencies[9]; - char *notes [9]; - int index; - float threshold[6]; -};