Release 8 is now available:
https://unstablesound.net/cdpforum/index.php?topic=264.0
Quote from: Vasilakis on June 05, 2025, 10:44:24 AMthere are indeed some weird folders in TMP named "~X_4" and "~X_11". There are also various .bat files like getenv and mixmany.getenv.bat and mixmany.bat should not have a preceding tilde (~). Don't delete those. ~X_4 and ~X_11 folders are from your previews. I'll check my mechanism for clearing those -- Windows traditionally wanted folders cleared of their contents before you delete the folder, but now there is a more direct way, which I hope the program is using.
int safe_sndseek(dataptr dz) {
// Get the input filename before closing
const char* filename_tmp = snd_getfilename(dz->ifd[0]);
if (!filename_tmp) {
fprintf(stderr, "safe_sndseek: ERROR — could not retrieve filename from ifd[0] = %d\n", dz->ifd[0]);
return -1;
}
// Allocate memory and copy the filename
char* filename_buf = malloc(strlen(filename_tmp) + 1);
if (!filename_buf) {
fprintf(stderr, "safe_sndseek: ERROR — memory allocation failed for filename copy\n");
return -1;
}
strcpy(filename_buf, filename_tmp);
fprintf(stderr, "safe_sndseek: Retrieved filename = %s\n", filename_buf);
// Close the input file
fprintf(stderr, "safe_sndseek: Closing input file descriptor %d\n", dz->ifd[0]);
sndcloseEx(dz->ifd[0]);
// Reopen the input file
dz->ifd[0] = sndopenEx(filename_buf, 0, 0);
if (dz->ifd[0] < 0) {
fprintf(stderr, "safe_sndseek: ERROR — failed to reopen input file: %s\n", filename_buf);
free(filename_buf);
return -2;
}
fprintf(stderr, "safe_sndseek: Reopened input file. New ifd[0] = %d\n", dz->ifd[0]);
// Clean up
free(filename_buf);
// Reset internal counters for reading
reset_filedata_counters(dz);
fprintf(stderr, "safe_sndseek: reset_filedata_counters completed.\n");
return 0;
}
Maybe I did some error when saving? Maybe there are other reasons for this behaviour? Still, I hoped that it would be a straightforward process, where you could work on your cell sequence and save it, and then load it the next day, use same or different source and the process sequence would be applied without problems and overall it would feel like opening the saved project to continue working on it.