Skip to main content

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


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.2.1.tar.gz (12.1 kB view hashes)

Uploaded Source

Built Distribution

audiotsm2-0.2.1-py3-none-any.whl (15.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page