Initial
This commit is contained in:
20
guitar/Tuning.cpp
Normal file
20
guitar/Tuning.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include <guitar/tuning.hpp>
|
||||
#include <midiseq/midiout.hpp>
|
||||
|
||||
void Tuning::setStandardTuning(void)
|
||||
{
|
||||
size(StandardTuningStrings);
|
||||
operator[](0)=Note(Note::E,3);
|
||||
operator[](1)=Note(Note::A,3);
|
||||
operator[](2)=Note(Note::D,4);
|
||||
operator[](3)=Note(Note::G,4);
|
||||
operator[](4)=Note(Note::B,4);
|
||||
operator[](5)=Note(Note::E,operator[](4).getOctave()+1);
|
||||
}
|
||||
|
||||
// virtuals
|
||||
|
||||
int Tuning::getDelay(void)const
|
||||
{
|
||||
return Delay;
|
||||
}
|
||||
Reference in New Issue
Block a user