15,914,109 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by depak gupta (Top 25 by date)
depak gupta
27-Mar-13 10:26am
View
error is showing on r.show() and showRecord().
depak gupta
26-Mar-13 13:54pm
View
sir. I have put my code in "solution 3" but don't know how the error could be solved.
depak gupta
25-Mar-13 23:36pm
View
sir. I want it work with my speech command not by clicking button manually.
depak gupta
22-Mar-13 14:07pm
View
sorry here below is the code please check and tell how to implement button click by using command.
depak gupta
22-Mar-13 7:08am
View
sir, I have put code below but I don't know how to perform button click by command if possible check and improve it.
depak gupta
18-Mar-13 14:36pm
View
so,can you tell me how could I use this command so that when I say start it starts my application
depak gupta
18-Mar-13 11:18am
View
Thanks sir for doing this for me ,I have also done same as you said but it is giving different from what I recorded and also not accurate please provide some advice about this.
depak gupta
18-Mar-13 3:44am
View
yeah ,it's all correct but same error please run it in your system and reply.
waiting for your's reply.
depak gupta
17-Mar-13 13:59pm
View
i'm getting run time error at ( recognitionEngine.SetInputToWaveFile(@"C:\Users\Deep\Music\New folder\mp3.wav");)line no. 30 as file not found ,is the way of writing path is proper
depak gupta
15-Mar-13 12:31pm
View
sir, if I want to use my command to click button events,so can you please provide me logic behind this.
depak gupta
14-Mar-13 16:26pm
View
sir, I have one speech recognition library but don't know how to implement it if you can write down the steps I will follow it.
depak gupta
11-Mar-13 10:29am
View
OK sir, below I have gave my code with improve code written on it. please check it why I'm not able to write it on richTextBox or improve as you like.
waiting for reply.
depak gupta
10-Mar-13 5:48am
View
hi sir, after a long I want your help again as I'm not getting tool in c# i.e Custom WaveVeiwer can you help me to get this tool.
depak gupta
3-Mar-13 7:55am
View
sir, I have not made any code about controlling calculator with my voice I have just use reference link provided by you yesterday, I had run that code but it was in console where I not found any answer related to my queries, so once again provide me some necessary detail related using calculator as early as possible.
Thanks and eagerly waiting for your answer.
depak gupta
2-Mar-13 11:50am
View
sir, i'm waiting for your reply as I have posted the code above for controlling in-built calculator and one more thing I want to ask you that is how to make recorder with the use of c#.
Waiting for your reply,
Thank's in Advance.
depak gupta
2-Mar-13 4:37am
View
sir. I have posted my code above please provide me solution as early as possible.
depak gupta
2-Mar-13 2:17am
View
Improve question
case 1
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Speech.Recognition;
namespace ConsoleApplication8
{
class Program
{
static void Main(string[] args)
{
// Initialize an instance of the shared recognizer.
using (SpeechRecognizer recognizer = new SpeechRecognizer())
{
// Create and load a sample grammar.
Grammar testGrammar =
new Grammar(new GrammarBuilder("testing testing"));
testGrammar.Name = "Test Grammar";
recognizer.LoadGrammar(testGrammar);
// Attach event handlers for recognition events.
recognizer.SpeechRecognized +=
new EventHandler<speechrecognizedeventargs>(
SpeechRecognizedHandler);
recognizer.EmulateRecognizeCompleted +=
new EventHandler<emulaterecognizecompletedeventargs>(
EmulateRecognizeCompletedHandler);
completed = false;
// Start asynchronous emulated recognition.
// This matches the grammar and generates a SpeechRecognized event.
recognizer.EmulateRecognizeAsync("testing testing");
// Wait for the asynchronous operation to complete.
while (!completed)
{
Thread.Sleep(333);
}
completed = false;
// Start asynchronous emulated recognition.
// This does not match the grammar or generate a SpeechRecognized event.
recognizer.EmulateRecognizeAsync("testing one two three");
// Wait for the asynchronous operation to complete.
while (!completed)
{
Thread.Sleep(333);
}
}
Console.WriteLine();
Console.WriteLine("Press any key to exit...");
Console.ReadKey();
}
// Handle the SpeechRecognized event.
static void SpeechRecognizedHandler(
object sender, SpeechRecognizedEventArgs e)
{
if (e.Result != null)
{
Console.WriteLine("Recognition result = {0}",
e.Result.Text ?? "<no text="">");
}
else
{
Console.WriteLine("No recognition result");
}
}
}
}
case 2
using System;
using System.Speech.Recognition;
namespace SpeechRecognitionApp
{
class Program
{
static void Main(string[] args)
{
// Create an in-process speech recognizer for the en-US locale.
using (
SpeechRecognitionEngine recognizer =
new SpeechRecognitionEngine(
new System.Globalization.CultureInfo("en-US")))
{
// Create and load a dictation grammar.
recognizer.LoadGrammar(new DictationGrammar());
// Add a handler for the speech recognized event.
recognizer.SpeechRecognized +=
new EventHandler<speechrecognizedeventargs>(recognizer_SpeechRecognized);
// Configure input to the speech recognizer.
recognizer.SetInputToDefaultAudioDevice();
// Start asynchronous, continuous speech recognition.
recognizer.RecognizeAsync(RecognizeMode.Multiple);
// Keep the console window open.
while (true)
{
Console.ReadLine();
}
}
}
// Handle the SpeechRecognized event.
static void recognizer_SpeechRecognized(object sender, SpeechRecognizedEventArgs e)
{
Console.WriteLine("Recognized text: " + e.Result.Text);
}
}
}
depak gupta
1-Mar-13 15:51pm
View
Deleted
sir, also tell me how to use STA or MTA is there any reference we have to provide.
Thank's in advance.
depak gupta
1-Mar-13 15:30pm
View
sir, I want to use in-built calculator,notepad or wordpad of windows 8 so how can I get idea with this code it's just a testing recognition by adding words into grammar and in both case I found error ( EmulateRecognizeCompletedHandle and complete ).I have attached code below it please provide little bit detail.also tell how to use STA an MTA is there any reference we have to provide.
Thank's in advamce.
depak gupta
1-Mar-13 11:17am
View
yes, I have to do on System.Windows.Forms in English language and what ever may be easy whether Speech recognition or user's selection. please suggest as early as possible.
Thank's in advance.
depak gupta
1-Mar-13 1:56am
View
Ok Sir, can I use in built calculator with my voice or can I write on notepad or wordpad by using my speech command. if you can help me little bit coding on this it will be very thankful to me .
Thanks in advance.
depak gupta
28-Feb-13 3:54am
View
Sir, recommend any Dictionary which Can be compatible with this or any idea by which I can make short and simple project.
depak gupta
27-Feb-13 15:23pm
View
Hello Sir,, then which technology will you recommend that can be good for my project or what are other possibilities I should follow to get out from it.
Thanks in Advance.
depak gupta
26-Feb-13 10:33am
View
Thank's sir, once again you replied best sir below is my code where I have to manually add words in example.txt if there is any dictionary that I can add if it is possible then it will very thankful or can you improve this code where I can add dictation.
Thank's in advance.
depak gupta
25-Feb-13 3:46am
View
Thanks sir for replying to my queries, but now I have tried tutorials in windows8 speech Recognition where I find till bit accuracy problem It's Ok, now can you suggest me idea how I can add the words so when user speak it gets written on richtextbox or textbox and written text will get dictated. e-mail id:deepakgupta10692@gmail.com
I'm making this kind of application so that handicapped can record any speech or may be lectures held in college so afterward they can hear the recordings.
if this is possible so please provide idea or else any alternative which can be good.
Thank in advance.
Show More