Debian Codegraph @

test/stat/Table.praat

raw
1 for i to 100000
2 d'i' = i
3 endfor
4 d43789 = Create formant table (Weenink 1985)
5 name$ = selected$ ("Table")
6 stopwatch
7 for cycle to 300
8 for row to 360
9 ;z = Table_'name$' [row, "F0"]
10 ;z = Object_'d43789' [row, "F0"]
11 z = object [d43789, row, "F0"]
12 ;d34789 = Get value... row F0
13 endfor
14 endfor
15 t = stopwatch
16 echo 't:3' 'z'
17 Remove
18
19 pb1 = Create formant table (Peterson & Barney 1952)
20 pb2 = Read from file: "pb.Table"
21 assert objectsAreIdentical: pb1, pb2
22
23 removeObject: pb1, pb2
24
25 appendInfoLine: "OK"