problem solved, i had to introduce more selections in SetInterest:
SPFEI(SPEI_SOUND_START) | SPFEI(SPEI_SOUND_END) |
SPFEI(SPEI_PHRASE_START) | SPFEI(SPEI_RECOGNITION) |
SPFEI(SPEI_FALSE_RECOGNITION) | SPFEI(SPEI_HYPOTHESIS) |
SPFEI(SPEI_INTERFERENCE) | SPFEI(SPEI_RECO_OTHER_CONTEXT) |...
Well, it is exactly when i call LaunchRecognition. At that moment, SAPI should have send the WM_RECOEVENT message. Then i would have been able to get the text that was spoken by the user.
well, after calling SetNotifyWindowMessage, it was suppose to append automatically. So when ever i launch speech recognition, the api should have send a WM_RECOEVENT message but it is not doing it.
I'am developping a speech recognition application, all the code has been written correctly. However, SetNotifyWindowMessage would not send any message to the windows procedure
-WM_RECOEVENT never get called
here is the full code:
#include "resource.h"
#include "grammar.h"
#include <windows.h>...
here is the full code:
#include "resource.h"
#include "grammar.h"
#include <windows.h>
#include <sphelper.h>
#include <string>
#define IDC_EDIT1 1001
#define ID_START_RECOG 1002
#define WM_RECOEVENT WM_USER+190
void CreateWnd(const char *title, int x = 200, int y =...
I'am developping a speech recognition application, all the code has been written correctly. However, SetNotifyWindowMessage would not send any message to the windows procedure
#define WM_RECOEVENT WM_USER+190
cpRecoCtx->SetNotifyWindowMessage( hWnd, WM_RECOEVENT, 0, 0 );
LRESULT CALLBACK...
i have converted recently a dos program to a windows program using dialog box for interface but however due to the event driven nature of win32 programming (win32 API programming) i'm geting some dfficulties converting some part of the program, here is an example of a simple algorithm that...
i have converted recently a dos program to a windows program using dialog box for interface but however due to the event driven nature of win32 programming (win32 API programming) i'm geting some dfficulties converting some part of the program, he is an example of a simple algorithm that...
i have converted recently a dos program to a windows program using dialog box for interface but however due to the event driven nature of win32 programming (win32 API programming) i'm geting some dfficulties converting some part of the program, he is an example of a simple algorithm that...
could it be because of the drivers of the sound card, maybe by unisntalling the drivers and installing the updated drivers on the Realtek website might solve the problem.
Well, i had the same problem with windows vista, it was very slow at the begining. The system was so slow that i couldn't use it to do anything at all. These problem however was solved by doing a Bios Update.
Problem solved! I just had to install a free dvd codec package from the internet: (Cole2k Media - Codec Pack V6.0.9 Advanced): http://www.cole2k.net/?display=Codec-Pack-Advanced
Curiously enough, i had tried to download before the "Vista Codec Package", "K-Lite Codec Pack" and "XVid" and others...
I've tried all the of the subjestions above but somehow i'm still having the same problem as before. So basicaly i have changed the language on the DVD submenu of Windows Media Center, i've looked under the regional settings in Control Panel and all was setup to be in english. I've also...
I`m using Windows Media Center and it`s not the only movie that i`m trying to play that is doing this. I have `Alien 3` wich was english when i first listen to it, there is also`I Robot` wich also when i have listen to it in windows xp. But in Windows Vista, all this movies are displayed in...
when i try to play movies in windows vista, i'm having the "wrong audio language", the movie is playing in russian instead of english. Is there anything that i can do to correct these problem?
Thanks to everyone, the problem that i have had with windows vista is now solved! It was just a wrong setting on the bios that needed to be corrected. The graphic card was set on "pci" instead of "onboard". Now windows vista runs at the speed of light!! (the current speed of the computer with...
It's not that win xp pro has a lower idle percentage but it is really that the overall cpu usage shown in the bottom of task manager when i`m not doing anything is between 0 and 1%
but with windows vista, i always get 100% of cpu usage most of the time. I most agree that it might not be the...
basicaly, you just need to do:
char *s = "this is a test";
char c = *p; /* will store the first character of the string 's' in the character variable 'c'*/
printf("%s\n",c);
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.