diff --git a/audio_vis.sh b/audio_vis.sh index 9418577..8eefc36 100644 --- a/audio_vis.sh +++ b/audio_vis.sh @@ -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