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 대략 12시간 전
편집: Torsten 대략 11시간 전
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

댓글:

대략 22시간 전

Community Treasure Hunt

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

Start Hunting!

Translated by