{
"info": {
"author": "Andrea Celletti",
"author_email": "celletti.andrea87@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Multimedia :: Sound/Audio"
],
"description": "Wavy\n=====\n\n.. image:: https://travis-ci.org/acelletti/wavy.svg?branch=master\n :target: https://travis-ci.org/acelletti/wavy\n\n.. image:: https://coveralls.io/repos/github/acelletti/wavy/badge.svg?branch=travisci\n :target: https://coveralls.io/github/acelletti/wavy?branch=travisci\n\n.. image:: https://img.shields.io/appveyor/tests/acelletti/wavy.svg\n :target: https://ci.appveyor.com/project/acelletti/wavy/build/tests\n\n.. image:: https://img.shields.io/github/license/acelletti/wavy.svg\n :target: https://opensource.org/licenses/MIT\n\n.. image:: https://readthedocs.org/projects/wavy/badge/?version=latest\n :target: https://wavy.readthedocs.io/en/latest/?badge=latest\n\nIntroduction\n------------\n\nA pure python module for working with WAVE files with support for all common file formats for both RIFF and RIFX.\n\nWhen working with WAVE files, there are two main pure python modules available:\n\n* *builtin.wave*\n Python built-in module, lacks support for float and 24bit integer.\n Provides raw data instead of an array of values.\n\n* *scipy.wave*\n Scipy does not support 24bit integer files. The module strength and weakness is its simplicity,\n if all you need to do is read and write, this might be for you.\n\nThe **wave** module provides a fully featured dedicated module that can be used as an alternative to the above if\nflexibility and ease of use are desirable.\n\n\n.. |check-circle| image:: https://upload.wikimedia.org/wikipedia/commons/5/50/Yes_Check_Circle.svg\n :scale: 150%\n\n.. |times-circle| image:: https://upload.wikimedia.org/wikipedia/commons/f/f5/No_Cross.svg\n :scale: 150%\n\nComparison\n^^^^^^^^^^^\n\nThe following table shows a comparison of supported functionality:\n\n.. csv-table::\n :header: \"Functionality\", \"builtin.wave\", \"scipy.wave\", \"wavy\"\n\n **RIFF Format Support**, |check-circle|, |check-circle|, |check-circle|\n **RIFX Format Support**, |times-circle|, |check-circle|, |check-circle|\n **Read Audio Information**, |check-circle|, |times-circle|, |check-circle|\n **Read Data As Array**, |times-circle|, |check-circle|, |check-circle|\n **Read Tag Information**, |times-circle|, |times-circle|, |check-circle|\n\nThe following table shows a comparison of supported formats for uncompressed WAVE files:\n\n.. table::\n\n +--------------+------------+----------------+----------------+----------------+\n | Sample Width | Format Tag | builtin.wave | scipy.wave | wavy |\n +==============+============+================+================+================+\n | **8 bit** | PCM | |check-circle| | |check-circle| | |check-circle| |\n + +------------+----------------+----------------+----------------+\n | | EXTENSIBLE | |times-circle| | |check-circle| | |check-circle| |\n +--------------+------------+----------------+----------------+----------------+\n | **16 bit** | PCM | |check-circle| | |check-circle| | |check-circle| |\n + +------------+----------------+----------------+----------------+\n | | EXTENSIBLE | |times-circle| | |check-circle| | |check-circle| |\n +--------------+------------+----------------+----------------+----------------+\n | **24 bit** | PCM | |check-circle| | |times-circle| | |check-circle| |\n + +------------+----------------+----------------+----------------+\n | | EXTENSIBLE | |times-circle| | |times-circle| | |check-circle| |\n +--------------+------------+----------------+----------------+----------------+\n | **32 bit** | PCM | |check-circle| | |check-circle| | |check-circle| |\n + +------------+----------------+----------------+----------------+\n | | EXTENSIBLE | |times-circle| | |check-circle| | |check-circle| |\n + +------------+----------------+----------------+----------------+\n | | FLOAT | |times-circle| | |check-circle| | |check-circle| |\n +--------------+------------+----------------+----------------+----------------+\n | **64 bit** | FLOAT | |times-circle| | |check-circle| | |check-circle| |\n +--------------+------------+----------------+----------------+----------------+\n\nInstallation\n-------------\n\nThe latest stable version is available on `PyPI `_.\n\nEither add ``wavy`` to your ``requirements.txt`` file or install with pip:\n\n.. code-block:: bash\n\n pip install wavy\n\nUsage\n-------\n\nRead File\n^^^^^^^^^^\n\nOpen a file using the module use ``wavy.read``:\n\n.. code-block:: python\n\n >>> import wavy\n >>> file = wavy.read(\"audio.wav\")\n >>> file\n WaveFile(sample_width=16, framerate=44100, n_channels=2, n_frames=286653)\n\nGet the data for the file:\n\n.. code-block:: python\n\n >>> rate, data = file.framerate, file.data\n\n >>> rate\n 44100\n\n >>> data.shape\n (286653, 2)\n\n >>> data.dtype\n int16\n\n\nGet File Info\n^^^^^^^^^^^^^\n\nTo read the file information without loading the data use ``wavy.info``:\n\n.. code-block:: python\n\n >>> wavy.info(\"audio.wav\")\n WaveFileInfo(sample_width=16, framerate=44100, n_channels=2, n_frames=286653, tags=None)\n\n\nAuthors\n-------\n\n* **Andrea Celletti** - *Initial work* - `Profile `_, `Email `_\n\nLicense\n---------\n\nThis project is licensed under the MIT License - see the `LICENSE `_ file for details.",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/acelletti/wavy",
"keywords": "audio wave wav",
"license": "",
"maintainer": "",
"maintainer_email": "",
"name": "wavy",
"package_url": "https://pypi.org/project/wavy/",
"platform": "",
"project_url": "https://pypi.org/project/wavy/",
"project_urls": {
"Bug Reports": "https://github.com/acelletti/wavy/issues",
"Homepage": "https://github.com/acelletti/wavy",
"Source": "https://github.com/acelletti/wavy"
},
"release_url": "https://pypi.org/project/wavy/1.0.1/",
"requires_dist": null,
"requires_python": "",
"summary": "A pure python module for working with WAVE files with support for all common file formats for both RIFF and RIFX.",
"version": "1.0.1"
},
"last_serial": 4823462,
"releases": {
"0.1.2": [
{
"comment_text": "",
"digests": {
"md5": "8f34586fdccff00e2275d320228151f5",
"sha256": "892897b1ad4c18b5a095cb991da52e601188bcab1d5ca71c257ae3812efba141"
},
"downloads": -1,
"filename": "wavy-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "8f34586fdccff00e2275d320228151f5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 26822,
"upload_time": "2018-03-25T17:12:31",
"url": "https://files.pythonhosted.org/packages/2d/17/b3045f77898ed9ceaa5d26b75fb209719b5bfe63ebc59e3165dc7ade891b/wavy-0.1.2.tar.gz"
}
],
"0.1.4": [
{
"comment_text": "",
"digests": {
"md5": "77a85d2a769249968f11cd5845c76ba9",
"sha256": "f963a9ab8c40ac0244716c0874160ef3b193e0a881ee444f73a001bfdb2b9ff0"
},
"downloads": -1,
"filename": "wavy-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "77a85d2a769249968f11cd5845c76ba9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 27063,
"upload_time": "2019-02-14T18:32:06",
"url": "https://files.pythonhosted.org/packages/45/39/dde69cc983da793517f0225a3e3368c20c57ed01ffecc6d1a7c74b5ab93e/wavy-0.1.4.tar.gz"
}
],
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "7a9c76ce73f77a7c765a1b69ba6252e1",
"sha256": "73b2363e62cc3f875bfda21321fb42b4d2ab63dbf0bad704f6d9a419577d12fd"
},
"downloads": -1,
"filename": "wavy-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "7a9c76ce73f77a7c765a1b69ba6252e1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 27955,
"upload_time": "2019-02-14T22:50:16",
"url": "https://files.pythonhosted.org/packages/7d/ad/13452bc43f6da61ab66f2f6e316add7558ce37034480e3d56a41417a5b2b/wavy-1.0.0.tar.gz"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "b45c6bb7236db2414dfa3eb23a8313e4",
"sha256": "1833b333a266e81203c12bed1aed5f22c9376926cb24138522349f4b4339ef2a"
},
"downloads": -1,
"filename": "wavy-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "b45c6bb7236db2414dfa3eb23a8313e4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 27974,
"upload_time": "2019-02-15T07:13:10",
"url": "https://files.pythonhosted.org/packages/9d/10/66046f6aedfa3a7849482283a8cf8b1c784fcbb76012d1fd3800f11e8f19/wavy-1.0.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "b45c6bb7236db2414dfa3eb23a8313e4",
"sha256": "1833b333a266e81203c12bed1aed5f22c9376926cb24138522349f4b4339ef2a"
},
"downloads": -1,
"filename": "wavy-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "b45c6bb7236db2414dfa3eb23a8313e4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 27974,
"upload_time": "2019-02-15T07:13:10",
"url": "https://files.pythonhosted.org/packages/9d/10/66046f6aedfa3a7849482283a8cf8b1c784fcbb76012d1fd3800f11e8f19/wavy-1.0.1.tar.gz"
}
]
}