report ascending or descending floats?
Does anyone know of an object that will route, gate, report or somehow differentiate between a stream of ascending or descending floating point numbers?
change 0. + and change 0. - maybe?
Thanks Patrick, you’re right I needed a combination of Change 0.+ and 0. -, pack and route
[if $f1>$f2 then 1 else 0] or [if $f1>$f2 then $f1 else out2 $f1], simply connect input to both inlets of [if].
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?
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).
----------begin_max5_patcher---------- 490.3oc0U1sSCCBEG+51mBBwKmFf18gdgOFdiwXXqzMLcvxJKNcYu6BGZ2pl YKNMU8Fn8.b3+4GGNrKNBOUuUThQ2ftGEEsKNJBL4LDU8eDdIe6rBdILMrQO edg.OvOjdioPXLurR38AVpLXzCUitZsnTnLbiTqdbsXlwOojQiuhL.wRItt5 lCqRlAajd5SWRSp2nUbyrER07FtgMYh2MWCcj51CNRsYoTYkGHb5QidQ6s5L tON10LHPBnDOa0VsvLhsFOXP4n7OkK4EZtAOn9itPTJYjKbnjtQTZaH55TvM zDWWB6pgVDQa3nbsxn3KAUhuSrNiq331vmaAkxWgEPYVudJpx94n5s13Nrjs lLYT2oMzI.US7ohmESXeElbNYZek6ZMCeVKg+H+skgo+iuzzLVIsDqigvixf PlZqS72M82FgVmzMIlxUyOIHZqRIcBCNmgD+gjyOi+2pJfLGcQN81KxYHyBg BQQhhRAh7o75z4JscsvWTXrOUo51Q+VU.1JbgT8wGjA45r+dvUp2rdVc.WkB fNJ3LQoQpfGVZLG2yEMlzBYVl.FuVeKkYqz1JKUZ.8vIOECURtJwcqoj9USo gnImvo8qlngnodjSgfIV+JIRHZpeO4Hgbx0qTJn5.jugjr+rO9M.4V7ywC -----------end_max5_patcher-----------
I see now. Thanks for your help