https://github.com/akiomik/precountify
A tool for adding pre-count (count-off) click to audio file
https://github.com/akiomik/precountify
audio-processing bpm-detection metronome music-practice
Last synced: 6 months ago
JSON representation
A tool for adding pre-count (count-off) click to audio file
- Host: GitHub
- URL: https://github.com/akiomik/precountify
- Owner: akiomik
- License: apache-2.0
- Created: 2020-01-20T00:53:55.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-16T09:29:28.000Z (9 months ago)
- Last Synced: 2024-12-08T06:23:41.726Z (6 months ago)
- Topics: audio-processing, bpm-detection, metronome, music-practice
- Language: Python
- Homepage:
- Size: 85.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# precountify
[](https://python.org/pypi/precountify)
[](https://python.org/pypi/precountify)
[](https://github.com/akiomik/precountify/actions?query=workflow%3A%22Python+package%22)A tool for adding pre-count (count-off) click to audio file.
## Requirements
- python >= 3.4
## Install
```sh
pip install precountify# with madmom
pip install precountify[madmom]# with essentia (linux only)
pip install precountify[essentia]
```## Usage
```sh
# 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'
```