Computers and Technology

Is There A Cross Platform Module In Python For Text To Speach?

Założony przez GraceDontmindbeingblind 15 wpisów ostatni wpis 3 lata temu

#1

Basically, I was wondering if there is tts in Python that works with all platforms.
Grace.

#4

Thank you. Whair would I find documentation to make it speak?
Grace.

#5

I couldn't find any docs for it besides basic functionality which is really bad in my opinion. Even the readme.md on github was basically the same as the description in pypi.

Here is the code to initialize it though.

import accessible_output2.outputs.auto
o=accessible_output2.outputs.auto.Auto()
#o.speak("Testface")

If this is the package you want to be using, I'd take a look at it's source files to make sure you arn't missing stuff.
The Program comes for us all.

https://programaudioseries.com/

#6 Zarchiwizowany

Basic docs? What do you want to do with it besides producing speech (and maybe braille) output?

#8

accessibleoutputs2 does not support linux now. It wants to install espeak module which is not available in python3 version. Remake it to use speechd instead of espeak.

#10

Look at the code, so you will know why espeak. You want to use another synthesizer? Write module for it and use.

#11

well, I need something that is going to work on all platforms correctly, so that is a problem
Grace.

#14

I use plain old accessible_output2 from pip and stick it in a virtual environment. Then, I cd into /usr/lib/python3.10/site-packages and copy the speechd packages to the site packages directory of the virtual environment.

#15

But speechd is not implemented in old versions of ao3, tere's e_speak which was available in python2