Forums > MaxMSP

calculate the speed of changing???

Jul 26 2006 | 5:49 pm

hi everybody,
i use sensors on a body ….
i would like know if possible to calculate the speed of a float changing.

when the dancer is calm,my sensor send me a value around a float (for exemple the sensor send me :0.5,0.51,0.49….when dancing,i receive value very different ex:0.29,0.90,0.1….etc. how can analyse for having one value (0. for calm and 1.for agitated for exemple) representing the speed of this action ???

thanks by advance ans sorry for my english:)

max

Jul 26 2006 | 7:01 pm

Hello Max,
I am doing the same thing at the University of Edinburgh. If you want we can exchange knowledge on the subject.
meanwhile I think you can use the timer to count the time between two events, two changes over time.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 284 176 43 9109513 timer;
#B color 5;
#P number 284 202 42 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 297 150 15 0;
#P connect 2 0 1 0;
#P connect 0 0 2 1;
#P connect 0 0 2 0;
#P window clipboard copycount 3;

Generally talking that might be extremly tricky to describe movement.
Best
Neuromax

max wrote:
hi everybody,
i use sensors on a body ….
i would like know if possible to calculate the speed of a float changing.

when the dancer is calm,my sensor send me a value around a float (for exemple the sensor send me :0.5,0.51,0.49….when dancing,i receive value very different ex:0.29,0.90,0.1….etc. how can analyse for having one value (0. for calm and 1.for agitated for exemple) representing the speed of this action ???

thanks by advance ans sorry for my english:)

max

———————————
Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.

Jul 26 2006 | 7:37 pm

Hi Max,

check out tl.velocity from the tl.objects:

Best,
Trond

