{ "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-waveform/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/waveform/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_Waveform.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_Waveform\n :alt: Build Status\n\nThis library generates simple waveforms that can be used to generate different\ntype of audio signals.\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\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=====================\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-waveform\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n sudo pip3 install adafruit-circuitpython-waveform\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-waveform\n\nUsage Example\n=============\n\nThis example generates one wavelength of a 440hz sine wave when played at 16 kilosamples per second:\n\n.. code-block:: python\n\n from adafruit_waveform import sine\n wave = sine.sine_wave(16000, 440)\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\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-waveform --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_Waveform", "keywords": "adafruit haptic waveform signal audio rtttl sine squarewave hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-waveform", "package_url": "https://pypi.org/project/adafruit-circuitpython-waveform/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-waveform/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_Waveform" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-waveform/1.2.4/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for generating simple waveforms for audio.", "version": "1.2.4" }, "last_serial": 5881321, "releases": { "1.2.0": [ { "comment_text": "", "digests": { "md5": "821f8356cd34c960cd03ec99b17bc60c", "sha256": "9c976ab6f8f84ea631ff2d5dc1313fd1af6f5be19264afddc93dd5b65417a136" }, "downloads": -1, "filename": "adafruit-circuitpython-waveform-1.2.0.tar.gz", "has_sig": false, "md5_digest": "821f8356cd34c960cd03ec99b17bc60c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19501, "upload_time": "2018-08-09T15:53:11", "url": "https://files.pythonhosted.org/packages/cd/0c/3f25137ab3ea13dfebc6662f7c966a2250b9b3303558212a98c88958c855/adafruit-circuitpython-waveform-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "bd9a5bd164c1716d4e47915e94471804", "sha256": "e00e58fe586bf4b37d671ad4b016de2f9f5aedd2fa912cfc88b52895b1094b90" }, "downloads": -1, "filename": "adafruit-circuitpython-waveform-1.2.1.tar.gz", "has_sig": false, "md5_digest": "bd9a5bd164c1716d4e47915e94471804", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19498, "upload_time": "2018-11-12T17:45:40", "url": "https://files.pythonhosted.org/packages/d0/78/5e2b3740a2b6b80645fb4f55cbcdc8f13dd73cd80269ce2f7317dbacf402/adafruit-circuitpython-waveform-1.2.1.tar.gz" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "f95c362b51431a1ceee3bacc3b2d769f", "sha256": "5185a71bc81984394aee3165b71a8fff21092b7b3c90c4411bcfb3769f521481" }, "downloads": -1, "filename": "adafruit-circuitpython-waveform-1.2.2.tar.gz", "has_sig": false, "md5_digest": "f95c362b51431a1ceee3bacc3b2d769f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17816, "upload_time": "2019-01-15T03:15:07", "url": "https://files.pythonhosted.org/packages/0b/9b/4fba01a886c68a2eccf4ff3a9ac41c93bc26adba07b9dbe1c39571037d23/adafruit-circuitpython-waveform-1.2.2.tar.gz" } ], "1.2.3": [ { "comment_text": "", "digests": { "md5": "305553b4d7cf06496b0132fc5d6b0782", "sha256": "1f51bc62752e752960198f76af3d1b79796e6c962c76a24bb61c469e27ac17f1" }, "downloads": -1, "filename": "adafruit-circuitpython-waveform-1.2.3.tar.gz", "has_sig": false, "md5_digest": "305553b4d7cf06496b0132fc5d6b0782", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17838, "upload_time": "2019-05-26T14:16:53", "url": "https://files.pythonhosted.org/packages/29/e1/8c9ab415e76336ec8edcdb75c823ccbd36a871469db915f819105f5d718d/adafruit-circuitpython-waveform-1.2.3.tar.gz" } ], "1.2.4": [ { "comment_text": "", "digests": { "md5": "923f0bcf6c875fd42f2da449b65b08b4", "sha256": "fef8f729ae9c1dada46899cc1739ab0a5cfa8d446a510f87874db89a48973502" }, "downloads": -1, "filename": "adafruit-circuitpython-waveform-1.2.4.tar.gz", "has_sig": false, "md5_digest": "923f0bcf6c875fd42f2da449b65b08b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18089, "upload_time": "2019-09-24T18:33:39", "url": "https://files.pythonhosted.org/packages/d7/3b/7e6137f933208f6f36f11493caaafefde6582869e77f35354082bbe5b675/adafruit-circuitpython-waveform-1.2.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "923f0bcf6c875fd42f2da449b65b08b4", "sha256": "fef8f729ae9c1dada46899cc1739ab0a5cfa8d446a510f87874db89a48973502" }, "downloads": -1, "filename": "adafruit-circuitpython-waveform-1.2.4.tar.gz", "has_sig": false, "md5_digest": "923f0bcf6c875fd42f2da449b65b08b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18089, "upload_time": "2019-09-24T18:33:39", "url": "https://files.pythonhosted.org/packages/d7/3b/7e6137f933208f6f36f11493caaafefde6582869e77f35354082bbe5b675/adafruit-circuitpython-waveform-1.2.4.tar.gz" } ] }