You can also use full path names such as "C:/Users/Paolo/project1/hello.wav" on Windows and "/Users/Paolo/project1/hello.wav" on the Mac. ![]() Note that fileName$ is taken relatively to the folder where the script is saved for instance, if your script is in the folder Paolo/project1, then the file name "hello.wav" refers to Paolo/project1/hello.wav, the file name "yesterday/hello.wav" refers to Paolo/project1/yesterday/hello.wav, and the file name "./project2/hello.wav" refers to Paolo/project2/hello.wav ("." goes one folder up). Which returns 1 (true) if the file exists and can be read, and 0 (false) otherwise. You can check the availability of a file for reading with the function fileReadable ( fileName$) You can read from and write to text files from a Praat script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |