More perfomance

This commit is contained in:
Your Name 2023-12-10 10:38:01 +03:00
parent 11b5cf3d8b
commit 4591f3f5a1

View File

@ -1,4 +1,5 @@
#!/bin/ash
clear
arecord -q --period-size=50 --buffer-size=150 -r 4000 --disable-softvol -f U8 -t raw -D loopout | hexdump -e '"%02o\n"' | tr -d '*' | xargs -n 50 -r ./micro-utils/bin/spark -n -r
cols=30
clear
arecord -q --period-size=50 --buffer-size=150 -r 4000 -f U8 -t raw -D loopout | hexdump -e ''$(expr $cols + 1)'/2 "%o ""\n"' | tr -d '*' | xargs -n $cols -r ./micro-utils/bin/spark -n