Text to speech application using C#

Поділитися
Вставка
  • Опубліковано 18 січ 2025

КОМЕНТАРІ • 25

  • @Mystic0Dreamer
    @Mystic0Dreamer 9 років тому +1

    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.

  • @TheGeardarko
    @TheGeardarko 5 років тому +1

    Buen video gracias

  • @davidkim7812
    @davidkim7812 5 років тому

    good job!

  • @senthilkumarc8747
    @senthilkumarc8747 7 років тому

    I would like to thank you very much for making this video. It's really helpful for innovative developer..

  • @bittu225024
    @bittu225024 10 років тому

    Thanks sekhar....this is a Great tutorial for me :) :)

  • @ShalomBlack
    @ShalomBlack 6 років тому

    Thanks Man, Nice Tu. Very helpful.

  • @paologuardiani3989
    @paologuardiani3989 2 роки тому

    Wonderful tutorial. Thanks!!!
    Paolo Maria Guardiani

  • @jonlbs7
    @jonlbs7 3 роки тому

    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✨✨😂😂✨✨👍👍

  • @ozcanyarimdunya
    @ozcanyarimdunya 9 років тому

    Awesome :)

  • @NareshShahin
    @NareshShahin 9 років тому +1

    Thank you sir, perfectly complete this project but one think, how can i change voice (Male/Female/Other(My, Your)) ?

  • @FrankLopezx
    @FrankLopezx 8 років тому

    sekhar how do we do the opposite? i want to save my voice in strings and then save on to a txt file?

  • @legofreak88884444
    @legofreak88884444 9 років тому

    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#?

    • @sekharonline4u
      @sekharonline4u  9 років тому

      +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;
      }

  • @SunnyApples
    @SunnyApples 8 років тому

    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?

  • @AkashPal001
    @AkashPal001 8 років тому

    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.

  • @Mnt33
    @Mnt33 5 років тому +1

    I need to add fill speak Arabic to my application can you send me this fill thanks

  • @sandylanddalleedoo3779
    @sandylanddalleedoo3779 8 років тому

    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 ...

  • @yashpowar404
    @yashpowar404 9 років тому

    can we do in php ?

  • @faizanhamza7807
    @faizanhamza7807 7 років тому

    speak and show message boxes at the same time in c#

  • @meembubt6422
    @meembubt6422 7 років тому

    How can i get the source code ?

  • @jigglesmanson4970
    @jigglesmanson4970 10 років тому

    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();
    }
    }
    }

  • @bandirohini6264
    @bandirohini6264 10 років тому

    Hai gud mrng sir iam ur student in peers techonology thank u so much sir for ur video
    ur teaching is wonderful sir