octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49927] wavread/audioread refuses to continue


From: Kai-Michael
Subject: [Octave-bug-tracker] [bug #49927] wavread/audioread refuses to continue reading wav-file
Date: Mon, 26 Dec 2016 15:44:05 +0000 (UTC)
User-agent: Mozilla/5.0 (Linux; Android 5.0.2; LIFETAB_S1034X Build/LRX22L) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.91 Safari/537.36

Follow-up Comment #4, bug #49927 (project octave):

3 remarks:

1. I thought, I had installed the 64-Bit version.
At least there are many references to i686-w64-mingw32 . Or does this mean
something else ? Octave does not tell me whether it is 32 or 64 Bits. How can
I check this ?

2. I am not trying to read a 700 MB WAV-file.
I am just reading 4k sample blocks (16k bytes) always into the same data
array, processing them and writing to a new file.
I don't see any need for allocation of several hundert MByte of memory. I
hope, audioread does not do such a nonsense, when I am trying to read 16 kByte
at file position 16.xxx.xxx.
On the other hand it was possible to read that block after a restart. 

3. (Almost) the same code runs without any problems on an old Windows XP (32
Bit) Laptop with MATLAB 6.1 from 2001.  
( and by the way much faster although it is just a 2GHz Pentium, while the PC
running Octave is a Quadcore i5-3570 at almost 4 GHz.)

So to repeat once more, the data size read is a mere
size = 4096 * 4 = 16 kByte !

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49927>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]