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.
|
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. |
sthibaul
left a comment
There was a problem hiding this comment.
You also need to add the file in config/modules/Makefile.am to dist_moduleconf_DATA and dist_moduleconforig_DATA
|
Also, please mention the support in |
|
Thanks for the feedback. I’ve updated the Edge TTS module to avoid temporary files and use a pipe-based pipeline. The MP3 output from edge-tts is now converted to WAV using mpg123 before being passed to $PLAY_COMMAND. I’ve also added mpg123 as a GenericCmdDependency, added edgetts-generic.conf to both distribution lists in Makefile.am, and documented Edge TTS support in README.md. git diff --check passes and the working tree is clean. I wasn’t able to test the complete audio pipeline locally because mpg123 and aplay aren’t installed in my current WSL environment. |
|
Thanks for this! it'll still be useful to add support for rate and pitch :) |
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: