irand
  1. n

A continuous pattern of random integers, between 0 and n-1.

// randomly select scale notes from 0 - 7 (= C to C)
n(irand(8)).struct("x x*2 x x*3").scale("C:minor")
parametertype
n
  • number
max value (exclusive)
mentioned in (1)