Dear Eiji, this problem happens with recent versions of matlab (I had the same problem with a 2013 version). At least with version Matlab R2010a 7.10.0.499 or earlier works fine. Better to try those as I think that Olivier is focused on the release of version 1.6 and won;t probably address this issue. cheers, E. On 10 Nov 2014, at 06:45, Norberto Eiji Nawa <eiji.nawa@xxxxxxxxxx> wrote: > Hello everyone, > > I have recently started using MIR toolbox to compute attributes such as BPM > but for a few WAV audio files I get the following Matlab error. > I went to check line 497 in mirtempo.m but didn’t dare trying to understand > what is happening… I couldn’t find similar threads in the mailing list either > so decided to post. Any help will be greatly appreciated! > > I am using MIRtoolbox 1.5 and MATLAB Version: 8.3.0.532 (R2014a) on Mac OS X > 10.9.5. > > Thank you very much in advance. > > Eiji > > --- > >>> m = mirtempo('004_fin_set2_norm', 'Metre’); > Chunk 1/34... > Computing miraudio related to 004_fin_set2_norm... > Computing mirsum related to 004_fin_set2_norm... > Computing mirspectrum related to 004_fin_set2_norm... > Computing mirflux related to 004_fin_set2_norm... > Computing mironsets related to 004_fin_set2_norm... > Computing mirsum related to 004_fin_set2_norm... > (...) > Chunk 34/34... > Computing miraudio related to 004_fin_set2_norm... > Computing mirsum related to 004_fin_set2_norm... > Computing mirspectrum related to 004_fin_set2_norm... > Computing mirflux related to 004_fin_set2_norm... > Computing mironsets related to 004_fin_set2_norm... > Computing mirsum related to 004_fin_set2_norm... > Computing mirenvelope related to 004_fin_set2_norm... > Computing mirautocor related to 004_fin_set2_norm... > Computing mirpeaks related to 004_fin_set2_norm... > Computing mirmetre related to 004_fin_set2_norm... > Computing mirtempo related to 004_fin_set2_norm... > Error using + > Matrix dimensions must agree. > > Error in mirtempo>main (line 497) > scori{l}(ia) = scori{l}(ia) + ... > > Error in mirfunction (line 193) > o = main(orig,during,after); > > Error in mirtempo (line 345) > varargout = mirfunction(@mirtempo,x,varargin,nargout,specif,@init,@main); > > Error in mirdesign/evaleach>evalnow (line 770) > [y argin] = d.method(argin,d.option,d.postoption); > > Error in mirdesign/evaleach (line 244) > [y d2] = evalnow(d); > > Error in mirevalaudiofile (line 82) > v = evaleach(d,single,name); > > Error in mireval (line 158) > yf = mirevalaudiofile(d,a{f},sr(f),lg(f),w(:,f),{},0,f,single,'',ch); > > Error in mirfunction (line 74) > o = mireval(o,filename,nout); > > Error in mirtempo (line 345) > varargout = mirfunction(@mirtempo,x,varargin,nargout,specif,@init,@main); > >>>