wavread is reading too much
John W. Eaton
jwe at bevo.che.wisc.edu
Fri Feb 8 02:42:58 CST 2008
On 7-Feb-2008, Julien Pommier wrote:
| 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;
I made this change.
Thanks,
jwe
More information about the Bug-octave
mailing list