Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions config/modules/edgetts-generic.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Debug 1
Comment thread
sthibaul marked this conversation as resolved.
Outdated

GenericDefaultCharset "utf-8"

GenericLanguage "en-US" "en-US" "utf-8"
GenericLanguage "hi-IN" "hi-IN" "utf-8"
GenericLanguage "bn-IN" "bn-IN" "utf-8"
GenericLanguage "gu-IN" "gu-IN" "utf-8"

AddVoice "en-US" "MALE1" "en-US-AndrewNeural"
AddVoice "en-US" "MALE2" "en-US-BrianNeural"
AddVoice "en-US" "FEMALE1" "en-US-EmmaNeural"
AddVoice "en-US" "FEMALE2" "en-US-AriaNeural"

AddVoice "hi-IN" "MALE1" "hi-IN-MadhurNeural"
AddVoice "hi-IN" "FEMALE1" "hi-IN-SwaraNeural"

AddVoice "bn-IN" "MALE1" "bn-IN-PrabhatNeural"
AddVoice "bn-IN" "FEMALE1" "bn-IN-TanishaaNeural"

AddVoice "gu-IN" "MALE1" "gu-IN-NiranjanNeural"
AddVoice "gu-IN" "FEMALE1" "gu-IN-DhwaniNeural"

DefaultVoice "en-US-EmmaNeural"

GenericExecuteSynth "/root/bin/speechd-edge-wrapper \"$DATA\" >/dev/null 2>&1"
Comment thread
sthibaul marked this conversation as resolved.
Outdated
Comment thread
sthibaul marked this conversation as resolved.
Outdated
2 changes: 1 addition & 1 deletion src/modules/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ void _generic_child(TModuleDoublePipe dpipe, const size_t maxlen)
exit(EXIT_FAILURE);
} else if (pid == 0) {
// child, execute command
ret = execl("/bin/sh", "sh", "-c", command, (char *) NULL);
ret = execl("/bin/bash", "bash", "-c", command, (char *) NULL);
// catch missing sh
DBG("Missing /bin/sh? (ret=%d error=%d) %s", ret, errno, strerror(errno));
exit(EXIT_FAILURE);
Expand Down