Forums > MaxMSP

compare and output

June 2, 2007 | 12:22 am

Ok I know this is a real easy one but my brain hurts. I need to output only if there is change in a stream of numbers. Not sure how clear that is…I’ve tried using
if $f1 != $f2 then set $f1
but thats not working, and I’ve been through the tutorials and as I’ve said my brain hurts.
Any help would be fantastic


June 2, 2007 | 12:43 am

colm skrev:
> Ok I know this is a real easy one but my brain hurts. I need to output only if there is change in a stream of numbers. Not sure how clear that is…I’ve tried using
> if $f1 != $f2 then set $f1
> but thats not working, and I’ve been through the tutorials and as I’ve said my brain hurts.
> Any help would be fantastic
>
>
[Change 0.]
You could alternatively use [bucket 2], [==] and a gate I guess…
Also, searching the reference manual for the word "change" might have
helped ;)

a.


June 2, 2007 | 12:49 am

thanks a million, I was doing just that when I saw yer reply. My brain now hurts less and thanks you
c


June 2, 2007 | 12:57 am

are you looking for something like the ‘change’ object?

On 6/1/07, colm

wrote:
>
> Ok I know this is a real easy one but my brain hurts. I need to output only if there is change in a stream of numbers. Not sure how clear that is…I’ve tried using
> if $f1 != $f2 then set $f1
> but thats not working, and I’ve been through the tutorials and as I’ve said my brain hurts.
> Any help would be fantastic
>
>


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