Repository navigation
OpenSAPI4 v0.1.0
The first release of OpenSAPI4: the Microsoft Speech API 4 voices (Sam, Mike, Mary and their 16 variants) in Go, identical to the original in every sample and event, on Windows, Linux and macOS.
Download
Get the archive for your system, unpack it, and run the programs from its folder. They need nothing installed; keep the voices folder next to them.
| System | Archive |
|---|---|
| Windows | windows-x64, windows-x86 (32-bit), windows-arm64 |
| Linux | linux-x64, linux-arm64, linux-armv7 (such as a Raspberry Pi with a 32-bit system) |
| macOS | macos-arm64 (Apple silicon), macos-x64 (Intel) |
The programs aren't signed. On macOS, allow them once with xattr -dr com.apple.quarantine <the unpacked folder>. On Windows, SmartScreen may ask the first time.
opensapi4-voices-v0.1.0.zip has only the voice data, for programs that use the Go package. SHA256SUMS lists every file's SHA-256.
In this release
opensapi4 speak: speaks a text into a WAV file, with flags or a JSON request.opensapi4 voices: lists the voices with their pitch and speed ranges.opensapi4 stream: speaks JSON requests from standard input and sends audio and events (words, bookmarks, mouth shapes) as JSON messages.opensapi4 serve: speaks over HTTP, with a page to try the voices athttp://127.0.0.1:5040.sapi4outandsapi4limits: drop-in replacements for the tools of TETYYS/SAPI4.
Everything is in docs/command-line.md. The L&H TruVoice voices aren't in this release yet.