Generates a random float value in beta distribution from lo
to hi
each time the trigger signal changes from nonpositive to positive values.
lo |
minimum value |
hi |
maximum value |
prob1, prob2 |
if prob1 & prob2 are less than 1, values tend towards lo & hi. if they are equal to 1, there is a linear random distribution. higher than 1, the distribution tends towards gaussian, with the possibility of a mean skewed towards the prob of the lowest value. |
trig |
trigger signal |