Title

Message

Confirm

<< DiscussionsReply

Toggle key

Avatar from Gravatar.com
Philipp9
37 discussion posts
Hello,
I don't understand the "toggle button" command when adding a new voice command.
I always assumed that the first time the command was executed, the key was pressed and the second time it was released. The way it seems, isn't it?
Can someone explain what the command does?

greetings
Philipp
Apr 8, 2020  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
That's how it should work, yep! Which keyboard key are you trying to toggle? I'll do some testing here and see if something is broken.
Apr 8, 2020  • #2
Avatar from Gravatar.com
Philipp9
37 discussion posts
Thanks for the answer.

For example, I want to toggle the "F" key. For me there are no buttons
Now I always have to create two commands: one to hold down the key and the second to release the key.
Apr 9, 2020  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Have you already tried the "Hold Key" action? With that one, it will do a "repeating" keydown, the same as if you held the actual key down on the keyboard.
Apr 9, 2020  • #4
Avatar from Gravatar.com
Philipp9
37 discussion posts
Yes, I am currently using the action "hold key", but the key is not released the second time the command is called
That's why I have a second command to release the button.
Apr 10, 2020  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
That's strange! When I use the Hold Key action with the "Hold until toggled" option, it works for me. First run of the command it holds the key, second one it releases the key.

Does yours look like the attached?
• Attachment: HoldKeyAction.png [15,806 bytes]
HoldKeyAction.png
HoldKeyAction.png
Apr 14, 2020  • #6
Avatar from Gravatar.com
Philipp9
37 discussion posts
Yes, but with this action the button is released after the set time. Would like to have pressed this permanently until I just say the voice command again.
Apr 14, 2020  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
What program are you wanting it to hold the F key in? If you run that macro on Notepad, do you see the F key repeating until you say the command a second time?
Apr 14, 2020  • #8
Avatar from Gravatar.com
Philipp9
37 discussion posts
For example in GTA. No in Notepad the key is pressed only once. If I execute this command again, the key is pressed a second time, etc.

In game, however, the key is pressed continuously the first time you run it. Nothing happens except the second time.
Apr 15, 2020  • #9
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Interesting! That's definitley not working the way it's supposed to, strange that it works fine on my machine though!

Could you export your VoiceBot Settings and attach them?
Apr 15, 2020  • #10
Avatar from Gravatar.com
Philipp9
37 discussion posts
Do you have another version? On the screenshot does the dialog box look different than mine?
• Attachment [protected]: VoiceBot Backup (2020-04-15 @ 22-19, 3.6.0.0).reg [249,444 bytes]
Apr 15, 2020  • #11
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks! Yours is in German so maybe something is getting lost in translation

Are you using the "Taste halten" action? Or "Taste drucken und wieder loslassen?"
Apr 16, 2020  • #12
Avatar from Gravatar.com
Philipp9
37 discussion posts
Neither of them. I use "Taste umschalten"
Apr 17, 2020  • #13
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Could you try the "Taste halten" action? I think that one will do what you're looking for.
Apr 18, 2020  • #14
Avatar from Gravatar.com
Philipp9
37 discussion posts
When I use "Taste halten", the key is pressed continuously, but it does not release the key. Therefore "Taste umschalten" after all?
https://www.voicebot.net/Help/#settings-profiles-edit-macroedit-actions - Explanation "Toggle Key" (German: "Taste umschalten" or "Umschalttaste" for German website translation)

I also find it confusing that the German translation between the website and the actual program are so different.
Apr 18, 2020  • #15
Keith Lammers (BFS)'s profile on WallpaperFusion.com
The translation in the app has been done by an actual translator but the website is machine translated for now.

The "Taste halten" action should continuously press the key (this is the same as holding a key on the keyboard), but if you say the command a second time, it should release it. It does in my tests here. Is it not releasing when you say the command a second time?
Apr 20, 2020  • #16
Avatar from Gravatar.com
Philipp9
37 discussion posts
No with the action "Taste halten" the key is not released the second time. For that there is the action "Taste loslassen" ("Release Key")? What does the action "Taste umschalten" ("Toggle Key")?
Apr 21, 2020  • #17
Keith Lammers (BFS)'s profile on WallpaperFusion.com
That's really strange! For "Taste halten" (Hold Key) when I test it, it's released the second time.

"Taste umschalten" (Toggle Key) is really only useful for modifier keys (Ctrl, Shift, Alt). It will send a "KeyDown" the first time, and a "KeyUp" the second time.
Apr 21, 2020  • #18
Avatar from Gravatar.com
Philipp9
37 discussion posts
do you have a different version than me?
Apr 22, 2020  • #19
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I'm testing with 3.6
Apr 22, 2020  • #20
Avatar from Gravatar.com
Philipp9
37 discussion posts
So I tried the action "hold key", it won't be released the second time

Can you export your profile so that I can import it into me?
Apr 24, 2020  • #21
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sure thing, here you go! This is how I test it:

  • Open Notepad
  • Say the command, it starts repeating the F key
  • Say the command a second time, it stops
• Attachment: Hold Key Test (English United States).voicebot [690 bytes]
Apr 24, 2020  • #22
Avatar from Gravatar.com
Philipp9
37 discussion posts
Yes in the notepad it works as desired only in the game (GTA) it causes problems With this action it is so that the key is pressed one after the other (100ms) and is not constantly pressed. You would only have to instead of 100ms Set 0ms (at least 10ms is allowed). Can you change that?

I noticed another bug (besides the ones here): After irregular intervals, Voicebot no longer understands what is said, but only any letters? Also the detection in general gets worse ... If this occurs only restarting Voicebot helps that it starts again ... Why can't that be due to Windows, if a restart of Voicebot helps or? My Voicebot runs continuously with Windows (and listens). Doesn't he take it somehow?
Apr 25, 2020  • #23
Avatar from Gravatar.com
Philipp9
37 discussion posts
I have now heard it with a macro script. Unfortunately Voicebot always hangs when I hear the "Macroscript" action
Apr 27, 2020  • #24
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Could you send me the profile with the Macro Script action that causes VoiceBot to hang?
Apr 27, 2020  • #25
Avatar from Gravatar.com
Philipp9
37 discussion posts
See attachement.

The script may not be perfect since I'm a C # beginner.
• Attachment [protected]: test (Deutsch Deutschland).voicebot [10,160 bytes]
Apr 28, 2020  • #26
Avatar from Gravatar.com
Philipp9
37 discussion posts
has done itself, today it works. I don't know what was there ...
Now it only disturbs the Voicebot after some time understands the commands less well and only a restart helps. Why is that?
May 5, 2020  • #27
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, glad to hear that's working!

I'm not sure what might be up with the speech recognition. VoiceBot doesn't do any sort of adjustments or anything like that, it just passes what it hears over to the Windows Speech Engine and parses the response that it gets
May 6, 2020  • #28
Avatar from Gravatar.com
Philipp9
37 discussion posts
I hope that Windows will solve this problem. The only strange thing I found was that restarting Voicebot helps and not just Windows.
May 7, 2020  • #29
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Yeah, that's definitely strange! When it's not working correctly, do the commands still show up in the log in the main window, and they're just incorrect? Or is it not listening at all any more?
May 12, 2020  • #30
Avatar from Gravatar.com
Philipp9
37 discussion posts
But he is still listening, but in the log my commands are no longer listed, but strings like "UA", "U", "E" etc. no matter what I say.
May 12, 2020  • #31
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, interesting, and simply restarting VoiceBot fixes it every time?
May 15, 2020  • #32
Avatar from Gravatar.com
Philipp9
37 discussion posts
yes
May 16, 2020  • #33
Avatar from Gravatar.com
Philipp9
37 discussion posts
as I just noticed, changing the profile is enough
May 16, 2020  • #34
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, that's good to know! The MS Speech Engine gets restarted when you load another profile, so it must be that the speech engine is getting messed up at some point and restarting it fixes it. We'll likely add an Advanced Setting to the next version that you can set to have it auto-restart the speech engine on an interval.

We'll let you know when that's available to try out

Thanks!
May 20, 2020  • #35
Avatar from Gravatar.com
Philipp9
37 discussion posts
OK thanks
May 21, 2020  • #36
Keith Lammers (BFS)'s profile on WallpaperFusion.com
We've just posted a new VoiceBot Beta version, and it now has an option in the Settings > Advanced Settings for restarting the speech engine:
General: Speech Engine Restart Interval (Minutes)


Could you try setting that and let me know if it helps with the issue where the speech recognition is inconsistent over time?

Thanks!
May 28, 2020  • #37
Avatar from Gravatar.com
Philipp9
37 discussion posts
Thank you, I will test it this weekend
May 28, 2020  • #38
Avatar from Gravatar.com
Philipp9
37 discussion posts
Unfortunately does not work Under "Speech Engine Restart Interval" I entered a 10. The entry is highlighted in red, is it therefore not?

Unfortunately, the voice output with the following code no longer works for the macros:
BFS.Speech.TextToSpeech ("Text");
May 30, 2020  • #39
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks for the heads up on the scripting issue, I was able to reproduce it here and have added it to our list to fix up.

Regarding the speech restart setting, it's expected that it shows as red. Any advanced settings that are "enabled" show up in red. If you enable L1 debug logging on the Settings > Troubleshooting tab, and send me the log after about 15 minutes, I can verify in the log that it's actually restarting the speech engine.

Thanks!
Jun 1, 2020  • #40
Avatar from Gravatar.com
Philipp9
37 discussion posts
Sorry for the late reply.
The log file is in the attachment
• Attachment [protected]: DebugInfo.rar [12,582 bytes]
Jun 14, 2020  • #41
Keith Lammers (BFS)'s profile on WallpaperFusion.com
No worries! It looks like only the troubleshooting info was captured. Here are the steps for debug logging:

Could you send me a debug log?
  • On the VoiceBot Settings > Troubleshooting tab, change the Logging drop-down to "L1: Log Minimal" and click Apply
  • Let VoiceBot run for about 15 minutes
  • Click the "Export Info to File" button on the Settings > Troubleshooting tab
  • Reply with the file attached
  • Disable debug logging after sending the log

Thanks!
Jun 14, 2020  • #42
Avatar from Gravatar.com
Philipp9
37 discussion posts
Is that correct?
• Attachment [protected]: VoiceBotDebugInfo.zip [23,766 bytes]
Jun 14, 2020  • #43
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Yep, thanks! The log shows that the speech engine is restarting on the interval. Are you still have trouble with it recognizing commands correctly after it's been running for a while?
Jun 15, 2020  • #44
Avatar from Gravatar.com
Philipp9
37 discussion posts
Yes that is not possible, it still comes after a certain time only "U", "UA" etc. If I change the profile it still works. Will something else be done when changing the profile?

I noticed that the problem mostly occurs when there are loud noises for a short time.
Jun 18, 2020  • #45
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ah interesting! Are the loud noises happening while you're trying to issue the commands?
Jun 18, 2020  • #46
Avatar from Gravatar.com
Philipp9
37 discussion posts
No, when the loud noises occur I try not to issue commands. After the noises are over and I speak, Voicebot no longer understands the commands but random sequences of letters. Unfortunately, that doesn't always happen.
To work around this problem a little, it helps to lower the level of the microphone, but it also makes Voicebot understand me worse
Jun 19, 2020  • #47
Keith Lammers (BFS)'s profile on WallpaperFusion.com
If you go to the properties of your mic in the Windows sound settings, is there an Enhancements tab? If so, could you attach a screenshot of it?
Jun 19, 2020  • #48
Avatar from Gravatar.com
Philipp9
37 discussion posts
No, I don't have that attitude.
I now noticed that changing the profile no longer helps to improve the recognition again. It only helps to restart Voicebot. What happens when you restart? Doesn't that just restart the speech engine?

Before I used Voicebot, I used the "glovepie" and "freepie" programs to execute voice commands. I didn't have the problems with that. Don't they use the same engine?
Jul 8, 2020  • #49
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I haven't used those apps before, but on quick look, it appears they use the MS speech recognizer as well. I'll re-open this ticket with our developers so that they can have another look at it.

Thanks!
Jul 9, 2020  • #50
Avatar from Gravatar.com
Philipp9
37 discussion posts
Thank you for your efforts What does Voicebot do when you restart it? Isn't it just MS Speech that is restarted as when changing the profile?
Jul 9, 2020  • #51
Avatar from Gravatar.com
Philipp9
37 discussion posts
Is there anything new about this problem? The Voicebot tray icon is displayed at the bottom of the task bar when Voicebot is running. This icon also lights up when Voicebot hears something. I just noticed that when this problem occurs this icon is lit continuously.
I also ran Windows Speech for a while without Voicebot, where I had no problems dictating so that only letters were recognized.
Aug 14, 2020  • #52
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Interesting! When the icon is lit up continuously, what colour is it?
Aug 19, 2020  • #53
Avatar from Gravatar.com
Philipp9
37 discussion posts
The icon lights up blue
Aug 19, 2020  • #54
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, thanks! Would you be able to send me a new debug log using L2 logging? I'd like to see if it's actually starting/stopping the "listening" state or if it's just permanently stuck listening.

  • On the VoiceBot Settings > Troubleshooting tab, change the Logging drop-down to "L2: Log Detailed" and click Apply
  • Reproduce the issue and note the time so we'll know where to check in the log file
  • Click the "Export Info to File" button on the Settings > Troubleshooting tab
  • Reply with the file attached
  • Disable debug logging after sending the log

Thanks!
28 days ago  • #55
Avatar from Gravatar.com
Philipp9
37 discussion posts
Saturday, September 12th from 11:45 a.m.

With every simple mouse click he writes an "A" in the log and doesn't understand anything.

Edit:
It seems to me as if Voicebot has problems with an application running in full screen.
I noticed the following scenario with MSFS2020: As I said, I play the game in full screen mode. When after a while Voicebot no longer understood commands, I switched to window mode ingame to see what was being heard. Voicebot has recognized my spoken commands as letters again! So when I still have the game in window mode, I now speak another command and voicebot understands me again! So I switched back to full screen and it went on again for some time. When the problem reappeared, switched back to window mode and back.

So does the full screen cause any problems?
• Attachment [protected]: VoiceBotDebugInfo.zip [290,052 bytes]
7 days ago (modified 7 days ago)  • #56
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Strange, it shouldn't cause any issues, no
4 days ago  • #57
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Do you have the "Push to talk" option enabled in the VoiceBot Settings?
4 days ago  • #58
Avatar from Gravatar.com
Philipp9
37 discussion posts
Yes, I have, but there are problems even without it.
What happens in the background when I restart Voicebot? Then it will work again for a while. Couldn't all the processes in Voicebot be restarted after a while, like when Voicebot is restarted?

Until the problem is solved, my idea is the following: Let the program close automatically for 30 minutes and start Voicebot every 30 minutes with the Windows task scheduler. Perhaps via a batch file that closes the process and starts it again. Is that possible?
3 days ago  • #59
Keith Lammers (BFS)'s profile on WallpaperFusion.com
As a workaround you could probably have a scheduled task that kills the VoiceBot process and re-launches it.

I wonder, the next time it stops recognizing your commands, could you check the Windows task manager and see if the voicebot.exe process is using a lot of CPU or memory?
3 days ago  • #60
Avatar from Gravatar.com
Philipp9
37 discussion posts
it fluctuates between 0.3% - 1.5%
1 day ago  • #61
Keith Lammers (BFS)'s profile on WallpaperFusion.com
How about the memory usage?
1 day ago  • #62
Was this helpful?    
<< DiscussionsReply