Added: 3 years ago
From: environmentalnerd53
Views: 32,210
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (137)

Sign In or Sign Up now to post a comment!
  • I didn't make the text to speech thing, instead I used the voice commands to add a speech interface to one of my apps, thanks mate. You earned a subbie :)

  • TNX>>>>

  • Works!!

  • Oh man thanks

  • thexx.... work for me :D

  • Check out my vb2008 tutorials on my channel! Full english!

  • How to change a country voice ?

  • Use mine, you'll find itbelow ;) Very easy takes 50 seconds to make :)

  • Works :) TY

  • My computer told me to go jump off a cliff. -_-

  • it did not talk

  • Comment removed

  • @0imoi NOOOOOOOOOOOOOOOOOOOOOOB EPIC FAIL FUCK YOUR STUPID LIFE

  • This Relly Works

  • Thank You so much for this useful video. but I have a question what if I add a long text to the Textbox and while the program read the text in the middle I want to stop it or pause it not end the program. So what should I do?

    Thanks

    Mohamed

  • First time, I worked with this code, I could hear what I wrote on the textbox... But suddenly it stopped, I can't hear anymore, no sound.

    ---CODE---

    Private Sub ToolStripStatusLabe2_TextChang­ed(ByVal sender As Object, ByVal e As System.EventArgs) Dim SAPI SAPI = CreateObject("sapi.spvoice") SAPI.Speak(ToolStripStatusLabe­l2.Text) End Sub

    It worked before, but not anymore :/

  • OMG dont worry it works now YOU FIXED IT!!!!

  • hey can you help me, i cant get it to work on 2010 :(

  • Type this in the button1 code

    Dim SAPI

    SAPI = CreateObject("sapi.spvoice")

    SAPI.Speak(TextBox1.Text)

    Type this in the button2 code

    Me.Close()

  • nice!!!!!!

  • Dude, is there another sound? I hate this lady talkiing.

  • @Thebignoobshow thats how my computer (win 7) is but its male on my win xp

  • Hey, why all youtubers put songs in their video and they don't know what's the name of the song? So how do you put it, vote up if you agree me.

  • LoL

  • Sweet tutorials GOOD JOB DUDE

    Quick question though, How do you change the voice?

  • can you make it talk slower

  • i created a program thats talks to you with this :)

    if textbox1.text = "a question" then

    Dim SAPI

    SAPI = CreateObject("sapi.spvoice")

    SAPI.Speak("an ansew")

    else

    ' do nothing

    end if

  • @tekriavideos because your ment to have

    Dim SAPI

    SAPI = CreateObject("sapi.spvoice")

    SAPI.Speak(TextBox1.Text)

    not (if textbox1.text="aqwestion" then and else ' do nothing

  • thats cool

  • sorry,but,whit is the voice?

  • Comment removed

  • Great...

    Respekt.

    Anymore 5* xD

  • working in windows 7, good to know tutorial by the way!

  • its 100% Working i check that.

  • i need swedish talk :(

  • me to

  • Comment removed

  • @NiboRRobiN86 varför?

  • @Jontecool98 kanske för att åäö funkar inte?

  • @NiboRRobiN86 oh det. det går nog inte att göra med nån text to speech

  • can you change the pich

  • Sweet!

  • @XboxGlitchesModsTuts FUCK YOU

  • Nice, got it to work better if it's after anyhting else, such as the form backcolor on load. Works great on close as well, SAPI. Speak ("Good Bye")

    So I guess, in closing, this Dim Sapi can be used on form load, button click, timer, and on close as well as others I'm sure. Too bad C# voice code isn't nearly as easy. EN you rock!

  • ok so it was easy,

    Form1_load Dim SAPI SAPI = (CreateObject("sapi.spvoice")) SAPI.Speak("Whatever you want to say"

    my only issue is that it says the words THEN it shows the form, I would like to do both at the same time so just in case the sound is off they don't think there is a problem with the form.

  • try this code

    Dim Speech Speech = CreateObject("sapi.spvoice") Speech.speak("welcome") Timer1.Enabled = False

    put it in a timer..this code will only be called once, every time the form is loaded..

    just add a timer into your form and set its ENABLED property to TRUE and INTERVAL to 1 to

    if you have better code just post it..because I,myself, haven't tried this code yet.. :p

  • Okay, two things;

    1) You put all the code in one line.

    2) It's called the Form1_load event. Adding a friggen timer is a waste of time and space. Just double click on the form and type:

    Dim Speech

    Speech = CreateObject("sapi.spvoice") Speech.speak("welcome")

  • can we chagne the speed of the voice. Great tut by the way. got it to work in under a minute.

    Decided to use a combo box so I could have a few sentences premade for showing it off.

    also added a clear button

    cboinput.Text = ""

    and an exit button Me.Close()

    But now I want to have it say things to the teacher on form load. Such as: "I have no idea how to do this!", or "sorry this is late, my virtual dog ate it.".

  • bad theme, vista theme to xp, haha...succk

  • instead of this fucking loud music, i'd prefer a clear tutorial cause it's not easy to follow the instructions just by following the cursor, many things are not explained ! this is frustrating!

  • thanks. i did myself and all are working properly.

  • Cancel button doesn't work to me,,,

  • it should what do u have 2006 or 2008?

  • lmao thnx, works great

    the voice sounds like the doll in master chief sucks at halo 3

  • IN4NERD the voice is microsoft sam... duh lol

  • help me -- I Wanna Add a Save File Please Help!!

  • hey great idea! il try that and if it works il send u code =)

  • yeah i'm now good at vb, just i can make save & open dialogs!! i try to make the coding but it dont work!

  • me 2 =(

  • lol xD

  • Thanks alot

  • I GOT IT!!!

  • It keeps comming up with errors when i try to debug. can you help me?

  • Nice,

    Im pretty new to VB and I have to say I learned more from this little SAPI call than I did from the VB videos. I had a blast with this in writing a microprocessor program. I used it to guide the user in setting the inputs for the MC controller. It worked great.

    Thanks

  • Artist:  National Fire Theory

    Song: 10,000 Black Eyes

    Album: Blackout Days

    Time: 03:23

    Genre: Alternative & Punk

  • SAPI dosent work with vista

    unused local variable (SAPI)

  • It wil say that until you type in

    SAPI = CreateObject("sapi.spvoice") I have vista 8)

  • Vista 8 ? you mean 7

  • The 8 and ) is a smiley.

  • hahaha okeyy=D

  • Who says SAPI doesnt work with vista? well it works for me and all windows operating systems/

  • PLZ HELP ME!! I can't test it this is wat the problem is

    Error While trying to run project: Can't load the file or assembly o0marinh0o's computer talker.the given assembly name or codebase is not right (then..) HRESULT: 0x80131047)

  • hmmm... I have never heard of this error before O.o maybe try to re-install Visual Basic 2008 Express

  • woops! ToysforGuns is another account of mine, i forget to sign into this account -_-

  • @o0marinh0o Wow I wish I had seen this sooner, you have to publish it and test it from the published folder

  • Can you tell me how to make it say it louder??

  • Turn up the volume ...

  • haha sweet! thanks a lot

  • I enjoy making my computer call me a noob.

  • i readed from the description the 2nd key but it didn;t stop talking!!!

  • is there any other voices accept "SAPI"

  • it is microsoft sam

    and maybe!

  • No It is not I did it & tryed it & it is not ok!

  • hehe good work

  • its text to speech

  • thx man awesome im definatley gonna subscribe and favorite

  • ur awesome man!!!! your the god of visual basic

  • You can also use the narrator found in , start>all programs>accessories>accessibi­lity> narrator. Then look for shortcuts to speak and open notepad and type anything. then click the hot key. Then it speaks.

  • lol i kno

    y the thumbs down??

  • do you know how to get mans voice?

  • i do :P

  • awsome it works i added it to my word pad

  • NOT WORKS

  • Fantastic.Thanks very much. It's very useful for a program of lecture I'm doing, there's sonly a certain "the program don't answer" during the reading time... do you know why?

  • Is there anyway to slow it down? It is REALLY awsome but it is a little fast.

  • Try putting on timer

  • Comment removed

  • you dont know what song :P

    oh...you had to change it??

  • mine can find SAPI.speak :S

  • LOL right click in the Toolbox, click Add, search SAPI.

  • do i need vista?

  • no way!

  • THanks man! Awesome method.

  • camtasia studio 5 or 6 you can download at punkcracks (.) (nl) (.) (nu)

  • Niceeeeeeeeeeeeeeee, Very cool.

    Works Good;

    I Like this tuto, thanks very much

  • works Perfectly 5/5 stars! and the people that say it doesnt work are retards and they cant do anything!

  • what did you recorded with?

    NICE VID MAN!!

  • cam studio

    its free

  • Camtasia Studio 6 .Not CamStudio

  • Thanks!!!

  • Works!!!

    and

    Cool

    but FAST!!!!!!!!!

  • thamks it really work for me

  • thank you for compliments

  • This program works but just the frist time. then you must close it and start the program again.

  • that may just be the 'end' code...

  • lol simple enough

  • how do i make it say it a bit slower

  • in control panel, search for "text to speech"

  • sorry i mean thank u very much

  • talk u very much

  • How do I save the voice as a wav/mp3 file? Please respond

  • Get Virus.exe

  • How do i make my PC talk with man voice?

    Cuz my talks with women voice!

  • I'm guessing you have Vista. Vista has a default voice of a woman. I don't have Vista though. XP by default is Microsoft Sam.

  • Yah! iM vista user thx!

  • thanks its not hard at all XD

  • Hey nice video.But thats microsoft Sam. lol

  • works like a treat, ty

  • Where did you get that cursor? or pointer or whatever you want to call it :P

  • lol, i can put them on mediafire if ya want and send the link to ya. ;)

  • Saweeet

  • Nice

  • Read Discription lol

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more