FIXED: Bug or limitation? File In CHOP with a few hundred channels

I have 2 .chan files (which I recored from a DMX input and then saved with a File Out CHOP).
1 .chan file has 225 channels of data with a duration of a few seconds. I can load in this file using the File In CHOP. The amount of channels and the data are correct.
The second .chan file howver, has 512 channels. This one is shorter in duration (but that doesn’t really matter I figured out) but when trying to load it into a File In CHOP, I get 0 channels and/or values. It just looks like an empty CHOP.

I have tested with several files, duration of recordings, numbers of channels etc. The breaking point seems to be somewhere in between 225 (which works) and 249 (which doesn’t work). The duration doesn’t really seem to matter (5000 frames of a 225-channel .chan file works, 20 frames of a 512-channel file doesn’t.)

When opening the .chan files in another editor, they both seem fine.

I wonder if this is a limitation in the number of channels? Or what’s happening here?

I know a workaround which would be to convert the CHOP to a DAT before saving and then when loading the file back in do the reverse, but I rather stick witch CHOPS. If I convert the CHOP to a DAT, my touchdesigner goes to a very low framerate. (edit: actually, disabling the viewers fixes the framerate drop, but still curious if it can be done with CHOPS)

I’m on windows 11, build 2023.12120

Thanks in advance!

Can you post the sample files that work and don’t work? We can take a look and fix the issue. Sounds just like a small bug

Sure @malcolm thanks in advance! Attached is a zip with two .chan files: v11 works for me, v12 doesn’t.
I’m curious what the issue is going to be :slight_smile:
files_FileInCHOP.zip (84.7 KB)

Thanks for the sample. This is a bug I’ve now fixed. I think you can avoid it by using .bclip/.bchan/.clip to save your files instead.

.chan bug fixed in Builds 2023.12251 and later.