https://github.com/kentonishi/torch-time-stretch
Time-stretch audio clips quickly with PyTorch (CUDA supported)! Additional utilities for searching efficient transformations are included.
https://github.com/kentonishi/torch-time-stretch
audio-augmentation augmentation gpu-support pytorch sound-processing time-stretch torch torchaudio
Last synced: 5 months ago
JSON representation
Time-stretch audio clips quickly with PyTorch (CUDA supported)! Additional utilities for searching efficient transformations are included.
- Host: GitHub
- URL: https://github.com/kentonishi/torch-time-stretch
- Owner: KentoNishi
- License: mit
- Created: 2021-10-10T17:41:46.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-05T05:13:41.000Z (over 2 years ago)
- Last Synced: 2024-04-25T19:02:23.024Z (about 1 year ago)
- Topics: audio-augmentation, augmentation, gpu-support, pytorch, sound-processing, time-stretch, torch, torchaudio
- Language: Python
- Homepage: https://kentonishi.github.io/torch-time-stretch/
- Size: 7.16 MB
- Stars: 34
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Torch Time Stretch
Time-stretch audio clips quickly with PyTorch (CUDA supported)! Additional utilities for searching efficient transformations are included.
[View on PyPI](https://pypi.org/project/torch-time-stretch/) / [View Documentation](https://kentonishi.github.io/torch-time-stretch/)
[](https://github.com/KentoNishi/torch-time-stretch/actions/workflows/publish.yaml)
[](https://github.com/KentoNishi/torch-time-stretch/actions/workflows/test.yaml)
[](https://pypi.org/project/torch-time-stretch/)
[](https://pypi.org/project/torch-time-stretch/)

[](https://github.com/ambv/black)## About
This package includes two main features:
* Time-stretch audio clips quickly using PyTorch (with CUDA support)
* Calculate efficient time-stretch targets (useful for augmentation, where speed is more important than precise time-stretches)> Also check out [torch-pitch-shift](https://github.com/KentoNishi/torch-pitch-shift), a sister project for pitch-shifting.
## Installation
```bash
pip install torch-time-stretch
```## Usage
### Example
Check out [example.py](https://github.com/KentoNishi/torch-time-stretch/blob/master/example.py) to see `torch-time-stretch` in action!
## Documentation
See the [documentation page](https://kentonishi.github.io/torch-time-stretch/) for detailed documentation!## Contributing
Please feel free to submit issues or pull requests!