home RPC:

uRPC micro Remote Procedure Calls - 0.97

» news | search | translate
Email Facebook Linkedin Pinterest Reddit Telegram Tumblr Whatsapp X

speak

 does Text To Speech.

Output: WAV mono 8 bit 8 KHz.
The generated audio is stored at a publicly accessible URL, no authentication required.
The URL is provided in this HTTP response header
X-Location
On a microcontroller, you can send audio to a speaker by skipping the WAV header (first 44 bytes). The remaining data is raw unsigned 8-bit PCM samples, suitable for direct output via DAC, PWM, or I2S.

Arguments:
input                 text (UTF-8), max 100 characters
algo                  language: en_GB en_US de es fr it (ask me for others)

Example:
https://saltlake71.eu/urpc?function=speak&algo=en_GB&input=the+dude+abides