Skip to content

Commit

Permalink
fixing pp39_manylinux_i686
Browse files Browse the repository at this point in the history
  • Loading branch information
gregogiudici committed Sep 19, 2024
1 parent e8a6ce0 commit 0b6c600
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.15...3.26)

project(python-stretch LANGUAGES CXX)
project(pystretch LANGUAGES CXX)

if (NOT SKBUILD)
message(WARNING "
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# pystretch: pitch shifting and time stretching
# python-stretch: pitch shifting and time stretching
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/gregogiudici/python-stretch/blob/main/LICENSE)
[![Supported Platforms](https://img.shields.io/badge/platforms-macOS%20%7C%20Windows%20%7C%20Linux-green)](https://pypi.org/project/pystretch)
[![Supported Platforms](https://img.shields.io/badge/platforms-macOS%20%7C%20Windows%20%7C%20Linux-green)](https://pypi.org/project/python-stretch)
[![Pip Action Status][actions-pip-badge]][actions-pip-link]
[![Pip Action Status][actions-wheels-badge]][actions-wheels-link]
<!-- [![PyPI - Wheel](https://img.shields.io/pypi/wheel/pystretch)](https://pypi.org/project/pystretch) -->
<!-- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pystretch)](https://pypi.org/project/pystretch) -->
<!-- [![PyPI - Wheel](https://img.shields.io/pypi/wheel/python-stretch)](https://pypi.org/project/python-stretch) -->
<!-- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/python-stretch)](https://pypi.org/project/python-stretch) -->


[actions-pip-link]: https://github.com/gregogiudici/python-stretch/actions?query=workflow%3APip
Expand All @@ -24,9 +24,9 @@ A simple Python Wrapper of the Signalsmith Stretch C++ library for pitch and tim

## Installation

`pystretch` is available via PyPI (via [Platform Wheels](https://packaging.python.org/guides/distributing-packages-using-setuptools/#platform-wheels)):
`python-stretch` is available via PyPI (via [Platform Wheels](https://packaging.python.org/guides/distributing-packages-using-setuptools/#platform-wheels)):
```
pip install pystretch
pip install python-stretch
```
Alternatevly, you can easly build it from source:
```
Expand All @@ -41,7 +41,7 @@ pip install ./python-stretch
```
import numpy as np
import librosa
import pystretch
import python-stretch
# Load an audio example from librosa (e.g., 'trumpet', 'brahms',...)
audio, sr = librosa.load(librosa.ex('trumpet'), sr=None)
Expand All @@ -51,7 +51,7 @@ if (audio.shape == 1):
audio = audio[np.newaxis, :]
# Create a Stretch object
ps = pystretch.Signalsmith.Stretch()
ps = python-stretch.Signalsmith.Stretch()
# Configure using a preset
ps.preset(audio.shape(0), sr) # numChannels, sampleRate
# Shift pitch 1 octave up
Expand All @@ -69,5 +69,5 @@ sf.write("audio_processed.wav", np.squeeze(audio_processed), sr)
```

# Acknowledgements
- [Signalsmith Stretch](https://github.com/Signalsmith-Audio/signalsmith-stretch): `pystretch` is built on top of the Signalsmith Stretch C++ library, which provides the core algorithms for time stretching and pitch shifting.
- [Signalsmith Stretch](https://github.com/Signalsmith-Audio/signalsmith-stretch): `python-stretch` is built on top of the Signalsmith Stretch C++ library, which provides the core algorithms for time stretching and pitch shifting.
- [nanobind](https://github.com/wjakob/nanobind): This project utilizes nanobind for easily binding the C++ code to Python.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["scikit-build-core >=0.10", "nanobind >=2.0.0"]
build-backend = "scikit_build_core.build"

[project]
name = "python-stretch"
name = "pystretch"
version = "0.0.1"
description = "A Python Wrapprer of the Signalsmith Stretch C++ library for pitch and time stretching"
readme = "README.md"
Expand Down

0 comments on commit 0b6c600

Please sign in to comment.