Skip to content

Commit f5b68eb

Browse files
author
ivan-digital
committed
docs: use released speech-core Windows package
1 parent 39a208a commit f5b68eb

2 files changed

Lines changed: 20 additions & 7 deletions

File tree

docs/docs_map.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10399,6 +10399,7 @@ Do not edit it by hand; run `pnpm docs:map:gen`.
1039910399
- H2: Quick start
1040010400
- H2: Supported providers
1040110401
- H2: Configuration
10402+
- H3: Local Speech Swift and speech-core
1040210403
- H3: Per-agent voice overrides
1040310404
- H2: Personas
1040410405
- H3: Minimal persona

docs/tools/tts.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -489,11 +489,20 @@ See the [speech-core Linux CLI reference](https://github.com/soniqo/speech-core/
489489
for release packages and model-directory settings.
490490
</Tab>
491491
<Tab title="Windows CLI">
492-
The speech-core LiteRT build produces `speech_supertonic_tts.exe`, a local
493-
Supertonic TTS command. Follow the
494-
[Windows build guide](https://soniqo.audio/getting-started/windows), download
495-
the [Supertonic LiteRT bundle](https://huggingface.co/soniqo/Supertonic-3-LiteRT),
496-
and keep `libLiteRt.dll` beside the executable or on `PATH`.
492+
Download the speech-core Windows release, extract it, and install the ONNX
493+
models once:
494+
495+
```powershell
496+
$Version = "0.0.11"
497+
$Url = "https://github.com/soniqo/speech-core/releases/download/v$Version/speech-$Version-windows-x64.zip"
498+
Invoke-WebRequest $Url -OutFile speech.zip
499+
Expand-Archive speech.zip
500+
Set-Location "speech\speech-$Version-windows-x64\bin"
501+
Set-ExecutionPolicy -Scope Process Bypass
502+
.\speech_download_models.ps1
503+
```
504+
505+
Then point Local CLI at the packaged Kokoro executable:
497506

498507
```json5
499508
{
@@ -503,8 +512,8 @@ and keep `libLiteRt.dll` beside the executable or on `PATH`.
503512
provider: "tts-local-cli",
504513
providers: {
505514
"tts-local-cli": {
506-
command: "C:\\path\\to\\speech-core\\build\\Release\\speech_supertonic_tts.exe",
507-
args: ["C:\\path\\to\\Supertonic-3-LiteRT", "{{Text}}", "en", "F1", "{{OutputPath}}"],
515+
command: "C:\\path\\to\\speech-0.0.11-windows-x64\\bin\\speech_synthesize.exe",
516+
args: ["{{OutputPath}}", "{{Text}}", "en"],
508517
outputFormat: "wav",
509518
timeoutMs: 120000,
510519
},
@@ -514,6 +523,9 @@ and keep `libLiteRt.dll` beside the executable or on `PATH`.
514523
}
515524
```
516525

526+
See the [speech-core Windows CLI reference](https://github.com/soniqo/speech-core/blob/main/docs/cli.md)
527+
for the packaged server, model cache, and standalone command syntax.
528+
517529
</Tab>
518530
</Tabs>
519531

0 commit comments

Comments
 (0)