-
All replies
-
Helpful answers
-
Apr 14, 2012 5:49 PM in response to joeyfromcolumbusby Pierre L.,Does the following script do what you are asking for?
get volume settings
set theInput to input volume of result
set volume output volume theInput
-
Apr 14, 2012 6:10 PM in response to Pierre L.by joeyfromcolumbus,No. This sets the output volume setting equal to the input volume setting, not the input level. I am looking for access to the number that would be constantly changing based on the microphone reading.
-
Apr 14, 2012 8:27 PM in response to joeyfromcolumbusby Camelot,I don't think you can do this, at least not with vanilla AppleScript
The 'input volume' setting that Pierre demonstrated is more of a gain level, not a dynamic, real-time sound meter.
This might be possible with a third-party audio recording application, but I'm not aware of one off-hand.
-
Aug 12, 2016 7:54 PM in response to joeyfromcolumbusby Jordanxxi13,I know this happened a while ago but I have the same problem. If the mic detects sound over a certain level I want my script to say "Shhhh" to kind of prank my mom. If you found a way since you posted this, please tell me. Thanks