From fe9a8af8c27d524afb1ea337cfbe43f24526b722 Mon Sep 17 00:00:00 2001 From: Elijah Date: Tue, 2 Jul 2024 21:06:37 -0400 Subject: [PATCH] add readme and license --- LICENSE.txt | 10 ++++++++++ README.md | 30 ++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 LICENSE.txt create mode 100644 README.md diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..87c9dca --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,10 @@ +Permission to use, copy, modify, and/or distribute this software for +any purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE +FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY +DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN +AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..3e51ba4 --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# SAPIServer + +Simple HTTP frontend API for Microsoft Speech API + +## Running + +``` +Usage: SAPIServer.exe +``` + +## 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. \ No newline at end of file