Log in

View Full Version : Any plugin or way to invert an audio track in an AviSynth script?


yukichigai
4th March 2007, 11:35
One of the things I run into a lot are annoying, "fake stereo" audio tracks: it sounds like it might be stereo because your left and right ears hear something slightly different, but it's really just the left channel being inverted compared to the right. Now the easiest way to fix this is just use GetRightChannel or GetLeftChannel plus AudioDub to make the track mono, but sometimes I'll notice that some of the compression glitches in the audio track (or other noise) can be cleared up by inverting one of the channels and then combining them both into one mono channel. Unfortunately the only way I know of to do this is export the audio track and screw with it in Audacity or similar. I've been trying to find an Invert Audio plugin for AviSynth, but no luck. Anybody know if/where such a plugin might be found?

foxyshadis
4th March 2007, 13:19
Amplify(-1,1)? :p I didn't test it, but according to the docs it should work.

yukichigai
4th March 2007, 14:12
Yeah, that did it. Damn! I really need to read the documentation a bit more.