Send message based on mute/unmute change?

Trying to figure out if this is even possible- here's what I'd love to be able to do:

Start script Send message "X" via TCP/UDP OR HTTP OR OSC if system audio input is muted, send message "Y" if unmuted.

Continue to watch and send a new message when the mic is muted or unmuted until the script stopped.

Not sure if this is even possible- any suggestions on proper nomenclature to start my research would be most appreciated!

Replies

Send message based on mute/unmute change?

So you’re targeting the Mac, right?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Correct? I want to send a message to a program running on the same mac when the mic is muted or unmuted. I'm a complete novice here- just trying to figure out if this is even possible before I try to either learn myself or pay someone.

Thanks!

I want to send a message to a program running on the same mac when the mic is muted or unmuted.

Muted how? I’m not really an expert on our audio APIs but, coming at this from a user’s perspective, I don’t see any system-wide audio input mute UI on the Mac. Each app that uses audio input has its own mute option.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"