docs: update README with setup, cli guide, and M0 milestone status
This commit is contained in:
53
README.md
53
README.md
@ -0,0 +1,53 @@
|
|||||||
|
# songsplit
|
||||||
|
|
||||||
|
`songsplit` zerlegt Songs (Video oder Audio) in ein **Song-Paket**: getrennte Stems, Text mit Wort-/Silben-Timing, Gesangsnoten, Tempo-Map, Akkorde und Strumming-Vorschlag. Das Paket dient als Schnittstelle für Trainer-Apps und Editoren.
|
||||||
|
|
||||||
|
Verbindliche Spezifikation: siehe [umsetzungskonzept.md](umsetzungskonzept.md).
|
||||||
|
|
||||||
|
## Installation & Setup
|
||||||
|
|
||||||
|
Entwicklungsumgebung mit Python 3.12 und `uv`:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Virtuelle Umgebung erstellen und Abhängigkeiten installieren
|
||||||
|
uv venv --python 3.12
|
||||||
|
uv pip install -e ".[dev]"
|
||||||
|
|
||||||
|
# System- und Hardwareprüfung durchführen
|
||||||
|
uv run songsplit doctor
|
||||||
|
```
|
||||||
|
|
||||||
|
## CLI-Verwendung
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# System- und GPU-Check
|
||||||
|
songsplit doctor
|
||||||
|
|
||||||
|
# Gesamte Analyse oder bestimmte Stufen ausführen
|
||||||
|
songsplit analyze <datei> -o <ordner> [--lang de] [--stems 4|6] [--quality fast|best]
|
||||||
|
songsplit analyze <datei> -o <ordner> --stage chords [--force]
|
||||||
|
|
||||||
|
# Export nach UltraStar (ab M2)
|
||||||
|
songsplit export-ultrastar <ordner>
|
||||||
|
|
||||||
|
# Qualitätsmessung (ab M2)
|
||||||
|
songsplit eval <testset.toml>
|
||||||
|
```
|
||||||
|
|
||||||
|
## Tests
|
||||||
|
|
||||||
|
```bash
|
||||||
|
uv run pytest
|
||||||
|
uv run ruff check
|
||||||
|
uv run ruff format --check
|
||||||
|
```
|
||||||
|
|
||||||
|
## Meilensteine
|
||||||
|
|
||||||
|
- [x] **M0 – Gerüst**: Projektstruktur, Pydantic-Schemas (`meta.json`, `tempo.json`, `vocals.json`, `chords.json`, `strumming.json`), `tempo.py` mit `sec_to_beat`/`beat_to_sec`, Pipeline-Runner mit Cache und Hash-Invalidierung, CLI-Skelett mit `doctor`, Testsuite.
|
||||||
|
- [ ] **M1 – Extraktion und Stems**: Stufen 1 (ffmpeg) und 2 (Demucs).
|
||||||
|
- [ ] **M2 – Gesang**: Stufen 3 (Whisper+WhisperX) und 4 (torchcrepe), UltraStar-Writer, Eval-Gerüst.
|
||||||
|
- [ ] **M3 – Tempo-Map**: Stufe 5 (beat_this).
|
||||||
|
- [ ] **M4 – Akkorde**: Stufe 6 (Chordino / Transformer).
|
||||||
|
- [ ] **M5 – Strumming**: Stufe 7 (librosa Onsets / Strumming-Muster).
|
||||||
|
- [ ] **M6 – Härtung**: Fehlerbehandlung, Logging, Dokumentation, Beispielpaket.
|
||||||
|
|||||||
Reference in New Issue
Block a user