100% copy of resampy, but faster.
This package implements resampy on cuda, so it can leverage the GPU power and run even faster, especially on very large data.
Resamcupy provide the same interface as resampy, but it can accept not only numpy.ndarray
but cupy.ndarray
.
Other option please refer to resampy documentation.
-
Make sure you have a NVIDIA GPU and CUDA Toolkit installed.
-
Install CuPy:
pip install cupy
- Clone this repo and install:
pip install git+https://github.com/yoyololicon/resamcupy