random-envelope

(random-envelope duration interval whole-number? . random-args)


Description:

Creates a random envelope of duration with as many points as intervals in duration.  random-args are the usual arguments to supply to the random function


Arguments:

       duration -- duration of envelope in beats

       interval -- interval between each point in beats

  whole-number? -- do we want to round all results to whole-numbers

    random-args -- any arguments that should be sent to the random function


Returns: envelope


Examples:

(random-envelope 4.0 0.25 #t 60 72)



Back to index