Show HN: TTS-API - Text-to-speech API
tts-api.com
tts-api.com
1. Find a Mac-based server (a co-located Mac Mini will be fine)
2. Run `say -o output.wav $TEXT` to generate the voice
3. Compress the WAVE file with `lame` or the system builtin `afconvert` to get the MP3 file.
`say` command supports multiple languages and dialects, but you'll have to install the necessary voice engines in OS X 10.8. Man page for `say` can be found here http://pastebin.com/nWbvJAAX
The complete list of voices/languages supported so far:
* English (Australia): 2 voices
* English (India): 1 voice
* English (Ireland): 1 voice
* English (Scottish): 1 voice
* English (South Africa): 1 voice
* English (UK): 3 voices
* English (US - Female): 7 voices
* English (US - Male): 6 voices
* English (US - Novelty): 14 voices
* Arabic (Saudi Arabia): 1 voice
* Chinese (China): 1 voice
* Chinese (HK): 1 voice
* Chinese (Taiwan): 1 voice
* Czech: 1 voice
* Danish: 1 voice
* Dutch (Belgium): 1 voice
* Dutch (Netherlands): 2 voices
* Finnish: 1 voice
* French (Canada): 2 voices
* French (France): 4 voices
* German (Germany): 3 voices
* Greek: 2 voices
* Hindi: 1 voice
* Hungarian: 1 voice
* Indonesian: 1 voice
* Italian: 3 voices
* Japanese: 1 voice
* Korean: 2 voices
* Norwegian Bokmal: 1 voice
* Polish: 1 voice
* Portuguese (Brazil): 1 voice
* Portuguese (Portugal): 1 voice
* Romanian: 1 voice
* Russia: 1 voice
* Slovak: 1 voice
* Spanish (Mexico): 2 voices
* Spanish (Spain): 2 voices
* Swedish: 2 voices
* Thai: 1 voice
* Turkish: 1 voice
espeak -w output.wav 'I love jiggy'
new file, paste
createobject("sapi.spvoice").speak("hi world")
save as 1.vbs, then double click it.https://aur.archlinux.org/packages/picospeaker/
EDIT: SVOX Pico is a component of the Android OS.
So I am extremely curious to know the license behind this tts-api? Can the OP provide such info or provide some of the tech behind it?
""F. Voices. Subject to the terms and conditions of this License, you may use the system voices included in the Apple Software (“System Voices”) (i) while running the Apple Software and (ii) to create your own original content and projects for your personal, non-commercial use. No other use of the System Voices is permitted by this License, including but not limited to the use, reproduction, display, performance, recording, publishing or redistribution of any of the System Voices in a profit, non-profit, public sharing or commercial context.""
http://tts-api.com/tts.mp3?q=dogs.%20dogs.%20dogs.%20dogs.%2....
http://www.youtube.com/watch?v=gh0fBwiE4cE
http://www.youtube.com/watch?v=vvYvCaAN3Jg
Anyone?
say -v Fred Hello. My name is Fred.
I was actually looking for a similar API like this just a few hours ago, but with some other languages as well. What's the TTS engine driving this?
BTW, One small critique on the page copy... "You expect" could be more politely expressed and in terms of the user's pov/benefit.
The acronym should reflect this ease of use for proper pronunciation. How about Text Intelligently To Speech?
And, of course, it presumably doesn't have the licensing issues this other approach would appear to, if it really is using Apple's voices.
If you're looking for a client side solution, here's espeak compiled to JS using emscripten.
Here is a speech as rendered by tts-api.com (http://goo.gl/PoZc4). Now, for speak.js [1], to make a comparison, paste in the first few of the top paragraphs from here [2] and compare the quality between the two.
There really is a gap to fill for a good open-source alternative here. But I suspect the main barrier is that there is a large amount of data needed to generate good voices. Still, a worthy target.
[1]: I tried to make a URL for this too, but despite the URL looking as if it could take arguments it refused to work, at least for me under Firefox and Chrome.
[2]: http://www.nytimes.com/2008/09/25/business/worldbusiness/25i...
For example,
<phoneme alphabet="ipa" ph="/ˈkreɪp/"></phoneme>
[1] http://en.wikipedia.org/wiki/Speech_Synthesis_Markup_Languag...Enjoy
twitter tracker using tts :)
thanks, such an amazing service
What I would love to see now would be the ability to send compressed text to shorten the url.
Try "Hello.", "Hello!" and "Hello?"