Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
8th June 2023, 20:21 | #1 | Link |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Invert audio filter?
Hi there people,
Does anyone know of a way to invert the audio in AviSynth? I have searched but came up empty handed. I'm sure it's not a common thing people do but audio editors do have a way to invert (flip) the audio. |
8th June 2023, 20:40 | #2 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,361
|
Maybe Reverse().Killvideo()?
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
8th June 2023, 20:55 | #3 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Clarification, You mean, +ve peaks become -ve, and -ve peaks become +ve ?
Yes. (cant help, just dont think Doggy understood)
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
8th June 2023, 21:01 | #4 | Link |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
That would reverse the audio. Audio invert (also known as polarity invert, phase invert and others) is more like the filter Invert() for video. It basically flips the waveform 180 degrees.
Edit Yep. Last edited by Reel.Deel; 8th June 2023 at 21:04. |
8th June 2023, 21:49 | #5 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,361
|
Ah yes, flip the waveform, basically you multiply the audio by -1.0. In this regard it's like amplifying negatively, Amplify() already has that built in I think. Amplify(-1) by the examples.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
8th June 2023, 21:59 | #6 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Code:
A=Colorbars B=A.Amplify(-1.0) A=A.Waveform_Filmstrip(window=1,under=true,SubSize=0.25) B=B.Waveform_Filmstrip(window=1,under=true,SubSize=0.25) StackVertical(A,B) Only showing 1 (upper) channel [the other channel was silent for that colorbars frame]. Good Dog.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 9th June 2023 at 04:12. |
8th June 2023, 22:07 | #7 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Quote:
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|