I changed chronos-text-to-speech-notify
acording to https://github.com/dxknight/chronos/issues/2.
My Chronos config includes this:
(setq chronos-text-to-speech-program-parameters "-s 50 -k 1 -a 50 -v mb/mb-fr1" ).
The command
(chronos-add-timer "0:0:1" "Coucou, je parle français" nil)
is supposed to speak the message with a French voice, but it doesn't (default English voice only)
Chronos sent this shell command:
espeak \"-s 50 -k 1 -a 50 -v mb/mb-fr1\" \"20:44 Coucou, je parle français\"
which returned
Failed to read voice 'mb/mb-fr1"'
This shell command works fine, however:
espeak -s 50 -k 1 -a 50 -v mb/mb-fr1 "20:44 Coucou, je parle français"
This sounds like a bug, but I haven't succeeded in fixing it.
espeak "-arg1 -arg2" "some text here"
andespeak -arg1 -arg2 "some text here"
. In my first example,-arg1 -arg2
is in quotes; the second one isn't. – zck Nov 7 '19 at 23:26