Skip to content

bwagner/quantize_labels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

quantizes Audacity labels

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages