[mirtoolbox] Re: mirverbose and tic-toc
- From: Olivier Lartillot <olartillot@xxxxxxxxx>
- To: mirtoolbox@xxxxxxxxxxxxx
- Date: Thu, 19 Jan 2012 23:38:52 +0100
Hi Igor,
Yes, I am updating mireval.m so that we can toggle off the tic-toc behavior
using mirverbose.
Actually, I just needed to replace
> toc
by
> if mirverbose
> toc
> end
Regards,
Olivier
On 19.1.2012, at 22.13, Igor Vatolkin wrote:
> Hi together,
>
> I've just found an interesting kind of a bug (not really critical).
>
> I start MIR Toolbox always from another framework running Matlab from
> the command line. In that case I have to set mirverbose(0); - otherwise
> Matlab stops sometime.
>
> For extraction of one feature I run miraudio many times extracting
> smaller frames from a song (more than 1000 times). Each time I run
> miraudio I get the string "Elapsed time is xxx seconds." in the log file.
>
> After some time the log file stops and Matlab does not do anything more.
>
> The "solution" is: I commented out the both commands "tic" and "toc" in
> mireval.m (I have the older MIR Toolbox version but the newest one has
> also the both commands). Now my complete script with several features
> and many thousand miraudio commands works perfectly!
>
> Is it maybe possible to replace tic/toc by another command which will
> understand "mirverbose(0)"?
>
> (However it is not a great problem, just a gimmick for my
> implementation. I wonder if anybody else had such problems ;-))
>
> Best regards
> Igor
>
Other related posts: