Hello Olivier, sorry, sorry, I will behave better in the future.A warning message is better than nothing of course. Although I won't see the message, if more than 2000 files are running. But if one scrolls then it's possible to find the tone or the piece of music where the error has occured before.
Thank you! Best regards Markus Am 27.08.2010 21:13, schrieb Olivier Lartillot:
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? Cheers, Olivier 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