Run Amazon Polly right on your desktop using this amazingly simple app!
Play audio right inside the app or save it as an mp3!
Switch between light and dark themes!
Scale the UI to be larger or smaller!
Choose from any of the Amazon Polly natural voices!
-
Set Up Your AWS Account
- Sign Up: Head over to AWS Home to create your account. You’ll need to provide some basic info like your email, password, contact details, and credit card.
- Log In: Once you’ve set up your account, log into the AWS Management Console.
-
Create an IAM User
- From the AWS
Console Homescreen (can access this screen by clicking theAWSlogo in the top left corner) look to the right of the logo for asearchbar - In the search bar type
"iam"in the search box and then click on the result that just saysIAMunder theServicescategory following the picture below
- From the AWS
- Once inside the
Identiy and Access Management (IAM)homepage look to the left and you should see a sidebar full of options, under theAccess managementcategory click onUserslike in the picture below
- To the right click on
Create userlike in the picture below
- Give the user a name and then click
Next - Under
Set permissionsandPermission optionsthere's 3 options, toggle on the rightmost option which should sayAttach policies directly - After the
Permission optionsthere's thePermissions policieswhere under that category, check onAmazonPollyFullAccess(and optionally toggle onAdministratorAccess,AWSCompromisedKeyQuarantineV2for more control) - Click
Nextand thenCreate user
- Set Up AWS CLI (Optional)
- Attach Security Credentials:
- After creating a user, we should be back in the
usersdirectory - Open into the user we just created in step 2 by clicking on there name
- Now once your inside, look in the middle of the dashboard to find 4 tab options labeled (
Permissions Groups,Tags,Security credentials,Access Advisor), and then click on the tab that saysSecurity credentialstab - Inside the
Security credentialstab look under theAccess Keys (0)tab and then under that tab clickCreate Access key - From the list of types, toggle on the
Command Line Interface (CLI)option and then check on the box below that saysI understand... - (On this page DON'T click on
Done!) Instead, to the left ofDonethere should be a button that saysDownload .csv file, click on that and save the .csv file to your computer. This stores the access key/secrete pair in a .csv but if you want to store them some other way you can, you just need to know there values for the next step (Read if you forgot your keys: if you forgot your access key values then all you have to do is repeat step 3, once you created a new access key and you SAVED there values then you can go to your list of access keys and delete the old one)
- After creating a user, we should be back in the
- Attach Security Credentials:
- Install and Configure AWS ClI:
- Download and install
AWS CLI.exeby following this link to the AWS CLI website then click on whats boxed in red from the picture below matching the system your on.
- Download and install
- Open a command prompt on your desktop
- Run
aws configurein your command prompt. - Input your AWS Access Key ID and Secret Access Key (if you forgot look at the
username_access.cvsfile you saved earlier) - Set your default region, like
us-east-1, and output format asjson.
-
Run Synthesize Speech App!
- Grab the exe from the
releasessection on this GitHub repo. - Open it, and if a warning pops up, click
more infoand thenRun anyway.
- Grab the exe from the
-
Add Polly Speech to All Programs in Windows (Optional)
- Right-click on the
exeand choosecreate desktop shortcut. - Move the shortcut to
C:\ProgramData\Microsoft\Windows\Start Menu\Programs. - Renaming the shortcut will change how it appears in search results without breaking the link.
- Right-click on the
-
build local version of program
- install python
3.11.7, then in the terminal run the followingpipcommandspip install boto3-pip install pygame-pip install customtkinter-pip install io-pip install pyinstaller
- Download the
synthesize_speech-advanced.pyfile - open up the terminal in the directory of the python file you just downloaded, run the following command
-
pyinstaller --onefile --windowed text_to_speech.py - Inside the same folder as your python file should be a
Dist, open it up and there should be your local build ofsynthesize_speech-advanced.exe
- install python
-
if the
synthesize_speech-advanced.exebuild failed continue below- install
visual studio build tools 2022and the rest of the programs dependcies- in the main install menu check on to install
Desktop development with C++ - in
individual componentscheck on to installMSVC v142 - VS 2019 C++ x64/x86 build tools - open
edit the system enviorment variablesand then underSystemopen uppath - under
pathaddC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64- open up the terminal in the directory of the python file you downloaded in step 1, then run the following command again
pyinstaller --onefile --windowed text_to_speech.py
- Inside the same folder as your python file should be a
Dist, open it up and there should be your local build ofsynthesize_speech-advanced.exe
- in the main install menu check on to install
- install








