Syncing Variable Speed Audio
Posted: Tue Jul 15, 2014 4:53 am
Hi guys,
So basically I have hundreds of FLAC audio files. Half of these are already in perfect sync to my video but have crappy audio quality, the second half of my files are much higher quality, but are not at all synced to my video. At this point, you might think that all I have to do is find a sharp audio spike and then manually sync the waves of the good audio to the bad audio (but in sync) audio. Unfortunately, this is where the problem gets difficult.
The huge problem I have is that the good audio is constantly changing its playback rate. If I sync up a certain segment with the bad audio, the waves are aligned initially but they will differ as time progresses. Let me stress that the playback rate is NOT different by some constant (in other words its not like a NTSC -> PAL speed-up). The good audio will pull ahead of the bad audio sometimes, and then later it will fall behind. The rate is constantly changing.
So the best way I've come up with so far to sync them together is to sync them at the start of the file, and then stretch (by way of "Change Speed") the good audio to match the waves of the bad audio in 1 minute segments. This kind of works, but if there's ever any significant deviation of sync within that minute, then they will stay out of sync. Ideally, you would want to do this same thing in infinitesimal small chunks to ensure they are always in sync.
Is there any way with Audacity, or some other program, that I could sync these files together automatically? Or is there some other way to do it manually that might be better that I'm not thinking of?
Thanks!
So basically I have hundreds of FLAC audio files. Half of these are already in perfect sync to my video but have crappy audio quality, the second half of my files are much higher quality, but are not at all synced to my video. At this point, you might think that all I have to do is find a sharp audio spike and then manually sync the waves of the good audio to the bad audio (but in sync) audio. Unfortunately, this is where the problem gets difficult.
The huge problem I have is that the good audio is constantly changing its playback rate. If I sync up a certain segment with the bad audio, the waves are aligned initially but they will differ as time progresses. Let me stress that the playback rate is NOT different by some constant (in other words its not like a NTSC -> PAL speed-up). The good audio will pull ahead of the bad audio sometimes, and then later it will fall behind. The rate is constantly changing.
So the best way I've come up with so far to sync them together is to sync them at the start of the file, and then stretch (by way of "Change Speed") the good audio to match the waves of the bad audio in 1 minute segments. This kind of works, but if there's ever any significant deviation of sync within that minute, then they will stay out of sync. Ideally, you would want to do this same thing in infinitesimal small chunks to ensure they are always in sync.
Is there any way with Audacity, or some other program, that I could sync these files together automatically? Or is there some other way to do it manually that might be better that I'm not thinking of?
Thanks!