Debian Codegraph @

dwtest/test_FormantPath.praat

raw
1 # test_FormantPath.praat
2 # djmw 20230801
3
4 appendInfoLine: "test_FormantPath.praat"
5 @testReadAndWriteVersions
6 appendInfoLine: "test_FormantPath.praat OK"
7
8 procedure testReadAndWriteVersions
9 appendInfoLine: tab$, "Reading and writing old version"
10 formantPath = Read from file: "sineWithNoise_version0.FormantPath"
11 randomName$ = "kanweg" + string$ (randomInteger (100000, 200000)) + ".FormantPath"
12 Save as binary file: randomName$
13 formantPath2 = Read from file: randomName$
14 deleteFile (randomName$)
15 removeObject: formantPath, formantPath2
16 appendInfoLine: tab$, "Reading and writing old version OK"
17 endproc
18