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.8.tar.gz
(16.7 kB
view hashes)
Built Distribution
audiotsm2-0.1.8-py3-none-any.whl
(22.9 kB
view hashes)
Close
Hashes for audiotsm2-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 612357bd8ec0e2d9e6db9260e9bb6bf528897809541d0b441117189cd985968e |
|
MD5 | f420b7d6dfc8b9092300b9cbff81db43 |
|
BLAKE2b-256 | 89d37dd9061cbce1432a29202b042fa579577277fd884ad5ed876a85b781c549 |