No description
Find a file
modeco80 d95d305734 more binding fuckery
i'm going to switch the build to clang-cl. To test, I've added EXE build support back to the speech2 C++ buildsystem and I'm going to replace the current mingw command lines for clang-cl in the next commit.

Because we only need XP SP3 compatibility, we won't need any compat library stuff, but I may still alter his libc++ fork if MSVC CRT ends up blowing too many chunks.
2024-07-19 03:59:19 -04:00
SAPIServer more binding fuckery 2024-07-19 03:59:19 -04:00
speech2 more binding fuckery 2024-07-19 03:59:19 -04:00
.clang-format add speech2 stuff 2024-07-17 21:40:14 -04:00
.editorconfig add speech2 stuff 2024-07-17 21:40:14 -04:00
.gitattributes Add .gitignore and .gitattributes. 2024-07-02 20:12:59 -04:00
.gitignore add speech2 stuff 2024-07-17 21:40:14 -04:00
Justfile more binding fuckery 2024-07-19 03:59:19 -04:00
LICENSE.txt add readme and license 2024-07-02 21:06:37 -04:00
README.md add speech2 stuff 2024-07-17 21:40:14 -04:00
SAPIServer.sln Add project files. 2024-07-02 20:13:00 -04:00

SAPIServer

Simple HTTP frontend API for Microsoft Speech API

Building

Requirements

  • .NET SDK
  • mingw-w64 toolchain built with win32 thread model (pthread won't work)

just should do the trick.

Running

Usage: SAPIServer.exe <port>

API Usage

List voices

GET /api/voices

{"voices":["LH Michael","LH Michelle","Microsoft Sam"]}

Synthesize text

POST /api/synthesize 
Content-Type: application/json

{"text":"Lorem ipsum doler sit amet...","voice":"Microsoft Sam"}

Returns synthesized TTS audio as a wave-form file.