|
-
July 6th, 2006, 03:38 PM
#1
RANDOM: text to speech
This is just a random idea that i put together and was wondering if anyone had any more thoughts or information on it.
I am in the middle of just doing some random programs right now to increase my knowledge in C# and one of the things I am doing right now is creating a service that works as a listener and i can send something from a remote location and it will catch the request and will react accordingly.
What I was thinking about doing was sending the listener a keyword with a "/parameter" like the command prompt works and when it catches that keyword, it would pass the parameter to a program that will take the text from the parameter and actually convert it to speech and output it through the speakers.
I probably know what your thinking... "What in the hell will this guy use this for???" Well, really not much other than learning something new and possibly freaking a few friends out that i can sneak this listener onto their machine. How would you react if out of no where you computer said "TATER TOTS".
Does anyone know of a program that I can send a string parameter to and it will convert the string to speech and output it to the speakers?
If you have any info or input I would appreciate it! Thanks!
-
July 6th, 2006, 04:06 PM
#2
Re: RANDOM: text to speech
I've done something similar to this where I would tell myself that I needed to enter something.
Steps to take:
1. Add reference to "Microsoft.Speech.Web"
2.
3.
Code:
SpVoice voice = new SpVoice();
voice.Speak(output,SpeechVoiceSpeakFlags.SVSFDefault);
4. Check out this link for another way
-
July 6th, 2006, 04:08 PM
#3
Re: RANDOM: text to speech
Thanks. Just as you posted i found SpeechLib on MSDN. Thanks again!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|