%global _empty_manifest_terminate_build 0 Name: python-torch-pitch-shift Version: 1.2.4 Release: 1 Summary: please add a summary manually as the author left a blank one License: MIT License URL: https://github.com/KentoNishi/torch-pitch-shift Source0: https://mirrors.nju.edu.cn/pypi/web/packages/01/13/771250fc721f387cb4dab3dc17b9167d6df1b87f7161dcff90337293fe5d/torch_pitch_shift-1.2.4.tar.gz BuildArch: noarch Requires: python3-torch Requires: python3-torchaudio Requires: python3-primePy Requires: python3-packaging %description # 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! %package -n python3-torch-pitch-shift Summary: please add a summary manually as the author left a blank one Provides: python-torch-pitch-shift BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-torch-pitch-shift # 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! %package help Summary: Development documents and examples for torch-pitch-shift Provides: python3-torch-pitch-shift-doc %description help # 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! %prep %autosetup -n torch-pitch-shift-1.2.4 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-torch-pitch-shift -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue May 30 2023 Python_Bot - 1.2.4-1 - Package Spec generated