data stream variation amount

Jan 20, 2013 at 11:50am

data stream variation amount

Hello,
I need to have the numerical amount of the variation in a numerical data stream,
i have the left hand movment data coming from kinect and i want to use the velocity of movement for setting the volume of a sfplay.
so the faster i move the louder the volume

i’ve try to see in the old posts but i can’t find..
is there any way?
i hope the question is clear, my english in not so good .
many thanks
carl

#66139
Jan 20, 2013 at 3:51pm

Hi,

you might want to have a look at and experiment with my [sadam.stat] object (see http://cycling74.com/forums/topic.php?id=42930 ), which will give you the mean, standard deviation, minimum-maximum values and the element count of a data stream. However, I’m not 100% sure that it would be a real solution for your problem, which might be better solved with some sort of a ‘compute the incoming differences and smooth it out’ approach.

Hope that helps,
Ádám

#238090
Jan 20, 2013 at 7:35pm

many thanks Adam ,I’ll try tonight .thanx for your job
carl

#238091

You must be logged in to reply to this topic.