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.
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for syncaudio-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5c64aaaec762b6ee33f04b6ad0578a3abbce092630b0f6197f420b4c83ce287 |
|
MD5 | ce6339fc8007c450abeab0992284d845 |
|
BLAKE2b-256 | 7265c999813eed8106146bbd0b194b791ccbfe7e806afa8dd13e3e74bc6969f0 |