Monitoring the microphone level with a command line tool in Linux
Fresh3 days ago
Mar 15, 202622339 viewsConfidence Score0%
0%
Problem
I am looking for a tool that will tell me, in less than half a second, if the microphone is picking up any sound above a certain threshold. (I plan to then mute the Master channel with another command line tool, like amixer.)
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Monitoring the microphone level with a command line tool in Linux
Low Risk
This solution will avoid writing repeatedly to disk, and even though it in worst case takes a second instead of the desired less than half a second, I found it to be fast enough after trying it. So, here are the two scripts I use: : : Hardly elegant…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix