diff --git a/dist/index.html b/dist/index.html index c1061ac..321454a 100644 --- a/dist/index.html +++ b/dist/index.html @@ -395,7 +395,7 @@ function stopRecording() { // ---------- Воспроизведение (с обрезкой тишины) ---------- async function playTrimmed(blob) { const t = await trimSilence(blob); - const ctx = getAudioCtx(); + const ctx = await getAudioCtx(); let buf; if (t) { const offline = new OfflineAudioContext(1, t.data.length, t.sr); @@ -744,7 +744,7 @@ async function doCompare(blob, originalText, duration) {