);
                });
            }

            inputSourceMicrophoneRadio.addEventListener("click", function () {
                enumerateMicrophones();
                document.getElementById('inputSourceChooseFileButton').disabled = true;
                audioFile = undefined;
                document.getElementById('inputSourceFileLabel').innerHTML = "Audio file";
            });

            inputSourceFileRadio.addEventListener("click", function() {
                document.getElementById('inputSou