resolving errors in soundutil.py