mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-26 04:58:27 +00:00
doc: begin end
This commit is contained in:
parent
4b083d6f81
commit
c4b482634f
@ -147,10 +147,12 @@ const generic_params = [
|
|||||||
/**
|
/**
|
||||||
* a pattern of numbers from 0 to 1. Skips the beginning of each sample, e.g. `0.25` to cut off the first quarter from each sample.
|
* a pattern of numbers from 0 to 1. Skips the beginning of each sample, e.g. `0.25` to cut off the first quarter from each sample.
|
||||||
*
|
*
|
||||||
|
* @memberof Pattern
|
||||||
* @name begin
|
* @name begin
|
||||||
* @param {number | Pattern} amount between 0 and 1, where 1 is the length of the sample
|
* @param {number | Pattern} amount between 0 and 1, where 1 is the length of the sample
|
||||||
* @example
|
* @example
|
||||||
* s("rave").begin("<0 .25 .5 .75>").osc()
|
* samples({ rave: 'rave/AREUREADY.wav' }, 'github:tidalcycles/Dirt-Samples/master/')
|
||||||
|
* s("rave").begin("<0 .25 .5 .75>").out()
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
[
|
[
|
||||||
@ -159,12 +161,13 @@ const generic_params = [
|
|||||||
'a pattern of numbers from 0 to 1. Skips the beginning of each sample, e.g. `0.25` to cut off the first quarter from each sample.',
|
'a pattern of numbers from 0 to 1. Skips the beginning of each sample, e.g. `0.25` to cut off the first quarter from each sample.',
|
||||||
],
|
],
|
||||||
/**
|
/**
|
||||||
* The same as {@link begin}, but cuts off the end off each sample.
|
* The same as .begin, but cuts off the end off each sample.
|
||||||
*
|
*
|
||||||
|
* @memberof Pattern
|
||||||
* @name end
|
* @name end
|
||||||
* @param {number | Pattern} length 1 = whole sample, .5 = half sample, .25 = quarter sample etc..
|
* @param {number | Pattern} length 1 = whole sample, .5 = half sample, .25 = quarter sample etc..
|
||||||
* @example
|
* @example
|
||||||
* s("bd*2,ho*4").end("<.1 .2 .5 1>").osc()
|
* s("bd*2,ho*4").end("<.1 .2 .5 1>").out()
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
[
|
[
|
||||||
|
|||||||
@ -367,6 +367,10 @@ The sampler will always pick the closest matching sample for the current note!
|
|||||||
|
|
||||||
## Sampler Effects
|
## Sampler Effects
|
||||||
|
|
||||||
|
{{ 'Pattern.begin' | jsdoc }}
|
||||||
|
|
||||||
|
{{ 'Pattern.end' | jsdoc }}
|
||||||
|
|
||||||
{{ 'Pattern.loopAt' | jsdoc }}
|
{{ 'Pattern.loopAt' | jsdoc }}
|
||||||
|
|
||||||
{{ 'Pattern.chop' | jsdoc }}
|
{{ 'Pattern.chop' | jsdoc }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user