ffmpeg -hide_banner -loglevel error -nostats -f alsa -i hw:0 -t 30 -ac 1 -ar 44100 -f sox - | sox -t sox - -n stat -freq