[mirtoolbox] Re: 'Extract' with too short files?

  • From: Olivier Lartillot <olartillot@xxxxxxxxx>
  • To: mirtoolbox@xxxxxxxxxxxxx
  • Date: Fri, 27 Aug 2010 12:13:40 -0700

Hi Markus,

First of all, a general suggestion: When raising a new subject in the 
discussion list, please avoid simply replying to another thread, without 
changing its title. On the contrary, please send a new message with an 
informative title. Thanks!

Now to your point: Thanks for your remark. I am afraid returning an error 
message would cause trouble when for instance you want to analyze a large 
database of music and that after hours of computation, the process breaks 
because of a short audio file.

Instead I would suggest printing just a warning message. Would it be OK for you?



Le 18.8.2010 à 8.30, Markus Eichhoff a écrit :

> Hello Olivier,
> just now I have recognized that MIRToolbox doesn't give out an error message 
> if one reads-in a signal with
> miraudio('tone', 'Extract', 0, 4) of 4s length but the signal had only 0.8 s 
> (less than 4s) length.
> Wouldn't it be good if an error message appear?
> Best regards
> Markus

Other related posts: