FG
💻 Software

Determining decibel level of line-in audio

Fresh5 days ago
Mar 15, 20264813 views
Confidence Score0%
0%

Problem

Is there a way (via the command line) to output the decibel level of the audio coming into the soundcard's line-in jack? I want to run a script if the volume/intensity of the audio coming into line-in exceeds a certain threshold. I've checked the files and sub-directories in /proc/asound and have p…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Determining decibel level of line-in audio

Low Risk

Try rec, included in sox package, with the silence filter. You can determine a level and duration to start and stop a record. Then, you can use it as a trigger to continue the script. There is a very good link: http://digitalcardboard.com/blog/2009/…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment