10 Commits

Author SHA1 Message Date
Bingxi Zhao (Frank)
aed708a0bf feat: read elementary math in Chinese for Chinese speech (#3077) 2026-12-02 05:28:06 -05:00
Andrew Chen
da9f65b6b3 fix(voice): speak \top and \intercal superscripts as transpose (#2828) 2026-12-01 14:08:38 +08:00
windyovo
f9100e979d feat(voice): read elementary math aloud in Chinese 2026-11-29 20:23:45 +08:00
Bingxi Zhao (Frank)
ca5acd0b86 Merge #2342 from rudycelekli 2026-11-06 01:56:24 +08:00
Rudy Celekli
604c835cc3 fix(voice): read an escaped percent in math as "percent"
_drop_unknown_commands discarded both characters of "\%" because no
branch matched "%", so "$10\%$" spoke as " 10 " and dropped the percent.
Since a bare % starts a TeX comment, \% is the normal spelling of a
percentage; read it as "percent" instead of dropping it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-01 23:50:24 -05:00
Rudy Celekli
d4a051bded fix(voice): speak a \circ superscript as degrees
A \circ written as a superscript is the degree sign (90^\circ), but the
math verbalizer mapped \circ to "compose" before handling the ^ script,
so "$90^\circ$" spoke as " 90 to the c ompose " instead of "90 degrees".
Rewrite a superscript \circ to "degrees" before the operator pass; a
composition operand (f \circ g) still speaks as "compose".

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-01 23:45:09 -05:00
Rudy Celekli
0a62b3b97c fix(voice): preserve TeX limit meaning in either script order
Read lower and upper bounds independently of their TeX order and consume the optional limits placement command before verbalizing them.

AI-assisted: implementation and regression tests prepared and validated with OpenAI Codex. Maintainer review is pending.
2026-10-30 23:18:20 -04:00
Bingxi Zhao (Frank)
a3c76c9d27 fix(voice): preserve math and isolate reply playback lifecycle 2026-10-04 15:13:14 +08:00
Bingxi Zhao (Frank)
46cd815392 Fix TTS math prose handling around Windows paths 2026-09-23 10:41:33 +08:00
Anthony
044c0e7598 feat(voice): verbalize LaTeX in TTS with a Math speak setting
Always strip dollar-sign math delimiters so the voice model never says dollar. When Math speak is on (default), also convert fractions, powers, Greek, and common operators into spoken words. Settings > Voice exposes the toggle; the server applies it on every /tts call.
2026-09-20 11:57:05 -07:00