Welcome to %s forums

BrainModular Users Forum

Login Register

Randomize step help

I need help on a Patch
Post Reply
soundmind
Member
Posts: 236
Contact:

Unread post by soundmind » 01 Jan 2010, 20:20

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:

Unread post by martignasse » 01 Jan 2010, 21:23

Hi soundmind,

Why do you need two step module ?

Image
This should do the trick ?

or maybe i missunderstood...
Martin FLEURENT - Usine Developer - SDK maintainer

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 01 Jan 2010, 21:48

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..

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 01 Jan 2010, 21:54

here mine :
Image

soundmind
Member
Posts: 236
Contact:

Unread post by soundmind » 02 Jan 2010, 01:14

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.
Image
It works fine but the only problem i am having is the randomization. Thanks for the help.

amiga909
Member
Posts: 324
Contact:

Unread post by amiga909 » 02 Jan 2010, 10:33

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.
Image

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 02 Jan 2010, 10:57

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

martignasse
Site Admin
Posts: 611
Location: Lyon, FRANCE
Contact:

Unread post by martignasse » 02 Jan 2010, 11:09

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.
Ok, i see the problem.
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.

Image

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

soundmind
Member
Posts: 236
Contact:

Unread post by soundmind » 02 Jan 2010, 11:37

Thank you all for taking the time to figure this out. Martin your solution looks like the simplest.
martignasse wrote:One of the key in usine patching is to separate data manipulation and data visualisation, it's often necessary ;)
I will keep that in mind. I have not thought of that before.

thanks again to you all for your efforts.

Post Reply

Who is online

Users browsing this forum: No registered users and 83 guests