Is it possible to read current volume or frequency of outgoing sound from terminal? I am using OS X Mavericks

  • Volume maybe since it is one single value (a number). Displaying a frequency as a single number is a problem.
    – Ruskes
    Commented Feb 14, 2014 at 19:25

1 Answer 1


You can get the volumes of the currently selected input, output and sound effects/alert device as a percentage value with an AppleScript one liner:

osascript -e "(get volume settings)"

which gives something similar to:

output volume:56, input volume:63, alert volume:28, output muted:false

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .