Today, a simple osx tool to use Google Translate speech on your mac!
How it works?
It’s a cocoa application, that support as minimum osx version, 10.6.
The app call google translate url, this one:
passing in tl parameter, language, as:
and in q parameter, the text that you want to speech.
After calling google, i save a local temporary file, play it, and next remove it.
App in launched in “Agent Mode”, without menu bar, icons, etc.
Perfect for a tray application.
I’m using OSx version of iOS library, this one, objectivec speech text/ to make the game!
You can download code, to improve, make money, etc…, on github: https://github.com/elpsk/Tesla-Speech
As usual, it’s a starting point, take it as-is or better, improve it!