#! /bin/sh set -eux sample_rate="44100" channels="2" arecord -t raw -c ${channels} -f S16_LE -r ${sample_rate}