MIR Toolbox: Error using check_order - mirsimatrix

Hi,
this is my first time posting and also my first day with matlab, so any hints are welcome!
I'd like to use the MIR Toolbox ( https://de.mathworks.com/matlabcentral/fileexchange/24583-mirtoolbox ) for the extraction of musical features - ultimately, i'd like to use "mirnovelty".
But with "mirnovelty" as well as with "mirsimatrix" (which is used by "mirnovelty") i run into following error after prompting (File name changed). I am on R2025b and Mac OS 15.7.4.
Thank you!
Leo
>> mirsimatrix('file.wav')
Computing miraudio related to file.wav...
Computing mirsum related to file.wav...
Computing mirspectrum related to file.wav...
Computing mirsimatrix related to file.wav...
Error using check_order
Expected N to be finite.
Error in check_order (line 22)
validateattributes(n_in,{'numeric'},{'scalar','finite','real','nonnegative'},'check_order','N');
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in hanning (line 25)
[n,wt,trivialwin] = check_order(varargin{1});
^^^^^^^^^^^^^^^^^^^^^^^^
Error in window (line 59)
w = winfun(N,varargin{:});
^^^^^^^^^^^^^^^^^^^^^
Error in mirsimatrix>main (line 288)
win = window(@hanning,lK);
^^^^^^^^^^^^^^^^^^^
Error in mirfunction (line 187)
o = main(orig,during,after);
^^^^^^^^^^^^^^^^^^^^^^^
Error in mirsimatrix (line 113)
varargout = mirfunction(@mirsimatrix,orig,varargin,nargout,specif,@init,@main);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in mirdesign/evaleach>evalnow (line 760)
[y argin] = d.method(argin,d.option,d.postoption);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in mirdesign/evaleach (line 269)
[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 mirsimatrix (line 113)
varargout = mirfunction(@mirsimatrix,orig,varargin,nargout,specif,@init,@main);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

2 个评论

Torsten
Torsten about 6 hours 前
编辑:Torsten about 6 hours 前
The input file "file.wav" is necessary to diagnoze the problem.
I assume you have MATLAB's Signal Processing toolbox licenced and installed ?
If I load in the toolbox from the Add-On manager, then it contains no lines at all of the form
win = window(@hanning,lK);
@mirspectrum/mirspectrum.m and @mirautocor/mirautocor.m does contain a call
w = window(winf,N);
and in each case, @hanning is a possible value for winf -- but those are the only possible references to hanning and it is not inside mirsimatrix

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Signal Processing 的更多信息

产品

版本

R2025b

提问:

2026-3-20,16:47

评论:

about 22 hours 前

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by