setup: one-shot install.sh; docs: install, fixed-gain normalization, latency

This commit is contained in:
Fisto
2026-09-15 13:34:05 +02:00
parent e79c254e39
commit 6f131b1f9e
3 changed files with 115 additions and 22 deletions
+8 -14
View File
@@ -25,25 +25,18 @@ pure-native build, and keep a path to a fully portable engine.
## Build
Dependencies (once, as root):
Everything in one command (idempotent; sudo only for system packages):
sudo setup/install-deps.sh
setup/install.sh
Runtime + MSTTS voices (once):
Manual steps, if needed:
setup/setup-prefix.sh
Flextalk voices (once; needs the extracted installer, see `docs/NOTES.md`):
setup/setup-flextalk.sh
Host:
# Winelib (native ELF + launcher): build/sapi4host-winlib.exe + .exe.so
sudo setup/install-deps.sh # Wine/Winelib/helpers
setup/setup-prefix.sh # prefix + SAPI4 runtime + MSTTS voices
setup/setup-flextalk.sh # Flextalk extraction + registry
# host build:
winegcc -m32 -O2 -o build/sapi4host-winlib host/sapi4host.c -I../reference \
-lole32 -luser32 -ladvapi32
# PE fallback (runs under wine):
i686-w64-mingw32-gcc -O2 -static -o build/sapi4host.exe host/sapi4host.c \
-I../reference -lole32 -luser32 -ladvapi32 -luuid
@@ -70,6 +63,7 @@ which the setup script writes). Mapping details are in `docs/TTS-DESIGN.md`.
## Layout
- `host/sapi4host.c` — host: voice select, pitch/speed, text -> WAV
- `setup/install.sh` — one-shot installer (runs all steps below)
- `setup/install-deps.sh` — Wine/Winelib/helpers (root)
- `setup/setup-prefix.sh` — prefix + SAPI4 runtime + MSTTS engine/voices
- `setup/setup-flextalk.sh` — Flextalk files + registry