alsa-visual/audio_vis.sh

6 lines
199 B
Bash
Raw Normal View History

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