Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kentonishi/torch-pitch-shift
Pitch-shift audio clips quickly with PyTorch (CUDA supported)! Additional utilities for searching efficient transformations are included.
https://github.com/kentonishi/torch-pitch-shift
audio-augmentation augmentation gpu-support pitch-shift pytorch sound-processing torch torchaudio
Last synced: about 19 hours ago
JSON representation
Pitch-shift audio clips quickly with PyTorch (CUDA supported)! Additional utilities for searching efficient transformations are included.
- Host: GitHub
- URL: https://github.com/kentonishi/torch-pitch-shift
- Owner: KentoNishi
- License: mit
- Created: 2021-06-18T00:46:05.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-25T19:10:19.000Z (3 days ago)
- Last Synced: 2024-09-27T12:43:17.375Z (about 19 hours ago)
- Topics: audio-augmentation, augmentation, gpu-support, pitch-shift, pytorch, sound-processing, torch, torchaudio
- Language: Python
- Homepage: https://kentonishi.github.io/torch-pitch-shift/
- Size: 51.8 MB
- Stars: 131
- Watchers: 2
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# 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!