extracting clock without using sync~ ?

Apr 3, 2006 at 12:33pm

extracting clock without using sync~ ?

Hello max/mspers,

I’m trying to extract from rtin the ticks so I can create a clock for
use in non-audio patches. I know how to create clock via phasor~ but I
would prefer to have clock information on the data path instead of on
the audio path. This primarily because i want to clock 80 different
modules together and if I use audio paths the processor just goes
“clunk”. I figure if I can extract a metro/counter from the rtin, then I
have what I need to map my sequencers and LFO’s.

here is my example patch with the clock on the data path vs. signal
path; I kinda feel like I am “hacking” at it with a hammer. As you can
see there is a weird inconsistency in the clock rates from both paths –
and I can’t tell why it occurs – could someone help me to understand how
I could extract ’248′ messages and make them into an accurate metro or
counter? I would be most grateful.

Or am I forced to use the signal path? If so, what would be a smart way
to get clock, and divide it into segments for all my sub modules without
creating dozens of signal connections?

Haven’t found anything directly helpful on this subject in the archives:

thanks in advance,
seb.

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 555 32 20 196617 47;
#P message 527 32 20 196617 23;
#P message 497 32 20 196617 11;
#P message 460 32 14 196617 5;
#P flonum 377 263 125 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 377 237 52 196617 timer;
#P number 439 68 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 365 94 13 0;
#P button 377 182 38 0;
#P button 323 94 13 0;
#P newex 323 68 55 196617 route 248;
#N counter 23;
#X flags 0 0;
#P newobj 323 140 66 196617 counter 23;
#P button 133 182 38 0;
#P flonum 133 263 125 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 63 36 35 196617 rtin b;
#P newex 63 140 150 196617 sync~;
#P newex 133 237 52 196617 timer;
#P comment 478 69 100 196617 set length;
#P connect 17 0 11 0;
#P connect 16 0 11 0;
#P connect 15 0 11 0;
#P connect 14 0 11 0;
#P connect 11 0 10 0;
#P connect 11 0 6 4;
#P connect 9 0 12 0;
#P connect 9 0 12 1;
#P connect 5 0 1 0;
#P connect 5 0 1 1;
#P connect 10 0 6 3;
#P connect 6 3 9 0;
#P connect 8 0 6 0;
#P connect 3 0 2 0;
#P fasten 3 0 7 0 68 62 328 62;
#P connect 7 0 8 0;
#P connect 12 0 13 0;
#P connect 1 0 4 0;
#P connect 2 1 5 0;
#P window clipboard copycount 18;

#25205

You must be logged in to reply to this topic.