Hi all,
For some unknown reason to me, the attached file crashes the mirduration
function with the message below (both in MIR Toolbox 1.6 and 1.6.1).
In addition, the last two versions (1.6 and 1.6.1) seem to have
introduced a bug in the progress window GUI, since the progress bar
never increases and the window never closes, even once the process
completes. This leads to a huge amount of them when using many audio
files (which I need to kill with "close all force" :D). I'm using Win7
(64bits) and Matlab R2014a.
Any idea about what may be causing the problem(s)?
Thanks in advance!
Renato Panda
output:
>> f = 'A140.wav';
>> a = miraudio(f);
Chunk 1/2...
Computing miraudio related to A140.wav...
Chunk 2/2...
Computing miraudio related to A140.wav...
Computing mirsum related to A140.wav...
Elapsed time is 0.322964 seconds.
>> dur = mirduration(a)
Computing mirfilterbank related to A140.wav...
Computing mirenvelope related to A140.wav...
Computing mirenvelope related to A140.wav...
Computing mironsets related to A140.wav...
Computing mirenvelope related to A140.wav...
Computing mirsum related to A140.wav...
Computing mirenvelope related to A140.wav...
Computing mirpeaks related to A140.wav...
Computing mirpeaks related to A140.wav...
Computing mirpeaks related to A140.wav...
Computing mirduration related to A140.wav...
Index exceeds matrix dimensions.
Error in mirduration>algo (line 88)
t2 = t(mp + f2);
Error in mircompute (line 35)
[res res2] = algo(vk{:});
Error in mirduration>main (line 50)
[sl fp] = mircompute(@algo,pa,pr,d,t);
Error in mirfunction (line 193)
o = main(orig,during,after);
Error in mirduration (line 32)
varargout = mirfunction(@mirduration,orig,varargin,nargout,specif,@init,@main);