Here is part 3. This is for “worldrecordpodcast3_data” containing e00/“d50” to “d76” inclusive.
I’ve cross-checked it and think it will work. More maths this time to calculate the correct “numsamples” for each channel, because as expected the final “d76” folder has less than the maximum 256 AU files and the final AU file has less than the maximum 262144 samples.
I notice we could have (just) managed with two projects, but at least it is somewhat safer this way, given the script already takes five minutes to complete even on a reasonably fast computer.
Gale
worldrecordpodcast3.aup (1.45 MB)
I got the following error: 3072 misasing audio data (.au) blockfiles… etc. What can I do to try and rectify this? Thanks
It is how ever 8 + hours and ends at the correct spot with the audio. We just need to recover those missing audio sections somehow if possible. Thank you!
The beginning of part 3 does not however match up with the end of part 2… I am trying to sort this out now.
I currently have a file through hour 13, min 31 and the #3 file has the orphans… #3 does have the correct ending but the total only come out to 21+ hours and there should be 25… Not sure what is happening.
On WRP3 I included the data folders you asked for but notice there were just d# folders no d#letter folders that had been in the first two attempts… Is this correct or could this be the issue?
I found the original list and added the folders with #'s and letters and it worked with no orphan files or silence… I will continue piecing it together. Thanks
I thought you had already made the correct worldrecordpodcast3_data folder.
“worldrecordpodcast3_data” should contain an “e00” folder and “e00” should contain 39 folders “d50” to “d76” inclusive. The file list3.txt should list the contents of each of the 39 “d” folders.
Gale
Success! I have pieced together the three files and am outputting one audio file now. You guys have been such an mazing amount of help. How can we help you? Can we have Zane tweet out for you? Send you some T-Shirts? You check out our stuff at http://www.drinkingmadeeasy.com. I am not sure if any of you are Three Sheets fans from back in the day. You can also check out our successful Kickstarter campaign for our new project CHUG. I will also make a donation to Audacity.
Brilliant! I hope our project helped you as well as you had mentioned you had always thought it may be possible… Well, it is! Thank you!
Excellent. Now over five chapters we have all the definitions, conditions and steps to code a terrific rescue tool. Everybody wins!
Koz
Well, I’m not sure how many users would follow all this without step-by-step documentation, or whether developers would be rushing to make some script available that worked on the _data folders and the AUP. Also bear in mind this only tests out correctly so far for a recording that was never edited.
I also note that someone on the Wiki ( Missing features - Audacity Support ) wrote rough steps to split a large failed project into sections using Audacity 1.3.7. However his project appeared to be under the 2^31 limit so it looked as if his problem was something else, and his steps would not recover audio beyond the limit in Audacity 2.x.
Anyway I will post the Windows PowerShell script that rewrites the waveblock start values for all projects after the first. I am told it should work with any version of PowerShell:
$DebugPreference = "Continue"
[int64]$offset = 0
$indata = Get-Content .wrp2.aup
$outdata = $null
$first = $true
$testitem = [regex]'waveblock start="(?<startingpoint>d*)"'
$rcdCount = 0
foreach ($item in $indata)
{
if ($item -match $testitem)
{
if ($first)
{
$first = $false
$offset = $matches['startingpoint']
}
[string]$startstr = -$offset + $matches['startingpoint']
$item = $item -replace $matches['startingpoint'], $startstr
$rcdCount++
Write-Debug -Message "Record $rcdCount"
}
$outdata += "$item`n"
}
Set-Content -Path .wrp2mod.aup -Value $outdata -Encoding Ascii -Force
"$rcdCount records processed."
All you need to change in the script is the name of the original project (here “wrp2.aup”) and the name of the modified project that is being written (here “wrp2mod.aup”).
If you don’t want progress messaging, change $DebugPreference to “SilentlyContinue”.
If anyone here wants to write a Perl or Python version, that would be great (needed for the other platforms). Otherwise I might look into a Perl version based on a suggestion someone made.
Gale
Q win-win for both of us. Your team was excellent!