Forums > MaxMSP

confused about fiddle~

February 3, 2009 | 8:14 pm

hi there

i am trying to use fiddle to detect if a signal is coming in from an adc or not. if there is no signal then the third outlet should equal 0, if there is a signal then the third outlet number goes up to about 50. i used a < object to send a bang if there is a signal but the bang keeps flashing all the time whereas i just want it to bang if the signal changes from 0....

the patch i am using is enclosed

can anyone tell me what i am doing wrong?

i’m using max 4.5
many thanks


February 3, 2009 | 8:37 pm

Quote: slatepipe wrote on Tue, 03 February 2009 12:14
—————————————————-
> hi there
>
> i am trying to use fiddle to detect if a signal is coming in from an adc or not. if there is no signal then the third outlet should equal 0, if there is a signal then the third outlet number goes up to about 50. i used a < object to send a bang if there is a signal but the bang keeps flashing all the time whereas i just want it to bang if the signal changes from 0....

try putting a change object and a "sel 1" after your > object.

mz


February 3, 2009 | 8:47 pm

hi

thats great!

i put a bang from the middle outlet of the change object and i didnt even need the sel 1 thing

thanks for your help


February 3, 2009 | 8:51 pm

FWIW, [edge~] fits the bill perfectly here…


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