Add Edge TTS generic output module - #1110
Conversation
sthibaul
left a comment
There was a problem hiding this comment.
Thanks for this, just a few fixes are needed.
| @@ -0,0 +1,26 @@ | |||
| Debug 1 | |||
There was a problem hiding this comment.
Please add copyright information, like other .conf files
|
|
||
| DefaultVoice "en-US-EmmaNeural" | ||
|
|
||
| GenericExecuteSynth "/root/bin/speechd-edge-wrapper \"$DATA\" >/dev/null 2>&1" |
There was a problem hiding this comment.
is speechd-edge-wrapper really supposed to be in /root/bin??
Also, please use GenericCmdDependency to make sure to automatically disable the module when the command is not available.
Are all voices always available, or does that depend on the existence of a file? If the latter, please use VoiceFileDependency so that voices are shown to the user only when available.
|
|
||
| DefaultVoice "en-US-EmmaNeural" | ||
|
|
||
| GenericExecuteSynth "/root/bin/speechd-edge-wrapper \"$DATA\" >/dev/null 2>&1" |
There was a problem hiding this comment.
Also what provides this speechd-edge-wrapper? I searched online and couldn't find anything.
|
Thanks for the review. I’ve addressed the requested changes: Added copyright information to the configuration. Please let me know if any further changes are needed. |
|
he Edge TTS voices are provided by the online Edge TTS service and do not depend on local voice files, so VoiceFileDependency is not applicable here. GenericCmdDependency "edge-tts" ensures that the module is disabled when the edge-tts command is unavailable. |
Summary
Adds an initial generic output module configuration for using Microsoft Edge TTS with Speech Dispatcher.
Changes
config/modules/edgetts-generic.confen-US,hi-IN,bn-IN, andgu-IN/bin/shto/bin/bashset -o pipefail/bin/shresolves todashon the tested WSL environment, which does not supportpipefailTesting
Tested locally on WSL2 with Speech Dispatcher and Edge TTS.
Verified that: