Hi
iwant to write a pogram and need that a textbox that when i type on it my textbox read everything that i wrote how it is possible? plz i need souce code not dll files or how i can make this way?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kirtan PatelPosted Aug 20, 2009, 10:45 AM
string[] words = textBox1.Text.Split(' ');
This Will Separate your all words by space and store it in array :)
and if you want to Seperate by charaters then use below
char[] chars = textBox1.Text.ToCharArray();
MaharajePosted Aug 22, 2009, 7:08 AM
you have no idea to help me?
MaharajePosted Aug 20, 2009, 12:46 PM
it didn't play last one and first one
Dear kirtan how i can solve it? PLZ
MaharajePosted Aug 20, 2009, 11:18 AM
i write this code:
but it only play last char i write for loop because i want play all of the charactors but with for loop it only play the last one how i can correct it?
Thank you
MaharajePosted Aug 20, 2009, 10:41 AM
now my problem is i don't know how put textbox.text into an array?
MaharajePosted Aug 20, 2009, 8:53 AM
It wasn't useful but it's my problem don't worry about it
Honesty Pays
i think i have to act in another way: record voice of all alphabet in Iranian and then all of the word that user type splite and push them in an array and then when press key for reading text these chararacters exits from array and the sound in relation to these charactors play, do you think is it a good way? i think it's with delay
Kirtan PatelPosted Aug 20, 2009, 7:36 AM
I searched Google a lot but could not find TTS for Iranian for free ..
I found some Commercial Iranian TTS SKD
that can help you
Click Here
Kirtan PatelPosted Aug 20, 2009, 7:17 AM
you need to download Speech SDK First to use all this Code then
Import
using SpeechLib;
and then use it :)
Download Speech SDK
MaharajePosted Aug 20, 2009, 2:11 AM
i need Iranian TTS but i can't find it could you find it for me and get the link for me? PLZ?
another question: this TTS is a dll file? if i add it i could get to this code:
Kirtan PatelPosted Aug 19, 2009, 10:30 PM
Here is What you want . Just Download Different TTS engines from this Below Site.
Download TTS Engines and install it on Computer Then Change The below Code According to need :)
private void btnRead_Click(object sender, EventArgs e)
{
//Data to Read
string DataToRead = txtData.Text ;
//Create Voice Object
SpVoice objVoice= new SpVoice();
//Volume
objVoice.Volume = 100;
//Voice Rate
objVoice.Rate = 0;
//Change the Language and TTS Engine Here Instead of Item(0) you can use (1) (2) according to TTS Engine Installed
//To Change the Voice :)
objVoice.Voice = objVoice.GetVoices("Name=Microsoft Anna","Language=409").Item(0);
//Speak Text
objVoice.Speak(DataToRead,SpeechVoiceSpeakFlags.SVSFDefault);
}
MaharajePosted Aug 18, 2009, 10:02 PM
Kirtan PatelPosted Aug 18, 2009, 12:12 AM
You can Use Different TTS Engines to Change the Voice Like
French TTS Engine will Interprets French Text Better
UK TTS Engine Will Interprets UK English Better
Microsoft Provides TTS Engine for UK /US only
I will Post code as i complete its programming for it :)
MaharajePosted Aug 17, 2009, 9:39 PM
Could you help me to create my Favorite Language Speech Lib?
PLZ?
MaharajePosted Aug 13, 2009, 3:06 AM
MaharajePosted Aug 13, 2009, 12:53 AM
Master BillaPosted Aug 12, 2009, 11:42 PM
I think you need to develop this in .NET 3.5. there is inbuilt support to speech programming.
To this you can use this sample code
http://www.redmondpie.com/converting-text-to-speech-in-a-c-wpf-application/
thank you