Whistle detection program made with HTML5 WebAudio API