Hey everyone,<br>I'm trying to get an answer to this question, since I am on a "can we have that yesterday" timetable to get this site up. Hope someone can help me!!<br><br>I'm trying to write a Javascript function that will play a succession of notes using Beatnik. The pitch of the notes is computed from variable (pc) passed to the function as arguments. My problem is timing the notes. In my current version (see below) the notes play simultaneously. I tried nesting a function call for the playNote statement as the first argument to the setTimeout functions, but then notes still play all together.<br><br>So what I want to do is play each note in succession with a specific delay in between notes. Any suggestions?<br><br>function playline (pc1, pc2, pc3) {<br>pitch1 = pc1 + 60<br>pitch2 = pc2 + 60<br>pitch3 = pc3 + 60<br><br>notePlayer.playNote (1,0,24,pitch1,127,1000)<br> setTimeout("",1000)<br>notePlayer.playNote (1,0,24,pitch2,127,1000)<br> setTimeout("",2000)<br>notePlayer.playNote (1,0,24,pitch3,127,1000)<br>;<br>}<br>I hope that makes sense! Thanks <br>