A program to automatically tune a guitar. Written by Justin Reidhead and Steven Swenson
Dependencies: FFT FrequencyFinder Motor NewTextLCD PinDetect mbed strings
strings/strings.h@4:e370f322a697, 2012-04-16 (annotated)
- Committer:
- melangeaddict
- Date:
- Mon Apr 16 23:17:49 2012 +0000
- Revision:
- 4:e370f322a697
- Parent:
- 3:c672e782f19b
- Child:
- 5:c0fd99f07536
Menus are working
Who changed what in which revision?
User | Revision | Line number | New 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 | 4:e370f322a697 | 12 | char* get_note(); |
melangeaddict | 2:9c0a83c5ded5 | 13 | float get_freq(); |
melangeaddict | 3:c672e782f19b | 14 | |
melangeaddict | 3:c672e782f19b | 15 | protected: |
melangeaddict | 3:c672e782f19b | 16 | void set_values(int string_num); |
melangeaddict | 2:9c0a83c5ded5 | 17 | |
melangeaddict | 2:9c0a83c5ded5 | 18 | private: |
melangeaddict | 2:9c0a83c5ded5 | 19 | float frequencies[9]; |
melangeaddict | 4:e370f322a697 | 20 | char *notes [9]; |
melangeaddict | 2:9c0a83c5ded5 | 21 | int index; |
melangeaddict | 2:9c0a83c5ded5 | 22 | }; |