21 lines
417 B
C++
21 lines
417 B
C++
#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;
|
|
}
|