[SciPy-User] problem with scipy.io.wavfile (urgent)

rohan wadnerkar wadnerkar.rohan at gmail.com
Mon May 13 06:55:43 EDT 2013


Hello all,

I am trying to read .wav file using scipy.io.wavfile.read(). It reads some
file properly. For some files its giving following error...


Warning (from warnings module):
  File "D:\project\cardiocare-1.0\src\scipy\io\wavfile.py", line 121
    warnings.warn("chunk not understood",
WavFileWarning)WavFileWarning: chunk not understoodTraceback (most
recent call last):
  File "D:\project\cardiocare-1.0\src\ccare\plot.py", line 37, in plot
    input_data = read(p.bitfile)
  File "D:\project\cardiocare-1.0\src\scipy\io\wavfile.py", line 119, in read
    data = _read_data_chunk(fid, noc, bits)
  File "D:\project\cardiocare-1.0\src\scipy\io\wavfile.py", line 56,
in _read_data_chunk
    data = data.reshape(-1,noc)ValueError: total size of new array
must be unchanged


Can any one suggest me any solution?


-- 
-- -- -- -- -- -- -- -- --
Rohan Wadnerkar
09590686578
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20130513/20e2e759/attachment.html>


More information about the SciPy-User mailing list