Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REM Front Right
- REM Front Centre
- REM LFE Left
- REM Back Left
- REM Back Right
- REM Front Left/Centre
- REM Front Right/Centre
- REM Back Centre
- REM LFE Right
- REM Side Left
- REM Side Right
- REM Top Front Left
- REM Top Front Right
- REM Top Front Centre
- REM Top Centre
- REM Top Back Left
- REM Top Back Right
- REM Top Side Left
- REM Top Side Right
- REM Top Back Centre
- REM Bottom Front Centre
- REM Bottom Front Left
- REM Bottom Front Right
- @echo off
- REM FC + (FLc + FRc)*c + (TpFC + TpC*f + BtFC)*e
- REM FL + FLc*c + SiL*d + (TpFL + TpSiL*d + BtFL)*e
- REM FR + FRc*c + SiR*d + (TpFR + TpSiR*d + BtFR)*e
- REM BL + BC*g + SiL*d + (TpBL + TpBC*g + TpSiL*d + TpC*f)*e
- REM BR + BC*g + SiR*d + (TpBR + TpBC*g + TpSiR*d + TpC*f)*e
- REM LFE (LFE1 + LFE2)*l
- REM a: -3 dB, b: -3 dB, c: -4.5 dB, d: -4.5 dB, e: 0 dB, f: -6 dB, g: -3 dB, l: -3 dB
- REM db to scalar approximately
- set coeff_c=0.6
- set coeff_d=0.6
- set coeff_f=0.5
- set coeff_g=0.7
- ffmpeg -y -i 222.wav -af ^
- "pan=5.1^
- |c0=c0+%coeff_c%*c6+%coeff_d%*c10+c12+%coeff_d%*c18+c22^
- |c1=c1+%coeff_c%*c7+%coeff_d%*c11+c13+%coeff_d%*c19+c23^
- |c2=c2+%coeff_c%*c6+%coeff_c%*c7+c14 +%coeff_f%*c15+c21^
- |c3=c3+c9^
- |c4=c4+%coeff_g%*c8+%coeff_d%*c10+c16+%coeff_g%*c20+%coeff_d%*c18+%coeff_f%*c15^
- |c5=c5+%coeff_g%*c8+%coeff_d%*c11+c17+%coeff_g%*c20+%coeff_d%*c19+%coeff_f%*c15^
- "^
- 51.wav
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement