Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Telorast

Pages: [1]
1
Bug Reports / AccessViolationException at SpeechLib.ISpeechVoice.Speak
« on: January 28, 2022, 01:33:47 PM »
I recently upgraded from 2.3.0.8 to 2.3.1.1b and now VC keeps crashing.
I'm trying to run a SpeakSync command and half the sentence will be read correctly, then the crash happens.

The last entry in the logfile is:
Code: [Select]
2022-01-28 17:59:08 849 Action from plugin: C:\Dropbox\Apps\Vox Commando\Plugins\TTS\TTS.dll
2022-01-28 17:59:08 913 Action RESULT:
2022-01-28 17:59:08 913 Action claims to be threadsafe.
2022-01-28 17:59:08 913 action repeat set to: 1
2022-01-28 17:59:08 913 Action:  TTS.SpeakSync
2022-01-28 17:59:08 913 Param1:Friday: minus 4 degrees. Up to 2 degrees and Clear.
2022-01-28 17:59:08 913 addHistoryItem [action] TTS.SpeakSync:Friday: minus 4 degrees. Up to 2 degrees and Clear.

2022-01-28 17:59:08 913 Action from plugin: C:\Dropbox\Apps\Vox Commando\Plugins\TTS\TTS.dll

Event viewer shows the following exception:

