Hi,
I am trying to use the Bing TTS engine (and the new Azure Speech service) but I was not able to figure out how to set the parameters in the mycroft.conf file. Microsoft documentation says that I need to set the following parameters (in addtion to the API key “Ocp-Apim-Subscription-Key” which I allready have):
POST /synthesize
HTTP/1.1
Host: speech.platform.bing.com
X-Microsoft-OutputFormat: riff-8khz-8bit-mono-mulaw
Content-Type: application/ssml+xml
Host: speech.platform.bing.com
Content-Length: 197
Authorization: Bearer [Base64 access_token]
<speak version='1.0' xml:lang='en-US'><voice xml:lang='en-US' xml:gender='Female' name='Microsoft Server Speech Text to Speech Voice (en-US, ZiraRUS)'>Microsoft Bing Voice Output API</voice></speak>
I am not sure how to add these settings in mycroft.conf using the following format:
{
“tts”: {
“module”: “bing”, <- this should be set to the name of your TTS provider (ie "google_cloud", "wit" etc)
“bing”: { <- this should be set to the name of your TTS provider (ie "google_cloud", "wit" etc)
“lang”: “en-US”, <- the IETF BCP-47 language code for your language (shown is Hindi as spoken in India)
“credential”: { <- some STT engines require credentials - check the documentation for the STT engine
“json”: {
}
}
}
}
Thanks in advance.
Abdulrahman