jevstrudel.git / website / src / pages / learn / time-modifiers.mdx
time-modifiers.mdx117 lines · 2.0 KB · raw
1---
2title: Time Modifiers
3layout: ../../layouts/MainLayout.astro
4---
5
6import { MiniRepl } from '../../docs/MiniRepl';
7import { JsDoc } from '../../docs/JsDoc';
8
9# Time Modifiers
10
11The following functions modify a pattern temporal structure in some way.
12Some of these have equivalent operators in the Mini Notation:
13
14| function               | mini         |
15| ---------------------- | ------------ |
16| `"x".slow(2)`          | `"x/2"`      |
17| `"x".fast(2)`          | `"x*2"`      |
18| `"x".euclid(3,8)`      | `"x(3,8)"`   |
19| `"x".euclidRot(3,8,1)` | `"x(3,8,1)"` |
20
21## slow
22
23<JsDoc client:idle name="Pattern.slow" h={0} />
24
25## fast
26
27<JsDoc client:idle name="Pattern.fast" h={0} />
28
29## early
30
31<JsDoc client:idle name="Pattern.early" h={0} />
32
33## late
34
35<JsDoc client:idle name="Pattern.late" h={0} />
36
37## clip / legato
38
39<JsDoc client:idle name="clip" h={0} />
40
41## euclid
42
43<JsDoc client:idle name="Pattern.euclid" h={0} />
44
45### euclidRot
46
47<JsDoc client:idle name="Pattern.euclidRot" h={0} />
48
49### euclidLegato
50
51<JsDoc client:idle name="Pattern.euclidLegato" h={0} />
52
53## rev
54
55<JsDoc client:idle name="Pattern.rev" h={0} />
56
57## palindrome
58
59<JsDoc client:idle name="palindrome" h={0} />
60
61## iter
62
63<JsDoc client:idle name="Pattern.iter" h={0} />
64
65### iterBack
66
67<JsDoc client:idle name="Pattern.iterBack" h={0} />
68
69## ply
70
71<JsDoc client:idle name="ply" h={0} />
72
73## segment
74
75<JsDoc client:idle name="segment" h={0} />
76
77## compress
78
79<JsDoc client:idle name="compress" h={0} />
80
81## zoom
82
83<JsDoc client:idle name="zoom" h={0} />
84
85## linger
86
87<JsDoc client:idle name="linger" h={0} />
88
89## fastGap
90
91<JsDoc client:idle name="fastGap" h={0} />
92
93## inside
94
95<JsDoc client:idle name="inside" h={0} />
96
97## outside
98
99<JsDoc client:idle name="outside" h={0} />
100
101## cpm
102
103<JsDoc client:idle name="cpm" h={0} />
104
105## ribbon
106
107<JsDoc client:idle name="ribbon" h={0} />
108
109## swingBy
110
111<JsDoc client:idle name="swingBy" h={0} />
112
113## swing
114
115<JsDoc client:idle name="swing" h={0} />
116
117Apart from modifying time, there are ways to [Control Parameters](/functions/value-modifiers/).