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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file audiotsm2-0.2.1.tar.gz.

File metadata

  • Download URL: audiotsm2-0.2.1.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.4

File hashes

Hashes for audiotsm2-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e5368a70b26b7689c8d97e7e4984d86eec4fb951543dbb853f458a39e0dabefd
MD5 be70a204ecd4d0eb40a64a56df3fcf8b
BLAKE2b-256 94451024178872edff8004b1479fd249d2c33f5244e27f7cae28c4211b0bb4d0

See more details on using hashes here.

File details

Details for the file audiotsm2-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: audiotsm2-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.4

File hashes

Hashes for audiotsm2-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1e0858d613b93135934cf3040e4a930d955ba2ad7589dee087c672266b9b7fc2
MD5 15cbd4ccf27aa391a7dc9b5bf96047cd
BLAKE2b-256 3b9b3929fce107abb0b20f6b2da9ecdea36cb3323b8f4a518c9454bcd703ea1a

See more details on using hashes here.

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