[PD] [arduino] object & analog inputs

info at timvets.net info at timvets.net
Sat Feb 28 18:08:15 CET 2009


> thanks matju
>
>
>> So when you output an y, you also need to set a pair of [moses] so that
>> it
>> can find numbers outside of the interval y-c < x < y+c, or equivalently,
>> abs(x-y) < c, where c is the minimum amount of change that you want to
>> hear
>> about.
>>
>
> I did it in with:
>
> #N canvas 0 0 450 300 10;
> #X obj 38 -73 delta;
> #X obj 37 -50 abs;
> #X obj 141 -72 sel 1;
> #X obj 94 -96 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
> -1;
> #X obj 40 -100 change;
> #X obj 94 -63 f;
> #X obj 98 -30 outlet;
> #X obj 40 -127 inlet;
> #X obj 179 -126 inlet;
> #X obj 141 -94 >= \$1;
> #X connect 0 0 1 0;
> #X connect 1 0 9 0;
> #X connect 2 0 3 0;
> #X connect 3 0 5 0;
> #X connect 4 0 0 0;
> #X connect 4 0 5 1;
> #X connect 5 0 6 0;
> #X connect 7 0 4 0;
> #X connect 8 0 9 1;
> #X connect 9 0 2 0;
>
>
> is that what you meant?
>
>
> salut
oops, that should be [t f f] ofcourse :)
see this attachment, ignore previous
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: analoginputfilter_arduino.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090228/4d2111b7/attachment.asc>


More information about the Pd-list mailing list