Skip to main content

A tool for pre-countifying

Project description

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'

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

precountify-1.0.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

precountify-1.0.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file precountify-1.0.0.tar.gz.

File metadata

  • Download URL: precountify-1.0.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for precountify-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9cb503ce7135cd9203eda5f3001a3de4556c7d68ffd6272a39248aecfc73831d
MD5 c1de9b43be84ca07e778199691ffc4da
BLAKE2b-256 b9095669eeec10fa209e58eca184823042736a7bef537f89996a2bf8034e9a2a

See more details on using hashes here.

File details

Details for the file precountify-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: precountify-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for precountify-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c67dd44d69bdd8830e93bd73d46ba1b83b70842c779aa1f70b80a7a7c6cadf9c
MD5 dca42b8d8985542d3f0ef0469392d8c0
BLAKE2b-256 d4608d9863f1c97079b48aad390dde7e9d832309669071983a56e6298de12c47

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