XML Feeds

.

[maxmsp] Re: trigger event from soundfile

Frans-Jan Wind fjw at ision.nl
Sat Dec 1 11:23:59 MST 2007


I found John's solution inspiring to change a patch I use often. In this patch I translate the cycle of a phasor~ to 8th parts from which I can sync non audio objects. It works good for finding all milisecs but the zero. I can solve this by entering a number slightly higher (0.0001) but taht;s a bit off beat...

Maybe one knows how to find the zero?

max v2;
#N vpatcher 1211 253 1415 486;
#P window setfont "Sans Serif" 9.;
#P number 38 177 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 80 102 55 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 38 126 36 196617 edge~;
#N counter 0 0 7;
#X flags 0 0;
#P newobj 38 149 71 196617 counter 0 0 7;
#P newex 38 102 39 196617 >=~ 0.;
#N coll ;
#T flags 1 0;
#T 0 0.0001;
#T 1 0.125;
#T 2 0.25;
#T 3 0.375;
#T 4 0.5;
#T 5 0.625;
#T 6 0.75;
#T 7 0.875;
#P newobj 67 76 53 196617 coll;
#P newex 38 49 70 196617 phasor~ 0.92;
#P connect 0 0 2 0;
#P connect 2 0 4 0;
#P connect 4 0 3 0;
#P connect 3 0 6 0;
#P fasten 3 0 1 0 43 171 140 171 140 71 72 71;
#P connect 1 0 2 1;
#P connect 1 0 5 0;
#P pop;

Thanks for reading!


More information about the maxmsp mailing list