Click here to Skip to main content
15,892,253 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 

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...
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 Richard MacCutchan
See your repost of this question at Unity android plugin exception JNI unknown argument type 'speechrecog'[^].
20 Jun 2023 by Richard MacCutchan
Looking at the C# code you have: public void StartSpeechRecognition() { AndroidJavaObject speechResultListener = new AndroidJavaObject("com.example.unityandroidplswork.STTPlugin$SpeechRecognitionResultListener", this); ...
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...
2 Jan 2023 by xXxRevolutionxXx
I am trying to create a simple text-to-speech application using C# and `System.Speech.Synthesis`. The issue is that I want this application to work with the Greek language. So what I attempted to do is this: SpeechSynthesizer synthesizer = new SpeechSynthesizer { Volume = 100, ...
2 Jan 2023 by Member 15882701
I had the a similar issue where a string was read perfectly but an concatenated string read from a file was spelled out. The issue here was Character Encoding. Forcing the file to be read as Unicode in stead of UTF8 fixed the issue for me. So...
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 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[^]
7 Nov 2022 by Member 15706411
I made a Console Application with C# in VS and i want to convert the code to window form but it was showing error can anyone fix it. What I have tried: using System; using System.Collections.Generic; using System.ComponentModel; using...
2 Aug 2022 by Member 15706411
I am making a speech to text application in console app I have convert my console app to window form but it was working fine but when I speak anything the word is not recognized through button What I have tried: using...
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[^]
31 Jul 2022 by OriginalGriff
This is the same question you asked 3 hours ago: Convert C# console app to window form[^] - the answer doesn't change just because you don't like it...
31 Jul 2022 by Richard MacCutchan
See Create a new app with Visual Studio tutorial - Windows Forms .NET | Microsoft Docs[^].
31 Jul 2022 by OriginalGriff
Converting a console app to Windows GUI isn't simple: it's a total change in the way things work. A console app does what it wants, and tells the user what to enter when it wants it. A Windows app doesn't: it responds to what the user does when...
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...
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 Jan 2022 by Srijan Biswas
I am working on a Speech to Text project in python using Vosk API. I am trying to get the timestamps of certain phrases present in the audio for some data analysis. I need some algorithm or some approach to how I can do the same without using...
17 Jan 2022 by Member 15503411
You can get the vosk output to include times (at the granularity of a match sequence) by setting SetWords(True). e.g. rec = KaldiRecognizer(model, sample_rate) rec.SetWords(True) ----- This causes the output to include the result details - e.g. {...
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 Dec 2021 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.
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 ...
4 Aug 2021 by Me is Needer
hello everyone, i have done speech recognition app offline by using the speech library which call load grammer method which contains the words in code.but it is not good if the words written in the code , because the english language is huge so it is good to make databasefor all...
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...
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...
7 Feb 2021 by Member 14980057
How Can I Use The Dragon Naturally Speaking In Speech Recognition Project Using C# ? How can i use the dragon naturally speaking and tools in speech recognition project using c# in Visual Studio 2017 What I have tried: How Can I Use The...
7 Feb 2021 by RickZeeland
See: c# - Activating Dragon Naturally Speaking Full-Text Control feature in a WPF application - Stack Overflow[^] how to program dragon naturally speaking[^] SpeechKit - Visual Studio Marketplace[^]
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...
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.
28 Oct 2020 by Member 14977494
SpeechRecognitionEngine s = new SpeechRecognitionEngine(); Grammar words = new DictationGrammar(); s.LoadGrammar(words); try { s.SetInputToDefaultAudioDevice(); ...
28 Oct 2020 by Member 13231064
I tried using this code SpeechRecognitionResult speechRecognitionResult = await speechRecognizer.RecognizeAsync(); textBox1.Text = speechRecognitionResult.Text; But it provide output only 1 time but i want to get output continuous till i close it myself. Please help me...
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...
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...
25 Aug 2020 by DaveMathews
Speaker independent speech recognition in Mono and .NET C#
11 Jun 2020 by Mohammad Tavoosi
Hi, I have a C # project that I want to add to that unique voice recognition feature. In this project, I have to have a database of different people's voice samples and compare the incoming sounds in terms of parameters with the sounds in the...
27 May 2020 by Michael Chourdakis
A one-function library to easily integrate Speech to Text and Text to Speech in your Win32 applications
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)...
30 Jan 2020 by Member 11588640
I would like to add speech to text to my app and have my app perpetually running. Google, Microsoft, Amazon, etc, offer pay to play serverside translations. The problem is that they are way too expensive for a simple app like mine to run nonstop. I have read a bit about CMUSphinx, Kaldi, and a...
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...
19 May 2019 by TheRorooo
I am trying to recognize instructions using speech recognition in C#. These instructions consist of a vocabulary of set phrases I know. So far nothing is working the way I need as I need to be able to recognize these phrases when they immediately follow each other in continuous speech. Depending...
19 May 2019 by Thomas Daniels
Check out the Choices[^] class in the System.Speech.Recognition API. A Choices object is something you can append to a GrammarBuilder with .Append, and you can create a Choices both out of a String array and a GrammarBuilder array. I've never done experiments to this extent but Choices should...
18 May 2019 by Real-One
Hi! I'm devloping a speech recognition app using 'watson-html5-speech-recognition'. How can I constrain the recognition context to recognize only numbers (i.e the recognized word should be a number e.g 101, 40, 76, 4.. etc) and not (one hundred and one, forty, seventy six, four.. etc). I'm...
18 May 2019 by phil.o
Speech recognition converts spoken words to string, and I do not think it is possible, nor suitable, to entangle with the speech recognition engine for that. Moreover, you cannot recognize anything before having it parsed in the first place (from audio signal to actual string). Real-One wrote: I...
3 Apr 2019 by Dean Roddey
Concepts and implementation of speech recognition and control via voice
15 Mar 2019 by Member 13239997
Hi . I am a student doing a voice-related project with c#. I already used Azure Bing Speech API and Google Cloud Speech API to get people's voice as text. But I also need Azure Speaker Recognition API to identify and verify individual speaker using voice. However, there aren't many...
15 Mar 2019 by Member 14137469
Use something else. Microsoft has no code for this and I believe it is a dead end. I have been looking for a good example for 3 years, to no avail. Maybe try AWS. The Alexa has bulldozed anything from MS, Apple, and Google. AWS has got to have MUCH better APIs. I am checking this right now.
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....
9 Mar 2018 by s/w Ankit
Some online converter is available on internet but nothing is working. Exp. https://www.developerfusion.com/tools/convert/csharp-to-python/ https://www.varycode.com/converter.html both are not working. This is my C# code _recognizer.LoadGrammar(new Grammar(new GrammarBuilder(new...
9 Mar 2018 by Member 11600267
_recognizer.LoadGrammarAsync(n...
22 Feb 2018 by Rajnarrayan Bose
Hi All, I am writing a application in c#. 1:- Speak to a Alexa Device 2:- takes the string from Alexa api and executing my sql from the speech input . the problem is that in Alexa when i say "rajnarayan" , alexa capture it as "ratnaran". So when i check in my DB no record found . Please help...
22 Feb 2018 by RDBurmon
this problem will remain the same, even when we type in google we sometime get the same issue but if you remember google provides simillar matches to our search here are pseudo code - 1) try calculating the matching percentage of two words - one which is spoken and one from database, you...
31 Jan 2018 by mahirgul11
Hi, You can use this app. [^]
11 Jan 2018 by Pete O'Hanlon
I suspect the bit you're having the problem with is the fact that you seem to think that the {body} part literally means that's what you put in. What you should be encoding here is the actual audio that you want to transfer over to the API. Don't forget to properly set the parameters such as the...
11 Jan 2018 by debasish mishra
Have you checked below Exploring Microsoft Speech APIs – Les articles des consultants et experts Infeeny[^]
3 Aug 2017 by Member 12590531
I'm developing Cinema ticket booking with Speech recognition Windows Based Application using c#.I have already used system.speech namespace but found that i should train my system before i can use it. And even after training it, it recognises my speech only. So is there any way to recognise...
3 Aug 2017 by RickZeeland
Google cloud speech API: Speech API - Speech Recognition  |  Google Cloud Platform[^]
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.
21 May 2017 by Member 13213468
I mean when i say hi, my AI says "Hi Ash", And when my friends say Hi, Then too AI says "Hi Ash". It doesn't make any sense. I want AI to recognize their voice, just like when anyone say like this - hey AI my name is Johnny, then AI should reply with Hi Johnny, without entering the name Johnny...
21 May 2017 by Dave Kreskowiak
Check out Speaker Recognition API | Microsoft Docs[^]. Warning! This is NOT a trivial task.
20 May 2017 by OriginalGriff
It doesn't quite work like that - we aren't a code-to-order service. If you want someone to write your code, you have to pay - I suggest you go to Freelancer.com and ask there. But be aware: you get what you pay for. Pay peanuts, get monkeys.
25 Apr 2017 by raddevus
Using the Android TextToSpeech API we can write a simple app which reads your SMS (text) messages aloud to you.
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...
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[^].
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...
7 Aug 2016 by Mitchell J.
Learn how to setup a Raspberry Pi as a wifi router, track public transport with GTFS, install & use Django, and combine CMUsphinx, Webview, and Microsoft's speech API in an Android app. We'll also control Sonos speakers, build a security camera, and consume some API's (including the CodeProject API)
4 Aug 2016 by N4Narendran
Hi guys, I need to read the multi languages texts using Speech Synthesizer . I have loaded the texts (tamil & Hindi) from DB, but SpeechSynthesizer is not reading other than English language.Please do the needful as earliest as possible.What I have tried:am not sure how to...
4 Aug 2016 by peterkm
Please check this reference and an example for French languagePromptBuilder Constructor (CultureInfo) (Microsoft.Speech.Synthesis)[^]Hope this helps (at least a bit :-))...
2 Aug 2016 by N4Narendran
Am enhancing en existing web application which makes the visually impaired people, to be used based on the Text to Speech & Speech RecognitionHere is the code, please do the needful.using System.Speech;using System.Speech.Synthesis;using System.Threading;using...
2 Aug 2016 by N4Narendran
Thank U.My code is working fine, now the thing is I need the same to be implemented for Tamil & Hindi Languages, am already having the texts in DB and bound in Gridview too, but couldn't read through SpeechSynthesizer.Do I need to have the voice for those languages?
28 Jul 2016 by N4Narendran
Please chk my updation on the same & do the needfulSpeech Recognition is not working in Web application | The ASP.NET Forums[^]
25 Jul 2016 by Richard Deeming
Your code is running ON THE SERVER. If your server has speakers, the text will be read out on the server, to surprise and annoy your IT administrators. If your server has a microphone, the only text it's going to recognise will be the IT administrators swearing at you for writing code...
8 Jun 2016 by N4Narendran
Am enhancing an existing web application (Psychometric Test battery;using Asp.Net,C#,SqlServer)which is already being used by normal users as all of us; now we are enhancing the same for visually impaired personsSo I am thinking to implement this speech recognition in that with existing grid...
18 May 2016 by N4Narendran
Can anyone please help me to solve is issue. Am using repeater control to load the data from database. Its working properly, though am going this for visually impaired persons I am using SpeechSynthesizer to serve an audio output to the users.
18 May 2016 by N4Narendran
I found the answer fromhttp://www.aspforums.net/Threads/130496/SpeechSynthesizer-with-Repeater-control/Replies/1#Replies]]> Text to Speech
13 May 2016 by Member 9097242
1.How to enable speech recognition without that annoying recognition window, and without having to press that button on that window?2.I need to know how to recognize only the words in the XML that I created (to increase accuracy). Like: If I say "red" and that's not in the XML the recognizer...
29 Apr 2016 by Mehran Shafqat
hello every one sir is there any api available for c# that convert speech to text. im making a voice based system where user just speak and software recognize these word and type. im using custom grammar for this but its not enough to recognize everything because i need to write every single...
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.
25 Apr 2016 by Simon Jackson
True speech interaction is something we do not see very often in gaming. Sure, you have recorded audio for NPCs and a few non-silent protagonists, but it is very rare for the player to interact with speech themselves. Check out this awesome opportunity for games
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...
10 Apr 2016 by Dave Kreskowiak
This[^] download contains all the languages that are currently supported. I think you may be disappointed.
10 Apr 2016 by Richard MacCutchan
See https://support.microsoft.com/en-us/kb/2607607[^].
9 Apr 2016 by davehibshman
A simple command line based app to announce the currently logged on user using the Speech API
28 Mar 2016 by Member 11350861
Hi I'm using VOCE library in my application as I need both speech synthesis(using freeTTs) and speech recognition(using sphinx4). Here is my speech recognition code public class recognitionTest{public static void main(String argv){ ...
26 Feb 2016 by Member 12349394
I am using .NET 4 and c#what i want is to pause the recognizing event when synthesis is running.so that app can give voice output.and then resume the recognizing so that app listens to the user voice input.Its a Windows Form app on WIN 8.1data.txt contains "present"What I have...
24 Feb 2016 by Sergey Alexandrovich Kryukov
Something is wrong here. The code, as you show it, could not even compile. You cannot append string[] to a grammar builder, you have to append an instance of Choice. This is a correct code fragment:string[] phrases = new string[] { // ...}Choices choiceSet = new...
22 Feb 2016 by Ziggs6
Hey!So i'm having problem with my speech recognition program. It gives me this error: "At least one grammar must be loaded before doing a recognition." Anyways here the code.Thanks!using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using...
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...
8 Feb 2016 by MonaAvatar
I need a tool (software) or just keywords to start programming something that allows me to record, but just after the ending of a jingle and before the beginning of it...example: when I am listening to radio I need to record an emission (the mission has a jingle in the beginning and another in...
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.
17 Dec 2015 by Richard Deeming
If you're using .NET, have you tried the built-in speech synthesizer[^]? On my W10 computer, the "Microsoft Hazel Desktop" voice seems to match your gender and accent requirements. You can download other voices[^] from Microsoft, and you can apparently use some third-party "SAPI-compliant...
17 Dec 2015 by Matt T Heffron
Get a microphone and record it yourself.Hire someone to be the voice. Be sure to get an appropriate release (legal) to use the recordings as you intend.If you know someone (relative, friend, acquaintance, ...) whose voice meets your needs, just ask them to help!20 years ago a project I...
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...
8 Dec 2015 by Thomas Daniels
This article explains speech recognition, speech to text, text to speech and speech synthesis in C#.
17 Nov 2015 by philyphil54
I am having an issue creating a working wav file from a web server using speechlib. I have tried multiple ways. I have tried creating a web service that creates the wav file as well as creating the wav file directly in the code behind of the web from. The following code creates the file but...
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...