#!/bin/sh # # usage: make-silence outputfile.wav seconds # # Makes a 48KHz 2 channel 16 bit signed PCM audio file of silence of the # given duration (in seconds - fractions OK). # sox -n -r 48000 -c 2 -e signed-integer -b 16 "$1" trim 0 "$2"