panning between 2 speakers with data of optical flow

Feb 26, 2006 at 11:56am

panning between 2 speakers with data of optical flow


i want to pan sound between two speakers, depending on optical flow of an image…

i know the to do this stuff but how can a get numbervalues to manipluate the panning out of this cv.jit.lkflow or cv.jit.hsflow?

thanks greets

Feb 26, 2006 at 12:26pm


found it out in the meantime…

didi it with unpack > jit.3m


Feb 26, 2006 at 1:27pm


i’m stucked again…

now i get values between 0.0 and 0.1 depending for the red and green channel depending on the optical flow…

for example:
if a person is going from left to right, the value of jit.3m(mean)for the red channel is at 0.9 and the value of jit.3m(mean) for the green one is at 0.0…

how can i map these values on 2 speakers… if somebody is moving from left to right, the sound sould go from right to left…

thx for help

Feb 26, 2006 at 2:06pm

Feb 27, 2006 at 1:55pm

There’s also Nathan Wolek’s cpPan~ (constant power pan) object:, but the tutorial is worth doing just to
understand some fundamental concepts about power laws and intensity
(amplitude, in this case).

– Paul

—– |(*,+,#,=)(#,=,*,+)(=,#,+,*)(+,*,=,#)| —–


You must be logged in to reply to this topic.