mute usb microphone with keyboard

B

Bill

I would like to be able to mute the USB microphone attached to my computer
but not have to do so through the control panel. Specifically I would like
to be able to mute and unmute the microphone by pressing a series of keys
such as ALT-CTL-m.
The caveat is I would like the focus of windows to remain in Microsoft Word
or other text receiving document or program. Using a stand-alone macro
program such as macro express I have been able to mute the microphone however
this requires switching to the 'wave in' window found thru the control panel
(where I have been able to find the only way to mute the microphone) but I
lose the Microsoft Word focus and this loses the capacity for voice
recognition to always properly enter into the document, in other words
sometimes the dictation is lost. This is what I am trying to prevent by
having a keystroke mute the microphone. Definitely bad in my situation (and
no we can't use our hands to physically turn the mic off (I know that is
possible but not in our situation)). Specifically, I am using a X-keys
footpedal to initiate a series of keystrokes through the macro express
program. But instead, I would like the footpedal to immediately, without
changing the focus of the window, mute the microphone. Obviously, I would
not need to do this if I could find a pedal which would by hardwire
mute/unmute (or basically stop the signal) from the microphone to computer
but I have not been able to find one that does not have signal issues
(rendering the voice recognition accuracy unusable, and no - Vista's rec is
good but not good enough for our application. So I am trying to find this
keystroke method of muting the microphone. Can anyone help?
 
P

Pegasus \(MVP\)

Bill said:
I would like to be able to mute the USB microphone attached to my computer
but not have to do so through the control panel. Specifically I would
like
to be able to mute and unmute the microphone by pressing a series of keys
such as ALT-CTL-m.
The caveat is I would like the focus of windows to remain in Microsoft
Word
or other text receiving document or program. Using a stand-alone macro
program such as macro express I have been able to mute the microphone
however
this requires switching to the 'wave in' window found thru the control
panel
(where I have been able to find the only way to mute the microphone) but I
lose the Microsoft Word focus and this loses the capacity for voice
recognition to always properly enter into the document, in other words
sometimes the dictation is lost. This is what I am trying to prevent by
having a keystroke mute the microphone. Definitely bad in my situation
(and
no we can't use our hands to physically turn the mic off (I know that is
possible but not in our situation)). Specifically, I am using a X-keys
footpedal to initiate a series of keystrokes through the macro express
program. But instead, I would like the footpedal to immediately, without
changing the focus of the window, mute the microphone. Obviously, I would
not need to do this if I could find a pedal which would by hardwire
mute/unmute (or basically stop the signal) from the microphone to computer
but I have not been able to find one that does not have signal issues
(rendering the voice recognition accuracy unusable, and no - Vista's rec
is
good but not good enough for our application. So I am trying to find this
keystroke method of muting the microphone. Can anyone help?

You could use these commands:

devcon disable "{SoundCardID}"
devcon enable "{SoundCardID}"

Depending on the sound recorder you use, the commands may
or may not work if you apply them while you're in recording
mode. You need to test them yourself.

You can download devcon.exe from here:
http://download.microsoft.com/download/1/1/f/11f7dd10-272d-4cd2-896f-9ce67f3e0240/devcon.exe

You can extract your SoundCardID by looking for your sound
card device IDs in c:\devices.txt after running this command:
devcon hwids "*" > c:\devices.txt

On my machine the correct command is
devcon disable "PCI\VEN_10B9&DEV_5451&SUBSYS_053E1014&REV_02"
which I extracted from the list below:

PCI\VEN_10B9&DEV_5451&SUBSYS_053E1014&REV_02\3&61AAA01&0&20
Name: SoundMAX Integrated Digital Audio
Hardware IDs:
PCI\VEN_10B9&DEV_5451&SUBSYS_053E1014&REV_02
PCI\VEN_10B9&DEV_5451&SUBSYS_053E1014
PCI\VEN_10B9&DEV_5451&CC_040100
PCI\VEN_10B9&DEV_5451&CC_0401
Compatible ID's:
PCI\VEN_10B9&DEV_5451&REV_02
PCI\VEN_10B9&DEV_5451
PCI\VEN_10B9&CC_040100
PCI\VEN_10B9&CC_0401
PCI\VEN_10B9
PCI\CC_040100
PCI\CC_0401
 
B

Bill

Thanks for your help, I was sure hopeful, using what you said

I found

HDAUDIO\FUNC_01&VEN_10EC&DEV_0262&SUBSYS_103C280C&REV_1001\4&4F15376&0&0001
Name: Realtek High Definition Audio
Hardware ID's:
HDAUDIO\FUNC_01&VEN_10EC&DEV_0262&SUBSYS_103C280C&REV_1001
HDAUDIO\FUNC_01&VEN_10EC&DEV_0262&SUBSYS_103C280C
Compatible ID's:
HDAUDIO\FUNC_01&VEN_10EC&DEV_0262&REV_1001
HDAUDIO\FUNC_01&VEN_10EC&DEV_0262
HDAUDIO\FUNC_01&VEN_10EC
HDAUDIO\FUNC_01

tried HDAUDIO\FUNC_01&VEN_10EC&DEV_0262&SUBSYS_103C280C&REV_1001 disabled
but to no avail, still worked


I found

PCI\VEN_8086&DEV_27D8&SUBSYS_280C103C&REV_01\3&B1BFB68&0&D8
Name: Microsoft UAA Bus Driver for High Definition Audio
Hardware ID's:
PCI\VEN_8086&DEV_27D8&SUBSYS_280C103C&REV_01
PCI\VEN_8086&DEV_27D8&SUBSYS_280C103C
PCI\VEN_8086&DEV_27D8&CC_040300
PCI\VEN_8086&DEV_27D8&CC_0403
Compatible ID's:
PCI\VEN_8086&DEV_27D8&REV_01
PCI\VEN_8086&DEV_27D8
PCI\VEN_8086&CC_040300
PCI\VEN_8086&CC_0403
PCI\VEN_8086
PCI\CC_040300
PCI\CC_0403

tried this PCI\VEN_8086&DEV_27D8&SUBSYS_280C103C&REV_01, devcon said in the
command prompt window that it disabled it but it still worked so no go

I found

USB\VID_0556&PID_0001&MI_00\6&1BA491DA&0&0000
Name: USB Audio Device
Hardware ID's:
USB\Vid_0556&Pid_0001&Rev_0001&MI_00
USB\Vid_0556&Pid_0001&MI_00
Compatible ID's:
USB\Class_01&SubClass_01&Prot_00
USB\Class_01&SubClass_01
USB\Class_01

and used USB\Vid_0556&Pid_0001&Rev_0001&MI_00

this resulted in a message that a reboot would be needed to complete the
disable. Repeated the command and it said disabled but microphone still
worked.
The microphone actually plugs into a USB pod which then plugs into the USB
port so I tried plugging the microphone directly into the typical microphone
Jack and repeat all of the above disabling attempts to no avail. No other ref
to an audio would disable ( wave mixer etc). Did I miss something or is this
simply not going to work? Any other options, third party product?
 
P

Pegasus \(MVP\)

I'm not sure what the commands were that you used and if you did
surround your device IDs with double quotes like so:

devcon disable "HDAUDIO\FUNC_01&VEN_10EC&DEV_0262&SUBSYS_103C280C&REV_1001"

I would also trie some of the "compatible IDs", e.g.

devcon disable "HDAUDIO\FUNC_01&VEN_10EC&DEV_0262&REV_1001"

Other than this I can offer no further help. Suffice it to say that
I did manage to disable my sound card in this way. You could
actually test the method by turning off your USB device. If you
have a mouse attached then it should cease working immediately.
 
B

Bill

Yeah I used the quotes and the software stated the device was disabled but to
no avail. I will try the other "compatible IDs" too, thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top