#!/bin/bash
if [ -z "$1" ]
then
  echo "Missing argument : file name"
else
  for FILENAME in "$@"
  do
    bzip2 -d -c -k $FILENAME | pb - - 1024 | \
    /usr/bin/nice --10 sox -t sw -r 44100 -c 2 - -t ossdsp /dev/dsp
  done
fi

