praat / praat

Praat: Doing Phonetics By Computer

Home Page:http://www.praat.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot open more than 55 files at the same time

cewarman opened this issue · comments

I want to open 609 wav file(each file are smaller than 30KB), but they didn't show on objects-block.
Is there a way to fix it please?

I tested it on Praat v6.2.12 on Windows 10 and everything is ok.

Maybe if you could provide your operation system and which version of Praat you're using, it would be useful for the developers.

I use praat6205_win64 on Windows 10 and I found that this problem only occurs when the filename contains Chinese.

OS: Windows 10 (64 bits)
Praat version: praat6214_win64

Same here. The sound files do not open when I select all of them in the dialog box that pops up after clicking on Read from file command.

Additionally, I renamed the same files with numbers instead, but it is the same.

image

In the other hand, I wrote this script that open each sound file one by one in the Object window and everything seems to work fine. (I tested it with the chinese file names and the renamed version.)

dir$ = "C:\Users\rolan\Downloads\praat_test-20220601T203348Z-001\praat_test"
file_names$# = fileNames$#("'dir$'/*wav")

clearinfo
for i to size(file_names$#)
  path$ = dir$ + "/" + file_names$#[i]
  Read from file: path$
endfor

Hope the developers can take a look to this issue.

The problem had nothing to do with Chinese characters, but everything with the total number of characters of all file names being above 3000 (every Chinese character counts as one character, and every English letter counts as one character). This restriction has existed from the time we implemented reading multiple files simultaneously on Windows, which happened between 5 and 13 February 2007. I have now made the maximum size a thousand times bigger in Praat version 6.3.04.