wavread is reading too much
Julien Pommier
pommier at pianoteq.com
Thu Feb 7 08:20:43 CST 2008
Bug report for Octave 3.0.0 configured for i386-apple-darwin8.9.1
Description:
-----------
wavread does not take into account the chunk size -- if the wav file
contains other chunks after the data chunk, they are wrongly
interpreted as audio data
For example, sony sound forge appends such chunks
Fix:
---
"
wavread.m line 153, replace the
length = Inf
with
length = (ck_size * 8)/bits_per_sample;
More information about the Bug-octave
mailing list