Documents
Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

random()

Provides a pseudo random number generator. Each time this function is called, another random number will be returned.

Function Prototype

random(minimum, maximum)

Arguments

Argument Name Data Type Description
minimum Integer Number The smallest number of allowed value range (including this value).
[required]
maximum Integer Number The highest number of allowed value range (including this value).
[required]

Return Value

Description Data Type
Next random number within the requested value range. Integer Number

Examples

Document Updated:  2016-07-09  |  Author:  Christian Schoenebeck