Add phoneme on to dectalk

This commit is contained in:
Dragon Fire
2021-04-04 11:33:55 -04:00
parent fb8899a2d6
commit 06c838ab85
+1 -1
View File
@@ -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
});