Long filenames can lead to presumed corrupt /workspace folder (includes solution)

Ah, so it’s even more than the 256 characters, good to know. The actual limits are still way shorter.

I made some tests with long names for samples by simply duplicating and renaming samples on the SD-Card. Samples with a length (including extension, but not the full path) of 80 characters or more simply don’t show up in the sample selector. Also files with emoji in the name are ignored, but these ignored files don’t caused any problems on reboot. I also tested characters like “ä”, these work but are displayed as a white square.

For presets, the limit appears to be 87 characters, again, presets a name of 87 characters or more are ignored by the preset browser. When I tried saving a preset with a name long name within the synth, I was able to enter 81 characters, and the file saved to disk, but the preset does not show up in the preset browser, because 81 characters + “.patch” makes 87. However, the name of the preset is still visible on top if the preset browser, and the file does exist on the SD-Card.

In the scene itself, two odd things happen: When I try saving that to a scene, two things happen:

  • when I switch between the 3 synth slots, slots 1, 2 and3 each display parts of the long preset name on top the screen (where the preset name is supposed to be)
  • when I save that scene, it is actually not written to disk, because when I load it a gain, the engine in slot 1 that I changed to GRAIN from ACD before saving the preset reverts to ACD

A preset with filenames that is a bit shorter shorter does save to disk properly, but still breaks the scene. Did not test enough to figure out the actual limits/

So there is something going on, however I could not get the Synth to crash on reboot

I also saved a scene with a really long name from within Synth, and noticed that name was truncated to 31 characters on disk, so there is some precautions in place there.

BTW, deleting samples that were used in presets, scenes or the workspace did not cause any problems, there’s a warning when you select a preset that contains a missing sample, and in the Engine page the sample name is prefixed with !!!, but presets, scenes and workspace load just fine even when samples are missing.

@Sandroid it appears the behavior related to length of filenames is not by design, correct?

1 Like