sh0dan
Need following.
.
I have two video clip with sound track in each.
Parameters of sound tracks in different video clips are equal.
I need following with sound tracks in video clips, like as video contetnt,
Sound1 - Sound2 (mines) or similar to function Subtract() in video content, but for sound tracks...
Sound1=A1 * Sin(2 * PI * f1 * t1 + fi1)
Sound2=A2 * Sin(2 * PI * f2 * t2 + fi2)
where
A1, A2 - amplitude of sound wave
f1, f2 - frequency of sound wave
t1, t2 - time, in our case are equal t1 = t2 = t
fi1, fi2 - phase of sound wave
PI = 3.1415926
Sound = Sound1 - Sound2 = A1 * Sin(2 * PI * f1 * t + fi1) - A2 * Sin(2 * PI * f2 * t + fi2)
for each time counting
How can I do this ?
Maybe update SoxFilter() for subtraction audio tracks in clips, for (as) example,
SoxFilter(clip1, clip2, string "subtract")
and return result subtraction clip (audio subtraction), if (clip2 != NULL) ...
And so on...
Last edited by Jenyok; 14th December 2011 at 10:22.
|