Click here to Skip to main content
15,892,161 members
Everything / Speech

Speech

speech

Great Reads

by Michael Haephrati, rolsaad
We were asked to develop a piece of software which will select an optimal combination of sentences from e-books which will give the closest result to a set of targets for each character.
by Liju Sankar
Read Loud Email Sender and Subject as soon as you received an email in OUTLOOK
by Michael Chourdakis
A one-function library to easily integrate Speech to Text and Text to Speech in your Win32 applications
by Afzaal Ahmad Zeeshan
Introduction and Background As the title suggests, this post is a personal recommendation for the users of Microsoft Cognitive Services, the services that provide a cloud-based subscription-based solution for artificially intelligent software applications, with an any team, any purpose and any scale

Latest Articles

by Afzaal Ahmad Zeeshan
Introduction and Background As the title suggests, this post is a personal recommendation for the users of Microsoft Cognitive Services, the services that provide a cloud-based subscription-based solution for artificially intelligent software applications, with an any team, any purpose and any scale
by Michael Haephrati, rolsaad
We were asked to develop a piece of software which will select an optimal combination of sentences from e-books which will give the closest result to a set of targets for each character.
by DaveMathews
Speaker independent speech recognition in Mono and .NET C#
by Michael Chourdakis
A one-function library to easily integrate Speech to Text and Text to Speech in your Win32 applications

All Articles

Sort by Updated

Speech 

