% Plays A440 and then plays the % guitar notes E A D G B E in order. % Change the "dur" variable to make % the notes change faster or slower. % Uses functions "note.m" which in % turn uses subfunction "sumcos.m" % % Colin Joye, Las Edit: 6/14/03 fs = 11025; dur = 2; A440 = note(49,dur); E = note(32,dur); A = note(37,dur); D = note(42,dur); G = note(47,dur); B = note(51,dur); E2= note(56,dur); S = [A440 E A D G B E2]/2; sound (S , fs);