backport of sph/wav-capable audioread from SAcC.py