This commit is contained in:
Your Name 2023-12-26 16:07:51 +03:00
parent e0267286ae
commit 840bafe935

4
audio_vis.sh Normal file → Executable file
View File

@ -1,5 +1,5 @@
#!/bin/ash #!/bin/ash
cols=25 cols=45
clear clear
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 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