Page 1 of 1
Posted: 03 Nov 2010, 03:20
by soundmind
I am in need of help from a matrix master. What I am trying to do is take one matrix of a 8*8 length and to "concat" it into another matrix of 32*8 so that each copy of the first matrix sits consecutively one after the other within the second. To do this with a simple array is quite easy by just using the concat module but trying this with the matrix yields different results and I have not determined how to duplicate the pattern horizontally. It appears to progresses from top to bottom when concating? Any advices are welcome. Thanks.
Posted: 03 Nov 2010, 10:49
by soundmind
After dissecting the example get and set patches included in the matrix pack I have found a solution. But unfortunately every duplicated col requires a separate patch. Anyone know how to make the matrix behave as if it was numbered vertically so concated matrices will line up horizontally?
Posted: 03 Nov 2010, 10:53
by nay-seven
yes, i was ready to post about those examples..,( curious to see how you solve this btw ) but i suppose a script is needed here to simplify the process but can't help with this ..i suppose 23fx is the matrix script boss...

Posted: 03 Nov 2010, 11:01
by soundmind
Thanks for the interest,
Here is the wkp. My main concern is the amount of patches needed to accomplish this when it works perfectly fine when concating vertically.
Posted: 03 Nov 2010, 11:23
by nay-seven
whaoo, congrats ! really well done, I've to study that
thanks to share
Posted: 03 Nov 2010, 13:48
by martignasse
hi soundmind,
soundmind wrote:Thanks for the interest,
Here is the wkp. My main concern is the amount of patches needed to accomplish this when it works perfectly fine when concating vertically.
Unfortunatly, datas are stored by row in the matrix array, resulting in more operation complex when manipulating row length. If it was stored by col, it would be more simple for row, but more complex for col
here a little simplification with same result
but this is clearly a job to do by script, witch can make this task easily modular and expendable in addition of eating less CPU.
hope it help
Posted: 03 Nov 2010, 19:38
by soundmind
That looks a lot simpler. Thanks for the help. I have not even started to understand how to script in usine yet but I will soon try. In the meantime maybe the script boss can help.
Posted: 03 Nov 2010, 19:52
by 23fx23
sorry i missed the post.
im not the script boss lol, martin, bsork or senso are, but ive played for a while with matrix and scripts, as martignasse was
right, scripting comes soon necessary with mx manipulations, as the example above.
i run out of time for now, but maybe i can make a script that do this as exemple for tomorrow evening..could help?
Posted: 03 Nov 2010, 20:17
by martignasse
hehe,
here it is
not fully tested, but work well for what you need.
Posted: 03 Nov 2010, 20:25
by soundmind
martignasse,
thanks for all the help. I have not tested the script yet but in your patch simplification I have gotten great results. Ive discovered that using the swap array i can fully rotate the matrix. For virtical "flip" I use the "get col" method and for horizontal "swap" use the "get row". I will check the script.
Posted: 03 Nov 2010, 20:30
by 23fx23
Hehe speedy martin gonzales.

Posted: 03 Nov 2010, 20:31
by nay-seven
love your script Martin , hypnotic !
Posted: 03 Nov 2010, 20:39
by soundmind
martin you mastered it with that script! thanks a lot. I especially like the user definable matrix size. Now this can be adapted for any purpose. great job!
Posted: 03 Nov 2010, 21:11
by martignasse
@soundmind:
yep, it's the power of scripting vs patching, make things really modular and expandable
@nay-seven:
haha, can't imagine what you'll do with this script
@23fx23:
...when i'm not to short in time...
Posted: 04 Nov 2010, 09:03
by nay-seven
yep, martin,
a little idea here
A wavefile triggering counters, random pitch, colors and colomn/row number of the matrix.......sixties visual effect....
Posted: 04 Nov 2010, 17:26
by martignasse
i just can say... WOooOW
like the soundtrack too
