# Torch Pitch Shift
Pitch-shift audio clips quickly with PyTorch (CUDA supported)! Additional utilities for searching efficient transformations are included.
[View on PyPI](https://pypi.org/project/torch-pitch-shift/) / [View Documentation](https://kentonishi.github.io/torch-pitch-shift/)
[![Publish to PyPI](https://github.com/KentoNishi/torch-pitch-shift/actions/workflows/publish.yaml/badge.svg)](https://github.com/KentoNishi/torch-pitch-shift/actions/workflows/publish.yaml)
[![Run tests](https://github.com/KentoNishi/torch-pitch-shift/actions/workflows/test.yaml/badge.svg)](https://github.com/KentoNishi/torch-pitch-shift/actions/workflows/test.yaml)
[![PyPI version](https://img.shields.io/pypi/v/torch-pitch-shift.svg?style=flat)](https://pypi.org/project/torch-pitch-shift/)
[![Number of downloads from PyPI per month](https://img.shields.io/pypi/dm/torch-pitch-shift.svg?style=flat)](https://pypi.org/project/torch-pitch-shift/)
![Python version support](https://img.shields.io/pypi/pyversions/torch-pitch-shift)
[![Code Style: Black](https://img.shields.io/badge/code%20style-black-black.svg)](https://github.com/ambv/black)
## About
This package includes two main features:
* Pitch-shift audio clips quickly using PyTorch (with CUDA support)
* Calculate efficient pitch-shift targets (useful for augmentation, where speed is more important than precise pitch-shifts)
> Also check out [torch-time-stretch](https://github.com/KentoNishi/torch-time-stretch), a sister project for time-stretching.
## Installation
```bash
pip install torch-pitch-shift
```
## Usage
### Example
Check out [example.py](https://github.com/KentoNishi/torch-pitch-shift/blob/master/example.py) to see `torch-pitch-shift` in action!
## Documentation
See the [documentation page](https://kentonishi.github.io/torch-pitch-shift/) for detailed documentation!
## Contributing
Please feel free to submit issues or pull requests!
Raw data
{
"_id": null,
"home_page": "https://github.com/KentoNishi/torch-pitch-shift",
"name": "torch-pitch-shift",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.4",
"maintainer_email": "",
"keywords": "",
"author": "KentoNishi",
"author_email": "kento24gs@outlook.com",
"download_url": "https://files.pythonhosted.org/packages/01/13/771250fc721f387cb4dab3dc17b9167d6df1b87f7161dcff90337293fe5d/torch_pitch_shift-1.2.4.tar.gz",
"platform": null,
"description": "# Torch Pitch Shift\n\nPitch-shift audio clips quickly with PyTorch (CUDA supported)! Additional utilities for searching efficient transformations are included.\n\n[View on PyPI](https://pypi.org/project/torch-pitch-shift/) / [View Documentation](https://kentonishi.github.io/torch-pitch-shift/)\n\n[![Publish to PyPI](https://github.com/KentoNishi/torch-pitch-shift/actions/workflows/publish.yaml/badge.svg)](https://github.com/KentoNishi/torch-pitch-shift/actions/workflows/publish.yaml)\n[![Run tests](https://github.com/KentoNishi/torch-pitch-shift/actions/workflows/test.yaml/badge.svg)](https://github.com/KentoNishi/torch-pitch-shift/actions/workflows/test.yaml)\n[![PyPI version](https://img.shields.io/pypi/v/torch-pitch-shift.svg?style=flat)](https://pypi.org/project/torch-pitch-shift/)\n[![Number of downloads from PyPI per month](https://img.shields.io/pypi/dm/torch-pitch-shift.svg?style=flat)](https://pypi.org/project/torch-pitch-shift/)\n![Python version support](https://img.shields.io/pypi/pyversions/torch-pitch-shift)\n[![Code Style: Black](https://img.shields.io/badge/code%20style-black-black.svg)](https://github.com/ambv/black)\n\n## About\n\nThis package includes two main features:\n* Pitch-shift audio clips quickly using PyTorch (with CUDA support)\n* Calculate efficient pitch-shift targets (useful for augmentation, where speed is more important than precise pitch-shifts)\n\n> Also check out [torch-time-stretch](https://github.com/KentoNishi/torch-time-stretch), a sister project for time-stretching.\n\n## Installation\n```bash\npip install torch-pitch-shift\n```\n\n## Usage\n\n### Example\n\nCheck out [example.py](https://github.com/KentoNishi/torch-pitch-shift/blob/master/example.py) to see `torch-pitch-shift` in action!\n\n## Documentation\nSee the [documentation page](https://kentonishi.github.io/torch-pitch-shift/) for detailed documentation!\n\n## Contributing\nPlease feel free to submit issues or pull requests!\n",
"bugtrack_url": null,
"license": "",
"summary": "",
"version": "1.2.4",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e6b342b46bccba56baecea9678d8feea09f21777f67ab397719409e036f03058",
"md5": "c1ca6fc377ec6b142bc06c2718ff2aaf",
"sha256": "6cde2bddd7388e6da05e354fb84cf8e95a33e79d196e4c8ebd655faa4296cc42"
},
"downloads": -1,
"filename": "torch_pitch_shift-1.2.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c1ca6fc377ec6b142bc06c2718ff2aaf",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.4",
"size": 4948,
"upload_time": "2023-04-13T23:00:35",
"upload_time_iso_8601": "2023-04-13T23:00:35.902564Z",
"url": "https://files.pythonhosted.org/packages/e6/b3/42b46bccba56baecea9678d8feea09f21777f67ab397719409e036f03058/torch_pitch_shift-1.2.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0113771250fc721f387cb4dab3dc17b9167d6df1b87f7161dcff90337293fe5d",
"md5": "b58e13470c1c1f93205859e46d60e303",
"sha256": "c173fc808184a684c1ecd99d5744573e55a667f238e2268adaf15c9467d99db9"
},
"downloads": -1,
"filename": "torch_pitch_shift-1.2.4.tar.gz",
"has_sig": false,
"md5_digest": "b58e13470c1c1f93205859e46d60e303",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.4",
"size": 4655,
"upload_time": "2023-04-13T23:00:37",
"upload_time_iso_8601": "2023-04-13T23:00:37.986709Z",
"url": "https://files.pythonhosted.org/packages/01/13/771250fc721f387cb4dab3dc17b9167d6df1b87f7161dcff90337293fe5d/torch_pitch_shift-1.2.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-13 23:00:37",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "KentoNishi",
"github_project": "torch-pitch-shift",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "torch-pitch-shift"
}