songsplit heißt jetzt unmix: Submodul tools/unmix auf 58ff3fe, Skript, Make-Ziele, Paket, Doku (#1080)
Das Repository wlkns-dev/unmix hat Werkzeug, Paket und Befehl umbenannt (songsplit bleibt dort als Alias). Die Spezifikation ist unverändert. Umgebungsvariablen UNMIX_SRC und UNMIX_VENV, Paket-Befehl singtrainer-unmix, Pfad /usr/share/singtrainer/unmix, Testdaten-Manifest aus dem neuen Beispiel. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
20
Makefile
20
Makefile
@ -6,7 +6,7 @@
|
||||
# make restart laufende App beenden und die frisch gebaute neu starten
|
||||
# make install Arch-Paket bauen und mit pacman installieren (fragt nach dem sudo-Passwort)
|
||||
# make songs eigene Songs und Charts aus diesem Ordner in die installierte App importieren (Kopie)
|
||||
# make analyze Song mit songsplit analysieren (Submodul tools/songsplit; vorher einmal: make songsplit-setup)
|
||||
# make analyze Song mit unmix analysieren (Submodul tools/unmix; vorher einmal: make unmix-setup)
|
||||
# Voraussetzungen: siehe README („Install“). Das Update arbeitet nur in einem sauberen Ordner auf main und holt nur
|
||||
# Änderungen, die sich ohne Zusammenführen übernehmen lassen (git pull --ff-only).
|
||||
|
||||
@ -16,7 +16,7 @@ VERSION := $(shell grep -m1 '^version' Cargo.toml | cut -d'"' -f2)
|
||||
LOG := /tmp/singtrainer.log
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
.PHONY: help run sim dev dev-sim build start stop restart update check package install uninstall songs songs-link songs-unlink songsplit-init songsplit-setup analyze clean version
|
||||
.PHONY: help run sim dev dev-sim build start stop restart update check package install uninstall songs songs-link songs-unlink unmix-init unmix-setup analyze clean version
|
||||
|
||||
help: ## Diese Übersicht
|
||||
@echo "Singtrainer $(VERSION) – lokale Aufgaben:"
|
||||
@ -65,9 +65,9 @@ check: ## Prüfungen wie in der CI (Format, Clippy, Tests, Roadmap)
|
||||
cargo clippy --all-targets --locked -- -D warnings
|
||||
cargo test --locked
|
||||
@if [ -f tools/check-roadmap.py ]; then python3 tools/check-roadmap.py; fi
|
||||
python3 -m unittest tools/test_check_roadmap.py tools/test_songs_import.py tools/test_forced_align.py tools/test_transcribe_words.py tools/test_songsplit_wrapper.py
|
||||
python3 -m unittest tools/test_check_roadmap.py tools/test_songs_import.py tools/test_forced_align.py tools/test_transcribe_words.py tools/test_unmix_wrapper.py
|
||||
|
||||
package: songsplit-init ## Arch-Paket bauen (packaging/arch, ein paar Minuten; holt vorher das Submodul songsplit)
|
||||
package: unmix-init ## Arch-Paket bauen (packaging/arch, ein paar Minuten; holt vorher das Submodul unmix)
|
||||
cd packaging/arch && makepkg -f --noconfirm
|
||||
|
||||
install: package ## Paket bauen und mit pacman installieren (sudo)
|
||||
@ -85,15 +85,15 @@ songs-link: ## Wie songs, aber mit Verknüpfungen statt Kopien (Entwicklung)
|
||||
songs-unlink: ## Verknüpfungen aus songs-link wieder entfernen (Kopien bleiben)
|
||||
python3 tools/songs-import.py --unlink
|
||||
|
||||
songsplit-init: ## Analysewerkzeug songsplit (Git-Submodul tools/songsplit) holen
|
||||
git submodule update --init tools/songsplit
|
||||
unmix-init: ## Analysewerkzeug unmix (Git-Submodul tools/unmix) holen
|
||||
git submodule update --init tools/unmix
|
||||
|
||||
songsplit-setup: songsplit-init ## songsplit einmalig einrichten (lädt mehrere GB, fragt vorher)
|
||||
tools/songsplit.sh setup
|
||||
unmix-setup: unmix-init ## unmix einmalig einrichten (lädt mehrere GB, fragt vorher)
|
||||
tools/unmix.sh setup
|
||||
|
||||
analyze: songsplit-init ## Song analysieren: make analyze SONG=lied.mp3 OUT=songs/lied-pack [ARGS="--lang de"]
|
||||
analyze: unmix-init ## Song analysieren: make analyze SONG=lied.mp3 OUT=songs/lied-pack [ARGS="--lang de"]
|
||||
@[ -n "$(SONG)" ] && [ -n "$(OUT)" ] || { echo 'Aufruf: make analyze SONG=<audio> OUT=<ordner> [ARGS="--lang de"]'; exit 2; }
|
||||
tools/songsplit.sh analyze "$(SONG)" -o "$(OUT)" $(ARGS)
|
||||
tools/unmix.sh analyze "$(SONG)" -o "$(OUT)" $(ARGS)
|
||||
|
||||
clean: ## Gebaute Dateien löschen (target/, Paketordner)
|
||||
cargo clean
|
||||
|
||||
Reference in New Issue
Block a user