[mirtoolbox] Re: help with miraudio

  • From: "Goh L.X" <curiousplaystar@xxxxxxxxxxx>
  • To: <mirtoolbox@xxxxxxxxxxxxx>
  • Date: Thu, 29 Oct 2009 15:42:48 +0800

Hi,

I have the mp3read installed already. It's the one that comes with the 
mirtoolbox. Some of the files without space also gave the error that it cannot 
be opened. I was thinking if I put the song database in a path where matlab can 
read. Do I have to declare a specific path to the song database in the 
mp3read.m file? Also, is it possible to read in songs with chinese characters 
as the filename? 

Regards,
Lix


From: Annika Linke 
Sent: Wednesday, October 28, 2009 5:53 PM
To: mirtoolbox@xxxxxxxxxxxxx 
Subject: [mirtoolbox] Re: help with miraudio


Hello, 

I have used mp3read and it seems to work nicely, I am guessing you have it 
installed though because it did work with some of your mp3 files. My guess is 
rather that it can't open the file because you have a space in the file name? 

Best,
Annika


2009/10/28 Markus Eichhoff <eichhoff@xxxxxxxxxxxxxxxxxxxxxxxx>

  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 49
    ERROR: Cannot open file Hush Hush
     Error 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 151
       varargout = {main(orig,[],para,[],extract)};
     Error in ==> mirdesign.evaleach at 56
               y = 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 383
    y = 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 196
       v = evaleach(d,single,name);
     Error in ==> mireval at 137
       yf = evalaudiofile(d,a{f},sr{f},w{f},{},0,f,single,''); %% y = ...
     Error in ==> mirfunction at 82
               o = mireval(o,filename,nout);
     Error in ==> miraudio.miraudio at 153
       varargout = 
mirfunction(@miraudio,orig,varargin,nargout,specif,@init,@main);
     







-- 
Annika Linke
PhD Candidate
MRC Cognition and Brain Sciences Unit
15 Chaucer Road
Cambridge CB2 7EF
UK

Tel: +44 (0)1223 355294 ext 597
Fax: +44 (0)1223 359062

Other related posts: