Click here to Skip to main content
15,895,988 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi ====
How to use an other sound for speech in c#.net ??
i dont like default win sound for read my text in program
Posted

You have a selection of installed voices to choose from: use System.Speech.Synthesis.SpeechSynthesizer.GetInstalledVoices, see http://msdn.microsoft.com/en-us/library/system.speech.synthesis.speechsynthesizer.aspx[^], http://msdn.microsoft.com/en-us/library/system.speech.synthesis.speechsynthesizer.getinstalledvoices.aspx[^].

A voice selection can be made by the method SelectVoice; pass a name parameter using the property VoiceInfo.Name, see http://msdn.microsoft.com/en-us/library/system.speech.synthesis.speechsynthesizer.selectvoice.aspx[^], http://msdn.microsoft.com/en-us/library/system.speech.synthesis.voiceinfo.name.aspx[^].

See also a good overview article http://msdn.microsoft.com/en-us/magazine/cc163663.aspx[^].

You can add a new voice to the system and use it for synthesis. You can purchase and download additional voices on sites like:
http://www.nextup.com/TextAloud/SpeechEngine/voices.html[^],
http://www.acapela-group.com/download-infovox-desktop-text-to-speech-demo.html[^].

From what I know — it can be expensive.

—SA
 
Share this answer
 
v2
Comments
Espen Harlinn 27-Oct-11 17:23pm    
5'ed - nice set of links
Sergey Alexandrovich Kryukov 27-Oct-11 17:47pm    
Thank you, Espen.
--SA
Time to start reading: Microsoft Tech Net[^]
 
Share this answer
 
Comments
Espen Harlinn 27-Oct-11 17:23pm    
5'ed!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900