feat: add loud-only extraction mode with agate gating

This commit is contained in:
Honney OC committed 2026-09-15 12:52:16 +00:00
1 parent 46f8998f21
commit e341aae658
2 files changed
+40 -17

No files matched your search

+5 -1
View File
@@ -14,7 +14,7 @@ else
PIP_INSTALL = $(PIP) install
endif
.PHONY: default install install-cpu install-rocm install-cuda extract ast sync verify clean help
.PHONY: default install install-cpu install-rocm install-cuda extract extract-loud ast sync verify clean help
default: ast
@@ -25,6 +25,7 @@ help:
@echo " make install-rocm # force ROCm torch (RX 7900 XTX gfx1100)"
@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 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"
@@ -82,6 +83,9 @@ install-cuda:
extract:
@if [ -x $(PY) ]; then $(PY) extract.py; else python3 extract.py; fi
extract-loud:
@if [ -x $(PY) ]; then $(PY) extract.py loud; else python3 extract.py loud; 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