Spaces:
Running
Running
SamiKoen commited on
Commit ·
24bc478
1
Parent(s): a75578d
Revert "Log AudioContext sample rate for mobile diagnosis"
Browse files- static/index.html +0 -1
static/index.html
CHANGED
|
@@ -358,7 +358,6 @@ async function connect() {
|
|
| 358 |
|
| 359 |
playbackCtx = new (window.AudioContext || window.webkitAudioContext)({ sampleRate: SAMPLE_RATE });
|
| 360 |
playbackTime = playbackCtx.currentTime;
|
| 361 |
-
console.log('[audio] requested rate:', SAMPLE_RATE, '— actual playbackCtx.sampleRate:', playbackCtx.sampleRate, '— mic audioCtx.sampleRate:', audioCtx.sampleRate, '— UA:', navigator.userAgent);
|
| 362 |
analyser = playbackCtx.createAnalyser();
|
| 363 |
analyser.fftSize = 1024;
|
| 364 |
analyser.smoothingTimeConstant = 0.55;
|
|
|
|
| 358 |
|
| 359 |
playbackCtx = new (window.AudioContext || window.webkitAudioContext)({ sampleRate: SAMPLE_RATE });
|
| 360 |
playbackTime = playbackCtx.currentTime;
|
|
|
|
| 361 |
analyser = playbackCtx.createAnalyser();
|
| 362 |
analyser.fftSize = 1024;
|
| 363 |
analyser.smoothingTimeConstant = 0.55;
|