From 1a802596e342f97c5bb526fc041534b18d0616fb Mon Sep 17 00:00:00 2001 From: kim Date: Mon, 19 Oct 2026 23:46:46 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=8C=EC=84=B1=20=EB=82=AD=EB=8F=85:=20?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=EB=A6=AC=EB=B0=8D=20=EC=A4=91=20'107.'?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EB=AC=B8=EC=9E=A5=EC=9D=84=20=EC=9E=98?= =?UTF-8?q?=EB=9D=BC=20=EC=86=8C=EC=88=98=EC=A0=90=C2=B7=EC=95=9E=EC=9E=90?= =?UTF-8?q?=EB=A6=AC=EA=B0=80=20=EB=B9=A0=EC=A7=80=EB=8D=98=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 --- web-ui/js/voice/voice-call.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web-ui/js/voice/voice-call.js b/web-ui/js/voice/voice-call.js index 4bd21fa..9684baf 100644 --- a/web-ui/js/voice/voice-call.js +++ b/web-ui/js/voice/voice-call.js @@ -606,6 +606,10 @@ // half mid-decimal into two separate TTS calls (found 2026-07-10 while // debugging why weather readouts sounded choppy). if (text[i] === '.' && /\d/.test(text[i - 1] || '') && /\d/.test(text[i + 1] || '')) continue; + // 스트리밍으로 "107." 까지만 도착한 순간엔 다음 글자를 아직 모른다 — 그대로 문장 끝으로 자르면 "107"과 "11달러"가 + // 따로 읽혀 소수점·앞자리가 사라진다(2026-10-19 "소숫점 앞의 숫자가 빠진다"). 숫자 뒤 마침표가 버퍼 끝이면 더 받을 때까지 둔다. + // 턴이 끝나면 남은 꼬리는 별도로 낭독된다(finalText 경로). + if (text[i] === '.' && /\d/.test(text[i - 1] || '') && i === text.length - 1) break; if (/[.!?\n]/.test(text[i])) { const boundaryChar = text[i]; let j = i + 1;