Randomize step help
i have a step module which has its number of steps modulated by another step to automate the no of steps. the problem is that when i randomize the step that is being modulated only the visible steps are randomized. when i set the no of steps higher than what it was when i randomized i notice they are not randomized at all. any ideas?
-
martignasse
- Site Admin
- Posts: 611
- Location: Lyon, FRANCE
- Contact:
Hi soundmind,
Why do you need two step module ?

This should do the trick ?
or maybe i missunderstood...
Why do you need two step module ?

This should do the trick ?
or maybe i missunderstood...
Martin FLEURENT - Usine Developer - SDK maintainer
yep , i suppose we need more details or a screenshot of your patch here...?
cause they're many way to do this kind of patch..
cause they're many way to do this kind of patch..
here mine :


Its very simple the problem is it only randomizes the steps that are currently visible (no of steps). I want to randomize the entire array no matter what number the no of steps is on. i want it to randomize the steps beyond the currently selected no of steps. A simple function but kind of hard to explain.

It works fine but the only problem i am having is the randomization. Thanks for the help.

It works fine but the only problem i am having is the randomization. Thanks for the help.
just an idea: use another step module that generates the max amount of random values. then extract a sub-array for the target step module.


an other way , if you don't use more than 16 steps :


-
martignasse
- Site Admin
- Posts: 611
- Location: Lyon, FRANCE
- Contact:
Ok, i see the problem.soundmind wrote:Its very simple the problem is it only randomizes the steps that are currently visible (no of steps). I want to randomize the entire array no matter what number the no of steps is on. i want it to randomize the steps beyond the currently selected no of steps.
When you click the random button, the array size of the second step is exactly what decided by the first step, no more.
So you have to make real what you call implicitly 'the entire array', and randomize that.

One of the key in usine patching is to separate data manipulation and data visualisation, it's often necessary
Hope it help.
Martin FLEURENT - Usine Developer - SDK maintainer
Thank you all for taking the time to figure this out. Martin your solution looks like the simplest.
thanks again to you all for your efforts.
I will keep that in mind. I have not thought of that before.martignasse wrote:One of the key in usine patching is to separate data manipulation and data visualisation, it's often necessary
thanks again to you all for your efforts.
Who is online
Users browsing this forum: No registered users and 83 guests
