gromnitsky / read-aloud.el

A simple Emacs interface to TTS (text-to-speech) engines
MIT License
30 stars 8 forks source link

Slowing down the speech engine #2

Closed ghost closed 1 year ago

ghost commented 1 year ago

Can you help me slow down the engine. I am using jampal.

I have this in my init.el file:

(setq read-aloud-engine "jampal.en")

gromnitsky commented 1 year ago

You'll need to add an a custom entry to the list of engines:

(lax-plist-put read-aloud-engines "my-jampal"
  '(cmd "cscript"
                args ("C:\\Program Files\\Jampal\\ptts.vbs" "-r" "4")) )

Where the number 4 is your speech rate. Valid values are -10...10, hence to slow it down, set it, for example, to 0.

Then temporarily select this new engine entry via

M-x read-aloud-change-engine

or permanently by

(setq read-aloud-engine "my-jampal")

in your init file.