News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
Translation and Text-to-Speech with Microsoft Translator
December 05, 2013 @ 09:19:29

On the SitePoint PHP blog today there's a new tutorial showing you how to combine the Microsoft Azure platform services with their Translator API to create a text-to-speech translation service with some simple curl calls.

Text to speech is a popular technique used by many websites to provide their content in an interactive way. The generation of artificial human voice is known as Speech Synthesis. Even though it's highly popular, there are very few speech synthesis services, especially when looking for those free of charge. Microsoft Translator is one of the services we can use to get a speech service with limited features. In this tutorial, we are going to look at how we can use Microsoft Translator API to translate content and then make audio files using said content.

He walks you through setting up an Azure application (you'll need an account for the marketplace already) and how to subscribe to the translation service. It's a paid service but there's a "try before you buy" level that allows 2,000,000 characters of translation before it's cut off - perfect for testing. He includes the PHP to make the requests to the Translation API via curl. Included is code to initialize the configuration for the request, get the correct tokens and a reusable method for making the actual translation request. Finally, an example of doing the actual text-to-speech conversion is shown, resulting in an mp3 file.

He also includes an example of a simple frontend UI. You can see a working demo of the script here.

0 comments voice your opinion now!
microsoft translator api texttospeech text speech tutorial azure service

Link: http://www.sitepoint.com/translation-text-speech-microsoft-translator/

C7Y:
Andi Gutmans to keynote at php|tek
March 26, 2008 @ 09:34:09

As announce on the C7Y website today, Andi Gutmans will be presenting a keynote speech at this year's php|tek 2008 conference.

We're happy to announce that Andi Gutmans, co-founder of Zend and an active member of the PHP development group, will officially kick off our upcoming php|tek 2008 Conference, which will take place in Chicago, IL, between May 20th and May 23rd, 2008.

His talk will be titled PHP State of the Union: Eco-System and Technology and will take a look at the ever-changing state of the PHP community and a look ahead to possible future developments.

0 comments voice your opinion now!
phptek2008 andigutmans speech ecosystem technology community



Community Events





Don't see your event here?
Let us know!


security version package library voicesoftheelephpant update framework laravel mvc composer series introduction tool podcast language opinion release interview symfony community

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework