READ
http://docs.python.org/library/wave.html
Also see
help(sage.media.wave)
in Sage. I guess the wave file has to be uncompressed. I have no
idea how to uncompress a wave file.
You could also try:
import scipy.io.wavfile
help(scipy.io.wavfile)
I tried a few compressed wav files and it failed on them.
You can also try googling for "python wav", which will result in many
hits, e.g.,
http://stackoverflow.com/questions/2060628/how-to-read-wav-file-in-python
Obviously it *should* be the case that one can just do:
sage: a= load('most_an_file.wav')
and get back something nice and useful, or get a useful error message.
But nobody has implemented anything like that yet in Sage! I wish
they had.
-- William