I took about an hour of stereo recording today, as i’ve made many times before.
But today, while saving the project, an error message occurred and audacity crashed, without saving the .aup project file.
All the .au files are there, but it’s folders (d00 to d06) with a total 1560 files.
I couldn’t find a tool that can rebuild the .aup file, which is just an xml it seems.
If such a tool doesn’t exist, I would be able to write a tool which recreates the xml, but i need the exact sequence of the .au pieces.
for some reason, the file naming it’s not just a numerical counter, but it looks like a random hexadecimal code.
I hope there’s a meaning in that hex code and hope that i can use this for reconstructing the correct sequence.
Can anyone help me?
so I’m thinking of taking the project file from another project and rename it in order to recover my recording.
I guess that file names are actually not randomly generated but “procedural”
The AU files are numbered randomly. An important consideration is that there are separate AU files for the left and right channels. For the first block of audio, the left is written first, then the right, then the left for the next block and so on.
Using the link in the Manual above, there is a method that lets you access a sufficiently accurate timestamp to sort the AU files correctly so that the left channel of a stereo pair will always come before the right. Without some method to do that, the recovered recording will have some sections in which left and right are transposed.
I don’t know if there is a cross-platform method to get finest possible timestamps from the system. I think you can do it with Powershell on Windows. Unfortunately Linux EXT3 and Mac HFS+ file systems only have 1 second timestamp resolution, so on those systems it is impossible to recover AU files without having some channels transposed.