sound2 = loadSound('222.m4a');
sound3 = loadSound('333.m4a');
sound5 = loadSound('555.m4a');
sound6 = loadSound('666.m4a');
sound7 = loadSound('777.m4a');
sound11 = loadSound('111111.m4a');
sound22 = loadSound('222222.m4a');
sound33 = loadSound('333333.m4a');
createCanvas(windowWidth, windowHeight);
text('play the flute with the notes (e.g.) and type any key when done', windowWidth/2, windowHeight/2-100);
text('3 5 6, 11 7, 11 7 6, 5 3, 2, 3 5 6, 22 33 11, 22 11 7, 11 7 6', windowWidth/2, windowHeight/2);
button2 = createButton('2');
button2.mousePressed(play2);
button3 = createButton('3');
button3.mousePressed(play3);
button5 = createButton('5');
button5.position(100, 0);
button5.mousePressed(play5);
button6 = createButton('6');
button6.position(150, 0);
button6.mousePressed(play6);
button7 = createButton('7');
button7.position(200, 0);
button7.mousePressed(play7);
button11 = createButton('11');
button11.position(250, 0);
button11.mousePressed(play11);
button22 = createButton('22');
button22.position(300, 0);
button22.mousePressed(play22);
button33 = createButton('33');
button33.position(350, 0);
button33.mousePressed(play33);
fill(random(75, 255),0, random(125,255));
text('What a genius!', random(windowWidth), random(windowHeight));
new p5.Speech().speak("What a genius!");