Skip to content
Anton-AugustssonPublic

About

aatts is a text to speech program used for speech synthesis as well as generate a mp3 from a text file.

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

47 Commits

Folders and files

Repository files navigation

AATTS

License: MIT

Contribution guidelines for this project

aatts is a text to speech program used for speech synthesis as well as generate a mp3 from a text file.

Dependencies

The following dependencies are needed in order to install and run the program.

  • python3
  • pip
  • mpg123 for OpenSuse you can use zypper install mpg123.
  • xclip only for linux.
  • gtts-cli for OpenSuse you can use zypper install python311-gTTS.

See requirements.txt for python dependencies.

Installation

Currently, only linux is supported, preferably with gnome, but not required to run aatts just allowed the usage of gnome extension.

Run make install to install the program.

Windows installation

pyinstaller  --onefile --noconsole main.py

Note: If you can not run this command even though pyinstaller is installed you can call the pyinstaller exec file directly. It should be located in C:\Users\<Your username>\AppData\Local\Packages\PythonSoftwareFoundation.<Your Python version>\LocalCache\local-packages\<Your Python version>\Scripts\pyinstaller.exe

This will generate an executable file in the dist directory. Then Right-click -> new -> shortcut. Put the shortcut in the desktop directory. Then create a keybinding to run that shortcut by right-clicking the shortcut and writing your desired keyboard shortcut.

Gnome extension

image

The gnome extension will automatically be installed when ruining make install.

Usage

The currently selected text can be determine with xclip -o. This command can be used to then read the currently selected text.

aatts --read="$(xclip -o)"

It is also possible to the speed and language.

aatts --speed=1.4 --lang="en"

About

aatts is a text to speech program used for speech synthesis as well as generate a mp3 from a text file.

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages