R=0
for a in *.mp3
do
  T="$(soxi -D $a 2>-)"
  echo $T
  [[ "$T" != "" ]] && R="$R + $T"
done
echo "($R) / 60" | bc
