Skip to main content

precountify

A tool for adding pre-count (count-off) click to audio file.

Requirements

  • python >= 3.4

Install

pip install precountify

# with madmom
pip install precountify[madmom]

# with essentia (linux only)
pip install precountify[essentia]

Usage

# precountify INPUT_FILE OUTPUT_FILE
#   [--sr SAMPLE_RATE] [--bpm BPM] [--meter METER] [--measure N_MEASURES] [--upbeat N_UPBEATS]
#   [--offset OFFSET_IN_SECONDS] [--margin MARGIN_IN_SECONDS] [--click CLICK_FILE] [--estimator ESTIMATOR_MODULE]

# Add pre-count to output.wav with tempo estimation (using librosa)
precountify input.wav output.wav

# Add pre-count which has specified bpm
precountify input.wav output.wav --bpm 120

# Use `MadmomTempoEstimator`
precountify input.wav output.wav --estimator 'precountify.estimator.madmom.MadmomTempoEstimator'

Release files for precountify 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for precountify 1.0.0
File Size Uploaded
precountify-1.0.0.tar.gz 12.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for precountify 1.0.0
File Interpreter ABI Platform
precountify-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 28.2 kB

Release files / precountify-1.0.0.tar.gz

Download URL precountify-1.0.0.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9cb503ce7135cd9203eda5f3001a3de4556c7d68ffd6272a39248aecfc73831d
BLAKE2b-256 checksum
How to use checksums
b9095669eeec10fa209e58eca184823042736a7bef537f89996a2bf8034e9a2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.1

Release files / precountify-1.0.0-py3-none-any.whl

Download URL precountify-1.0.0-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c67dd44d69bdd8830e93bd73d46ba1b83b70842c779aa1f70b80a7a7c6cadf9c
BLAKE2b-256 checksum
How to use checksums
d4608d9863f1c97079b48aad390dde7e9d832309669071983a56e6298de12c47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.1

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page