From 06c838ab85412ee0b02e487758eb4ce1b665e5d5 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 4 Apr 2021 11:33:55 -0400 Subject: [PATCH] Add phoneme on to dectalk --- commands/voice/dec-talk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/voice/dec-talk.js b/commands/voice/dec-talk.js index 54eb9b8c..f93e692c 100644 --- a/commands/voice/dec-talk.js +++ b/commands/voice/dec-talk.js @@ -72,7 +72,7 @@ module.exports = class DECTalkCommand extends Command { const inputFile = path.join(__dirname, '..', '..', 'tmp', `${id}.txt`); await writeFile(inputFile, input); const outputFile = path.join(__dirname, '..', '..', 'tmp', `${id}.wav`); - await execAsync(`xvfb-run wine say.exe -w ${outputFile} < ${inputFile}`, { + await execAsync(`xvfb-run wine say.exe -pre "[:phoneme on]" -w ${outputFile} < ${inputFile}`, { cwd: path.join(__dirname, '..', '..', 'dectalk'), timeout: 30000 });