{ "info": { "author": "Adafruit Industries", "author_email": "circuitpython@adafruit.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries", "Topic :: System :: Hardware" ], "description": "Introduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-vs1053/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/vs1053/en/latest/\n :alt: Documentation Status\n\n.. image:: https://img.shields.io/discord/327254708534116352.svg\n :target: https://discord.gg/nBQh6qu\n :alt: Discord\n\n.. image:: https://travis-ci.com/adafruit/Adafruit_CircuitPython_VS1053.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_VS1053\n :alt: Build Status\n\nDriver for interacting and playing media files with the VS1053 audio codec over\na SPI connection.\n\nNOTE: This is not currently working for audio playback of files. Only sine\nwave test currently works. The problem is that pure Python code is currently\ntoo slow to keep up with feeding data to the VS1053 fast enough. There's no\ninterrupt support so Python code has to monitor the DREQ line and provide a\nsmall buffer of data when ready, but the overhead of the interpreter means we\ncan't keep up. Optimizing SPI to use DMA transfers could help but ultimately\nan interrupt-based approach is likely what can make this work better (or C\nfunctions built in to custom builds that monitor the DREQ line and feed a\nbuffer of data).\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\n* `Bus Device `_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle `_.\n\nInstalling from PyPI\n--------------------\n\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI `_. To install for current user:\n\n.. code-block:: shell\n\n pip3 install adafruit-circuitpython-vs1053\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n sudo pip3 install adafruit-circuitpython-vs1053\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n mkdir project-name && cd project-name\n python3 -m venv .env\n source .env/bin/activate\n pip3 install adafruit-circuitpython-vs1053\n\nUsage Example\n=============\n\nSee examples/sdfile_play.py.\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n`_\nbefore contributing to help this project stay welcoming.\n\nBuilding locally\n================\n\nZip release files\n-----------------\n\nTo build this library locally you'll need to install the\n`circuitpython-build-tools `_ package.\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install circuitpython-build-tools\n\nOnce installed, make sure you are in the virtual environment:\n\n.. code-block:: shell\n\n source .env/bin/activate\n\nThen run the build:\n\n.. code-block:: shell\n\n circuitpython-build-bundles --filename_prefix adafruit-circuitpython-vs1053 --library_location .\n\nSphinx documentation\n-----------------------\n\nSphinx is used to build the documentation based on rST files and comments in the code. First,\ninstall dependencies (feel free to reuse the virtual environment from above):\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install Sphinx sphinx-rtd-theme\n\nNow, once you have the virtual environment activated:\n\n.. code-block:: shell\n\n cd docs\n sphinx-build -E -W -b html . _build/html\n\nThis will output the documentation to ``docs/_build/html``. Open the index.html in your browser to\nview them. It will also (due to -W) error out on any warning like Travis will. This is a good way to\nlocally verify it will pass.", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/adafruit/Adafruit_CircuitPython_VS1053", "keywords": "adafruit audio codec vs1053 spi hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-vs1053", "package_url": "https://pypi.org/project/adafruit-circuitpython-vs1053/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-vs1053/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_VS1053" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-vs1053/1.1.1/", "requires_dist": null, "requires_python": "", "summary": "Driver for interacting and playing media files with the VS1053 audio codec over a SPI connection.", "version": "1.1.1" }, "last_serial": 4701026, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "87c708cbbebb795880587f8961cf7b2b", "sha256": "ef9690c8c65eb1bd10a1462541522610e3e0d44020ad5980fc96ad49f2c0fc11" }, "downloads": -1, "filename": "adafruit-circuitpython-vs1053-1.1.0.tar.gz", "has_sig": false, "md5_digest": "87c708cbbebb795880587f8961cf7b2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23231, "upload_time": "2018-11-08T23:15:56", "url": "https://files.pythonhosted.org/packages/20/2a/80853fc0e4b546256f190b33bfad886e977125f5ccb6efc7f4e5c37f6e4d/adafruit-circuitpython-vs1053-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "62e2c669c23c3c7fa43705933540d5e1", "sha256": "d879019a99c8ce05123cf3f9b0f1e5832dd699acd3df199e7fcc126b6bdc1bec" }, "downloads": -1, "filename": "adafruit-circuitpython-vs1053-1.1.1.tar.gz", "has_sig": false, "md5_digest": "62e2c669c23c3c7fa43705933540d5e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21634, "upload_time": "2019-01-16T00:24:40", "url": "https://files.pythonhosted.org/packages/0f/fa/06903e8cb3385ce6190d81de1168da1ef50aacbb800780585d437ff63ced/adafruit-circuitpython-vs1053-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "62e2c669c23c3c7fa43705933540d5e1", "sha256": "d879019a99c8ce05123cf3f9b0f1e5832dd699acd3df199e7fcc126b6bdc1bec" }, "downloads": -1, "filename": "adafruit-circuitpython-vs1053-1.1.1.tar.gz", "has_sig": false, "md5_digest": "62e2c669c23c3c7fa43705933540d5e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21634, "upload_time": "2019-01-16T00:24:40", "url": "https://files.pythonhosted.org/packages/0f/fa/06903e8cb3385ce6190d81de1168da1ef50aacbb800780585d437ff63ced/adafruit-circuitpython-vs1053-1.1.1.tar.gz" } ] }