Added format_audio method to AudioData.

The function produces suspiciously large linear regression
errors on some files. Might be buggy.