manujoz / voice-recognition

Voice Reocgnition For Node JS
Other
17 stars 5 forks source link

Works for a bit until it crashes #4

Open MistakingManx opened 1 year ago

MistakingManx commented 1 year ago

I know the fact it has a hard time understanding me is because I can't figure out how to make one of those XML files and can't find any already available, but after it DOES start understanding me better, this happens:


ssViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at napi_call_function(napi_env__* , napi_value__* , napi_value__* , UInt64 , napi_value__** , napi_value__** )
   at dispatchEventFromCs(String data, String evName)
   at System.Speech.Recognition.SpeechRecognitionEngine.AudioStateChangedProxy(Object sender, AudioStateChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Speech.Recognition.RecognizerBase.Recognize(TimeSpan initialSilenceTimeout)
   at VoiceRecognizer.Recognizer.Listen() in D:\Node-Packages\voice-recognition\cs\CsRecognizer.cs:line 214```