audresample


Nameaudresample JSON
Version 1.3.3 PyPI version JSON
download
home_page
SummaryResample and remix an audio signal
upload_time2023-12-13 11:14:51
maintainer
docs_urlNone
authorAndrea Crespi
requires_python
licenseMIT License Copyright (c) 2020 audEERING GmbH and Contributors Authors: Johannes Wagner Andrea Crespi Hagen Wierstorf Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords audio dsp resample remix
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===========
audresample
===========

|tests| |coverage| |docs| |python-versions| |license|

**audresample** remixes or resamples your signals.

Resampling is supported
for signals in single precision floating-point format,
and based on the `soxr`_ implementation
as provided by `audresamplelib`_.

Have a look at the installation_ and usage_ instructions.

.. code-block:: python

    >>> import numpy as np
    >>> import audresample
    >>> signal = np.zeros((2, 8000), dtype='float32')
    >>> signal.shape
    (2, 8000)
    >>> audresample.remix(signal, mixdown=True).shape
    (1, 8000)
    >>> audresample.remix(signal, channels=[0, 0, 1, 1]).shape
    (4, 8000)
    >>> audresample.resample(signal, 8000, 16000).shape
    (2, 16000)

.. _soxr: https://sourceforge.net/projects/soxr/
.. _audresamplelib: https://github.com/audeering/audresamplelib
.. _installation: https://audeering.github.io/audresample/install.html
.. _usage: https://audeering.github.io/audresample/usage.html


.. badges images and links:
.. |tests| image:: https://github.com/audeering/audresample/workflows/Test/badge.svg
    :target: https://github.com/audeering/audresample/actions?query=workflow%3ATest
    :alt: Test status
.. |coverage| image:: https://codecov.io/gh/audeering/audresample/branch/main/graph/badge.svg?token=NPQDJ5T7HI
    :target: https://codecov.io/gh/audeering/audresample/
    :alt: code coverage
.. |docs| image:: https://img.shields.io/pypi/v/audresample?label=docs
    :target: https://audeering.github.io/audresample/
    :alt: audresample's documentation
.. |license| image:: https://img.shields.io/badge/license-MIT-green.svg
    :target: https://github.com/audeering/audresample/blob/main/LICENSE
    :alt: audresample's MIT license
