diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index 9d56bbd..cc9368d 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -122,6 +122,9 @@ function playBeep(frequency, duration, type = 'sine') { try { const ctx = getAudioContext() + if (ctx.state === 'suspended') { + ctx.resume() + } const oscillator = ctx.createOscillator() const gainNode = ctx.createGain()