Welcome to %s forums

BrainModular Users Forum

Login Register

create a linear random

I need help on a Patch
Post Reply
joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 16 Jun 2011, 09:55

Hello

i'd like to make a patch witch use random to increment a value.
for example i start at 0 to arrive to 1 but i want to choose value between everytime in the same direction (value 2 smaller than value 1 but greater than value 2)
i want to arrive to a serie like 0; 0,04 ; 0.09 ; 0.12 ; 0,23 ; 0,26...
that is difficult is the next value must be relativly close than the previous
the last thing is the serie must start by 0
thanks for your help

joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 16 Jun 2011, 10:00

i think i find a solution with sort array !!!
i keep this post for who is interested ;)

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

Unread post by nay-seven » 16 Jun 2011, 10:23

maybe a little screenshot to show the solution you've found..?

joffo78
Member
Posts: 1033
Contact:

Unread post by joffo78 » 16 Jun 2011, 11:09

very simple in fact :
Image

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

Unread post by nay-seven » 16 Jun 2011, 14:25

thanks !

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests