Skip to main content

A real-time audio time-scale modification library

Project description

Audiotsm2 is the light-weight version of the original.

Basic usage

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.1.4.tar.gz (6.6 MB view hashes)

Uploaded Source

Built Distribution

audiotsm2-0.1.4-py3-none-any.whl (28.0 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