.. |python-versions| image:: https://img.shields.io/pypi/pyversions/audresample.svg
    :target: https://pypi.org/project/audresample/
    :alt: audresamples's supported Python versions

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "audresample",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "audio,dsp,resample,remix",
    "author": "Andrea Crespi",
    "author_email": "Johannes Wagner <jwagner@audeering.com>, Hagen Wierstorf <hwierstorf@audeering.com>",
    "download_url": "https://files.pythonhosted.org/packages/8a/7c/303106a8578ca62c5cb134bff5ecddee0b72338db6a0986312b36678c044/audresample-1.3.3.tar.gz",
    "platform": null,
    "description": "===========\naudresample\n===========\n\n|tests| |coverage| |docs| |python-versions| |license|\n\n**audresample** remixes or resamples your signals.\n\nResampling is supported\nfor signals in single precision floating-point format,\nand based on the `soxr`_ implementation\nas provided by `audresamplelib`_.\n\nHave a look at the installation_ and usage_ instructions.\n\n.. code-block:: python\n\n    >>> import numpy as np\n    >>> import audresample\n    >>> signal = np.zeros((2, 8000), dtype='float32')\n    >>> signal.shape\n    (2, 8000)\n    >>> audresample.remix(signal, mixdown=True).shape\n    (1, 8000)\n    >>> audresample.remix(signal, channels=[0, 0, 1, 1]).shape\n    (4, 8000)\n    >>> audresample.resample(signal, 8000, 16000).shape\n    (2, 16000)\n\n.. _soxr: https://sourceforge.net/projects/soxr/\n.. _audresamplelib: https://github.com/audeering/audresamplelib\n.. _installation: https://audeering.github.io/audresample/install.html\n.. _usage: https://audeering.github.io/audresample/usage.html\n\n\n.. badges images and links:\n.. |tests| image:: https://github.com/audeering/audresample/workflows/Test/badge.svg\n    :target: https://github.com/audeering/audresample/actions?query=workflow%3ATest\n    :alt: Test status\n.. |coverage| image:: https://codecov.io/gh/audeering/audresample/branch/main/graph/badge.svg?token=NPQDJ5T7HI\n    :target: https://codecov.io/gh/audeering/audresample/\n    :alt: code coverage\n.. |docs| image:: https://img.shields.io/pypi/v/audresample?label=docs\n    :target: https://audeering.github.io/audresample/\n    :alt: audresample's documentation\n.. |license| image:: https://img.shields.io/badge/license-MIT-green.svg\n    :target: https://github.com/audeering/audresample/blob/main/LICENSE\n    :alt: audresample's MIT license\n.. |python-versions| image:: https://img.shields.io/pypi/pyversions/audresample.svg\n    :target: https://pypi.org/project/audresample/\n    :alt: audresamples's supported Python versions\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2020 audEERING GmbH and Contributors  Authors: Johannes Wagner Andrea Crespi Hagen Wierstorf  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Resample and remix an audio signal",
    "version": "1.3.3",
    "project_urls": {
        "documentation": "https://audeering.github.io/audresample/",
        "repository": "https://github.com/audeering/audresample/"
    },
    "split_keywords": [
        "audio",
        "dsp",
        "resample",
        "remix"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0619d7e365cc5d41fffdd38678c45d0ee91ef56b85e004f79028c7a18c3eb318",
                "md5": "a3e847a5caf793a6f34046c6e23aede6",
                "sha256": "6817aafd12ba19a164d57ff94e1bc74bc51c1d534c2780bc5f0cd5cdb2f778da"
            },
            "downloads": -1,
            "filename": "audresample-1.3.3-py3-none-macosx_10_4_x86_64.whl",
            "has_sig": false,
            "md5_digest": "a3e847a5caf793a6f34046c6e23aede6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 127993,
            "upload_time": "2023-12-13T11:14:41",
            "upload_time_iso_8601": "2023-12-13T11:14:41.887541Z",
            "url": "https://files.pythonhosted.org/packages/06/19/d7e365cc5d41fffdd38678c45d0ee91ef56b85e004f79028c7a18c3eb318/audresample-1.3.3-py3-none-macosx_10_4_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f66bfdb9418650a1e85b9e2d58de13ec06a3d5feef4ba45b874d02a548cfaa60",
                "md5": "f7989a0148ca6107cd890631029583c2",
                "sha256": "5a7f5662f9426ac697610abc57cd8b866ee05bc5c3babdd18a40a32b18b9875d"
            },
            "downloads": -1,
            "filename": "audresample-1.3.3-py3-none-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "f7989a0148ca6107cd890631029583c2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 84211,
            "upload_time": "2023-12-13T11:14:43",
            "upload_time_iso_8601": "2023-12-13T11:14:43.726915Z",
            "url": "https://files.pythonhosted.org/packages/f6/6b/fdb9418650a1e85b9e2d58de13ec06a3d5feef4ba45b874d02a548cfaa60/audresample-1.3.3-py3-none-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4117017afbdd49511c5a6102373d298a6106d1deaaf94c3781c32736176af52b",
                "md5": "fdd8d51fcc60b278d334b0b0104d9503",
                "sha256": "0b9d79bbe4f75a3f9bc0cd95a96bc81e592df64e247063d897de66ed6a03f121"
            },
            "downloads": -1,
            "filename": "audresample-1.3.3-py3-none-manylinux_2_17_aarch64.whl",
            "has_sig": false,
            "md5_digest": "fdd8d51fcc60b278d334b0b0104d9503",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 120331,
            "upload_time": "2023-12-13T11:14:45",
            "upload_time_iso_8601": "2023-12-13T11:14:45.248294Z",
            "url": "https://files.pythonhosted.org/packages/41/17/017afbdd49511c5a6102373d298a6106d1deaaf94c3781c32736176af52b/audresample-1.3.3-py3-none-manylinux_2_17_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ae4b6c521a86e44f0b340b6f3ef8628590bceb5fc92e6c24891183e083ff7efb",
                "md5": "843b1eb0694b070a004b93b7eef901a0",
                "sha256": "fa6aec2d37baae73a3de0519c27ea0e8231135c0fb3313fdb9d41958961f9ee1"
            },
            "downloads": -1,
            "filename": "audresample-1.3.3-py3-none-manylinux_2_17_armv7l.whl",
            "has_sig": false,
            "md5_digest": "843b1eb0694b070a004b93b7eef901a0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 101150,
            "upload_time": "2023-12-13T11:14:46",
            "upload_time_iso_8601": "2023-12-13T11:14:46.383273Z",
            "url": "https://files.pythonhosted.org/packages/ae/4b/6c521a86e44f0b340b6f3ef8628590bceb5fc92e6c24891183e083ff7efb/audresample-1.3.3-py3-none-manylinux_2_17_armv7l.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b5e7f077611b41c7740ba72725aeb30e458de0ac3b99167b86ca88acdb45435b",
                "md5": "6e8e531deb93667fe9d8ad26e48973ec",
                "sha256": "728a6d79eccbc9966ad0d8f5a9992e857eda771bbd0ab1a25d52a2cef504f2f1"
            },
            "downloads": -1,
            "filename": "audresample-1.3.3-py3-none-manylinux_2_17_x86_64.whl",
            "has_sig": false,
            "md5_digest": "6e8e531deb93667fe9d8ad26e48973ec",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 138399,
            "upload_time": "2023-12-13T11:14:48",
            "upload_time_iso_8601": "2023-12-13T11:14:48.326280Z",
            "url": "https://files.pythonhosted.org/packages/b5/e7/f077611b41c7740ba72725aeb30e458de0ac3b99167b86ca88acdb45435b/audresample-1.3.3-py3-none-manylinux_2_17_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "99c630f91a3169e32ab244e19008bf1fc35f6cbdf20a0bbf7c73ce7f5b6ab87c",
                "md5": "c58e2d63e194949b621bf9aad1c72539",
                "sha256": "35d2fea2c3a1de6b2b21a61512df44c1f4ac259bdf2fdcafad6670715bfa0e73"
            },
            "downloads": -1,
            "filename": "audresample-1.3.3-py3-none-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "c58e2d63e194949b621bf9aad1c72539",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 186401,
            "upload_time": "2023-12-13T11:14:50",
            "upload_time_iso_8601": "2023-12-13T11:14:50.098951Z",
            "url": "https://files.pythonhosted.org/packages/99/c6/30f91a3169e32ab244e19008bf1fc35f6cbdf20a0bbf7c73ce7f5b6ab87c/audresample-1.3.3-py3-none-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8a7c303106a8578ca62c5cb134bff5ecddee0b72338db6a0986312b36678c044",
                "md5": "1d64e66a96b8e66606df0c2103b6f1cc",
                "sha256": "c06d99ec094d68e06920416cc37c366ad3a9517a508a2b2446f68a95644ff3c2"
            },
            "downloads": -1,
            "filename": "audresample-1.3.3.tar.gz",
            "has_sig": false,
            "md5_digest": "1d64e66a96b8e66606df0c2103b6f1cc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 1929194,
            "upload_time": "2023-12-13T11:14:51",
            "upload_time_iso_8601": "2023-12-13T11:14:51.549121Z",
            "url": "https://files.pythonhosted.org/packages/8a/7c/303106a8578ca62c5cb134bff5ecddee0b72338db6a0986312b36678c044/audresample-1.3.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-13 11:14:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "audeering",
    "github_project": "audresample",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "audresample"
}
        
Elapsed time: 0.19380s