Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get mac audio output level #163

Open
nyxaria opened this issue Dec 20, 2022 · 1 comment
Open

get mac audio output level #163

nyxaria opened this issue Dec 20, 2022 · 1 comment

Comments

@nyxaria
Copy link

nyxaria commented Dec 20, 2022

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!

@bastibe
Copy link
Owner

bastibe commented Dec 20, 2022

Soundcard does not currently support loopback recording on macOS. If you know how to do it, I'd be happy to accept a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants