Say for example, you use an external hardware effect (like a Surround decoder), but your soundcard has a lot of noise. Well, just create multiple recordings and then let it run through audiomedian. For each single audio sample, the Median will be calculated and written to the output file. The output file is always a 32 bit floating point WAV.
Same could probably work for capturing VHS audio tracks or analogue Laserdisc tracks, but it's important to note that the audio has to be absolutely perfectly in sync for this to work properly, otherwise you are likely to get some form of distortion/artifacts. And with perfectly, I mean sample-perfect.
Another thing I hope it might theoretically be used for is to take audio from multiple languages of a movie and use this to try and eliminate voice from the audio, to be left with only music and SFX. Though whether that can work reasonably has to be tested, as the soundmix is never 100% identical and often not 100% in sync, and even if it was, it's not clear if this would actually work. But hey, it's something to play with!
Here is the full readme for caveats, disclaimers and whatnot:
Can receive odd number of input clips, that means: 3,5,7,9,11,13, etc.
Notes:
- output file will never be overwritten, make sure it doesn't exist yet.
- It doesn't matter whether you put the -o parameter in the beginning or end, or in between
- Needs odd number of input files
- Output file is 32 bit floating point WAV, no matter the input format
- Number of channels doesn't matter
- Audio formats (bit depth/sample rate/channel number) should match across all files, otherwise undefined behavior - in other words, unpredictable. You may get a result, but it may not be clear what exactly you are getting.
- Has the normal 4GB WAV file size limit. Note that the output wav has the limit too, and it's always 32 bit per channel, so it might be bigger than your input file.
- Doesn't like every WAV file. Will sometimes refuse a WAV file for weird reasons. Try resaving it with a few different tools and see if it helps.
- Code may have bugs, I'm a noob. Use at your own risk.
- There is no progress bar, just watch the output file grow
- RAM usage should be reasonable, as it doesn't read the entire files into memory, only works on the samples it currently needs. You can combine multiple 2 GB files with this no problem.
This tool uses the NAudio library for all this stuff, with a modified SampleProvider that creates the Median.
Code may have bugs, I'm a noob. Use at your own risk.
You need .NET Framework 4 I think. Possibly 3.5 for NAudio. Not 100% sure. Check source code/project if in doubt. This project was made in VS 2017 Community Edition.
Copyright: I don't care. Do whatever you want with the parts that I made. Otherwise NAudio probably has their own license or whatever.
You need .NET Framework 4.0 and possibly 3.5. I hope you don't need any others, but feel free to let me know if that is wrong.
P.S. I can not guarantee that this is mathematically/scientifically sound or whatever, as audio is a complicated subject. So in doubt, listen to your ears.
Edit: I tested this with a recording done through my Dolby SDU4. Unfortunately the source noise level was already so high that not much change is noticeable, but it managed to cleanly remove some small spikes (probably voltage spikes or so?) that were present in the original captures. I wouldn't have even noticed them, as they are so quiet, but now I am glad they are gone. . I did that with 3 input files.
I think we should make an effort to develop an archive of Criterion Collection Laserdisc supplements. You know, some of them being exclusives and what have you. The idea was thrown around before, but that hasn't really gotten anywhere. Can it be done?
I imagine that this may split opinions, but I thought I would ask. In the event of constructing a complete reconstruction of a film (using uncut/cut sources etc), would it be preferable to recreate the ending credits (over a textless, but higher quality version of the credits scene) or simply use a lower quality source for their entirety?
The higher quality source (in this case, HD) of course looks nicer, but there will be a few frames inserted from a lower quality source that might have credits on them. So if either choosing to recreate the credits, or leave the credits scene textless, a few frames would either suddenly feature text (or two layers of text potentially overlapping).
The ending credits on the lower quality source are in multiple languages too, so attempting to even OCR or transcribe them them may prove difficult due to a decrease in legibility.
I recently bought the UK BD of Christine released by Indicator. This is the only BD release I know of that includes the original Stereo mix, let alone uncompressed. All the US releases seem to only include the 5.1 remix and I'm not sure what sfx were changed or altered but I'm sure there are some. Anyhow, All that needs done is syncing to whatever release you want to apply this track to... In my case the 4K UHD release. I demuxed the original stereo and it is available upon PM. Thanx.
Thanks to X5gb I made some quick comparison between the UK Blu-Ray and the HDTV version that X5gb has and here's some images. Now, they might not be the same exact frame but near enough.
HDTV seems dirtier, with less details and a bit yellow. Less crop though!
UK Blu-Ray is more cropped but with less dirt, more details than HDTV and what appears to be the correct colors. DNR'ed though, as many fans of this film know.
Another film that Paramount didn't bother give a modern and better treatment. At the moment, the DNR version on Blu-Ray is still the version with better colors, more details and what appears to be a better framing (at least to my eye).
Does anyone know if there is an HD version available of Bill Hicks' Revelations?
It's a stand up performance that I'm quite fond of and was hoping that it would make my archive.
Have you noticed that lately all websites ask (finally) to accept their cookies? Well, I discovered that, even if many allow you to NOT accept some intrusions in your privacy (like ads), others says, basically "accept (what?) or you can't view our content"!
So, time to start to use tools better suited to protect your (our) privacy - well, if you can always trust them!
Has anyone preserved the 4K restoration of It's a Wonderful Life released digitally a couple months ago? I haven't been able to find it on any of the usual sites (granted, I'm not on Blu). Is there an opportunity here to mux an even better preservation with original audio?
I don't know if this is the proper board to post this, but it has to do with Twin Peaks.
I used a remastered clip from the official bluray set, and compared it to one DVD release.
I noticed that the masking was different between the sets, among other details, the timing for one scene in particular seemed to be slightly different, enough to where the audio wasn't in sync.
I have this weird habit of wanting to overly SD footage over it's HD in iMovie.
On the topic of Star Trek, for TOS, is there a LUT available that would give me the colors present on the prior DVD releases?
There seems to be a big difference between the colors in the DVD and the remaster, probably due to LCDs having a different type of backlight in comparison to a CRT.