Skip to content

Read the spoken replies 20% faster - #129

Merged
andreisavu merged 2 commits into
mainfrom
claude/project-thread-f9yr6b
Oct 8, 2026
Merged

andreisavu merged 2 commits into
mainfrom
claude/project-thread-f9yr6b

Conversation

@andreisavu

Copy link
Copy Markdown
Contributor

Requested by Andrei · project thread

Before: Kokoro reads the spoken replies at the speed of the model.

After: Kokoro reads them 20% faster, at the same pitch.

How: the terminal sends speed: 1.2 in each request to the OpenAI speech route of koko. Kokoros reads speed from the request body in server mode (the --speed flag applies only to the file modes). Kokoro changes the duration of the speech in the model, so the pitch stays the same. The constant SPEECH_SPEED in src/terminal/app/kokoro-server.ts sets it. The server test checks the request body, and docs/terminal.md names the speed.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Cv8bXeZyEpECL4GPnnMdot


Generated by Claude Code

The terminal asks Kokoros for speed 1.2. Kokoro makes the speech shorter
at the same pitch. The constant SPEECH_SPEED sets the speed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cv8bXeZyEpECL4GPnnMdot
@andreisavu andreisavu self-assigned this Oct 8, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cv8bXeZyEpECL4GPnnMdot
@andreisavu
andreisavu merged commit 1717f88 into main Oct 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants