Skip to content

Converts text to "SOMENUMBER.wav". C code is generated to easily identify the right soundfiles.

License

Notifications You must be signed in to change notification settings

simoschip2000/TextToSoundfileAndCCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TextToSoundfileAndCCode

Converts text to "SOMENUMBER.wav". C code is generated to easily identify the right soundfiles.

Background

Microcontroller have limited programming memory. Saving a string for each soundfile would require a lot of memory.

Prerequisites

Install the pyttsx3 Library:

pip install pyttsx3

Usage

Modify the "listOfStrings" in the "Generator.py" file for your needs. Also set the right voice according to your language and your preferences. Then execute the python3 script.

Output

The output files are located in the "output" folder. Include the "voiceOutputNumbers.h" in your C project and easily access the right ".wav" file. Note that ".wav" files are generated for numerals and letters aswell according to ASCII.

About

Converts text to "SOMENUMBER.wav". C code is generated to easily identify the right soundfiles.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages