Libraries

This page briefly describes all available library functions.

Chord

Core

The Core library defines some handy low level functions:

  rl(LIST): return a random item from the given list
  rr(MIN, MAX): return a random number from the given range
  ntf(NOTE): return frequency of midi note number NOTE

Dsp:Adsr

Attack / Decay / Sustain / Release module.

This module generates an envelope amplitude between 0.0 and 1.0. When the vel argument is set to >0 the envelope generator will start (note on), when vel is set to zero, the generator will go to the decay phase and fall down to zero amplitude (note off)