So what is TTS Tool?
First of all, thanks for asking. Secondly, TTS is short for Text-To-Speech. So TTS Tool is a tool for generating speech from text. You give it a string of text and it’ll output a WAV audio file. Simple. There’s not much else to it. The Console version of it works but the GUI version is currently a work in progress.
Why a WAV file?
I chose a WAV file specifically for the fact that I use TTS tool with Unreal Engine to generate placeholder voices for characters in my games, among other projects. WAV is the simplest and easiest file type to get into Unreal and can be imported automatically.
Is this compatible with Linux?
I’m not entirely sure as I haven’t tried in a while. I would put my bet on no as it may be written using C# but relies on libraries made for use with only Windows, it also relies on Windows voices. Feel free to try getting it running on Linux and I’d love to see it happen. I did want to build a Linux version but Linux TTS voices just aren’t as good as the one’s built into Windows. I have also attempted conversion to DotNetCore with no success.
What was the motivation for creating the tool?
Basically, most Text-To-Speech services I’ve come across are pretty shit, if you’ll pardon my language. I wanted a tool that works to an acceptable standard, doesn’t cost a bomb and is quick and easy to use. No installers, no API keys, no networking needed.
How does it work?
It’s pretty simple, feel free to have a look at the source code on GitHub, here’s a Gist for it.
It purely creates a SpeechSynthesizer, lists the installed voices, asks what to output, then outputs it to the current folder.
Feel free to contribute to it, I will make updates over time but it isn’t a priority for me at the moment.