Log in

View Full Version : Audio Channel Mixing 5.1


gyurman
26th December 2011, 21:39
Hello,

How can I do:
I have 0.25 center 4 times, and mix for Front Left, Front Right, and Back Left, Back Right?
Can you do for me?

Thanks

IanB
26th December 2011, 23:29
GetChannel(clip clip, int ch1 [, int ch2, ...]) (http://avisynth.org/mediawiki/GetChannel)

MixAudio(clip clip1, clip clip2, float clip1_factor, float clip2_factor) (http://avisynth.org/mediawiki/MixAudio)

...source

CCCC = GetChannel(3, 3, 3, 3) # 4 copies of centre channel

FlFrRlRr = GetChannel(1, 2, 5, 6) # Front Left, Front Right, Rear Left, Rear Right

MixAudio(CCCC, FlFrRlRr, 0.2, 0.8) # (0.25*CCCC + 1.0*FlFrRlRr)*1/1.25

gyurman
27th December 2011, 02:16
Thank you very much. I will probre as soon...