lipoja / pymixer

Wrapping class for linux command line amixer to get/set volume from Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyMixer

Wrapping class for linux command line amixer to get/set volume from python.

Example

But everything you need to know is this:

from pymixer import PyMixer

    mixer = PyMixer()
    # to set volume you can do just
    mixer.set_volume(50)
    # if you want to know current volume call
    volume = mixer.get_volume()

License

This piece of code is licensed under The MIT License.

About

Wrapping class for linux command line amixer to get/set volume from Python.


Languages

Language:Python 100.0%