@729MendicantTide Put Imports System.Speech.Synthesis at the top of the file. Then define a private member variable inside the class like this: Private speech As SpeechSynthesizer. Then type overrides OnInitialized. The rest should be almost the same. Don't forget to add a reference for System.Speech to your project. I hope this answers your question.
Nice! I tried it on Visual C# 2010 and it worked but I don't know how to change the voice. Can you explain how you did it? And do know how to change it to a different language ?
@JohnTimMartin The voice is AT&T's Mike. You're probably hearing the default Windows voice Microsoft Anna. You can download other MS voices or much higher quality voices like AT&T, Cepstral, Acapela, and Ivona. Some support other languages. The voice you use must support the language you want it to speak. You can set the current voice using Voice property.
@ibenian Thanks for your quick response. In order to change the voice I first had to download Microsoft Reader and then I could download different voices. I changed the voice in the Windows Text to Speech Settings but the problem is that I want to change the voice in Visual C#, so that the voice is automatically changed when I install my application on a different PC.
@TheHmuniversalvideos It's generated by VocaTalk Personal Podcast using AT&T voices. It can also put background music and some other interesting audio effects that make listening more comfortable and fun.
@wks9000 Are you stuck while creating the cmdSpeak_Click event handler? Just right click on the Click="..." in the xaml view and select 'Navigate Event Handler'.
Hi can you tell me all the code used from 2:03 onwards please
scorer345 4 months ago
I need help on what to do at the part you were on at 2:03. I am using VB 2010
Detailed help, please?
729MendicantTide 5 months ago
@729MendicantTide Put Imports System.Speech.Synthesis at the top of the file. Then define a private member variable inside the class like this: Private speech As SpeechSynthesizer. Then type overrides OnInitialized. The rest should be almost the same. Don't forget to add a reference for System.Speech to your project. I hope this answers your question.
ibenian 4 months ago
can make a mortal kombat speech?
mario9693 7 months ago
OMG! You use a Text to Speech voice
L0l71 1 year ago
Nice! I tried it on Visual C# 2010 and it worked but I don't know how to change the voice. Can you explain how you did it? And do know how to change it to a different language ?
JohnTimMartin 1 year ago
@JohnTimMartin The voice is AT&T's Mike. You're probably hearing the default Windows voice Microsoft Anna. You can download other MS voices or much higher quality voices like AT&T, Cepstral, Acapela, and Ivona. Some support other languages. The voice you use must support the language you want it to speak. You can set the current voice using Voice property.
ibenian 1 year ago
@ibenian Thanks for your quick response. In order to change the voice I first had to download Microsoft Reader and then I could download different voices. I changed the voice in the Windows Text to Speech Settings but the problem is that I want to change the voice in Visual C#, so that the voice is automatically changed when I install my application on a different PC.
JohnTimMartin 1 year ago
dude what the softwear which makes the guy talk in this video
TheHmuniversalvideos 1 year ago
@TheHmuniversalvideos It's generated by VocaTalk Personal Podcast using AT&T voices. It can also put background music and some other interesting audio effects that make listening more comfortable and fun.
ibenian 1 year ago
is there a way to do this in Microsoft visual studios 2010 i get stuck at 2:03 since it looks different than what u have in the video
wks9000 1 year ago
@wks9000 Are you stuck while creating the cmdSpeak_Click event handler? Just right click on the Click="..." in the xaml view and select 'Navigate Event Handler'.
ibenian 1 year ago
@wks9000 If you're stuck while defining the SpeechSynthesizer member. You need to put this using clause at the top of the file:
using System.Speech.Synthesis;
In the video, I do 'Alt+F10' and let the VS automatically put it.
ibenian 1 year ago
Dang dude thats bad ass did u figure it out by urself?
DJPr3Lud3 2 years ago