Forums > MaxMSP

Controlling erratic values

May 9, 2009 | 4:11 pm

Hi.

Can anyone tell me what the object is called that monitors a stream of data and excludes any values that are ‘erratic’ based on set limits?

Cheers all


May 9, 2009 | 4:32 pm

Depends on what you mean by monitoring a stream of data, but for integers and floats, ‘split’ does this within user-set minimum/maximum limits. There’s also maximum and minimum. You can also use ‘if then’ statements(although it will show up as a having a bad expression, type ‘if then’ in a new object then click help-file), and you can also set up your own network of ‘< ', '>‘, ‘==’, ‘< =', and '=>‘ objects. For signals, there’s the signal versions of the comparison ops(‘< ~', etc.) or also maximum~ and minimum~. (You can also use thresh~ in tandem with sah~.)


May 9, 2009 | 6:12 pm

There’s an object called [lbyl] (look before you leap) that’s available for download from the link below. It can be used to ignore values that jump too far unless they are repeated a certain number of times. You might find it useful.

lh

http://cnmat.berkeley.edu/downloads


May 9, 2009 | 6:58 pm

Ahh yes that’s what I was looking for. Forgot that it was a CNMAT object.

Thanks!


May 10, 2009 | 4:35 pm

another useful object for this type of thing is "slide".


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