Hi thanks so much for your work on this!
I was wondering if this package can get the instantaneous audio level of a mac (ie youtube videos, music files) that are being played? Or, failing that, if any audio is currently being played on the mac?
I am currently using this script if [[ "$(pmset -g | grep ' sleep')" == *"coreaudiod"* ]]; then echo audio is playing; else echo no audio playing; fi however I have found it to sometimes trigger even when audio is not being played
many thanks!
Hi thanks so much for your work on this!
I was wondering if this package can get the instantaneous audio level of a mac (ie youtube videos, music files) that are being played? Or, failing that, if any audio is currently being played on the mac?
I am currently using this script
if [[ "$(pmset -g | grep ' sleep')" == *"coreaudiod"* ]]; then echo audio is playing; else echo no audio playing; fihowever I have found it to sometimes trigger even when audio is not being playedmany thanks!