Skip to content

Commit e05a6c8

Browse files
committed
Update
Signed-off-by: ´Abraham <xe1gyq@gmail.com>
1 parent cca1e98 commit e05a6c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Hochob/Sandbox/LupeRobot/Virtual/Amikoo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ function puts(error, stdout, stderr) { sys.puts(stdout) }
88

99
function espeakDecir(phrase) {
1010
var sleep = require('sleep')
11-
exec("echo " + phrase + " | espeak -v es-la -a 200 -w audio.wav", puts);
11+
exec("echo " + phrase + " | espeak -v es-la -a 200 -p 50 -s 170 -w audio.wav", puts);
1212
sleep.msleep(500);
1313
exec("aplay audio.wav", puts);
1414
}
1515

1616
function espeakSay(phrase) {
1717
var sleep = require('sleep')
18-
exec("echo " + phrase + " | espeak -v en-us -a 200 -w audio.wav", puts);
18+
exec("echo " + phrase + " | espeak -v en-us -a 200 -p 50 -s 170 -w audio.wav", puts);
1919
sleep.msleep(500);
2020
exec("aplay audio.wav", puts);
2121
}

0 commit comments

Comments
 (0)