Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Make Your Computer Talk.


5 replies to this topic

#1 Omniscient

    Newbie

  • Kontributors
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Planet Earth
  • Interests:Internet & Web Design
  • myCENT:24.97

Posted 28 October 2010 - 11:35 PM

What happen if your own computer say to you like this: Hey Bro

1. Open your notepad.
2. Write down this code :

Dim msg, sapi

msg=InputBox("Enter your text","Talk it")

Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg




3. Save the file as sound.vbs
4. Open the sound.vbs file & one pop up window will occur

5. Write down something in the text box ("Hey Bro") & click OK & then listen the written text on it.

This trick work in all the version of window.


Litlle fun don´t hurts.

Edited by Omniscient, 28 October 2010 - 11:36 PM.


#2 Vistz

    Member [Level 1]

  • Kontributors
  • PipPipPipPip
  • 73 posts
  • Gender:Male
  • myCENT:89.12

Posted 29 October 2010 - 05:19 AM

I'm pretty sure Microsoft comes with some sort of speech function built in. Although this is a good alternative if you don't want to use the generic feature provided by Microsoft.

#3 mahesh2k

    Trap Double Mocha Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,347 posts
  • Gender:Male
  • Location:Valley of Darkness
  • myCENT:27.17
  • Spam Patrol

Posted 29 October 2010 - 09:41 AM

Hmm is this what the sound of microsoft sam and inbuilt speech, assistance ? i have seen few assistacne program making such sounds but none of them are attractive enough to catch attention. They just use sam's voice and say the things you want to hear. Nice find by the way. if anyone wants to program their own text to speech then above code is good.

#4 shadowx

    Live your life so that in death you may stand side by side with your gods. Not at their feet.

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1,674 posts
  • Gender:Male
  • Location:Essex, UK
  • Interests:Photography is a big interest, i have some photos up at my site, apex photographs (http://apex-photographs.com). Using my Lumix g1 to take the photos of course! <br /><br />Um computer games... photo editing and thats about it!
  • myCENT:68.57
  • Spam Patrol

Posted 29 October 2010 - 10:47 AM

This *IS* the built in text-to-speech but it is being called up directly via VBS(Visual basic script).

You could do a lot more with this.....voice alerts when some event happens, voice alerts on login/startup so you know the pc is ready from another room etc...

#5 Xarex

    Newbie [Level 3]

  • Kontributors
  • PipPipPip
  • 48 posts
  • Gender:Male
  • Location:Israel
  • Interests:Philosophy, Psychology, Women, Music, Psychedelia
  • myCENT:81.32

Posted 08 April 2011 - 08:11 AM

WIth Mac it's much easier.. just open System Prefs, Speech, choose a Voice, set a key (Alt + S recommended), and select some text, and your computer will talk to you. I use it to read. I think it's an amazing feature, for both the handicap or people whose eyes (like mine) just can't stare at a computer screen for a long time. So I have the computer read books to me. Sure, you have to put up with a somewhat monotone voice, but it's not so bad, and at night, you'll be asleep in a couple of pages :P

#6 darko100

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 117 posts
  • Gender:Male
  • myCENT:31.51

Posted 23 April 2011 - 05:31 PM

View PostXarex, on 08 April 2011 - 08:11 AM, said:

WIth Mac it's much easier.. just open System Prefs, Speech, choose a Voice, set a key (Alt + S recommended), and select some text, and your computer will talk to you. I use it to read. I think it's an amazing feature, for both the handicap or people whose eyes (like mine) just can't stare at a computer screen for a long time. So I have the computer read books to me. Sure, you have to put up with a somewhat monotone voice, but it's not so bad, and at night, you'll be asleep in a couple of pages :P
There is the same for Windows. In Control Panel you can test the voice settings by typing a message which computer can read it :)




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users