Skip to content

get mac audio output level #163

@nyxaria

Description

@nyxaria

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions