Simpleaudiostretch

Latest version: v0.2.4

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.4

Changes
Rewrote the tests to be ran using pytest

0.2.3

Changes
- Added check for samplerate being provided when working with raw audio data;
- `stretch_audio` and `speedup_audio` now atempt to convert samplerate to an int before raising an error;
- When failing to save the output to a file, `stretch_audio` and `speedup_audio` will now delete the invalid file;
- Increased [test coverage](https://htmlpreview.github.io/?https://github.com/Mews/simpleaudiostretch/blob/python-coverage-comment-action-data/htmlcov/index.html) to 100%;
- Fixed compatibility issue with Python < 3.11

0.2.2

Changes
- General code cleanup
- Added unit tests

0.2.1

Changes
Fixed a major bug present in versions 0.2.0 and 0.1.0 that made the package unusable.
The `stretch_audio` function, and consequently the `speedup_audio` function too, would ignore the path provided and always try to open `song.mp3`.

0.2.0

***This release has been yanked on PyPi due to a major bug***
---

Changes
Added a command line interface to stretch audios through the `simplestretch` command.
More info on the cli [here](https://github.com/Mews/simpleaudiostretch?tab=readme-ov-file#cli).

0.1.0

***This release has been yanked on PyPi due to a major bug***
---

This is the first release of the package

Features
- `stretch_audio` function that changes the audio's length by a desired factor
- `speedup_audio` function that changes the audio's speed by a desired factor
- Both functions work with audio files in various formats as well as raw audio data in the form of numpy ndarrays

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.