![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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:
- 2:9c0a83c5ded5
- Child:
- 3:c672e782f19b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/strings/strings.h Sun Apr 15 00:37:37 2012 +0000 @@ -0,0 +1,18 @@ +#pragma once +#include <string> + +class strings +{ +public: + strings(int string_num); + ~strings(void); + + void inc_index(); + std::string get_note(); + float get_freq(); + +private: + float frequencies[9]; + std::string notes [9]; + int index; +};