Hello Go,perhaps the mp3read function would be useful. You can search in the net and download it. It is similar to wavread (a = mp3read('...mp3') ). And then you can perhaps go on with processing the 'a' with the mirtoolbox. I don't know exactly whether it works or not, but you could try.
Best regards Markus Goh L.X schrieb:
Hi,I'm a student working on music retrieval for my final year project. I have a database of 3000 mp3 songs and I need to extract the mfcc features from these songs. However, some mp3 files could work with miraudio but some could not. The error is shown below. Could you help me with resolving this issue? ??? Error using ==> mirread at 49ERROR: Cannot open file Hush HushError in ==> miraudio.miraudio>main at 172[d{1},tp{1},fp{1},f{1},b{1},n{1},ch{1}] = mirread(extract,orig,1,0);Error in ==> miraudio.miraudio at 151varargout = {main(orig,[],para,[],extract)};Error in ==> mirdesign.evaleach at 56y = miraudio(f,'Now',[ch(1),ch(2) 0]);Error in ==> mirfunction at 102[orig x] = evaleach(orig);Error in ==> miraudio.miraudio at 153 varargout = mirfunction(@miraudio,orig,varargin,nargout,specif,@init,@main); Error in ==> miraudio.miraudio>eachchunk at 383y = miraudio(orig,option);Error in ==> mirdesign.evaleach>evalnow at 682[y argin] = d.method(argin,d.option,d.postoption);Error in ==> mirdesign.evaleach at 189[ss d3] = evalnow(d2);Error in ==> mireval>evalaudiofile at 196v = evaleach(d,single,name);Error in ==> mireval at 137yf = evalaudiofile(d,a{f},sr{f},w{f},{},0,f,single,''); %% y = ...Error in ==> mirfunction at 82o = mireval(o,filename,nout);Error in ==> miraudio.miraudio at 153 varargout = mirfunction(@miraudio,orig,varargin,nargout,specif,@init,@main);