add autogenerated api doc to bottom of tutorial

This commit is contained in:
Felix Roos 2022-05-20 21:56:55 +02:00
parent b50daed0d0
commit f2a70396d1
6 changed files with 1477 additions and 215 deletions

View file

@ -24,6 +24,7 @@ const euclid = (pulses, steps, rotation = 0) => {
* Euclidian rhythms are really useful for computer/algorithmic music because they can accurately
* describe a large number of rhythms used in the most important music world traditions.
*
* @memberof Pattern
* @param {number} pulses the number of onsets / beats
* @param {number} steps the number of steps to fill
* @param {number} rotation (optional) offset in steps