Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ericbreiter

macrumors member
Original poster
Jun 13, 2012
49
10
I wish to write a simple application that triggers an event purely based on when the output volume level reaches a certain threshold.

It does not matter if the application takes all outgoing sounds into account (browser, mp3 players, video players, etc.) or the sound of a specific application if that is even possible.

Does anyone have any idea on how to go about this?
 
You could write a stay open Applescript application to do this.

Let me know if your interested in some Applescript code, and I'll post something for you.

Regards mark
 
You can get/set volume with something like this :

Code:
get volume settings
set volume output volume 50
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.