From 16aeb7e12c4894360fffc7c01c57890e130bb9de Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Mon, 12 Jun 2023 23:11:07 +0200 Subject: [PATCH] docs: update clip entry --- packages/core/controls.mjs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/core/controls.mjs b/packages/core/controls.mjs index c4044d4a..bbada1da 100644 --- a/packages/core/controls.mjs +++ b/packages/core/controls.mjs @@ -749,13 +749,14 @@ const generic_params = [ ['val'], ['cps'], /** - * If set to 1, samples will be cut to the duration of their event. - * In tidal, this would be done with legato, which [is about to land in strudel too](https://github.com/tidalcycles/strudel/issues/111) + * 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 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 - * @param {number | Pattern} active 1 or 0 + * @param {number | Pattern} factor >= 0 * @example - * note("c a f e ~").s("piano").clip(1) + * note("c a f e").s("piano").clip("<.5 1 2>") * */ ['clip'],