XML Feeds

.

[maxmsp] Re: Schmitt trigger

volker böhm vboehm at gmx.ch
Tue Dec 11 02:40:27 MST 2007


On 11 Dec 2007, at 04:56, Leafcutter John wrote:

>
> Thanks Peter,
>
> I've been trying to brush up on my signal domain chops and had  
> managed to completely overlook the thresh~ object.

hi john,

here is yet another solution using only standard objects.
i did this years ago for a project, before thresh~ came to live.
it's simplicity doesn't reflect the time it took me to come up with  
this solution...

-volker.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 295 101 71 196617 threshold;
#P comment 260 87 71 196617 high;
#P user ezdac~ 46 211 90 244 0;
#P newex 73 89 38 196617 sig~ 0;
#P flonum 73 65 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user scope~ 282 209 412 339 256 3 128 -1. 1. 0 0. 0 0. 102 255 51  
135 135 135 0;
#P newex 282 162 81 196617 thresh~ 0.2 0.5;
#P user scope~ 140 209 270 339 256 3 128 -1. 1. 0 0. 0 0. 102 255 51  
135 135 135 0;
#P flonum 257 100 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 219 100 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 20 74 304 338;
#P inlet 58 48 15 0;
#P inlet 139 46 15 0;
#P inlet 163 46 15 0;
#P outlet 58 180 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 104 99 45 196617 <=~ 0.2;
#P newex 58 99 45 196617 >=~ 0.5;
#P newex 58 138 56 196617 sah~ 0.5;
#P connect 6 0 1 0;
#P connect 1 0 0 0;
#P connect 0 0 3 0;
#P connect 4 0 1 1;
#P connect 6 0 2 0;
#P connect 2 0 0 1;
#P connect 1 0 0 1;
#P connect 5 0 2 1;
#P pop;
#P newobj 140 162 54 196617 p hyster~;
#P comment 225 87 71 196617 low;
#P comment 63 47 100 196617 input signal;
#P fasten 9 0 2 0 78 151 145 151;
#P fasten 9 0 6 0 78 142 287 142;
#P connect 4 0 2 2;
#P connect 4 0 6 2;
#P connect 3 0 2 1;
#P connect 3 0 6 1;
#P connect 6 0 7 0;
#P connect 8 0 9 0;
#P connect 2 0 5 0;
#P window clipboard copycount 13;



More information about the maxmsp mailing list