please note this is in code.org, so code is slightly different, but it's still javascript. I keep getting this message from this portion of code, and don't quite understand.
var ii = 0;
  while (ii < 4) { 
  setTimeout(callback(ii), 1000);
  ii++;
}
});
function callback(t) { 
  playSound(("key0"+(allnotelist[t]+1))+".mp3",false); 
}
Message in question: setTimeout() callback parameter value (undefined) is not a function
 
     
    