[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fri, 22 Feb 2019 12:23:12 +0100
a dear friend of mine (who is familiar with matlab) wrote a few lines
to analyse tempo variations in musical recordings.
One problem he could not get around is how to terminate the routine. At
present this is solved with a timeout of 10s.
When started, the routine writes time stamps into an array whenever a
key is pressed. What we now need is a handle to terminate the process
by a special key with the contents of the array preserved - ctrl-C or
ctrl-D seem not to work.
This is the code:
set(f,'Position',[1 1 2 2]);
We would be very grateful for a brief hint.
- terminate routine,
Herr Oswald <=