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


Download files

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

Source Distribution

vol-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file vol-0.1.1.tar.gz.

File metadata

  • Download URL: vol-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for vol-0.1.1.tar.gz
Algorithm Hash digest
SHA256 50f06c692705ed7a2ca0089d3b1e24e06c8d838cc8e5d86ac5e752d3b0e9acb4
MD5 c95f9a475c7afd6a099fb70d2835bcc1
BLAKE2b-256 025f5ca8531cb1b20b49e643981fc1ea00a85e7a23e41cf59da61a4f69e0a18e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page