feat: add visual picker for extraction settings
This commit is contained in:
1 parent
6d788f406c
commit
1024a7d7ca
2 files changed
+404
-1
No files matched your search
@@ -14,7 +14,7 @@ else
|
||||
PIP_INSTALL = $(PIP) install
|
||||
endif
|
||||
|
||||
.PHONY: default install install-cpu install-rocm install-cuda extract extract-loud ast sync verify clean help
|
||||
.PHONY: default install install-cpu install-rocm install-cuda extract extract-loud picker ast sync verify clean help
|
||||
|
||||
default: ast
|
||||
|
||||
@@ -26,6 +26,7 @@ help:
|
||||
@echo " make install-cuda # force CUDA torch"
|
||||
@echo " make extract # run extract.py (uses config.toml if present)"
|
||||
@echo " make extract-loud # extract with loud-only gating (keep explosions/transients)"
|
||||
@echo " make picker # visual picker: select start/duration before extraction"
|
||||
@echo " make ast # run sync_audio_test.py (audio_sync_test, PyQtGraph GUI)"
|
||||
@echo " make sync LAG=0.042 # run apply_sync.py to mux synced output (LAG in seconds)"
|
||||
@echo " make verify LAG=0.042 # verify sync: video + dual waveform player"
|
||||
@@ -86,6 +87,9 @@ extract:
|
||||
extract-loud:
|
||||
@if [ -x $(PY) ]; then $(PY) extract.py loud; else python3 extract.py loud; fi
|
||||
|
||||
picker:
|
||||
@if [ -x $(PY) ]; then QT_QPA_PLATFORM=xcb QT_STYLE_OVERRIDE=Fusion $(PY) picker.py --config $(CONFIG); else QT_QPA_PLATFORM=xcb QT_STYLE_OVERRIDE=Fusion python3 picker.py --config $(CONFIG); fi
|
||||
|
||||
sync:
|
||||
@if [ -x $(PY) ]; then PYTHONPATH=. $(PY) apply_sync.py --config $(CONFIG) --lag $(LAG); else PYTHONPATH=. python3 apply_sync.py --config $(CONFIG) --lag $(LAG); fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user