Help needed on how do to a simple thing.
Hey there!
I was just wondering is there an object that lets me input messages, and then bang them out in sequence with a metro one after another.
What I have is 8 coming from a 1d CA set up. These boxes are then either on or off depending on the state of the cell.
What I want to be able to do is read through the boxes from left to right at a certain tempo. Each box that is on would then trigger a sample. So its like sequencer.
It needs to be in between the CA and the samples though because if I directly connect the to the samples, on each new turn of the CA any cell that comes alive will play straight away.
Many thanks!
You could "nsub" them into a [coll] using [counter] to format some indices for the entries and then [pack]ing them together. Then you could use another [counter] to read through a seperate instantiation of your [coll]. You could try to display this using [matrixctrl]. Here's an example using the [matrixctrl] as a pattern generator.
lh
Wow that sounds complicated for what I want to do.
I dont have max 5, any chance of a 4.5 patch?
So theres no object that takes in messages in x amount of inlets and bangs them out in order at a given metro speed :/?
So if I had 0 0 0 1 1 0 1 0 going into 8 inlets of a object and then I had a metro connected to that object that would then bang out the 0, then 0, then 1, then 1, out another 8 outlets?
if it's always 8 numbers, i would just use pipe to do it. It's not that beautiful, but who cares:
In that case have a look at [zl queue].
lh
If you only need to read the inputs once, send a unique integer from each box (1 2 3 4 ...) into [zl queue]. Send a metro beat into [zl queue]. Send the output to [route 1 2 3 4 ...] and read the outputs there.
Sorry, I don't have 4.6 to give you a better example.
Michael
Here is a patch :
#P toggle 361 269 15 0;
#P toggle 342 269 15 0;
#P toggle 323 269 15 0;
#P toggle 304 269 15 0;
#P toggle 361 68 15 0;
#P toggle 342 68 15 0;
#P toggle 323 68 15 0;
#P toggle 304 68 15 0;
#P toggle 285 269 15 0;
#P toggle 266 269 15 0;
#P toggle 247 269 15 0;
#P toggle 228 269 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 228 234 144 196617 cycle 8;
#P newex 228 159 25 196617 iter;
#P newex 228 136 34 196617 t l b;
#P message 252 178 41 196617 zlclear;
#P toggle 285 68 15 0;
#P toggle 266 68 15 0;
#P toggle 247 68 15 0;
#P toggle 228 68 15 0;
#P newex 228 112 145 196617 pak 0 0 0 0 0 0 0 0;
#P button 154 141 15 0;
#P newex 228 206 45 196617 zl queue;
#B color 5;
#P connect 0 0 10 0;
#P fasten 1 0 0 0 159 195 233 195;
#P connect 7 0 0 0;
#P connect 8 1 7 0;
#P connect 8 0 9 0;
#P connect 9 0 0 0;
#P connect 6 0 2 3;
#P connect 5 0 2 2;
#P connect 4 0 2 1;
#P connect 3 0 2 0;
#P connect 2 0 8 0;
#P connect 10 0 11 0;
#P connect 10 1 12 0;
#P connect 10 2 13 0;
#P connect 10 3 14 0;
#P connect 10 4 19 0;
#P connect 10 5 20 0;
#P connect 10 6 21 0;
#P connect 10 7 22 0;
#P connect 15 0 2 4;
#P connect 16 0 2 5;
#P connect 17 0 2 6;
#P connect 18 0 2 7;
#P window clipboard copycount 23;