| 1 |
Metadata-Version: 2.1 |
| 2 |
Name: Mopidy-ALSAMixer |
| 3 |
Version: 2.0.1 |
| 4 |
Summary: Mopidy extension for ALSA volume control |
| 5 |
Home-page: https://github.com/mopidy/mopidy-alsamixer |
| 6 |
Author: Stein Magnus Jodal |
| 7 |
Author-email: [email protected] |
| 8 |
License: Apache License, Version 2.0 |
| 9 |
Description: **************** |
| 10 |
Mopidy-ALSAMixer |
| 11 |
**************** |
| 12 |
|
| 13 |
.. image:: https://img.shields.io/pypi/v/Mopidy-ALSAMixer |
| 14 |
:target: https://pypi.python.org/pypi/Mopidy-ALSAMixer/ |
| 15 |
:alt: Latest PyPI version |
| 16 |
|
| 17 |
.. image:: https://img.shields.io/circleci/build/gh/mopidy/mopidy-alsamixer |
| 18 |
:target: https://circleci.com/gh/mopidy/mopidy-alsamixer |
| 19 |
:alt: Travis CI build status |
| 20 |
|
| 21 |
.. image:: https://img.shields.io/codecov/c/gh/mopidy/mopidy-alsamixer |
| 22 |
:target: https://codecov.io/gh/mopidy/mopidy-alsamixer |
| 23 |
:alt: Test coverage |
| 24 |
|
| 25 |
`Mopidy <https://www.mopidy.com/>`_ extension for ALSA volume control. |
| 26 |
|
| 27 |
|
| 28 |
Dependencies |
| 29 |
============ |
| 30 |
|
| 31 |
- A Linux system using ALSA for audio playback. |
| 32 |
|
| 33 |
- ``pyalsaaudio``. Bindings for using the ALSA API from Python. The package is |
| 34 |
available as ``python-alsaaudio`` in Debian/Ubuntu. |
| 35 |
|
| 36 |
|
| 37 |
Installation |
| 38 |
============ |
| 39 |
|
| 40 |
Install by running:: |
| 41 |
|
| 42 |
sudo python3 -m pip install Mopidy-AlsaMixer |
| 43 |
|
| 44 |
See https://mopidy.com/ext/alsamixer/ for alternative installation methods. |
| 45 |
|
| 46 |
|
| 47 |
Configuration |
| 48 |
============= |
| 49 |
|
| 50 |
To use Mopidy-AlsaMixer the ``audio/mixer`` configuration value must be set to |
| 51 |
``alsamixer`` in the Mopidy configuration file:: |
| 52 |
|
| 53 |
[audio] |
| 54 |
mixer = alsamixer |
| 55 |
|
| 56 |
The default Mopidy-AlsaMixer configuration will probably work for most use |
| 57 |
cases. If not, the following configuration values are available: |
| 58 |
|
| 59 |
- ``alsamixer/card``: Which soundcard to use, if you have more than one. |
| 60 |
Numbered from 0 and up. 0 is the default. |
| 61 |
|
| 62 |
- ``alsamixer/control``: Which ALSA control to use. Defaults to ``Master``. |
| 63 |
Other typical values includes ``PCM``. Run the command ``amixer scontrols`` |
| 64 |
to list available controls on your system. |
| 65 |
|
| 66 |
- ``alsamixer/min_volume`` and ``alsamixer/max_volume``: Map the Mopidy volume |
| 67 |
control range to a different range. Values are in the range 0-100. Use this |
| 68 |
if the default range (0-100) is too wide, resulting in a small usable range |
| 69 |
for Mopidy's volume control. For example try ``min_volume = 30`` and |
| 70 |
``max_volume = 70`` to map Mopidy's volume control to the middle of ALSA's |
| 71 |
volume range. |
| 72 |
|
| 73 |
- ``alsamixer/volume_scale``: Either ``linear``, ``cubic``, or ``log``. The |
| 74 |
cubic scale is the default as it is closer to how the human ear percieves |
| 75 |
volume, and matches the volume scale used in the ``alsamixer`` program. |
| 76 |
|
| 77 |
Example ``alsamixer`` section from the Mopidy configuration file:: |
| 78 |
|
| 79 |
[alsamixer] |
| 80 |
card = 1 |
| 81 |
control = PCM |
| 82 |
min_volume = 0 |
| 83 |
max_volume = 100 |
| 84 |
volume_scale = cubic |
| 85 |
|
| 86 |
|
| 87 |
Project resources |
| 88 |
================= |
| 89 |
|
| 90 |
- `Source code <https://github.com/mopidy/mopidy-alsamixer>`_ |
| 91 |
- `Issue tracker <https://github.com/mopidy/mopidy-alsamixer/issues>`_ |
| 92 |
- `Changelog <https://github.com/mopidy/mopidy-alsamixer/releases>`_ |
| 93 |
|
| 94 |
|
| 95 |
Credits |
| 96 |
======= |
| 97 |
|
| 98 |
- Original author: `Stein Magnus Jodal <https://github.com/jodal>`__ |
| 99 |
- Current maintainer: `Stein Magnus Jodal <https://github.com/jodal>`__ |
| 100 |
- `Contributors <https://github.com/mopidy/mopidy-alsamixer/graphs/contributors>`_ |
| 101 |
|
| 102 |
Platform: UNKNOWN |
| 103 |
Classifier: Environment :: No Input/Output (Daemon) |
| 104 |
Classifier: Intended Audience :: End Users/Desktop |
| 105 |
Classifier: License :: OSI Approved :: Apache Software License |
| 106 |
Classifier: Operating System :: OS Independent |
| 107 |
Classifier: Programming Language :: Python :: 3 |
| 108 |
Classifier: Programming Language :: Python :: 3.7 |
| 109 |
Classifier: Programming Language :: Python :: 3.8 |
| 110 |
Classifier: Programming Language :: Python :: 3.9 |
| 111 |
Classifier: Topic :: Multimedia :: Sound/Audio :: Players |
| 112 |
Requires-Python: >=3.7 |
| 113 |
Provides-Extra: lint |
| 114 |
Provides-Extra: release |
| 115 |
Provides-Extra: test |
| 116 |
Provides-Extra: dev |