monitor data

Sep 19, 2007 at 9:29pm

monitor data

Hello,
Can anyone shed some light on a way to monitor a stream of data (floats) and a alert or bang when a stream
stops?

All the best,
Stuart Smith

#33743
Sep 19, 2007 at 10:03pm

#112816
Sep 19, 2007 at 10:27pm

#112817
Sep 19, 2007 at 10:54pm

#112818
Sep 19, 2007 at 11:02pm

#112819
Sep 19, 2007 at 11:09pm

At 2:29 PM -0700 9/19/07, stuart smith wrote:
>Can anyone shed some light on a way to monitor a stream of data (floats) and a alert or bang when a stream
>stops?

Here’s one way:

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P hidden newex 255 107 48 196617 loadbang;
#P hidden message 214 128 20 196617 60;
#P hidden message 215 102 20 196617 50;
#P comment 72 304 100 196617 Stream stopped;
#P comment 134 72 125 196617 Period of float generation;
#P flonum 97 70 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 94 245 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 55 37 15 0;
#P newex 55 89 52 196617 metro 50;
#P newex 55 109 64 196617 random 100;
#P newex 55 130 87 196617 scale 0 100 0. 1.;
#P button 55 304 15 0;
#P button 55 244 15 0;
#P flonum 55 151 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 55 264 49 196617 delay 60;
#P comment 131 245 100 196617 One shot period;
#P comment 65 220 187 196617 Delay acts like a retriggerable one shot;
#P comment 72 37 109 196617 Generate float stream;
#P hidden connect 17 0 16 0;
#P hidden connect 17 0 15 0;
#P hidden connect 16 0 11 0;
#P hidden connect 15 0 12 0;
#P connect 12 0 9 1;
#P connect 11 0 3 1;
#P connect 3 0 6 0;
#P connect 5 0 3 0;
#P connect 4 0 5 0;
#P connect 10 0 9 0;
#P connect 9 0 8 0;
#P connect 8 0 7 0;
#P connect 7 0 4 0;
#P window clipboard copycount 18;


Chris Muir | “There are many futures and only one status quo.
cbm@well.com | This is why conservatives mostly agree,
http://www.xfade.com | and radicals always argue.” – Brian Eno

#112820
Sep 20, 2007 at 12:09am

At 4:54 PM -0600 9/19/07, Steven Miller wrote:
>This solution is great when the stream is coming in at a consistent rate. What if the stream is coming in at a variable rate? I guess you’d need to know, or specify, what the longest (acceptable) pause between arrivals would be, and set the delay time accordingly?

Well, you’d have to know that with pretty much any conceivable approach, wouldn’t you?

-C


Chris Muir | “There are many futures and only one status quo.
cbm@well.com | This is why conservatives mostly agree,
http://www.xfade.com | and radicals always argue.” – Brian Eno

#112821
Sep 20, 2007 at 3:52am

Yes, my point was simply that with a consistent rate, that pause
would be implicit in the rate itself, whereas with an inconsistent
rate, you’d have to explicitly decide when a pause became a ‘stop’
rather than just a long pause…if you get my meaning.

On Sep 19, 2007, at 6:09 PM, Chris Muir wrote:

> At 4:54 PM -0600 9/19/07, Steven Miller wrote:
>> This solution is great when the stream is coming in at a
>> consistent rate. What if the stream is coming in at a variable
>> rate? I guess you’d need to know, or specify, what the longest
>> (acceptable) pause between arrivals would be, and set the delay
>> time accordingly?
>
> Well, you’d have to know that with pretty much any conceivable
> approach, wouldn’t you?
>

—-
Steven M. Miller
Professor, Contemporary Music Program
College of Santa Fe

Home < http://pubweb.csf.edu/~smill>
SFIFEM <
http://sfifem.csf.edu>
Atrium Sound Space <
http://atrium.csf.edu>
OVOS <
http://pubweb.csf.edu/~smill/ovos.html>
CMP <
http://www.csf.edu/csf/academics/cmp/index.html>

#112822

You must be logged in to reply to this topic.