I would like to thank you very much for making this video. Your example was very well done and just what I needed for my robot project. Thanks for adding all the details, and doing it in a very concise manner. You are a great teacher! I'm glad to report that it worked perfectly the first time I tried it too. Very well done.
EXCELLENT .. Had to fix problem with sfd.Filter = "Wave Files| *.wav"; // Thank you so much for sharing. I'm not sure if you still monitor comments since it is 7 years later .. If you do -- May the Lord richly continue to bless you✨✨😂😂✨✨👍👍
+legofreak88884444 If your requirement is to clear all the textboxes whenever you click on a button with the text clear all write the following code in button_click event of clear all button... var t = this.Controls.OfType().AsEnumerable(); foreach (TextBox item in t) { item.Text = String.Empty; }
I have a question and would be very happy if someone could help. What I want to add to this App is the ability to select any text on a website for example, and then press a shortcut and that text is played (with out copy pasting it in to the text box). How would I go about doing that?
I am using microsoft visual stdio 2013. i can't get the two option SetInputToDefaultAudioDevice() ,RecognizeAsync(). please tell me the solution sir. when i write all time give error.
trying open is the same code but I have error when opening said program a lot of stuff still not working using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Speech; using System.Speech.Synthesis; namespace WindowsFormsApplication1 { public partial class Form1 : Form { //form declaration SpeechSynthesizer ss; public Form1() { InitializeComponent(); } private void label1_Click(object sender, EventArgs e) { //form load ss = new SpeechSynthesizer(); } private void label2_Click(object sender, EventArgs e) { } private void btnRead_Click_1(object sender, EventArgs e) { // read(button click) ss.Rate = trackBar1Speed.Value; //set speed // Rate is not recognized ss.Volume = trackBar1Volume.Value;// trackBar1speed isn't either ss.SpeakAsync(txtMessage.Text); } private void btnPause_Click(object sender, EventArgs e) { ss.Pause(); } private void btnContinue_Click(object sender, EventArgs e) { ss.Resume(); } private void btnRecord_Click(object sender, EventArgs e) { // record SpeechSynthesizer ss = new SpeechSynthesizer(); ss.Rate = trackBarSpeed.Value; ss.Volume = trackBar1Volume.Value; SaveFileDialog sfd = new SaveFileDialog(); sfd Filter = "Wave File| *.wav"; ss.SetOutputToWaveFile(sfd.FileName); ss.Speak(txtMessage.Text); ss.SetOutputToDefaultAudioDevice(); MessageBox.Show("Recording Completed..","T2S"); } private void btnClose_Click(object sender, EventArgs e) { // close (Button) Application.Exit(); } } }
I would like to thank you very much for making this video. Your example was very well done and just what I needed for my robot project. Thanks for adding all the details, and doing it in a very concise manner. You are a great teacher! I'm glad to report that it worked perfectly the first time I tried it too. Very well done.
Buen video gracias
good job!
I would like to thank you very much for making this video. It's really helpful for innovative developer..
Thanks sekhar....this is a Great tutorial for me :) :)
Thanks Man, Nice Tu. Very helpful.
Wonderful tutorial. Thanks!!!
Paolo Maria Guardiani
EXCELLENT .. Had to fix problem with sfd.Filter = "Wave Files| *.wav"; // Thank you so much for sharing. I'm not sure if you still monitor comments since it is 7 years later .. If you do -- May the Lord richly continue to bless you✨✨😂😂✨✨👍👍
Awesome :)
Thank you sir, perfectly complete this project but one think, how can i change voice (Male/Female/Other(My, Your)) ?
sekhar how do we do the opposite? i want to save my voice in strings and then save on to a txt file?
i have a question if i want to assign a clear all button for the text window what code would i have to implement for that button in c#?
+legofreak88884444 If your requirement is to clear all the textboxes whenever you click on a button with the text clear all write the following code in button_click event of clear all button...
var t = this.Controls.OfType().AsEnumerable();
foreach (TextBox item in t)
{
item.Text = String.Empty;
}
I have a question and would be very happy if someone could help.
What I want to add to this App is the ability to select any text on a website for example, and then press a shortcut and that text is played (with out copy pasting it in to the text box).
How would I go about doing that?
I am using microsoft visual stdio 2013. i can't get the two option SetInputToDefaultAudioDevice() ,RecognizeAsync(). please tell me the solution sir. when i write all time give error.
I need to add fill speak Arabic to my application can you send me this fill thanks
thanks for this tutorial. Appreciate if you can tell how i can invoke a media device using voice command? e.g open VLC, play song 1 ...
can we do in php ?
speak and show message boxes at the same time in c#
How can i get the source code ?
trying open is the same code but I have error when opening said program a lot of stuff still not working
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Speech;
using System.Speech.Synthesis;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
//form declaration
SpeechSynthesizer ss;
public Form1()
{
InitializeComponent();
}
private void label1_Click(object sender, EventArgs e)
{
//form load
ss = new SpeechSynthesizer();
}
private void label2_Click(object sender, EventArgs e)
{
}
private void btnRead_Click_1(object sender, EventArgs e)
{
// read(button click)
ss.Rate = trackBar1Speed.Value; //set speed // Rate is not recognized
ss.Volume = trackBar1Volume.Value;// trackBar1speed isn't either
ss.SpeakAsync(txtMessage.Text);
}
private void btnPause_Click(object sender, EventArgs e)
{
ss.Pause();
}
private void btnContinue_Click(object sender, EventArgs e)
{
ss.Resume();
}
private void btnRecord_Click(object sender, EventArgs e)
{
// record
SpeechSynthesizer ss = new SpeechSynthesizer();
ss.Rate = trackBarSpeed.Value;
ss.Volume = trackBar1Volume.Value;
SaveFileDialog sfd = new SaveFileDialog();
sfd Filter = "Wave File| *.wav";
ss.SetOutputToWaveFile(sfd.FileName);
ss.Speak(txtMessage.Text);
ss.SetOutputToDefaultAudioDevice();
MessageBox.Show("Recording Completed..","T2S");
}
private void btnClose_Click(object sender, EventArgs e)
{
// close (Button)
Application.Exit();
}
}
}
Hai gud mrng sir iam ur student in peers techonology thank u so much sir for ur video
ur teaching is wonderful sir