On Thu, Nov 01, 2007 at 05:13:32PM +0100, Roman Haefeli wrote: > hi javier > > i am not quite sure, if i understand what you would like to achieve. and > reading your patch still doesn't help me somehow. do you want to get an > alternating output, switching between 0 and 1, on each metro tick? > > like this: > > [metro 1000] > | > [== ]X[f ] > > ? > > roman
greate little patch, Roman! i just made a little test patch to see if this is faster then a standard counter approach with [mod 2] .. have look what you think about it .. (in the attachmetn) i couldn't actually quite get why [==]X[f] behave exactly this way .. it's cool. > > > > On Thu, 2007-11-01 at 16:50 +0100, Javier Garcia wrote: > > Hi, > > > > the patch that is attached should do a loop between 0 and 1. > > > > someone knows why it doesnt work? > > > > I tried with several delays, but nothing... > > > > br. > > GARFF > > > > > > > > ___________________________________________________________ > Der fr?he Vogel f?ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: > http://mail.yahoo.de > > > _______________________________________________ > PD-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list
#N canvas 320 288 618 421 10; #X obj 62 155 metro; #X floatatom 92 139 5 0 0 0 - - -; #X obj 41 140 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1; #X obj 268 155 f; #X floatatom 310 172 5 0 0 0 - - -; #X obj 209 172 ==; #X obj 130 172 f; #X floatatom 94 251 5 0 0 0 - - -; #X obj 94 189 + 1; #X obj 94 224 mod 2; #X obj 228 241 sel 1; #X obj 268 241 sel 1; #X obj 336 258 timer; #X floatatom 336 281 5 0 0 0 - - -; #X obj 391 258 realtime; #X floatatom 391 281 5 0 0 0 - - -; #X connect 0 0 5 0; #X connect 0 0 6 0; #X connect 1 0 0 1; #X connect 2 0 0 0; #X connect 3 0 4 0; #X connect 3 0 5 1; #X connect 3 0 11 0; #X connect 5 0 3 0; #X connect 6 0 8 0; #X connect 8 0 6 1; #X connect 8 0 9 0; #X connect 9 0 7 0; #X connect 9 0 10 0; #X connect 10 0 12 0; #X connect 10 0 14 0; #X connect 11 0 12 1; #X connect 11 0 14 1; #X connect 12 0 13 0; #X connect 14 0 15 0;
_______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list