From e0267286aec0bd1f005092933394d55010f8d39a Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 26 Dec 2023 14:12:25 +0300 Subject: [PATCH] fix --- audio_vis.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audio_vis.sh b/audio_vis.sh index 8eefc36..360ba98 100644 --- a/audio_vis.sh +++ b/audio_vis.sh @@ -1,5 +1,5 @@ #!/bin/ash -cols=30 +cols=25 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 +arecord -q -c 1 --period-size=50 --buffer-size=150 -r 4000 -f U16_LE -t raw -D loopout | hexdump -e ''$(expr $cols + 1)'/2 "%o ""\n"' | tr -d '*' | xargs -n $cols -r ./spark -n -r