Home > Windows Phone > Text to Speech – WP8

Text to Speech – WP8

Windows Phone 8 has included the Text to Speech feature out of the box in the platform.Text to speech is very easy to use in your App (only takes 2 lines of code) using ‘SpeechSynthesizer’ class.

Text to Speech

Text to Speech

Below is the code

            var synthesizer = new SpeechSynthesizer();

await synthesizer.SpeakTextAsync(“Your text here”);

Copy and paste above code in button ‘Click’ event.

Also we can set the ‘VoiceInformation’ (i.e., Language, Gender etc…) to the speech.

Refer link for more details.


  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: