Skip to content

Instantly share code, notes, and snippets.

@timcharper

timcharper/README.md

Last active May 21, 2018
Embed
What would you like to do?
reset audio.ahk

Parallels desktop audio record latency will increase, slowly, over time. This is been an issue that I have encountered over many years of using the software. I'm not sure if it is related to clock drift, or what.

A relatively easy "fix" is to disable the microphone in the audio control panel, and then reenable it. Unfortunately, if you do this while Dragon is listening, it will cause Dragon to freeze up in a pretty bad way, so you must do the following:

  1. Turn off the microphone in Dragon
  2. Disable the microphone in the audio control panel recording pane
  3. Reenable the microphone in the audio control panel recording pane
  4. Turn the microphone on in Dragon again

In my configuration, I have the key ctrl-` bound to turn on/turnoff the microphone in Dragon. Also, in the audio control panel recording pane, I only have one device, so the offsets in this auto hot key script work. You may need to tweak it, for your own use. Hopefully, it gives you a starting point.

^j::
Run, c:\windows\system32\control.exe mmsys.cpl`,`,1
SendInput, ^``
Sleep 2000
Click, right, 50, 110
Sleep 100
Click, left, 60, 150
Sleep 200
Click, right, 50, 110
Sleep 100
Click, left, 60, 120
Sleep 500
SendInput, ^``
Return
^!r::Reload
@timcharper

This comment has been minimized.

Copy link
Owner Author

@timcharper timcharper commented May 21, 2018

I have bound "control-`" to turn mic off/on in Dragon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.