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

Dependencies:   FFT FrequencyFinder Motor NewTextLCD PinDetect mbed strings

Committer:
melangeaddict
Date:
Tue Apr 17 19:46:33 2012 +0000
Revision:
5:c0fd99f07536
Parent:
4:e370f322a697
Child:
7:057bcd99a3f8
It's a trap!

Who changed what in which revision?

UserRevisionLine numberNew contents of line
melangeaddict 2:9c0a83c5ded5 1 #pragma once
melangeaddict 3:c672e782f19b 2 #include "string"
melangeaddict 2:9c0a83c5ded5 3
melangeaddict 2:9c0a83c5ded5 4 class strings
melangeaddict 2:9c0a83c5ded5 5 {
melangeaddict 2:9c0a83c5ded5 6 public:
melangeaddict 2:9c0a83c5ded5 7 strings(int string_num);
melangeaddict 3:c672e782f19b 8 strings();
melangeaddict 2:9c0a83c5ded5 9 ~strings(void);
melangeaddict 2:9c0a83c5ded5 10
melangeaddict 2:9c0a83c5ded5 11 void inc_index();
melangeaddict 5:c0fd99f07536 12 void reset_index();
melangeaddict 4:e370f322a697 13 char* get_note();
melangeaddict 2:9c0a83c5ded5 14 float get_freq();
melangeaddict 3:c672e782f19b 15
melangeaddict 3:c672e782f19b 16 protected:
melangeaddict 3:c672e782f19b 17 void set_values(int string_num);
melangeaddict 2:9c0a83c5ded5 18
melangeaddict 2:9c0a83c5ded5 19 private:
melangeaddict 2:9c0a83c5ded5 20 float frequencies[9];
melangeaddict 4:e370f322a697 21 char *notes [9];
melangeaddict 2:9c0a83c5ded5 22 int index;
melangeaddict 2:9c0a83c5ded5 23 };