This commit is contained in:
Jade (Rose) Rowland 2025-03-24 00:33:00 -04:00
parent bfbd920b1d
commit 3eea908636
2 changed files with 5 additions and 2 deletions

View File

@ -2105,8 +2105,9 @@ export const linger = register(
/**
* Samples the pattern at a rate of n events per cycle. Useful for turning a continuous pattern into a discrete one.
* @param {number} segments number of segments per cycle
* @name segment
* @synonyms seg
* @param {number} segments number of segments per cycle
* @example
* note(saw.range(40,52).segment(24))
*/
@ -2487,7 +2488,8 @@ export const bypass = register(
/**
* Loops the pattern inside an `offset` for `cycles`.
* If you think of the entire span of time in cycles as a ribbon, you can grab a single piece and loop it.
* If you think of the entire span of time in cycles as a ribbon, you can cut a single piece and loop it.
* @name ribbon
* @synonym rib
* @param {number} offset start point of loop in cycles
* @param {number} cycles loop length in cycles

View File

@ -527,6 +527,7 @@ export const degradeByWith = register(
* @example
* s("[hh?0.2]*8")
* @example
* //beat generator
* s("bd").segment(16).degradeBy(.5).ribbon(16,1)
*/
export const degradeBy = register(