mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-25 04:28:30 +00:00
docs: update clip entry
This commit is contained in:
parent
b4cbec173b
commit
16aeb7e12c
@ -749,13 +749,14 @@ const generic_params = [
|
|||||||
['val'],
|
['val'],
|
||||||
['cps'],
|
['cps'],
|
||||||
/**
|
/**
|
||||||
* If set to 1, samples will be cut to the duration of their event.
|
* Multiplies the duration with the given number. Also cuts samples off at the end if they exceed the duration.
|
||||||
* In tidal, this would be done with legato, which [is about to land in strudel too](https://github.com/tidalcycles/strudel/issues/111)
|
* In tidal, this would be done with legato, [which has a complicated history in strudel](https://github.com/tidalcycles/strudel/issues/111).
|
||||||
|
* For now, if you're coming from tidal, just think clip = legato.
|
||||||
*
|
*
|
||||||
* @name clip
|
* @name clip
|
||||||
* @param {number | Pattern} active 1 or 0
|
* @param {number | Pattern} factor >= 0
|
||||||
* @example
|
* @example
|
||||||
* note("c a f e ~").s("piano").clip(1)
|
* note("c a f e").s("piano").clip("<.5 1 2>")
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
['clip'],
|
['clip'],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user