Skip to content

Feat/swiftf0#19

Merged
NewComer00 merged 3 commits into
mainfrom
feat/swiftf0
Mar 3, 2026
Merged

Feat/swiftf0#19
NewComer00 merged 3 commits into
mainfrom
feat/swiftf0

Conversation

@NewComer00

Copy link
Copy Markdown
Owner

No description provided.

- Add swift-f0 as default pitch backend (CPU, ONNX Runtime)
- Add backend selection with per-backend confidence defaults (pitd)
- Change pitd.semitone_shift default to 0 (no manual shift)
- Lazy-load backends dynamically; remove hard crepe import

- Polish help texts with **bold** emphasis and details
- Use _lf() for dynamic help text (backend choices, confidence)

- Add _lf() for lazy formatted translations
- Move patch_nicegui_json() to utils/monkeypatch.py
- Add Babel config to pyproject.toml

- Add swift-f0, rich, rich-argparse, markdown to deps
- Replace locales/generate.sh with .py; add --skip-pot
- Collect swift_f0 data in packaging workflow

- Add 11 tests for _lf(); fix GPU tests via patching

- Sync READMEs with swift-f0 info, installer details
Move WrappedTextRichHelpFormatter to utils/cli.py and add 15 tests.
Separates CLI formatting logic from UI utilities for CLI-only builds.
…d semitone_shift

- pitd: lower confidence_ref_recommended for swift-f0 (0.95 → 0.93);
  semitone_shift default changed 0 → None (auto-estimate)
- readme: sync swift-f0/CREPE backend descriptions and CLI examples
- i18n: refactor locales/generate.py with --mo-only flag; update translations
- gui: minor cleanup
@codecov

codecov Bot commented Mar 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 54.21687% with 38 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
expressions/pitd.py 21.42% 22 Missing ⚠️
utils/monkeypatch.py 52.94% 8 Missing ⚠️
utils/ui.py 60.00% 4 Missing ⚠️
expressive.py 25.00% 3 Missing ⚠️
utils/gpu.py 75.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@NewComer00
NewComer00 merged commit e4a707c into main Mar 3, 2026
3 of 4 checks passed
@NewComer00
NewComer00 deleted the feat/swiftf0 branch March 3, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant