Strangefate
8 discussion posts
Hey,
I've been running into the problem that my mic level in Windows 10 keeps resetting to 34...
Turns out the offender is Voicebot, every few seconds it resets the levels to 34, might be everytime it registers speech (from me or random background noise), not sure.
I can't find an option within Voicebot to disable this or set a ldesired evel within the app, so before I go fishing for any INI files or registry entries about it, I figured I'd ask here.
Closing Voicebot fixes the issue and I've tried closing any other apps that could use a mic (like Skype). Also clicking off the windows setting about letting apps take exclusive control of the mic, nothing helps, Voicebot is botting my mic!
It shouldn't be VoiceBot itself that's causing this to happen, as we don't have any code in VoiceBot to control the Mic level. However, VoiceBot uses the Windows Speech Recognition, so perhaps there's an option in the properties for your mic (Control Panel > Sound > right-click the mic and choose Properties), or in the Control Panel > Speech Recognition options?
Strangefate
8 discussion posts
Hey Keith, I figured yes.
I've gone through all the related windows options but there's nothing left to change or try there. Like Bacon, Voicebot is the only speech recognition program I use so it may be just that it's the only one triggering the problem.
Ultimately what I did was run another small tool in the background that every second sets the mic volume to the specified value.
Bacon, you may want to try the same.
I'm using NirCmd which is free: http://www.nirsoft.net/utils/nircmd.html and incidentally lets you control a lot of other things, which you then can run with Voicebot macros if you want.
To lock the mic volume to the value you want, run it with these parameters: nircmd.exe loop 172800 1000 setsysvolume 55000 microphone
the 1000 are miliseconds, so in this case it will set the volume to your value every second, can also go down to 500 for a half second...
The 55000 is the volume you want from a max of 65535 ...just do the math to figure out the number you need for your desired value.
I put it into a BAT file and made another one with the command taskkill /IM nircmd.exe /f to kill the process when I want to stop NirCmd from locking the volume.
You can put the first BAT file in your windows start up so it's always there automatically when you boot up too.
My bat command looks like this:
start C:\Users\%Username%\Documents\!Misc\Automation\Nircmd\nircmd.exe loop 172800 1000 setsysvolume 55000 microphone
Just change the folder to NirCmd to whatever you have.
Best solution I could come up with, works great so far...
Strangefate
8 discussion posts
Hey Keith,
It definitely did something, now the volume only resets to 34 once a minute or 2, as opposed to every 3-5 seconds... Windows must have a lot of double redundancy built in...
Thanks for finding that, I did a lot of reading myself but that tip never came up. At the end of the day, nobody had a solution beyond making sure programs like Skype, that do have a feature to regulated volume automatically as you speak, have that option turned off... which commonly didn't solve the problem for the people having the issue.
I'll keep using the tool I got to lock the volume for now, I'm sure Voicebot has nothing to do with it and it's all part of Windows' Voice features somehow...
Thanks!
Ok, interesting! I'll keep digging around too, to see if I can find any other options that might affect this. I can't get it to happen on my system, so I'm wondering if the sound card drivers have something to do with it as well.
I was looking around some more, trying to find a solution to this, but didn't have much luck. Quick question though, when you go to your microphone properties and click the "Levels" tab, do you have a "Microphone Boost" slider, or just the "Microphone" slider?
4lchemist
1 discussion post
I had the same problem and found out, that the windows speech recognition has a registry entry, which defines the default value for the microphone level. You can find it under "Computer\HKEY_CURRENT_USER\Software\Microsoft\Speech\RecoProfiles\Tokens\{pick the right one}\{begins with DAC9F}\Volume" then there is a DWORD value. Keep in mind, that 100% are 10000 on a decimal basis (hex value is 2710).
• Attachment [protected]: Reg_sound_default_value.JPG [103,260 bytes]
DAB42
31 discussion posts
I had the same issue with another program like voice bot , My fix was to yell into the mic when setting windows voice volume levels and this way windows did not adjust the mic way up. Sloppy fix but effective.