Skip to main content

Synchronize WAV audio files

Project description

SyncAudio

This is a simple tool to synchronize audio files. The tool is based on Allison Deal's algorithm.

Allison Deal's Audio Sync Algorithm

Installation

pip install syncaudio

Usage

syncaudio audio1.wav audio2.wav

API

from syncaudio import synchronize
from syncaudio import read_audio

self = read_audio('audio1.wav')
other = read_audio('audio2.wav')

delay = synchronize(self, other, window_size=1024, overlap=0, spectral_band=512, temporal_band=43, peaks_per_bin=7)

print(delay, 'seconds')

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

syncaudio-0.1.0.tar.gz (1.7 kB view hashes)

Uploaded Source

Built Distribution

syncaudio-0.1.0-py3-none-any.whl (1.9 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