#N canvas 3 62 1914 985 12;
#X obj 39 355 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 39 259 metro_pat 120 2;
#X text 37 18 metro_pat: \; \; Takes all the available patterns \,
given a beat_length \, ex 1/4=4 beats in a measure \, so 2^4 patterns.
\; \; Allows the user to select the pattern \, via scaled hslider.
\; \; Converts that value to binary. \; \; Then \, on the metro \,
if the value at that idx (via list-idx) (as tabulated by a running
counter for the total number of beats) ==1 \, sends the bang. \; \;
note: rnd_pat changes the value only \, i.e. not the hslider.;
#X text 479 22 creat_args: \; \$1:bpm \; \$2:beat length[0..4]=[1 \,
1/2 \, 1/4 \, 1/8 \, 1/16] \; \; inlets: \; 1:off|on \; 2:bpm \; 3:beat_length[0..4]
\; 4:pattern number \; 5:rnd_pat(any input triggers it);
#X connect 1 0 0 0;
