Navigate to the directory where speech modules are stored:

cd /usr/lib/speech-dispatcher-modules


First, check via ll that everyone can run the module (I'm not sure what 
executable name does RH voice use, let's call it sd_rh_voice):

ll | grep sd_rh_voice


There should be Three x symbols in the permissions.


Next, run the module:

./sd_rh_voice


There should be no output. If you see any errors here, they're likely 
the cause of the problem.


If everything goes right, now the program should be expecting input. 
Insert the following:


INIT
LIST VOICES


You should be presented with a table of supported voices. Choose one 
(this is an example from espeak):


SET
language=sk
voice=male1
.

And have the program speak something:


SPEAK

ahoj

.


In older versions of the protocol, the program would start speaking 
right away, now you receive the audio in binary format to the terminal, 
the output should be finished with 702 END


Finish with QUIT command.


Best regards


Rastislav


Dňa 7. 9. 2023 o 17:50 Linux for blind general discussion napísal(a):
> Hi Rastislav,
>
> how can I do that?
>
> Thanks a lot.
>
> Best regards
>
> Vojta.
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
>

_______________________________________________
Blinux-list mailing list
Blinux-list@redhat.com
https://listman.redhat.com/mailman/listinfo/blinux-list

Reply via email to