javascript Programming Glossary: playnote
Calling functions with setTimeout() http://stackoverflow.com/questions/3800512/calling-functions-with-settimeout with setTimeout Simply put... why does setTimeout 'playNote ' currentaudio.id ' ' noteTime ' ' delay work perfectly calling.. the function after the the specified delay but setTimeout playNote currentaudio.id noteTime delay calls the function playNote all.. playNote currentaudio.id noteTime delay calls the function playNote all at the same time these setTimeout s are in a for loop or..
|