Skip to content
This repository has been archived by the owner on Feb 12, 2018. It is now read-only.

Plugin Detects Voice Input - Fails to execute command in HS #3

Open
ridetheflatline opened this issue Jan 23, 2017 · 1 comment
Open

Comments

@ridetheflatline
Copy link

ridetheflatline commented Jan 23, 2017

Plugin detects and displays a notification that Voice Plugin is enabled
It plays the 'detected command' sound upon a correct command being spoken
But nothing happens in Hearthstone.

Furthermore,
If an incorrect command is spoken, it doesn't play the notification sound; so it is correctly interpreting acceptable voice commands.

*using v0.9.1 (550kb)

@ridetheflatline
Copy link
Author

ridetheflatline commented Jan 24, 2017

Trying to get HDT-Voice plugin to work, I moved the "Recognition Threshold" value to 100%, pushed down the push-to-talk button (left shift), said "brawl" once or twice and crashed HDT.

  • I had the debug file option selected

Error: Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ObjectDisposedException: Cannot write to a closed TextWriter.
at System.IO.__Error.WriterClosed()
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.IO.StreamWriter.Write(Char[] buffer, Int32 index, Int32 count)
at System.IO.TextWriter.WriteLine(String value)
at HDTVoice.HDTVoice.writeLog(String LogLine, Object[] args)
at HDTVoice.HDTVoice.onSpeechRecognized(Object sender, SpeechRecognizedEventArgs e)
at System.Speech.Recognition.SpeechRecognitionEngine.SpeechRecognizedProxy(Object sender, SpeechRecognizedEventArgs 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.Internal.AsyncSerializedWorker.WorkerProc(Object ignored)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Crash report 2412017-144.txt

Nothing exciting appears in the hdtvoicelog.txt either:
hdtvoicelog.txt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant