Update Web/script.js
Browse files- Web/script.js +1 -1
Web/script.js
CHANGED
|
@@ -38,7 +38,7 @@ function startRecording() {
|
|
| 38 |
navigator.mediaDevices.getUserMedia({ audio: true }).then(function (stream) {
|
| 39 |
audioContext = new (window.AudioContext || window.webkitAudioContext)();
|
| 40 |
document.getElementById("formats").innerText =
|
| 41 |
-
"Sample rate: " + audioContext.sampleRate + " Hz
|
| 42 |
|
| 43 |
gumStream = stream;
|
| 44 |
input = audioContext.createMediaStreamSource(stream);
|
|
|
|
| 38 |
navigator.mediaDevices.getUserMedia({ audio: true }).then(function (stream) {
|
| 39 |
audioContext = new (window.AudioContext || window.webkitAudioContext)();
|
| 40 |
document.getElementById("formats").innerText =
|
| 41 |
+
"Sample rate: " + audioContext.sampleRate + " Hz";
|
| 42 |
|
| 43 |
gumStream = stream;
|
| 44 |
input = audioContext.createMediaStreamSource(stream);
|