[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 20:51:23 +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 #7, bug #49927 (project octave):
Hi Philip and Rik,
I have done some further testing:
1.:
ver: 4.0.0, MINGW32_NT-6.1 WINDOWS 7 ServicePack 1 i686
log2(sizemax)= 31.0
Is this consistent with a 64 Bit version ?
2.: I have prepared a copy of my script, reduced to a minimum, just scanning a
wav-file (no further processing), and have tested it on a 295 MB file, i.e.
18881 blocks of 4096 samples.
The test had a positive and a negative result:
2a:The script ran through the whole file without premature termination.
2b: It took 93 minutes ! Every 100 blocks I let the script report the size of
the data array (was a constant 4096 rows, 2 columns, i.e 4096 samples Stereo)
and the time it took: 29.6 s for 100 blocks.
I let (almost) the same script run on the 2002 LapTop , Pentium 4 at 2 GHz,
MATLAB 6.1 (R12.1). This took 26.5 s för 10000 blocks !
So there must be something awfully wrong with audioread in Octave. It is by a
factor of 112 slower.
Just now I am running my original script again on the same file. it has
already proceeded to block 16700. So it has already gone much further than
during my first 2 attempts, when it stopped around block 4000 and 2xxx. I have
checked the code for any statements that might call for additional allocation
of memory, but I don't see any explicit ones. But I am updating 5
graph-figures every 20 blocks and am using interpft with a variable
interpolation ratio.
Right now I am avoiding any mouse action on those figures. I have noticed at
other times, that clicking on or moving/resizing of existing figures may cause
Octave to terminate script execution with syntax or parsing error messages on
code that has already been executed several hundred times.
In fact I already downloaded version 4.2 64 Bit, but I hesitated to install it
for 2 reasons: I don't find any hint, whether previous versions have to be
de-installed or may be over-installed. Second reason is: as far as I remember,
installation takes a long time due to those more than 3xxx (small) files. The
execution of build_packages made the impression that some things were going
wrong. I tried it a second time, a considerable number of files were reported
as not found. The whole procedure seemed to loop around 2 or more times. I was
actually not shure, whether the installation was ok.
Regards Kai
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49927>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49927] wavread/audioread refuses to continue reading wav-file, anonymous, 2016/12/25
- [Octave-bug-tracker] [bug #49927] wavread/audioread refuses to continue reading wav-file, Philip Nienhuis, 2016/12/25
- [Octave-bug-tracker] [bug #49927] wavread/audioread refuses to continue reading wav-file, Philip Nienhuis, 2016/12/25
- [Octave-bug-tracker] [bug #49927] wavread/audioread refuses to continue reading wav-file, Rik, 2016/12/26
- [Octave-bug-tracker] [bug #49927] wavread/audioread refuses to continue reading wav-file, Kai-Michael, 2016/12/26
- [Octave-bug-tracker] [bug #49927] wavread/audioread refuses to continue reading wav-file, Rik, 2016/12/26
- [Octave-bug-tracker] [bug #49927] wavread/audioread refuses to continue reading wav-file, Philip Nienhuis, 2016/12/26
- [Octave-bug-tracker] [bug #49927] wavread/audioread refuses to continue reading wav-file,
Kai-Michael <=
- [Octave-bug-tracker] [bug #49927] wavread/audioread refuses to continue reading wav-file, Kai-Michael, 2016/12/26
- [Octave-bug-tracker] [bug #49927] wavread/audioread refuses to continue reading wav-file, Philip Nienhuis, 2016/12/27
- [Octave-bug-tracker] [bug #49927] wavread/audioread refuses to continue reading wav-file, Kai-Michael, 2016/12/27
- [Octave-bug-tracker] [bug #49927] wavread/audioread refuses to continue reading wav-file, Mike Miller, 2016/12/27
- [Octave-bug-tracker] [bug #49927] audioread slow when extracting only part of a file, Rik, 2016/12/27
- [Octave-bug-tracker] [bug #49927] audioread slow when extracting only part of a file, Kai-Michael, 2016/12/27
- [Octave-bug-tracker] [bug #49927] audioread slow when extracting only part of a file, Rik, 2016/12/27
- [Octave-bug-tracker] [bug #49927] audioread slow when extracting only part of a file, Philip Nienhuis, 2016/12/28