From 7b350d368345335afb5bed249c9d5ff96af64798 Mon Sep 17 00:00:00 2001 From: nmemmert Date: Tue, 23 Jun 2026 08:12:59 -0400 Subject: [PATCH] Fix audio click at end of speech synthesis Append trailing spaces so the audio session stays open briefly before closing, preventing the hardware click/pop on webkit/macOS. Co-Authored-By: Claude Sonnet 4.6 --- src/App.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.jsx b/src/App.jsx index bc98c15..5551e46 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1166,7 +1166,7 @@ const App = () => { if (!window.speechSynthesis) return; window.speechSynthesis.cancel(); const lang = strongsNum?.startsWith('H') ? 'he-IL' : 'el-GR'; - const utt = new SpeechSynthesisUtterance(word); + const utt = new SpeechSynthesisUtterance(word + '   '); utt.lang = lang; // prefer a matching voice if available const voices = window.speechSynthesis.getVoices();