Skip to main content

Real-time audio time-scale modification with look-up approximation and full computation methods

Project description

Realtime Time-Stretching Service

This project provides real-time audio time-stretching capabilities using two classic DSP techniques:

  • Phase Vocoder (PV)
  • Overlap-Add (OLA)

It also supports hybrid approaches that includes a look-up method in the aim to reduce runtime for the Phase Vocoder system.

Authors: Sayema Lubis, Clark Peng, Jared Carreno


Features

  • Real-time processing and streaming with PyAudio
  • Multiple time-stretching algorithms:
    • Baseline OLA
    • Baseline and Look-up methods for Phase Vocoder
    • Combines into two seperate Hybrid methods
  • Harmonic/Percussive source separation using librosa
  • Interactive keyboard controls to adjust playback rate (alpha) in real-time
  • Modular implementation with reusable TSM functions

Requirements

Install dependencies with:

pip install numpy scipy librosa pyaudio keyboard

Usage

Run the service directly:



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

tsm_realtime-0.1.1.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tsm_realtime-0.1.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file tsm_realtime-0.1.1.tar.gz.

File metadata

  • Download URL: tsm_realtime-0.1.1.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for tsm_realtime-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9c3a2b1cbc0c01f179c52254c3c54d5d88f8826436acf44f7927a693dd6c706e
MD5 d0e373ce08dfd5ac0b609f82e5aaf3b3
BLAKE2b-256 d6b7f58b9eb8a522f3d8b16a4c8f70731128f4f1caae5b32e2c7501f6e8c2a8e

See more details on using hashes here.

File details

Details for the file tsm_realtime-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tsm_realtime-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for tsm_realtime-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 154221d88a81bead5ecc2c57ec1c36fdb53d5b98e5f27b3cf8de528a4add43c5
MD5 70c72fa78512f885def4d016d00aa493
BLAKE2b-256 3739a79b5e99fa2eebe4f04cefe185de6ac0e8b561af1b248e22bbf04f10e75b

See more details on using hashes here.

Supported by

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