Note Hz microseconds
C 523.25 1911
C# 554.37 1803
D 587.33 1702
D# 622.25 1607
E 659.26 1516
F 698.46 1431
F# 739.99 1351
G 783.99 1275
G# 830.61 1203
A 880 1136
A# 932.33 1072
B 987.77 1012
C 1046.5 955
And to make sure that I kept note lengths even, I made a little
function to run my for loop for the appropriate amount of time. I
don't have it in front of me but if you'd like I can post it later on.
-MikeG
int speakerOut = 9;or
to
int speakerOut = 3;
for your setup