1
vote
1answer
398 views

Detecting audio playing in a bash script

Is there a way to detect if any sound is playing (using a bash script)? (I'm on Ubuntu 11.10 using pulseaudio.) I plan on using it in an indicator to visually remind me sound is playing while the ...