{ "info": { "author": "Forta(a)", "author_email": "fortaa@users.noreply.github.com", "bugtrack_url": null, "classifiers": [ "Environment :: No Input/Output (Daemon)", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Topic :: Multimedia :: Sound/Audio :: Players" ], "description": "**************\nMopidy-dam1021\n**************\n\n`Mopidy `_ extension for controlling volume using a `dam1021 DAC `_ device. \n\n\nInstallation\n============\n\nInstall by running::\n\n sudo pip install Mopidy-dam1021\n\n\n\nConfiguration\n=============\n\nThe Mopidy-dam1021 extension is enabled by default. To disable it, add the following to ``mopidy.conf``::\n\n [dam1021]\n enabled = false\n\nThe dam1021 DAC must be connected to a serial port of the machine running Mopidy. This does not meant the both devices must be physically connected together using a serial cable. Although this is the most obvious configuration. Another option is to use network tunneling using `socat `_ or any other similar utility. Bear in mind system user on behalf of which Mopidy operates on must have proper access rights to a serial port. E.g. the following needs to be done on Raspian::\n\n # usermod -G dialout mopidy\n\nTo use the DAC to control volume, set the ``audio/mixer`` config\nvalue in ``mopidy.conf`` to ``dam1021mixer``. You probably should add some\nproperties to the ``dam1021`` config section too.\n\nThe following properties are available:\n\n- ``serial``: The serial device to use, defaults to ``/dev/ttyAMA0``. This must be set correctly for the mixer to work.\n\n- ``volume_inf``: The DAC volume control utilizes idea of signal attenuation in a digital domain, where ``0`` means unaltered signal, ``-80`` - maximal attenuation, ``10`` - maximal gain. This property defines lower bound of volume levels available to the mixer. Usually you should operate between ``-80`` and ``0``. Using narrower margins translates to a finer volume control. Defaults to ``-80``. \n\n- ``volume_sup``: The upper bound of volume levels available to the mixer. See ``volume_inf``. Defaults to ``0``. \n\n- ``timeout``: Timeout value for any given operation on serial line, used by a lower level library. Expressed in milliseconds. Defaults to 2000.\n\n\nConfiguration example with all default values, suitable for Raspberry Pi users::\n\n [audio]\n mixer = dam1021mixer\n\nConfiguration example, if the DAC is available elsewhere::\n\n [audio]\n mixer = dam1021mixer\n\n [dam1021]\n port = /dev/ttyUSB0\n\nConfiguration example with a customized volume level range::\n\n [audio]\n mixer = dam1021mixer\n\n [dam1021]\n port = /dev/ttyUSB0\n volume_inf = -45\n volume_sup = -5\n\nBugs\n====\n\nPlease use issue tracker for reporting.\n\n\nAdditional resources\n====================\n\n- `Source code `_\n- `Dam1021 communication library `_\n- `Official DAC page `_", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/fortaa/mopidy-dam1021/tarball/0.4", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fortaa/mopidy-dam1021", "keywords": null, "license": "Apache License, Version 2.0", "maintainer": null, "maintainer_email": null, "name": "Mopidy-dam1021", "package_url": "https://pypi.org/project/Mopidy-dam1021/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Mopidy-dam1021/", "project_urls": { "Download": "https://github.com/fortaa/mopidy-dam1021/tarball/0.4", "Homepage": "https://github.com/fortaa/mopidy-dam1021" }, "release_url": "https://pypi.org/project/Mopidy-dam1021/0.4/", "requires_dist": null, "requires_python": null, "summary": "Mopidy extension for controlling volume on a dam1021 DAC", "version": "0.4" }, "last_serial": 1683231, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7c39ebe9f7d2a32633c7d39e16e0e94c", "sha256": "b0dc42377c4efeb3087128f8dd09a7058fcd852bb2f55390d54304a478bdad6f" }, "downloads": -1, "filename": "Mopidy-dam1021-0.1.tar.gz", "has_sig": false, "md5_digest": "7c39ebe9f7d2a32633c7d39e16e0e94c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7976, "upload_time": "2015-07-09T21:39:27", "url": "https://files.pythonhosted.org/packages/b2/b1/6e9b51c68d8a6bf7fefc5e1af98f5b2f99f059caddb7c23470ba01a1b08b/Mopidy-dam1021-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "7cc881071e084ab857c90be89ef14c19", "sha256": "62a40263f8a73e2ba06b0d346d341f5ea21da33add20769d4c51f483b3221443" }, "downloads": -1, "filename": "Mopidy-dam1021-0.2.tar.gz", "has_sig": false, "md5_digest": "7cc881071e084ab857c90be89ef14c19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8666, "upload_time": "2015-07-10T22:02:07", "url": "https://files.pythonhosted.org/packages/e1/be/5e06d87473cb047e309a14f5222fc141c1388034563cf964fbc4996f98c0/Mopidy-dam1021-0.2.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "9a281772282a50d01f3ee6fd1917d3fa", "sha256": "4b31b891826ab96e6e7ddf6e93844bc29c0abc4c228b61bfd9d5d3524893f442" }, "downloads": -1, "filename": "Mopidy-dam1021-0.4.tar.gz", "has_sig": false, "md5_digest": "9a281772282a50d01f3ee6fd1917d3fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8656, "upload_time": "2015-08-19T00:24:19", "url": "https://files.pythonhosted.org/packages/09/db/4818fe17076a580726ce35b405d8d0f804354efa790aa2572947472874cb/Mopidy-dam1021-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9a281772282a50d01f3ee6fd1917d3fa", "sha256": "4b31b891826ab96e6e7ddf6e93844bc29c0abc4c228b61bfd9d5d3524893f442" }, "downloads": -1, "filename": "Mopidy-dam1021-0.4.tar.gz", "has_sig": false, "md5_digest": "9a281772282a50d01f3ee6fd1917d3fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8656, "upload_time": "2015-08-19T00:24:19", "url": "https://files.pythonhosted.org/packages/09/db/4818fe17076a580726ce35b405d8d0f804354efa790aa2572947472874cb/Mopidy-dam1021-0.4.tar.gz" } ] }