Specify a default voice in the config for each language. If not specified, the first voice in the list of available voices could be used. Voice should always be sent in Speechoid requests.
Outdated description
With T257659: add language and voice to wikispeech-server output Speechoid will start returning the voice used for synthesis. This is needed in the case where the default voice is used and the Wikispeech-extension therefore does not have knowledge of that.
The scope of this task is to:
- Use this part of the response to set the voice used in UtteranceStore. This response should be used even if a voice was set, in case Speechoid starts aliasing voices in the future.
- Drop the associated hack in gerrit:607285
- Consider if logging is suitable if the returned voice does not match the requested voice OR the returned voice is not in the list of selectable voices
- Figure out how a lookup can be done against UtteranceStore when using the default voice.