Skip to main content

volume control in the shell for your mac

Project description

Installation

with pip as easy as:

$ pip install vol

or checkout the latest version from github:

$ git clone https://github.com/bmaeser/vol.git
$ cd vol
$ python setup.py install

What?

vol lets you control your mac’s audio volume from the commandline. It also has support for profiles.

Why?

Because i want to have profiles, and want to change my audio-volume via commandline. So i can ssh into the box in my livingroom and change the volume while sitting on the couch.

How?

vol (in|out|alert) <volume>
vol mute
vol unmute
vol load <profile>
vol info

vol (-h | --help)
vol --version

Options:
    -h --help     Show this screen.
    --version     Show version.

Examples

set output volume to 50 (of 100 max):

vol out 50

set input (mic) volume to 10:

vol in 10

mute and unmute:

vol mute
vol unmute

load a profile from $HOME/.vol - file:

vol load party

Profiles

vol looks for profiles in .vol in your home.

If your username is ‘bob’ vol will parse /Users/bob/.vol

a short example for .vol:

[party]
in= 0
alert= 0
out= 100

[silence]
out = 0
in = 0
alert = 0
mute=True

.vol uses ini-style syntax. Please see the full example configfile in ./conf/

Project details


Release history Release notifications

This version
History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
vol-0.1.1.tar.gz (4.0 kB) Copy SHA256 hash SHA256 Source None Jul 5, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page