cmd line way to mute line in realtek hd audio card

leburg

New member
Local time
2:17 PM
Messages
2
I have a line of music audio entering my realtek card to accompany a powerpoint slideshow, together they go out on our community cable channel. I need to kill the input, the music audio that is directly plugged into the card in the back of the pc, so that when I schedule a video (bod meeting prerecorded video), the line in is muted and the video audio goes out, without the muting capability I get both streams...

Need to do it in an attended way. Also, need to return to the music input afterwards. Old config (xp/machine Creative sound card, allowed us to do this via a batch file that executed a muteon.exe, ran the video, then muteoff.exe...however the .exes do not work in our present config.

Any ideas greatly appreciated! It's burning me out...
 

My Computer My Computer

At a glance

windows 7 64
Computer type
PC/Desktop
OS
windows 7 64
Vista/Win7/Win8 handle some audio functions differently than XP and thus the reason the XP drivers and most of their utilities do not work in Win7. You will find several other differences in Win 7 from XP as I have seen many posts from ex Windows XP users with programs and procedures that no longer work or are different.

Now, back to muting the Line In. RIGHT click on the speaker Icon in the Notification Area (lower right of the task bar) and then LEFT click on Recording section and you should be able to mute (disable) the Line In there (or enable it).
 

My Computer My Computer

At a glance

Windows 10 64 bitIntel i7 6700K16GB Corsair DominatorIntel CPU Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
My Own Build
OS
Windows 10 64 bit
CPU
Intel i7 6700K
Motherboard
ASUS ROG Maximus VIII Hero
Memory
16GB Corsair Dominator
Graphics Card(s)
Intel CPU Graphics
Sound Card
RealTek
Monitor(s) Displays
27" Dell S2719dgf
Screen Resolution
2560X1440
Hard Drives
1 TB Samsung 850 EVO SSD for Win 10 Pro
500GB Samsung 850 EVO SSD for Win 10 Insider
2 TB drive for backup
PSU
EVGA Supernova 750G2
Case
BeQuiet Silent Base 600
Cooling
Deepcool Captain 120EX
Keyboard
Microsoft Wireless 2000
Mouse
Microsoft wireless
Internet Speed
100 MB/sec (Cable)
Antivirus
Microsoft Defender and Malwarebytes
Browser
Edge/Firefox
Other Info
Cakewalk (Sonar) by BandLab and Studio One 4.1 Pro recording studio software. MOTU 896Mk3 Hybrid recording interface, Frontier Tranzport wireless control unit, Behringer X-Touch Control Surface.
Five USB connected optical drives for CD Audio production using Nero BurningROM
command line

I need to be able to do this from a batch file / command line thing. No human will be present to switch back and forth. Essentially that's it...the ability to mute and unmute line in via a command line directive. Such a thing? Can someone write a script to suffice?

Thanks for your input.
 
Last edited:

My Computer My Computer

At a glance

windows 7 64
Computer type
PC/Desktop
OS
windows 7 64
NirCmd may be of some help. It extends the commands available with a bunch more, one of which allow to mute the system:
Mute the system volume nircmd.exe mutesysvolume 1
Unmute the system volume nircmd.exe mutesysvolume 0
Switch the system volume between the mute and normal state. nircmd.exe mutesysvolume 2

I've not actually tried it, but at least it's updated quite often, so I'm positive in that it may be able to wrokaround the bugs introduced in Win7.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
Back
Top