max wrote:
> hi everybody,
> i use sensors on a body ….
> i would like know if possible to calculate the speed of a float changing.
>
> when the dancer is calm,my sensor send me a value around a float (for exemple the sensor send me :0.5,0.51,0.49….when dancing,i receive value very different ex:0.29,0.90,0.1….etc. how can analyse for having one value (0. for calm and 1.for agitated for exemple) representing the speed of this action ???
>

Jul 26 2006 | 8:26 pm

If your sensor is outputting values at a consistent rate, how about
looking at the standard deviation? It’ll be low when calm, and high
when agitated. Andrew May wrote some objects that do this.

Peter McCulloch

On Jul 26, 2006, at 1:49 PM, max wrote:

>
> hi everybody,
> i use sensors on a body ….
> i would like know if possible to calculate the speed of a float
> changing.
>
> when the dancer is calm,my sensor send me a value around a float (for
> exemple the sensor send me :0.5,0.51,0.49….when dancing,i receive
> value very different ex:0.29,0.90,0.1….etc. how can analyse for
> having one value (0. for calm and 1.for agitated for exemple)
> representing the speed of this action ???
>
> thanks by advance ans sorry for my english:)
>
> max
>

Jul 26 2006 | 8:47 pm

On 26-Jul-2006, at 22:26, Peter McCulloch wrote:

> If your sensor is outputting values at a consistent rate, how about
> looking at the standard deviation? It’ll be low when calm, and
> high when agitated.

Like lp.stacey? URI below

————– http://www.bek.no/~pcastine/Litter/ ————-
Peter Castine +–> Litter Power & Litter Bundle for Jitter
Universal Binaries on the way
iCE: Sequencing, Recording &
Interface Building for |home | chez nous|
Max/MSP Extremely cool |bei uns | i nostri|
http://www.dspaudio.com/ http://www.castine.de

Jul 26 2006 | 9:13 pm

at your own risc, perhaps you could try a very simple object i wrote
to calculate this :

http://www.sonoscop.net/jmb/pub/varianza.dmg

jmb

El 26/07/2006, a las 22:26, Peter McCulloch escribió:

> If your sensor is outputting values at a consistent rate, how about
> looking at the standard deviation? It’ll be low when calm, and
> high when agitated. Andrew May wrote some objects that do this.
>
> Peter McCulloch
>
>
> On Jul 26, 2006, at 1:49 PM, max wrote:
>
>>
>> hi everybody,
>> i use sensors on a body ….
>> i would like know if possible to calculate the speed of a float
>> changing.
>>
>> when the dancer is calm,my sensor send me a value around a float
>> (for exemple the sensor send me :0.5,0.51,0.49….when dancing,i
>> receive value very different ex:0.29,0.90,0.1….etc. how can
>> analyse for having one value (0. for calm and 1.for agitated for
>> exemple) representing the speed of this action ???
>>
>> thanks by advance ans sorry for my english:)
>>
>> max
>>
>

jose manuel berenguer
jmbeal@telefonica.net +34932857046 +34696538403. http://
http://www.sonoscop.net/jmb/
jmberenguer@sonoscop.net +34933064128. http://www.sonoscop.net/
caos->sonoscop. cccb. montalegre, 5. 08001 barcelona
spain

Jul 26 2006 | 11:50 pm

A lot of usefull stuff. Thanx everyone!
V.

jose manuel berenguer wrote: at your own risc, perhaps you could try a very simple object i wrote
to calculate this :

http://www.sonoscop.net/jmb/pub/varianza.dmg

jmb

El 26/07/2006, a las 22:26, Peter McCulloch escribió:

> If your sensor is outputting values at a consistent rate, how about
> looking at the standard deviation? It’ll be low when calm, and
> high when agitated. Andrew May wrote some objects that do this.
>
> Peter McCulloch
>
>
> On Jul 26, 2006, at 1:49 PM, max wrote:
>
>>
>> hi everybody,
>> i use sensors on a body ….
>> i would like know if possible to calculate the speed of a float
>> changing.
>>
>> when the dancer is calm,my sensor send me a value around a float
>> (for exemple the sensor send me :0.5,0.51,0.49….when dancing,i
>> receive value very different ex:0.29,0.90,0.1….etc. how can
>> analyse for having one value (0. for calm and 1.for agitated for
>> exemple) representing the speed of this action ???
>>
>> thanks by advance ans sorry for my english:)
>>
>> max
>>
>

jose manuel berenguer
jmbeal@telefonica.net +34932857046 +34696538403. http://
http://www.sonoscop.net/jmb/
jmberenguer@sonoscop.net +34933064128. http://www.sonoscop.net/
caos->sonoscop. cccb. montalegre, 5. 08001 barcelona
spain

———————————
See the all-new, redesigned Yahoo.com. Check it out.

Jul 27 2006 | 10:37 am

>hi everybody,
>i use sensors on a body ….
>i would like know if possible to calculate the speed of a float changing.
>
>when the dancer is calm,my sensor send me a value around a float
>(for exemple the sensor send me :0.5,0.51,0.49….when dancing,i
>receive value very different ex:0.29,0.90,0.1….etc. how can
>analyse for having one value (0. for calm and 1.for agitated for
>exemple) representing the speed of this action ???
>
>thanks by advance ans sorry for my english:)
>
>max

[t l l] then cross the 2 outlets into hot and cold [vexpr \$2-\$1]

Jul 27 2006 | 11:25 am

>hi everybody,
>i use sensors on a body ….
>i would like know if possible to calculate the speed of a float changing.
>
>when the dancer is calm,my sensor send me a value around a float
>(for exemple the sensor send me :0.5,0.51,0.49….when dancing,i
>receive value very different ex:0.29,0.90,0.1….etc. how can
>analyse for having one value (0. for calm and 1.for agitated for
>exemple) representing the speed of this action ???
>
>thanks by advance ans sorry for my english:)
>
>max
>___

like that?

>____________________________________________
#P toggle 132 449 61 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 131 429 47 196617 > 0.25;
#P flonum 132 408 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user jit.pwindow 202 374 82 62 0 1 0 0 1 0;
#P newex 122 378 53 196617 jit.3m;
#P newex 138 352 151 196617 jit.matrix speeds 1 float32 10;
#P newex 139 322 79 196617 jit.fill speeds 0;
#P newex 96 233 103 196617 vexpr abs(\$f2-\$f1);
#P newex 111 195 27 196617 t l l;
#P button 117 67 42 0;
#P newex 119 134 43 196617 jit.spill;
#P newex 118 114 110 196617 jit.noise 1 float32 10;
#P window linecount 2;
#P comment 20 166 100 196617 there your list of datas from capteurs;
#P connect 11 0 12 0;
#P connect 7 0 8 0;
#P connect 7 0 9 0;
#P connect 4 0 5 1;
#P connect 5 0 6 0;
#P connect 6 0 7 0;
#P connect 8 1 10 0;
#P connect 10 0 11 0;
#P connect 1 0 2 0;
#P connect 3 0 1 0;
#P connect 4 1 5 0;
#P connect 2 0 4 0;
#P window clipboard copycount 13;

Viewing 9 posts - 1 through 9 (of 9 total)

Forums > MaxMSP