report ascending or descending floats?

Apr 3, 2012 at 10:19am

report ascending or descending floats?

Hello,

Does anyone know of an object that will route, gate, report or somehow differentiate between a stream of ascending or descending floating point numbers?

Thanks,

Tom

#62744
Apr 3, 2012 at 10:31am

change 0. + and change 0. - maybe?

p

#226542
Apr 3, 2012 at 11:37am

Thanks Patrick, you’re right I needed a combination of Change 0.+ and 0. -, pack and route

#226543
Apr 3, 2012 at 2:20pm

[if $f1>$f2 then 1 else 0] or [if $f1>$f2 then $f1 else out2 $f1], simply connect input to both inlets of [if].

-110

#226544
Apr 3, 2012 at 5:07pm

Thanks Roman but those if statements don’t work for me. I did try them before posting as it seemed the most logical way. Have you had success with this?

#226545
Apr 4, 2012 at 3:21pm

It does work, but the floats have to be sent in the right order. Here is Roman’s idea and something even simplier (as often, there are many ways to do one thing).

– Pasted Max Patch, click to expand. –
#226546
Apr 5, 2012 at 11:31am

I see now. Thanks for your help

#226547

You must be logged in to reply to this topic.