Clean-up does not end

Hi all,

in a multitrack MIDI project I do numerous operations such as split MIDI regions, copy-paste, delete, etc…
When I run “Session->Clean-up unusued sources->Delete All Unusued”, Ardour never gets to the conclusion.

In the Linux terminal (from which I started Ardour) it says:

"Source from source list NOT found in used_by_this_snapshot"

followed by the names of the .mid files, and it continues like this in an infinite loop. The only option is to forcefully terminate the program.
Is there a solution in these cases?

[Ardour 8.1 on Linux]
Thank you,
a.

I thought that a drastic solution could be this (correct me if I’m wrong):

while the project is open, into the “interchange/midifiles” folder I delete all the MIDI files.
In this way, as soon as I click “Session->Save”, only the midi files of the regions currently present and used should be regenerated.
Is this operation correct?
Isn’t this also a “manual” way to clean up useless MIDI files?

Thanks,
a.

No, they will be gone. The data is streamed from disk. MIDI files also take up a tiny amount of space, so you don’t get much space back by running cleanup, though I do understand the session organization aspect of it of course.

Seablade

I just took a test. With the project open, after some operations on the MIDI regions, I delete all the files in the interchange/midifile folder. The folder so is empty. I click “save” and the new files appear, less than the previous ones.

EDIT: I applied this “manual” method to the large project that had the problem explained in the first post.
There were 581 files in the interchange/midifile folder. I deleted them all and clicked “save”. After the operation, in the empty folder 143 files were regenerated.

1 Like

Well in that case I am happy to be proven wrong, that does surprise me honestly.

I would definitely keep a backup just in case though.

   Seablade