smythp / eloud

Lightweight, interactive screen reader for Emacs
25 stars 6 forks source link

how to configure output, e.g. aplay? #28

Closed fommil closed 6 years ago

fommil commented 6 years ago

Thank you for this! I suffer from bouts of uveitus and this could be a game changer for me (I'm lucky enough that it usually means a week off work with hourly eye drops, but who knows what could happen in the future...)

I'm on ArchLinux and espeak doesn't seem to work so well out of the box, so I need to pipe it via aplay. I use the following

espeak -v en-sc --stdout "hello world" | aplay -f S16_LE -r 22050 -D 'sysdefault:CARD=USB'

I am straining a bit at the moment, so couldn't spend much time investigating, but it looks like you are assuming espeak pipes the output to the right place? Would it be hard to pipe the output the way I'm proposing?

fommil commented 6 years ago

it turns out that archlinux has espeak-ng-git https://github.com/espeak-ng/espeak-ng and it is much better... so I can use your approach with that :smile: looking forward to trying it out.