From 67961e9c8735440a8e0248315a67c20fc4c171f4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 29 Dec 2023 11:16:07 +0300 Subject: [PATCH] fix --- audio_vis.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/audio_vis.sh b/audio_vis.sh index f2d9b84..4c42ac9 100755 --- a/audio_vis.sh +++ b/audio_vis.sh @@ -1,5 +1,5 @@ -#!/bin/ash -cols=45 +#!/bin/sh +cols=82 clear -arecord -q -c 1 --period-size=100 --buffer-size=250 -f U16_LE -t raw -D loopout | hexdump -e ''$(expr $cols + 1)'/2 "%o ""\n"' | tr -d '*' | xargs -n $cols -r ./spark -n -r +arecord -q -c 1 --period-size=100 --buffer-size=250 -f U16_LE -t raw -D loopout | hexdump -e ''$(expr $cols + 1)'/4 "%o ""\n"' | tr -d '*' | xargs -n $cols -r ./spark -n -r