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

Committer:
melangeaddict
Date:
2012-04-15
Revision:
2:9c0a83c5ded5
Child:
3:c672e782f19b

File content as of revision 2:9c0a83c5ded5:

#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;
};