This commit is contained in:
2024-08-07 09:16:27 -04:00
parent fdfadd5c7e
commit 5f971cf684
5200 changed files with 731717 additions and 0 deletions

43
guitar/Tuning.hpp Normal file
View File

@@ -0,0 +1,43 @@
#ifndef _GUITAR_TUNING_HPP_
#define _GUITAR_TUNING_HPP_
#ifndef _MUSIC_NOTES_HPP_
#include <music/notes.hpp>
#endif
class Tuning : public Notes
{
public:
enum {StandardTuningStrings=6,Delay=1000};
Tuning();
virtual ~Tuning();
int getStrings(void)const;
void setStrings(int strings);
void setStandardTuning(void);
protected:
virtual int getDelay(void)const;
private:
};
inline
Tuning::Tuning()
{
setStandardTuning();
}
inline
Tuning::~Tuning()
{
}
inline
int Tuning::getStrings(void)const
{
return size();
}
inline
void Tuning::setStrings(int strings)
{
size(strings);
}
#endif