#! /bin/sh set -eux audio_file=$1 sample_rate="44100" channels="2" ffmpeg -i ${audio_file} -f s16le -ac ${channels} -ar ${sample_rate} -