Match the voice threshold to the VQE output level

This commit is contained in:
2026-11-11 12:39:41 +03:00
parent 1d68638598
commit 095bc51521
+1 -1
View File
@@ -38,7 +38,7 @@ while [ "$stopping" -eq 0 ]; do
DEVICE_TOKEN=$(cat device-token)
export DEVICE_TOKEN
: > /tmp/alice-station.log
./alice-station -mode wake -voice-threshold 24 -vqe-helper /data/opt/alice-backend/vqe-capture.sh -vqe-wake-model /system/vendor/quasar/spotter_models/activation/alisa >> /tmp/alice-station.log 2>&1 9>&- &
./alice-station -mode wake -voice-threshold 12 -vqe-helper /data/opt/alice-backend/vqe-capture.sh -vqe-wake-model /system/vendor/quasar/spotter_models/activation/alisa >> /tmp/alice-station.log 2>&1 9>&- &
child=$!
while [ "$stopping" -eq 0 ] && kill -0 "$child" 2>/dev/null; do
if [ "$(wc -c < /tmp/alice-station.log)" -gt 524288 ]; then : >/tmp/alice-station.log; fi