A real-time audio time-scale modification library
Project description
AudioTSM 2
A real-time audio time-scale modification library
pip install audiotsm2
Basic usage
AudioTSM 2 is a light weight audio speed modification library. Below is a basic example showing how to reduce the speed of a wav file by half using the phase vocoder procedure.
from audiotsm2 import phasevocoder
from audiotsm2.io.wav import WavReader, WavWriter
with WavReader(input_filename) as reader:
with WavWriter(output_filename, reader.channels, reader.samplerate) as writer:
phasevocoder(reader.channels, speed=0.5).run(reader, writer)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
audiotsm2-0.1.6.tar.gz
(6.5 MB
view hashes)
Built Distribution
audiotsm2-0.1.6-py3-none-any.whl
(27.1 kB
view hashes)
Close
Hashes for audiotsm2-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92690ab495869570ef9815c6538082ab028384e64fda680d0d7ccd0a9c5f8e3d |
|
MD5 | 948dcb98fe587a7b411c04e5783277df |
|
BLAKE2b-256 | 8d199cce13f77cdbd9b9da7ff33f0effe8ac68b4cef8ed764bec2f44304bd081 |