[Scipy-tickets] [SciPy] #1686: wavfile.read returns string instead of numpy.array in data

SciPy Trac scipy-tickets@scipy....
Sun Jul 1 18:07:35 CDT 2012


#1686: wavfile.read returns string instead of numpy.array in data
----------------------+-----------------------------------------------------
 Reporter:  jiaquan   |       Owner:  somebody   
     Type:  defect    |      Status:  new        
 Priority:  normal    |   Milestone:  Unscheduled
Component:  scipy.io  |     Version:  0.10.0     
 Keywords:  wavfile   |  
----------------------+-----------------------------------------------------
 It is supposed to return the audio data in a numpy array. However, when it
 encounters a chunk that it doesn’t recognize (it doesn’t recognize most of
 the chunks), it reads the data in that chunk in the same “data” variable
 as it puts the audio data. When the order of the chunks in the wave file
 is such that an unrecognizable chunk follows the data chunk, it returns a
 string instead of a numpy array.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1686>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list