Code: [Select]
Application: VoxCommando32.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at SpeechLib.ISpeechVoice.Speak(System.String, SpeechLib.SpeechVoiceSpeakFlags)
   at vcPlugin.ttsObj.mySpeak(System.String, Boolean, Boolean)
   at vcPlugin.Plugin.doAction(System.String[], System.String[])
   at eval_g.eval_ᜃ(VoxCommando.macroElement, System.Collections.Generic.List`1<System.String>, Int32)
   at eval_g.eval_ᜂ(VoxCommando.macroElement, System.Collections.Generic.List`1<System.String>, Int32)
   at eval_g.eval_ᜁ(VoxCommando.macroElement, System.Collections.Generic.List`1<System.String>, Int32)
   at eval_g+eval_ᜂ.eval_ᜀ()
   at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[[eval_g+eval_ᜂ, VoxCommando, Version=2.3.1.1, Culture=neutral, PublicKeyToken=null]](eval_ᜂ ByRef)
   at eval_g.eval_ᜁ(VoxCommando.activeCommand)
   at eval_g.eval_ᜂ(VoxCommando.activeCommand)
   at eval_g.eval_ᜀ(VoxCommando.activeCommand, System.String, Boolean)
   at eval_g.eval_ᜀ(System.String, System.Collections.Generic.List`1<System.String>)
   at eval_g.eval_ᜇ(System.String)
   at eval_g.eval_ᜃ(VoxCommando.macroElement, System.Collections.Generic.List`1<System.String>, Int32)
   at eval_g.eval_ᜂ(VoxCommando.macroElement, System.Collections.Generic.List`1<System.String>, Int32)
   at eval_g.eval_ᜁ(VoxCommando.macroElement, System.Collections.Generic.List`1<System.String>, Int32)
   at eval_g+eval_ᜂ.eval_ᜀ()
   at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[[eval_g+eval_ᜂ, VoxCommando, Version=2.3.1.1, Culture=neutral, PublicKeyToken=null]](eval_ᜂ ByRef)
   at eval_g.eval_ᜁ(VoxCommando.activeCommand)
   at eval_g.eval_ᜂ(VoxCommando.activeCommand)
   at eval_g.eval_ᜀ(VoxCommando.activeCommand, System.String, Boolean)
   at eval_g.eval_ᜀ(System.Object, System.Speech.Recognition.SpeechRecognizedEventArgs)
   at System.Speech.Recognition.SpeechRecognitionEngine.SpeechRecognizedProxy(System.Object, System.Speech.Recognition.SpeechRecognizedEventArgs)

Exception Info: System.Reflection.TargetInvocationException
   at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
   at System.Delegate.DynamicInvokeImpl(System.Object[])
   at System.Speech.Internal.AsyncSerializedWorker.WorkerProc(System.Object)

Exception Info: System.Reflection.TargetInvocationException
   at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
   at System.Delegate.DynamicInvokeImpl(System.Object[])
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
   at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
   at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application.Run(System.Windows.Forms.Form)
   at eval_᜖.ᜀ()

I don't get any crash logs in VC folder.

I have tried doing a fresh install in a different folder as well as testing with both 32b and 64b versions. Also tried 2.3.1.0 but same problem.

Reinstalling 2.3.0.8 fixes the problem so I'll just stay there for now.

2
I downloaded 2.2.3.8 today and Windows Defender claims to have found Trojan:Win32/Azden.A!cl in the file.

https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?Name=Trojan:Win32/Azden.A!cl

Is it a false alarm or did some hacker manage to replace the install file?

3
Feature Requests / More control in handling alternates
« on: March 31, 2014, 06:06:55 PM »
In the options you have some options for alternative interpretations. One of them is "Don't execute if there are alternate commands". I think it would be a lot more useful if you could set a limit for how many alternates there can be before preventing execution. Often correct guesses can have a few alternatives but rarely 5 or 6, at least in my configuration. At the same time there are sometimes false positives with high confidence despite 8 alternates...

4
Version 2 updates / OSD breaks after system standby
« on: March 20, 2014, 06:42:22 PM »
Is this where you want bug reports for version 2?

I get this error often after having the system in standby:
unexpected error:
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'OsdShowRecognized'.
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.Form.CreateHandle()
   at System.Windows.Forms.Control.get_H

I have show OSD on alternates enabled. The error happens whenever a commad is recognized and prevents execution.

I use an Intel I5 with the built in graphics card and drivers. It likes forgetting monitors that aren't connected and causing problems when I turn on my TV and such, might be linked to that.

Also wondering why OSD shows up when a command without prefix is recognized while prefix mode is active?

5
Feature Requests / Ability to specify confidence requirement per group
« on: November 14, 2012, 07:09:29 AM »
It would be nice if I could set individual confidence requirements on a group level. Some commands are just more sensitive then others. For example a command that pause your music could have a lower confidence requirement then one that shuts down your computer.

6
Feature Requests / Problems with too few phrases in the database?
« on: November 14, 2012, 07:07:14 AM »
I noticed that I get far fewer false positives when I have a bunch of phrases that aren't tied to an action in the database. It seems like the grammar database can be too small, making it match almost anything you say to a command.

Is anyone else having the same experience?

I wonder if it might be a good idea to keep a minimum set of phrases in the grammar database and when they are detected Vox Commando can just ignore them. Not sure how it works now so the solution might be something completely different.


7
Feature Requests / Allow partial mute when Prefix is recognized.
« on: November 14, 2012, 07:00:21 AM »
I often have music in the background and that makes it hard to use Vox Commando. It would be nice if I could partially mute the computer for a couple seconds when the prefix is recognized so I'm free to say what I want without being disturbed. That way I can repeat "computer ... computer ... " until I'm heard and then give the command.

8
Feature Requests / Non blocking wait commands.
« on: November 14, 2012, 06:51:33 AM »
It would be nice if wait commands were non blocking.

I tell the computer to shut down when I'm preparing to leave home, that makes it wait 5 min and then shut down. Would be nice if I could still give commands during that time.

9
VoxCommando Basics and Core Features / What happened to lifetime license?
« on: November 12, 2012, 07:21:06 PM »
I been testing the program for a few weeks now and I'm considering buying a license but I'm a bit confused. When I first checked the prices I could choose from normal and lifetime license but now there is only one option. But there is no information on what you get with that. Searched through the forum and found a couple mentions of there being a year long license at 25$ but the current price is 30$. Is it the same thing? And what happened to the lifetime option. I looked through the release notes and found nothing in there about removing it.

The only info on the buy now page is "Once you have decided to buy, you can choose a license type and pay via PayPal by using the form to the right". But inside paypal there are no choices and no license type.

10
VoxCommando Basics and Core Features / Need help with Results.RegEx
« on: November 02, 2012, 10:07:00 AM »
I'm trying to get the computer to tell me the weather and wunderground returns a nice text string that I'm trying to use. But I'm not interested in the wind conditions so I'm trying to trim that bit off but I can't figure out how to get Results.RegEx to match properly.

To test it I wrote this macro that sets last result, try to match the wind part and then replace it with a space character:

Results.SetLastResult     Overcast in the morning, then mostly cloudy. Winds from the South at 15 to 20 km/h.
Results.RegEx               (Wind.*)
Results.Replace             {match.1} && " "
OSD.ShowText             {lastresult}

Wanted result: "Overcast in the morning, then mostly cloudy.  "
Seen result:     "Overcast in the morning, then mostly cloudy. Winds from the South at 15 to 20 km/h."

It doesn't work and I can't figure out why. Tried lots of expressions but nothing seems to match.

Pages: [1]