{ "info": { "author": "Warren Weckesser", "author_email": "", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "wavio\n=====\n\n``wavio`` is a Python module that defines two functions:\n\n* ``wavio.read`` reads a WAV file and returns an object that holds the sampling\n rate, sample width (in bytes), and a numpy array containing the data.\n* ``wavio.write`` writes a numpy array to a WAV file, optionally using a\n specified sample width.\n\nThe module uses the ``wave`` module in Python's standard library, so it has the\nsame limitations as that module. In particular, it does not support compressed\nWAV files, and it does not handle floating point WAV files. (When floating\npoint data is passed to ``wavio.write`` it is converted to integers before\nbeing written to the WAV file.) The functions can read and write 8-, 16-, 24-\nand 32-bit integer WAV files.\n\n``wavio`` has been tested with Python versions 2.7, 3.4, 3.5, 3.6 and 3.7.\n\n``wavio`` depends on numpy (http://www.numpy.org).\n\nThe package has a suite of unit tests, but it should still be considered\nprototype-quality software. There may be backwards-incompatible API changes\nbetween releases.\n\nExample\n~~~~~~~\n\nThe following code (also found in the docstring of ``wavio.write``) writes\na three second 440 Hz sine wave to a 24-bit WAV file::\n\n import numpy as np\n import wavio\n\n rate = 22050 # samples per second\n T = 3 # sample duration (seconds)\n f = 440.0 # sound frequency (Hz)\n t = np.linspace(0, T, T*rate, endpoint=False)\n x = np.sin(2*np.pi * f * t)\n wavio.write(\"sine24.wav\", x, rate, sampwidth=3)\n\n\n-----\n\n:Author: Warren Weckesser\n:Repository: https://github.com/WarrenWeckesser/wavio\n:License: BSD 2-clause (http://opensource.org/licenses/BSD-2-Clause)\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/WarrenWeckesser/wavio", "keywords": "wav numpy", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "wavio", "package_url": "https://pypi.org/project/wavio/", "platform": "", "project_url": "https://pypi.org/project/wavio/", "project_urls": { "Homepage": "https://github.com/WarrenWeckesser/wavio" }, "release_url": "https://pypi.org/project/wavio/0.0.4/", "requires_dist": [ "numpy (>=1.6.0)" ], "requires_python": "", "summary": "A Python module for reading and writing WAV files using numpy arrays.", "version": "0.0.4" }, "last_serial": 4061618, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "05a37734e0517e5d19c5d8cc68789d01", "sha256": "63623873d44b899d92d2acfc75cd15df3e41d359d1d7f5b0473ad05a771a5e0c" }, "downloads": -1, "filename": "wavio-0.0.2.tar.gz", "has_sig": false, "md5_digest": "05a37734e0517e5d19c5d8cc68789d01", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6919, "upload_time": "2015-12-04T18:42:28", "url": "https://files.pythonhosted.org/packages/3e/ce/0afd225d5fb9fb0d66dc4bd396cac87a27abe137c3ed0c1782be71eaac0c/wavio-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "bb740abc2fc8ad7fa905f682736fd66f", "sha256": "8db5413db700915bfd649ba912bc4ddbae632713f780fb7a19ce00ad995d85f7" }, "downloads": -1, "filename": "wavio-0.0.3.tar.gz", "has_sig": false, "md5_digest": "bb740abc2fc8ad7fa905f682736fd66f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7008, "upload_time": "2015-12-06T15:18:58", "url": "https://files.pythonhosted.org/packages/6f/3e/c538186990fb31e8fc167bd128e07807d05ff00ac5c9e6c3807ee8adb10a/wavio-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "09984aab209c8164bd9dfa30419d6050", "sha256": "3563900c5965e1824daf352ab7173840a799160c43546920cc089d753405a0a9" }, "downloads": -1, "filename": "wavio-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "09984aab209c8164bd9dfa30419d6050", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8964, "upload_time": "2018-07-14T18:27:31", "url": "https://files.pythonhosted.org/packages/e6/98/8bf5ea39a3385cc806ba1146a280a113835e5df3b0ad25ca95eea8352040/wavio-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "23e6e88fbe0ac527a4b2dd95c92a5f53", "sha256": "66d8f05e60e2c371364d537c25abf9ffbf4d8475e440ee2fbe73e000e9775fc8" }, "downloads": -1, "filename": "wavio-0.0.4.tar.gz", "has_sig": false, "md5_digest": "23e6e88fbe0ac527a4b2dd95c92a5f53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7110, "upload_time": "2018-07-14T18:27:56", "url": "https://files.pythonhosted.org/packages/84/62/c60fbc42aa7cc1adb023fe8fbe52bb12da9eceddaad5cfa807730771d219/wavio-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "09984aab209c8164bd9dfa30419d6050", "sha256": "3563900c5965e1824daf352ab7173840a799160c43546920cc089d753405a0a9" }, "downloads": -1, "filename": "wavio-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "09984aab209c8164bd9dfa30419d6050", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8964, "upload_time": "2018-07-14T18:27:31", "url": "https://files.pythonhosted.org/packages/e6/98/8bf5ea39a3385cc806ba1146a280a113835e5df3b0ad25ca95eea8352040/wavio-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "23e6e88fbe0ac527a4b2dd95c92a5f53", "sha256": "66d8f05e60e2c371364d537c25abf9ffbf4d8475e440ee2fbe73e000e9775fc8" }, "downloads": -1, "filename": "wavio-0.0.4.tar.gz", "has_sig": false, "md5_digest": "23e6e88fbe0ac527a4b2dd95c92a5f53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7110, "upload_time": "2018-07-14T18:27:56", "url": "https://files.pythonhosted.org/packages/84/62/c60fbc42aa7cc1adb023fe8fbe52bb12da9eceddaad5cfa807730771d219/wavio-0.0.4.tar.gz" } ] }