Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 2.26 KB

README.md

File metadata and controls

40 lines (31 loc) · 2.26 KB

quantize_labels

Quantizes Audacity labels according to a reference label track.

 Usage: quantize_labels.py [OPTIONS] REFERENCE_FILE TARGET_FILE

 Quantize labels in the target file to the reference file.

╭─ Arguments ───────────────────────────────────────────────────────────────────────────────────╮
│ *    reference_file      TEXT  Path to the reference label file. [default: None] [required]   │
│ *    target_file         TEXT  Path to the target label file. [default: None] [required]      │
╰───────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ─────────────────────────────────────────────────────────────────────────────────────╮
│ --inplace  -i        Apply quantizations directly to the TARGET_FILE.                         │
│ --verbose  -v        Enable verbose output.                                                   │
│ --help               Show this message and exit.                                              │
╰───────────────────────────────────────────────────────────────────────────────────────────────╯

TODO

  • tests
  • more generators
  • simplify
  • notify when there were no changes.

Contribute

pre-commit install

if this fails

pip install pre-commit

(see pre-commit)

See also

beats2bars, rebuildap, shift_labels, pyaudacity