项目作者: akiomik

项目描述 :
A tool for adding pre-count (count-off) click to audio file
高级语言: Python
项目地址: git://github.com/akiomik/precountify.git
创建时间: 2020-01-20T00:53:55Z
项目社区:https://github.com/akiomik/precountify

开源协议:Apache License 2.0

下载


precountify

PyPI
PyPI - Python Version

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

Requirements

  • python >= 3.4

Install

  1. pip install precountify
  2. # with madmom
  3. pip install precountify[madmom]
  4. # with essentia (linux only)
  5. pip install precountify[essentia]

Usage

  1. # precountify INPUT_FILE OUTPUT_FILE
  2. # [--sr SAMPLE_RATE] [--bpm BPM] [--meter METER] [--measure N_MEASURES] [--upbeat N_UPBEATS]
  3. # [--offset OFFSET_IN_SECONDS] [--margin MARGIN_IN_SECONDS] [--click CLICK_FILE] [--estimator ESTIMATOR_MODULE]
  4. # Add pre-count to output.wav with tempo estimation (using librosa)
  5. precountify input.wav output.wav
  6. # Add pre-count which has specified bpm
  7. precountify input.wav output.wav --bpm 120
  8. # Use `MadmomTempoEstimator`
  9. precountify input.wav output.wav --estimator 'precountify.estimator.madmom.MadmomTempoEstimator'