alsa-visual/audio_vis.sh

6 lines
206 B
Bash
Raw Normal View History

2023-11-30 11:53:06 +00:00
#!/bin/ash
2023-12-26 11:12:25 +00:00
cols=25
2023-11-30 11:53:06 +00:00
2023-12-10 07:38:01 +00:00
clear
2023-12-26 11:12:25 +00:00
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