Debian Codegraph @

test/manually/demoShowTiming.praat

raw
1 demo Times
2 demo 12
3 demo Select inner viewport: 0, 100, 0, 100
4 demo Axes: 0, 1, 0, 1
5 n = 100
6 for i to n
7 demo Erase all
8 ;demoShow()
9 demo Paint rectangle: "red", (i-1)/n, (i+0)/n, 0.4, 0.6
10 ;sleep (0.01)
11 demoShow()
12 sleep (0.01) ; the time during which the red rectangle stays on the screenr
13 endfor