Generating a sequence, with controlled probability
Hi there guys,
I'm trying to explaing my core idea.
I'd like to generate a sequence (16 steps), that consist of 4 numbers, 1-2-3-4.
Is it possible to generate this randomly, but with, let's a say a 0-100% chance, per number?
I mean, if the chance of 1 is 100% and the chance for 2-3-4 is 0, it'd fill up all the 16 steps with 1s, but as soon as the chance of 2 increases to 50%, the end result will be a mix between 1 and 2.
Totally doable in Max
There's some good stuff here that will get you started http://www.algorithmiccomposer.com/
sadly all the patch examples are unavailable :(
it would be easy to generate that 16 numbers,
if you explain a bit better what that 4 percentages mean.
what if all are set to 0 % ?
or 1 0 0 0 , 77 44 92 16 ?
you say only choice is 1, 2, 3 or 4, so each member of that list must have
one of them inserted, means in case of 1 0 0 0
result would be 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
is that correct ?
Oh, yes, there is also 0!
So if all 4 percentage is 0, then everything is zero!
I don't understand what gets randomised
what relation do you need between 4 percentages and 16 list items ?
in this example (which should be done better)

one could say that 1 could occupy 5 list positions, 2 2, 3 none, and 4 8 positions.
then you gamble 5 times if that 5 positions for number 1 should be positive ,
means yes = use 1, or not = set it to zero and so on four times.
then you gamble which list position positive numbers should occupy.
or somethig else?
itable
Double_Ug:
That is amazing, almost there!