plugdata icon indicating copy to clipboard operation
plugdata copied to clipboard

file glob object behaviour different on Plug Data than Vanilla.

Open pereshaped opened this issue 5 months ago • 4 comments

I have just ported a vanilla 55-1 app Im working on into Plug 9.1.

This is on OsX

A. I have a system using the "file/file glob" object which lists and reads files from a folder, however, Vanilla sees/read files in alphabetical order:

0001.txt 0002.txt 0003.txt ... 00010.txt 00011.txt

B. In Plugdata, however, it wants to read them in this order:

0001.txt 00010.txt 00011.txt 0002.txt 0003.txt

For the sake of compatibility and portability between Vanilla and PlugD, is there a way to change B behaviour to the A behaviour? I can't find any flags which allow "file" to change this.

pereshaped avatar Jul 25 '25 13:07 pereshaped

Strange, I can't reproduce that over here:

Image

timothyschoen avatar Jul 29 '25 14:07 timothyschoen

Yeh thats behaviour B on yours, Im looking for A (0 1 2,3...10). Im surprised that PD does have a way of choosing the numerical indexing format.

pereshaped avatar Jul 29 '25 15:07 pereshaped

"A" is what I would expect but Plug Data doesn't give you it. It gives what you posted. I would expect as per below, which is what Vanilla gives.

Image Image

pereshaped avatar Jul 29 '25 15:07 pereshaped

Maybe there a third party external that could fix it. I'll invesigate

pereshaped avatar Jul 29 '25 15:07 pereshaped