First time here? Check out the FAQ!

Random and probability

0 votes
Hi, im new on Kyma and i was trying to add gate proability per step and also random velocity per step.

Could somebody help me to do it?

Also where could i find this information?

thanks in advance
asked Oct 25, 2019 in General by matteo (140 points)

1 Answer

0 votes

Hi Matteo,

Go to Help: dropdown menu

Sellect CapyTalk and type random. 

You will get all sorst of hints in using randomness.

At the picture I selected Gate. 

Example sounds: 1 randomGate: !AverageDur s deviation: !Deviation s dutyCycle: !DutyCycle


answered Oct 26, 2019 by roland-kuit (Master) (3,290 points)
Check out today's CoD (CapyTalk of the Day - November 9).


I wish I'd known about this one years ago. Much more slick and more direct than my approach in which I create an array an populate it with enough duplicates of certain values to create the desired probabilities.