-
Notifications
You must be signed in to change notification settings - Fork 0
/
tidal-cheat-sheet.tex
315 lines (291 loc) · 9.64 KB
/
tidal-cheat-sheet.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
\documentclass[10pt,landscape]{article}
\usepackage{multicol}
\usepackage{calc}
\usepackage{ifthen}
\usepackage[landscape]{geometry}
\usepackage{amsmath,amsthm,amsfonts,amssymb}
\usepackage{color,graphicx,overpic}
\usepackage{hyperref}
\usepackage[T1]{fontenc}
\pdfinfo{
/Title (tidal-cheat-sheet.pdf)
/Creator (TeX)
/Producer (pdfTeX 1.40.0)
/Author (Jo Kroese)
/Subject (Tidal Cycles)
/Keywords (tidal, cycles, live, coding)}
% This sets page margins to .5 inch if using letter paper, and to 1cm
% if using A4 paper. (This probably isn't strictly necessary.)
% If using another size paper, use default 1cm margins.
\ifthenelse{\lengthtest { \paperwidth = 11in}}
{ \geometry{top=.5in,left=.5in,right=.5in,bottom=.5in} }
{\ifthenelse{ \lengthtest{ \paperwidth = 297mm}}
{\geometry{top=1cm,left=1cm,right=1cm,bottom=1cm} }
{\geometry{top=1cm,left=1cm,right=1cm,bottom=1cm} }
}
% Turn off header and footer
\pagestyle{empty}
% Redefine section commands to use less space
\makeatletter
\renewcommand{\section}{\@startsection{section}{1}{0mm}%
{-1ex plus -.5ex minus -.2ex}%
{0.5ex plus .2ex}%x
{\normalfont\large\bfseries}}
\renewcommand{\subsection}{\@startsection{subsection}{2}{0mm}%
{-1explus -.5ex minus -.2ex}%
{0.5ex plus .2ex}%
{\normalfont\normalsize\bfseries}}
\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{0mm}%
{-1ex plus -.5ex minus -.2ex}%
{1ex plus .2ex}%
{\normalfont\small\bfseries}}
\makeatother
% Define BibTeX command
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
% Don't print section numbers
\setcounter{secnumdepth}{0}
\setlength{\parindent}{0pt}
\setlength{\parskip}{0pt plus 0.5ex}
%My Environments
\newtheorem{example}[section]{Example}
% -----------------------------------------------------------------------
\newcommand{\begintabler}{\begin{tabular}{p{0.25\columnwidth}p{0.7\columnwidth}}} \newcommand{\finishtabler}{\end{tabular}}
\begin{document}
\raggedright
\footnotesize
\begin{multicols}{3}
% \begin{center}
% \Large{Tidal} \\
% \end{center}
\section{Basics}
\begintabler
make sound
& d1 sound "bd" \\
& or ~~~~~ s "bd"\\
different sample
& bd:1 \\
& or ~ \# n "1"\\
& or \$ n "0 2" \# sound "arpy"\\
compile: one line
& shift + enter\\
compile: multi-line
& ctrl + enter\\
patterns
& "bd sd" bd*4 bd/4 \\
& "[bd hh] sd" (can nest) \\
& or bd hh . sd (easier to type) \\
layering
& [bd bd, hh sd hh] \\
different each cycle
& "bd <arpy:0 arpy:3>" \\
make quiet
& d1 silence solo\\
& \$ d1 mapM (\$ silence)[d1,d2,d3] \\
& hush\\
* / on groups
& [bd sd]*2 cp \\
& if you don't get through a whole subpattern in a cycle, it will start where it left off with the next one.\\
& Imagine each group is a little tape loop that plays while it is its turn\\
polyrhythms
& \{bd hh cp\}\%4\\
Bjorkland
& bd(5,8) or bd(5,8,1)\\
& bd([5,3]/2,8) \\
& e 5 8 \\
Tempo
& cps 1 cps (140/60/4)
\finishtabler
\section{Functions}
\subsection{Pattern Transformers}
Unless otherwise stated, between \$ ... \$
\subsubsection{Deterministic}
\begintabler
brak &squash every other cycle to fit $1/2$ a cycle, and offset it by a $1/4$ of a cycle\\
fast, slow &fast 2\\
fit &\\
iter &\\
jux (and juxBy) &jux (rev) ~ applies function to RH only. juxBy 0.5 brings 0.5 closer to centre\\
linger &linger 0.25 repeats first $1/4$ cycle\\
Beat rotation &0.25 <$\sim$ ~ shifts pattern $1/4$ cycle\\
% palindrome &= every 2 (rev) \\
rev &rev\\
smash &\\
spread &\\
toScale &\\
trunc & trunc 0.75 ~ plays first $3/4$ of cycle\\
zoom & zoom (0.25, 0.75) ~ plays the section from 0.25 to 0.75 of cycle over time period of original pattern\\
\finishtabler
\subsubsection{Stochastic}
\begintabler
% degrade &removes events from a pattern 50\%\\
degradeBy & degradeBy 0.9 removes events from pattern 90\%\\
scramble &scramble 2 sampling with replacement\\
shuffle & shuffle 2 sampling without replacement\\
\finishtabler
\subsection{Sample}
\begintabler
loopAt & loopAt 4 makes sample fit the given number of cycles\\
gap &\\
chop & chop 16 ~ granulator ~ granualizes every sample in order\\
striate & striate 16 ~ granulator ~ interlaces all samples together striate' 32 (1/16)\\
striateL & striateL' 3 0.125 4 loops each sample chunk a number of times (2nd arg), loop count is 3rd arg\\
stut & stut 4 0.5 0.2 ~ delay 4 echos, each one 50\% quieter than the last, with 1/5th of a cycle between them\\
stut' & stut' 2 (1/3) (\# vowel "{a e i o u}\%2") ~ generalised stut for different functions
\finishtabler
\subsubsection{Conditional}
\begintabler
someCyclesBy & someCyclesBy 0.25 (fast 2) \\
foldEvery & foldEvery 3, 4] (fast 2) equiv. to \\
& every 3 (fast 2) \$ every 4 (fast 2)\\
ifp & ifp ((== 0).(flip mod 2))\\
&(striate 4)\\
&(\# coarse "24 48")\\
&striate on even, coarse on odd\\
mask &\\
every & \$ every 3 (fast 2) \$\\
every' & every' 3 1 (fast 2)\\
&d1 \$ sound (every 4 (fast 4) "bd*2 [bd [sn sn*2 sn] sn]")\\
sometimesBy& sometimesBy 0.25 (fast 2)\\
swingBy&\\
when&\\
whenmod& when remainder $\geq$\\
within&\\
\finishtabler
\subsection{Compositions}
\begintabler
seqP&\\
cat& cat [s "bd*2", s "arpy jvbass*2"] concatenates a list of patterns into a new pattern; each pattern in the list will maintain its original duration\\
fastcat & new pattern’s length will be a single cycle\\
interlace &\\
randcat & cat but picks patterns at random\\
append &\\
spin &\\
stack & d1 \$ stack [ \\
&sound "bd bd*2", \\
&sound "hh*2 [sn cp] cp future*4"\\
&]\\
superimpose &\\
weave & applies pattern to list and is offset for each pattern d1 \$ weave 4 (pan sine)\\
&sound "[jazz:0 hh jazz:0 hh, ~ sn]",\\
&sound "casio casio:1"\\
wedge &
\finishtabler
\subsection{Transitions}
\begintabler
anticipateIn & t1 (anticipateIn 4) \$ sound "jvbass(5,8)" \\
% anticipate & = (anticipateIn 8)\\
clutchIn & \\
histpan & \\
jump & \\
jumpIn & \\
jumpIn' & \\
jumpMod & \\
mortal & \\
superwash & \\
wait & \\
wash & \\
xfade & \\
\finishtabler
\subsection{Operators}
\# equiv. |=|
\subsection{Synth Parameters (or effects)}
given by \#
\subsubsection{Sound}
\begintabler
sustain & \\
speed & \\
endSpeed & \\
begin & \\
end & \\
loop & \\
pan
\finishtabler
\subsubsection{Envelope}
\begintabler
attack & \\
hold & \\
release
\finishtabler
\subsubsection{hpf}
\begintabler
hcutoff & \\
hresonance
\finishtabler
\subsubsection{lpf}
\begintabler
cutoff & \\
resonance
\finishtabler
\subsubsection{bpf}
\begintabler
bandf & \\
bandq
\finishtabler
\subsubsection{delay}
\begintabler
delay & \\
delayfeedback & \\
delaytime
\finishtabler
\subsubsection{reverb}
\begintabler
room & //
size
\finishtabler
\subsubsection{tremolo}
\begintabler
tremolorate & //
tremolodepth
\finishtabler
\subsubsection{phaser}
\begintabler
phaserrate & //
phaserdepth
\finishtabler
\subsubsection{The Rest}
\begintabler
coarse & \\
crush & \\
cut & \\
accelerate & \\
legato & \\
loop & \\
nudge & (Should this be here? Or is this pattern) \\
shape & \\
sound & \\
unit & \\
vowel & \\
\finishtabler
\subsection{Continuous Patterns}
between 0,1. sine,saw,tri,square\\
slow 2 \$ scale 0 2 \$ sine
\subsection{Operators}
\subsection{Utility}
\begintabler
choose & choose[2...8] or choose[2,3..8] \\
irand & irand n generates a pattern random integers 0 to n-1 "amencutup*8" \# n (irand 8) \\
pequal & \\
rand & \\
run & \\
scale & \\
up & \\
\finishtabler
\subsection{Combine transforms}
\begintabler
[.](\# speed "0.5") . rev
\finishtabler
\section{Super Dirt}
\begintabler
load own samples & $\sim$ dirt.loadSoundFiles("/path/to/samples/*");\\
change speaker output &
\finishtabler
\section{Dirt Samples}
808 808bd 808cy 808hc 808ht 808lc 808lt 808mc 808mt 808oh 808sd 909 ab ade ades2 ades3 ades4 alex alphabet amencutup armora arp arpy auto baa baa2 bass bass0 bass1 bass2 bass3 bassdm bassfoo battles bd bend bev bin birds birds3 bleep blip blue bottle breaks125 breaks152 breaks157 breaks165 breath bubble can casio cb cc chin chink circus clak click clubkick co control cosmicg cp cr crow d db diphone diphone2 dist dork2 dorkbot dr dr2 dr55 dr\_few drum drumtraks e east electro1 erk f feel feelfx fest fire flick fm foo future gab gabba gabbaloud gabbalouder glasstap glitch glitch2 gretsch gtr h hand hardcore hardkick haw hc hh hh27 hit hmm ho hoover house ht if ifdrums incoming industrial insect invaders jazz jungbass jungle juno jvbass kicklinn koy kurt latibro led less lighter linnhats lt made made2 mash mash2 metal miniyeah moan monsterb moog mouth mp3 msg mt mute newnotes noise noise2 notes numbers oc odx off outdoor pad padlong pebbles perc peri pluck popkick print proc procshort psr rave rave2 ravemono realclaps reverbkick rm rs sax sd seawolf sequential sf sheffield short sid sine sitar sn space speakspell speech speechless speedupdown stab stomp subroc3d sugar sundance tabla tabla2 tablex tacscan tech techno tink tok toys trump ul ulgab uxay v voodoo wind wobble world xmas yeah
\section{Nice snippets}
linger "<1 0.5 0.25 0.125>"\\
d1 \$ spread (\$) [fast 2, rev, slow 2, striate 3, (\# speed "0.8")]
~~~\$ sound "[bd*2 [~ bd]] [sn future]*2 cp jvbass*4"\\
d1 \$ loopAt 4 \$ chop 32 \$ sound "breaks125"
\end{multicols}
\end{document}