6 Aug 2012 by Aarti Meswania
yes you can,.Net Provides dll for this,for reference code see,http://msdn.microsoft.com/en-us/library/system.speech.recognition.speechrecognizer.aspx[^] Happy Coding!:)
3 Jun 2011 by Abhinav S
TrySpeech Recognition[^]A Very Easy Introduction to Microsoft .NET Speech Synthesis (VB, C#, C++)[^]
27 Aug 2014 by Abhinav S
Some articles that might help you -A Simple Speech Application Using SAPI 5.1 SDK[^]Working with the MS Speech SDK in C#[^]Text to Speech with the Microsoft Speech Library and SDK version 5.1[^]
16 Jul 2015 by Abhishek Pant
C# Speech to Text[^]Google[^]
13 May 2012 by abhishekmathur786
hii,I have used mfcc for feature extraction of speech samples and then normalized them using min_max algorithm.Now I want to take 70% of them for training and 30% for sampling or testing. I am unable to do that using the code which I have.I am writing the code below .I ma thankful to the...
16 Jul 2012 by aditya behara
You can use System.Speech dll. It is very good. You have methods which will take care of this task. Also the accuracy level for speech to text which I observed was not upto the mark.Further it provides some methods to select a speaker, pace at which text has to be read etc etc
11 Oct 2014 by Afzaal Ahmad Zeeshan
Well, to be generally speaking about Speech, you can always use Microsoft's Speech APIs. http://msdn.microsoft.com/en-us/library/system.speech.recognition(v=vs.110).aspx[^].But as already said, you need to work around on this project, as it is really very hard to find the specific patterns...
13 Nov 2014 by Afzaal Ahmad Zeeshan
There is no Screen Reader in .NET or in Visual C# langauge itself. The screen can be however accessed as a Graphics object in your application, and then you can use some sort of OCR or OMR service to read the characters from the graphics or image you save. I can give you an example of how to get...
14 Nov 2014 by Afzaal Ahmad Zeeshan
This is the same question[^] you've had asked yesterday (or day before) and I have already posted an answer for reading the characters from an image. You need to use an OCR (Optical Character Recognition; recognizer) to read the characters from an image. That is a sample project[^] I have...
16 Nov 2015 by Afzaal Ahmad Zeeshan
Simple answer: You cannot do that in ASP.NET as client may not have the programs installed.Long answer: Actually, you can, but for that you would have to run the service on the web server and perform the speech recognition task there. Then return the response from your server, back to the...
14 Oct 2020 by Afzaal Ahmad Zeeshan
There are several ways in which you can do that, the simplest would be to reuse a third-party system, such as Google's Dialogflow or Microsoft LUIS. Direct comparison of the user input and then mapping it to commands is a very difficult and...
10 Jan 2022 by Afzaal Ahmad Zeeshan
Introduction and Background As the title suggests, this post is a personal recommendation for the users of Microsoft Cognitive Services, the services that provide a cloud-based subscription-based solution for artificially intelligent software applications, with an any team, any purpose and any scale
17 Jan 2014 by agent_kruger
you could use POP client see the example below to get the whole mail to c#A POP3 Client in C# .NET[^]
11 Nov 2011 by Aleksa Krstic
Can I make a custom grammar using the System.Speech assembly in a language other than english?
20 Apr 2021 by alex minarial
What is the maximum file size that can be used in a voice comparison service? Also, how can code be integrated with a project where the staff is telecommuting? What I have tried: What is the maximum file size that can be used in a voice...
10 Sep 2014 by ali_heidari_
Hi.I am working on a small application for android using xamarin.android and c#, a part of it is listening to user speech!I am using Android.Speech.SpeechRecognizer for this. this is my code :Android.Speech.SpeechRecognizer sp =...
4 Sep 2014 by alienqueen
sample code or project please. javascript code or c# in asp.net is needed
24 Sep 2014 by alienqueen
not work. another solution please
1 Dec 2012 by AmitGajjar
Hi sorry for your first answer, Hope first solution helps you in that.For your second question, you can rate each word by their frequency of use. by that way you can filter out lease frequently used words. so you do not need to fetch 450000 words from the database. Although i have never...
25 Oct 2011 by Anuja Pawar Indore
Refer thishttp://code.msdn.microsoft.com/Text-to-Speech-Converter-0ed77dd5[^]
15 Mar 2015 by Arkadeep De
Just Google once before you are posting some question.I am providing you just the second link..Speech Recognition for the Web[^]check it...whether it matches your requirement or not.
14 Oct 2020 by Armeen Moon
Iam trying to make voice control form in html through webkit speech for example if I say in voice "add first name" it will go in first name field the "focus" in form, and then I will say "Moon" so in first name field it will input the word I...
9 Apr 2014 by azizgolzar
helloi recordec RTP payload payload's (coded by speex or opus or gsm) in a txt file(number in hex) and i need to decode it to a .wav filecan u help me plz? have good time
13 Jun 2011 by bean2604
http://chupanh...
20 Mar 2012 by Bernhard Hiller
Look: when your application is running on the server, where will the audio be played? On your client computer? No, of course on the server. And do you think a web server has some audio devices attached? Surely not. It fails the moment when your application starts to play the audio.What you can...
6 Aug 2012 by Bernhard Hiller
Perhaps you tried to big a thing when you played with Microsoft Speech Recognition: using its full vocabulary.Create a small vocabulary - containing only the names you want to recognize, and their pronounciation. You could start with recognizing simple numbers (one, two, three,...) before you...
6 Aug 2012 by Bernhard Hiller
The most important information was provided as a comment to an answer only: "different language - Bengali".Why is this the most important info?Speech recognition starts with retrieving "phonems" from the audio stream. The phonems available - and their exact pronounciation - differs between...
3 Nov 2014 by BillWoodruff
Assume: a WinForms project where:1. ControlsButton: btnTranslate: click to translate English to Arabic: uses rtbEnglish, rtbArabicButton: btnSearchButton: click to search for an English word: uses tbSearchEnglishRichTextBox: rtbEnglish: displays user-entered English...
26 Dec 2020 by BillWoodruff
Ask the vendor you bought a Win 10 VPS from what its constraints are. 1. does it support the necessary libraries to enable speech recognition. 2. does it support some form of routing audio/mic input to an external user.
11 Jul 2011 by BobJanova
This is a seriously hard problem, and, frankly, the fact that you're asking such a question as a one liner expecting someone to answer it shows that you are not ready to try solving it.
17 Dec 2015 by Brady Kelly
I'm looking for a file or series of files where a woman's voice pronounces the numbers 1 to 10, and maybe zero. Look, 0 to 100 would be a huge bonus, but all I really need are 1 to 10. The voice should be sexy with a non-regional English (UK) accent, as a personal preference. When I release the...
26 Dec 2020 by brandon1999
Hi, hope you guys are ok I created a software that uses net framework 4.7.2 my friend tested it on windows 7, she said she couldn't install net framework on windows 7, so i installed Virtualbox and then installed windows 10 on it, software...
30 Jan 2014 by ch.haya
i have a code working for a smal sound wave but i have to convert a full lenght english song to text.... my code is only working with a short sound wave...i have written my code below ...what is wrong with this code and what are the changes i have to make in this code ...thanks...
20 Jun 2023 by CheesePotat0
I created a Java plugin to include speech recognition in my Unity Android game. It is activated by touching a button onscreen, and when the button is released, the audio is processed. This feature isn't working, and checking the game logs I found...
20 Jun 2023 by CheesePotat0
I keep on getting this same error each time I test my game and I don't even know where it is being generated. This is the related code Java plugin package com.example.unityandroidplswork; import android.content.Intent; import...
26 Jun 2023 by CheesePotat0
I'm including voice commands for my Android game in Unity. The speech recognition is triggered via button, and the recognized command is supposed to be shown on a TextMeshPro onscreen. At first it looks like it's working, but the TextMeshPro...
27 May 2015 by ChrisCreateBoss
I'm trying to do a calculator using speech recognition, so it can be managed through voice. So for example, the user says "How much is 56 times 90?", the application should answer "5040". I gave a look to this: https://msdn.microsoft.com/en-us/library/office/hh538500(v=office.14).aspx[^]It...
7 Feb 2012 by Christian Graus
Based on your variable names, this is not yet a serious project. Have you downloaded samples from MS and run them ? I'd take a sample and progressively change it to be what you want, and test with each change, at this point, as you've been chasing this for days. Is it possible it just can't...
23 Jul 2012 by Christian Graus
Don't forget, ASP.NET can't do speech recognition. You need a way to embed the component in your web page, and HTML is not going to do it for you. You need to post code, but I suspect our first issue will be that your code is running on the server, which happens to also be the client on your...
3 Dec 2019 by CodeChecker 5689
when I am trying to get one of the Audio file to be Tran-scripted using the Provided Conversation Transcription API , I am getting all the Transcribed speech as well as USERID ($ref$) in response. What I have tried: I have taken a WAV audio file(1560Kbps bitrate) Mono which is of 16-bit 16 kHz...
16 Jul 2015 by Coder1999
Hello. Is there a way to convert my speech to text? I already know how to do text to speech but it would be great if I could just speak and the computer automatically turned my speech into text on the screen. For the moment I just want it to turn my speech into text in a Message Box in Visual...
18 Jul 2015 by Coder1999
Hello. I've been searching the internet for a way for me to stop the current speech recognition engine and at the same time activate a new speech recognition engine. Is there a way to do this. I've tried doing it myself but every time I say "Stop Listening" the 'break' window shows up and...
26 Jul 2015 by Coder1999
Hey. Is there a way to put a speech recognition engine into a if statement. I have tried but i always get an error and the error is "Cannot assign RecognizeAsyncStop() because it is in a method group".This is the code that I have if (recEngine.RecognizeAsyncStop =...
18 Aug 2015 by Coder1999
Hello. I was wondering if there was a way to assign certain responses to a case statement. This is an example of what I want to do;switch(e.result.text){ case "Tell me a joke": synthesizer.speakasync("Why did the chicken cross the road?"); break; ...
18 Aug 2015 by CPallini
Since you use a string to return another string, using a Dictionary would be pretty straightforward, e.g.Dictionary response = new Dictionary(){ {"Tell me a joke", "Why did the chicken cross the road?"}, {"I don't know", "to get to the...
23 Aug 2016 by Cryptonite
I recommend the Raspy Pi for what you're trying to do. Spoiler alert! You will have fun tinkering with this board.Best Voice Recognition Software for Raspberry Pi - DIY Hacking[^]And this one is compiled using GCC (which is a C compiler):Adding speech recognition to your embedded...
10 Dec 2012 by d3v1l401
When i set the culture en-US,it returns this error: (Italian) Impossibile trovare un riconoscimento con l'ID richiesto. (English) Can not find recognition with required ID.The code that i'm using is equal to the MSDN's one.Many solutions?
6 Jun 2014 by DamithSL
check below SO question and answers Library for noise reduction?[^]hope this helps you
9 Jun 2011 by Dave Kreskowiak
If you're listening for both at the same time, you'll have to put a single word in the command list to get the attention of a seperate command listener.Basically, you listen for a single word, like "computer" or "command", then when that command is heard, you change out the commands in the...
2 Jul 2012 by Dave Kreskowiak
Your gram declaration runs BEFORE the Form.Load event is fired, so on the first run of your app, the grammar.xml file doesn't exist and is empty.Your code should be creating the Grammar object after it has written the file:Public Class Form1 Dim engine As New...
2 Jul 2012 by Dave Kreskowiak
:WTF: You wired up the LoadGrammarCompleted event (which you don't need and wiredup to the WRONG handler BTW), but not the SpeechRecognized event?? How are you going to get notified that the engine heard something??When you finally get the event handler written and wired up, you can get...
8 Feb 2016 by Dave Kreskowiak
I think you're looking for "acoustic fingerprinting". Google for it.Though, this is just a guess because your problem description is quite vague.
10 Apr 2016 by Dave Kreskowiak
This[^] download contains all the languages that are currently supported. I think you may be disappointed.
29 Apr 2016 by Dave Kreskowiak
Microsoft's speech API is not setup for full dictation.Something like Dragon[^] is, but it isn't free.
23 Aug 2016 by Dave Kreskowiak
You're going to have to do you're own research on this, possible even go as far as implementing some of this in hardware yourself.Start reading these[^].
21 May 2017 by Dave Kreskowiak
Check out Speaker Recognition API | Microsoft Docs[^]. Warning! This is NOT a trivial task.
3 Aug 2017 by Dave Kreskowiak
What you want doesn't exist. Dragon Naturally Speaking[^] is just about the best speech recognition engine on the market and even it has it's limitations and learns as you talk.
9 Apr 2016 by davehibshman
A simple command line based app to announce the currently logged on user using the Speech API
25 Aug 2020 by DaveMathews
Speaker independent speech recognition in Mono and .NET C#
3 Apr 2019 by Dean Roddey
Concepts and implementation of speech recognition and control via voice
11 Jan 2018 by debasish mishra
Have you checked below Exploring Microsoft Speech APIs – Les articles des consultants et experts Infeeny[^]
26 Mar 2014 by Devil_06
I am Developing an Simple Speech recognition application which recognizes a some wordsi am confused between using System.Speech.Recognition and Microsoft.Speech.Recognition because both are almost the same ! i cant make out which should i use !i want to try my app to be optimized...
16 Jul 2015 by Dharmesh .S. Patil
There is very good articles available in it:1)Speech recognition, speech to text, text to speech, and speech synthesis in C#[^]2)C# Speech to Text[^]3)How to implement voice recognition in C# using speech-to-text[^]I hope this articles will help you :)
17 Jul 2015 by Dharmesh .S. Patil
Try this One Convert audio file to text:-Using System.Speechpublic class MyRecognizer { public string ReadAudio() { SpeechRecognitionEngine sre = new SpeechRecognitionEngine(); Grammar gr = new DictationGrammar(); sre.LoadGrammar(gr); ...
15 Mar 2015 by Dinuka Jayasuriya
How do I display the choices the Speech Engine goes through before deriving at a conclusion, similar to this example: https://www.google.com/intl/en/chrome/demos/speech.html[^]When a sentence is spoken, google displays the choices it goes through by changing the words dynamically before...
28 Feb 2013 by Doug Swanson
I am totally lost as I try to get into speech recognition!!! help!!How do I prepare my self to compile the .xml file to make a grammar??!!Is the compiler a separate entity that I need to obtain??If I can just do it with the command line what are the commands?(Couldn't sift anything...
8 Jul 2011 by ebilpola23
Is there a way to get the time a spoken word was recognized in speech recognition? I am using C#, and the SAPI5.1So far, I found this decimal position = (decimal)sfs.Seek(0, SpeechStreamSeekPositionType.SSSPTRelativeToCurrentPosition)from hereI haven't tried it yetbut I want...
24 Oct 2011 by ehabgami
I want to helped in this application.
20 Mar 2012 by El_Codero
Hi,we need much more info about your project. Do you already checked permissions/basic settings/Event Log?There are several sub categories at Error 500 (IIS 7 + 7.5):http://support.microsoft.com/kb/943891/en[^]You already started IIS Service and it's installed and running...
6 Aug 2012 by eladweiss06
Hello,I want to build an application like the one in the old cellphones, where you could record someone's name, and then call that person by saying it (for example, while you were driving).I tried microsoft's speech SDK, but it didn't even come close to understanding what I'm trying to...
6 Jun 2014 by Espen Harlinn
Have a look at NAudio[^]After a very brief read-through I guess it's worth having a look at - and there is a fair amount of information available at: Audio Programming with NAudio[^] - and according to the table of contents you can use the library to do Pitch Shifting, so it would be...
16 Apr 2018 by Exergist
I'm very close to completing a personal project for modifying the Windows speech dictionary via C# (SAPI 5.4). The last bit I'm working on is how to get the SAPI phone set for a given word. I've found a way to do this via a C# form and spoken recognition obtained through SpSharedRecoContext....
21 Jul 2012 by Ganesh Kumar Kaki
HiInorder to convert your speech to text you have to use MICROSOFT SPEECH SDKBy using this you can easily convert your speech to text.you can download the speech SDK from the following linkhttp://www.microsoft.com/en-us/download/details.aspx?id=10121[^]Might the following link will...
30 Jan 2020 by Gerry Schmitz
"Server side" language processing is an "option". It uses more AI and has more voice options. The OS comes with installed voices and synthesizer that are adequate for most apps. You just need to consult the documentation for the correct "environment" (The Microsoft versus the Windows (speech)...
2 Aug 2022 by Gerry Schmitz
Your code does not compare with actual working code; console or otherwise. e.g. where is your "LoadGrammer" or event handler hookup? SpeechRecognitionEngine Class (System.Speech.Recognition) | Microsoft Docs[^]
9 Dec 2011 by girly111
Hello! :)I'm planning on developing a simple text editor with speech recognition for my school project but I really don't know what resources I need or what API to use or even what language is most suitable. Really appreciate if anyone can suggest how to start with! :)
9 Jun 2011 by grad_stu
Hi All,I'm a newbie to both Speech Recognition and C#. I'm working on a project which includes distinguishing commands from normal conversation. I added a custom grammar that indentifies four commands (as of now) namely, 'next', 'previous', 'home', 'end'. But when I speak some normal...
9 Jun 2011 by grad_stu
I'm listening for some specific words only through SpeechRecognitionEngine. Snippet of my code goes as RecEngine = new SpeechRecognitionEngine(); RecEngine.SetInputToDefaultAudioDevice(); mygrammar = sampleGrammar(); ...
10 Jun 2011 by grad_stu
Hi,I want to improve the speech recongnition in C#. Currently i'm using a custom Grammar with some commands, but when i speak some words, the recognition engine confuses those words with the commands stored in custom grammar.In Speech Recongnition, is it possible to define your own...
1 Jan 2023 by Graeme_Grant
I did a quick Google Search: How to get speech recognition to work in an iframe - Google Search[^] Found the following solution: Speech functionality not working in IFrame [Accepted Solution] - StackOverflow[^]
14 Feb 2016 by Gurudatt 8032986
I am working on a form based application in C# using Visual Studio 2015 that will recognize voice commands and speak accordingly. For example, if I say "Weather" it will speak out current weather of my location. If I say "News" it will read out news. Now I want to implement a "Stop" voice...
27 Aug 2014 by hor_313
HiI'm looking for a book to learn how can I build a program that can convert speech to word?
23 Aug 2016 by hor_313
HelloI like to build a simple system with voice recognition, when user says "GO" system runs, and when he says "OPEN" it opens something, etc.How can I do that in C with ARM microcontrollers? Is it possible to have a system with small dictionary (20 to 50 words)? Is there simple way and...
11 Feb 2012 by Ibrahim Abdelgawad
Hi every one.I want to develop An Arabic speech recognition System that will be mobile basedit will like vLingohttp://store.ovi.com/content/16544?clickSource=AAS program but for Arabic language so i face a problem that what the module that i will select and i need some body to be connected...
19 Oct 2012 by IMOH NNAH
how can i download text to speech application
28 Feb 2013 by Ishpreet Kaur
I need algorithm or vb.net or c/c++ code for applying STFT(Short-time Fourier Transform) on speech signal samples.
17 Nov 2014 by Jami Rocha
Hello! Actually this is my first time to post in codeproject. I hope you can help me out. I'm writing a speech recognition application in C#. I already know how to train the speech recognition and set up the microphone without going to the control panel. Now, my problem is i don't know how...
23 Aug 2011 by jdcodes
i am trying to develop an android application, which takes input from the user. user speaks mathematical expression or just a number followed by a operator then again number, n finally call out calculate. then application display result. can any one guide me or lead me, how should i achive...
7 Aug 2011 by jithinpl
You can use SpeechSynthesizer Class for how to pronounce a word.Sample C# CodeSystem.Speech.Synthesis.SpeechSynthesizer sp= new SpeechSynthesizer();sp.Speak("Hello");Sample VB CodeDim sp as new System.Speech.Synthesis.SpeechSynthesizersp.Speak("Hello")
10 Apr 2016 by john1990_1
I made this free program:sites.google.com/site/texttospeechwindows/I want it to speak languages other than English, where should the user download the text to speech languages for Windows?What I have tried:I tried this and downloaded but didn't add to my speechlib...
4 Jun 2021 by john1990_1
I have a program that when Ctrl+C is pressed twice fast the text in clipbaord gets spoken. Like this I get only (for English): Mark David Zira With David and Zira appearing twice each. And I see voices for other languages installed in my...
21 Aug 2021 by john1990_1
I want GetAttribute(xyz) to be something like: GetAttribute("Language") And then a language is returned as a string maybe, as I want to categorize dozens of voices that the user may have into categories based on their language, I want ...
1 Jan 2023 by jpaxtons
Greetings! I have a simple test of ChatGPT working in a web page. When I try to use in an Iframe, the microphone is not heard. (No error messages even in the chrome console) Otherwise (typing) works fine and the chatbot returns spoken answers....
1 Dec 2012 by Kasparov92
Hello, I want to make a program that reads a given English word in real time.I have 2 ideas to make it but I need some guidance threw them 1) is to make have a database with all the English words and a pronunciation for each word, so given a word I will have to look for it in the DB...
17 Jan 2014 by Keno995
I made a simple speech recognition program and the one thing that is missing is how to make it read mail (gmail,outlook) using speech recognition and to notify me when new message comes?additional information copied from comment belowI want that program will notify me when I have +1...
27 May 2022 by kkkwj
I have a working C# Windows 11 app that uses the NuGet package System.Speech for recognition. But my code only specifies grammars containing specific words and phrases to do the things I want it to do. I would like to specify a grammar that...
17 Jun 2022 by kkkwj
I was trying to figure out a way to do what Dragon Naturally Speaking has done for years, where you can define matching strings of the form "my keywords here ". Dragon matches your command on the first (specified) words and passes in...
3 Dec 2011 by knuty123
I have 5 different voices installed in my systemAlberto16Audrey16IVONA AmyMicrosoft SamVM Katewhen I run the following test app both Alberto16 and Audrey16 do not fire the "speechinprogress" event. All the other voices fire the event. Could this be a bug in the speech...
4 Dec 2011 by knuty123
Thx Dave! I have tried back and forth with the 5 voices installed. the behavior is clear. Only those 2 voices don't work. I have just added some more eventhandlers and one more voice to my system. Now there is even more chaotic behavior. All voices fire the "speech started" event. No voice...