@d-healey @Natan The problem continues even today. If we declare the event as undefined it works perfectly. Would there be a problem with this trick?
audioFile.setContentCallback(function(event)
{
if (!isDefined(event))
{
var rootNote = AudioLoopPlayer1.getAttribute(AudioLoopPlayer1.RootNote);
knbRoot.setValue(rootNote);
}
});
Or to be even safer, remove the condition (works as well):
audioFile.setContentCallback(function(event)
{
var rootNote = AudioLoopPlayer1.getAttribute(AudioLoopPlayer1.RootNote);
knbRoot.setValue(rootNote);
});
Oh and the pitch detector seems to be working now (at least with my samples)