-
Notifications
You must be signed in to change notification settings - Fork 1
/
tidal.snippets
executable file
·2211 lines (2130 loc) · 45.1 KB
/
tidal.snippets
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
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
snippet p1 "p 1" bA
p 1 $${VISUAL} $0
endsnippet
snippet p2 "p 2" bA
p 2 $${VISUAL} $0
endsnippet
snippet p3 "p 3" bA
p 3 $${VISUAL} $0
endsnippet
snippet p4 "p 4" bA
p 4 $${VISUAL} $0
endsnippet
snippet p5 "p 5" bA
p 5 $${VISUAL} $0
endsnippet
snippet p6 "p 6" bA
p 6 $${VISUAL} $0
endsnippet
snippet p7 "p 7" bA
p 7 $${VISUAL} $0
endsnippet
snippet p8 "p 8" bA
p 8 $${VISUAL} $0
endsnippet
snippet p9 "p 9" bA
p 9 $${VISUAL} $0
endsnippet
snippet dum "independent ctrl FX" w
dummy$0
endsnippet
snippet once "once" b
once $ $0
endsnippet
snippet scp "set cps" b
setcps (${1:110}/60/${2:4})$0
endsnippet
snippet mut "streamMute" b
mute $0
endsnippet
snippet unm "streamUnmute" b
unmute $0
endsnippet
snippet sol "streamSolo" b
solo $0
endsnippet
snippet uns "streamUnsolo" b
unsolo $0
endsnippet
snippet nua "streamNudgeAll" b
nudgeAll $0
endsnippet
snippet all "streamAll" b
all ${VISUAL} $0
endsnippet
snippet rcy "streamResetCycles" b
resetCycles $0
endsnippet
# CONTROL FUNCTIONS
# These functions are used to turn patterns of strings (words) or numbers into control patterns,
# which govern how samples are played in the SuperDirt
# This includes
# audio control functions
# sample manipulation functions
# effect functions
# AUDIO CONTROL FUNCTIONS
snippet gai "gain" i
# gain $0
endsnippet
snippet chan "channel ???" i
# channel $1 $0
endsnippet
snippet pan "pan" i
# pan "$1" $0
endsnippet
snippet orb "orbit" i
# orbit $0
endsnippet
# SAMPLE MANIPULATION FUNCTIONS
snippet s_beg "begin" i
# begin $1 $0
endsnippet
snippet s_end "end" i
# end $0
endsnippet
snippet s_acc "accelerate" i
# accelerate $0
endsnippet
snippet s_nud "nudge" i
# nudge ${1:(slow ${2:4} $ sine$3)}$0
endsnippet
snippet s_uni "fits in a cycle" i
# unit "c" $0
endsnippet
snippet s_unis "fits x * in a cycle" i
# unit "c" # speed ${1:2} $0
endsnippet
snippet s_loo "loop" i
# loop $0
endsnippet
snippet leg "legato" i
# legato $0
endsnippet
snippet s_leg "legato" i
# legato $0
endsnippet
snippet s_sus "sustain" i
# sustain $0
endsnippet
# envelope:
snippet s_att "attack" i
# att ${1:"<0 0.1 0.3>"} $0
endsnippet
snippet s_hol "hold - With att and rel!!!" i
# hold ${1:"<0.2 0.5>"}
endsnippet
snippet s_rel "release" i
# rel ${1:"<0.1 0.3 0.6>"} $0
endsnippet
snippet s_cut "cut" i
# cut $1 $0
endsnippet
snippet s_cho "chop - cut sample in n parts" w
chop ${1:16} $ $0
endsnippet
snippet s_gap "gap - chop and silence every other cut" w
gap ${1:32} $ $0
endsnippet
snippet s_sli "slice - chop and rearrange with pat" w
slice ${1:8} ${2:"[6 4] 2 0"} $ $0
endsnippet
snippet s_str "striate - cut sample in parts and progress" w
${1:slow }${2:4 $} striate ${3:3} $ $0
endsnippet
snippet s_strb "striateBy - striate with lenght of each cut" w
slow ${1:32} $ striate' ${2:32} (1/${3:16}) $ $0
endsnippet
snippet s_spl "splice - chop rearr.pat, pitch to fit" w
slice ${1:8} ${2:"[6 4] 2 0"} $ $0
endsnippet
snippet s_loo "loopAt - fit sample n cycles" w
loopAt $1 $ $0
endsnippet
snippet s_gho "ghost - adds quieter pitched copies" i
ghost ${1:$} $0
endsnippet
# HIGHER-ORDER FUNCTIONS - Change inside cycle - h_
snippet h_jux "juxBy" i
juxBy ${1:0.5} (${VISUAL}) ${1:$}$0
endsnippet
snippet h_lin "linger - divide and repeat fraction" i
linger ${1:(1/3)} ${2:$}$0
endsnippet
snippet h_wit "within - apply func. between" i
within ( ${1:0.25}, ${2:0.75} ) ( ${VISUAL}$3 )$0
endsnippet
snippet h_zoo "zoom - play only between" i
zoom (${1:0.25}, ${2:0.75}) ${VISUAL}${3:$}$0
endsnippet
snippet h_fit "fit - offset pat <<this" i
(fit ${1:3} ${VISUAL} ${2:"0 [~ 1] 2 1"})$0
endsnippet
snippet h_fi' "fit'" i
fit' ${1:slice cycle portion} ${2:select x values} "${3:map slices(run x)}" "${4:rearrange slices}" $0
endsnippet
snippet h_mas "mask" i
mask ("${1:1 ~ 1 1 ~ ~ 1 ~}") $
endsnippet
snippet h_stru "struct - boolean pat mask" i
struct ("t(${1:3,8})") $0
endsnippet
snippet h_sma "smash - striate slow-per-cycle" i
smash ${1:8} [${2:2}, ${3:3}, ${4:4}] $
endsnippet
snippet h_stu "stut - repeat fadeout time-div" i
stut ${1:6} ${2:(1/3)} ${3:(1/6)} $
endsnippet
snippet h_stuw "stutWith - repeat time-div func" i
stut' ${1:2} ${2:(1/3)} ( ${3:#} ${VISUAL:coarse "8 2 4"} ) $$0
endsnippet
snippet h_fap "fastAppend - fit 2 pats in one cycle" i
fastAppend (${VISUAL})($1)$0
endsnippet
snippet h_sup "superimpose - modified on top of original" i
superimpose (${VISUAL:fast 2}$1) $$0
endsnippet
snippet h_wed "wedge - combine nth of 1st pat with 2nd" i
wedge (${1:1/3}) (${VISUAL}) (${3:slow 8 $ s "amencutup*32" # n (irand 32)}) $0
endsnippet
snippet h_off "off" i
off ${1:0.125} (${2:|+| n "<7 12>"})$0
endsnippet
snippet h_tru "trunc - play fraction" i
trunc ${1:"<0.25 0.75>"} $0
endsnippet
snippet h_spi "spin - offset and pan by 1/n of cycle" w
spin ${1:4} $ $0
endsnippet
snippet h_euc "euclid - rhythmic structure" w
euclid ${1:3} ${2:8} ${3:$} $0
endsnippet
snippet h_ply "ply - repeat each event n times" w
ply ${1:3} ${2:$} $0
endsnippet
snippet h_rot "rot - rotate vals in a pat" w
rot $1 $ $0
endsnippet
snippet h_ins "inside - divide and apply func to all divisions" i
inside ${1:2} ${2:rev}$0
endsnippet
snippet h_out "outside - apply func outside the cycle (???)" i
outside ${1:4} ${2:(rev)}$0
endsnippet
snippet h_lay "layer - multi funcs in one pat" i
layer [${1:rev}, ${2:id}] ${3:$}
endsnippet
# HIGHER-ORDER FUNCTIONS - Change running cycles (composition) - H_
snippet H_eve "every" i
every ${1:4} (${VISUAL}) ${2:$}
$0
endsnippet
snippet H_ev' "every offset" i
every' ${1:4} ${2:1} (${3:${VISUAL}}) ${4:$}$0
endsnippet
snippet H_fix "fix - apply this only on that" i
fix (${VISUAL}${1:# crush 3}) (${2:n "[1,4]"}) ${3:$}$0
endsnippet
snippet H_fol "foldEvery - multiple every" i
foldEvery ${1:[3, 5, 7]} (${VISUAL:slow 2}) ${2:$}$0
endsnippet
snippet H_ite "iter - divide pat and iteract" i
iter ${1:4} ${2:$}$0
endsnippet
snippet H_ifp "ifp - test func." i
ifp ((== 0).(flip mod 2))
(${1:striate 4})
(${2:# coarse "24 48"}) ${3:$}$0
endsnippet
snippet H_spr "spread ($) - play funcs in a list" i
spread ($) [ ${VISUAL}
,$2
,$3
] ${1:$}$0
endsnippet
snippet H_spc "spread random" i
spreadr ($) [ ${VISUAL}
,$2
,$3
] ${1:$}$0
endsnippet
snippet H_ur "ur" i
let pats "[
( "${1:a}",
$1${VISUAL}
),
("$2",
$3
)
]
fx "[
(${4:"faster"}, ${5:fast 2} )
,${6:("$7", $8)}
]
in
p ${9:1} $ ur ${10:16} "${11:a:faster} $12" pats fx$0
endsnippet
snippet H_pat "pattern for ur" i
,( "${1:b}",
${VISUAL}
)$0
endsnippet
snippet H_wea "weave - apply pat to list of ctrls, with time offset" i
weave ${1:16} (${2:pan sine})
[
$3${VISUAL:"bd stk*2"},
$4
]
$0
endsnippet
snippet H_wew "weaveWith apply pat to list of funcs, with time offset" i
weaveWith ${1:16} ("${2:bd stk}")
[
$1${VISUAL:fast 2},
${2:(# speed 0.5)}
${3:,}
$4
]
$0
endsnippet
snippet H_whem "whenmod when modulo" i
whenmod ${1:8} ${2:6}$0
endsnippet
snippet H_spl "seqPLoop" i
seqPLoop
[
(0, ${1:16},
${VISUAL}$2)$0
]
endsnippet
snippet H_seq "sequences" i
,(${1:16}, ${2:32},
${VISUAL}$0
)
endsnippet
snippet H_sta "stack" i
stack [
${VISUAL}$1
,$2
]$0
endsnippet
snippet H_cat "cat" i
cat [
${VISUAL},
$2 $0
]
endsnippet
snippet H_fac "fastcat" i
fastcat [
$1,
$2 $0
]
endsnippet
snippet H_app "append - alternate between pats" i
append (${VISUAL})($1)$0
endsnippet
snippet H_chu "chunk - divide pat, func to each part/cycle'" i
chunk ${1:4} ${2:(# speed 2)} ${3:$}$0
endsnippet
snippet H_sew "sew - pat of bool to switch between 2 pats" i
sew "${1:t(11,16)}" (${VISUAL}) ($2) $0
endsnippet
snippet H_lin "lindenmayer - int b/Lindm syst rset/init str" i
slow ${1:16} $ sound $ step' ["${2:feel:0}", "${3:sn:1}", "${4:bd:0}"]
(take 512 $ lindenmayer ${5:5} "${6:0:1~~~,1:0~~~2~~~~~0~~~2~,2:2~1~,~:~~1~}" "${7:0}")
endsnippet
# UTILITIES u_
snippet u_ran "range" i
range ${1:0.25} ${2:0.75} $0
endsnippet
snippet u_rax "rangex - exponential range" w
rangex ${1:20} ${2:2000} $0
endsnippet
snippet u_sil "silence" w
silence $0
endsnippet
snippet u_seg "segment" i
segment ${1:1} $0
endsnippet
snippet u_sca "scan - run starting from 1" i
(scan ${1:8}) $0
endsnippet
snippet u_sin "sine oscillator" i
( ${1:slow 4}$2 sine ) $0
endsnippet
snippet u_cos "cos osci - sine shifted 1/4 cycle" i
( ${1:slow 4}$2 cosine ) $0
endsnippet
snippet u_squ "square oscillator" i
( ${1:fast 4}$2 square ) $0
endsnippet
snippet u_tri "triangle oscillator" i
( ${1:slow 4}$2 tri ) $0
endsnippet
snippet u_saw "sawtooth oscillator" i
( ${1:slow 4}$2 saw ) $0
endsnippet
snippet u_isaw "inv sawtooth oscillator" i
( ${1:slow 4}$2 isaw ) $0
endsnippet
snippet u_list "streamList tidal" b
list $0
endsnippet
# TIME FUNCTIONS t_
snippet t_bra "brak" i
brak $$0
endsnippet
snippet t_fas "fast" i
fast ${1:2}$0
endsnippet
snippet t_hur "hurry" i
hurry ${1:2} ${2:$}$0
endsnippet
snippet t_rew "rewind <~" i
${1:0.25} <~ ${2:$}$0
endsnippet
snippet t_for "forward <~" i
${1:0.25} ~> ${2:$}$0
endsnippet
snippet t_pal "palindrome" i
palindrome ${1:$}$0
endsnippet
snippet t_rec "repeatCycles" i
repeatCycles ${1:3} ${2:$}$0
endsnippet
snippet t_rev "revert" i
rev ${1:$}$0
endsnippet
snippet t_slo "slow" i
slow ${1:2} ${2:$}$0
endsnippet
snippet t_swi "swingBy" i
swingBy (${1:1/3}) ${2:4} ${2:$}$0
endsnippet
# RANDOMNESS AND CHANCE r_
snippet r_cho "choose - continuous" i
choose ${1:[0,2,5]}$0
endsnippet
snippet r_chb "chooseBy" i
chooseBy "${1:0 0.25 0.5}" [${2:"a","b","c","d"}]$0
endsnippet
snippet r_wcho "wchoose" i
wchoose [${1:(0,0.25)},${2:(2,0.5)},${3:(3,0.25)}$4]$0
endsnippet
snippet r_wchb "wchooseBy" i
wchooseBy [${1:(0,0.25)},${2:(2,0.5)},${3:(3,0.25)}$4]$0
endsnippet
snippet r_dby "degradeBy" i
degradeBy ${1:0.2} $0
endsnippet
snippet r_per "perlin" i
( ${1:fast 32 $} perlin ${2:+ 0.5})$0
endsnippet
snippet r_pew "perlinWith" i
(perlinWith ${1:(saw * 4)} ${2:* 2000})$0
endsnippet
snippet r_pe2 "perlin2d" i
(perlin2 ${1:(sine*4)} ${2:+ 1})$0
endsnippet
snippet r_p2w "perlin2With" i
(${1:range 60 5000 $} perlin2With (${2:cosine*2}) (${3:sine*2}))$0
endsnippet
snippet r_cat "randcat" i
randcat [
$1,
$2,
$3 $0
]
endsnippet
snippet r_sli "randslice - chop rand" i
${1:fast 4 $} randslice ${2:32} $$0
endsnippet
snippet r_scr "scramble" i
scramble ${1:3} $0
endsnippet
snippet r_shu "shuffle" i
shuffle ${1:6} $0
endsnippet
snippet r_som "sometimesBy" i
sometimesBy ${1:0.2} (${VISUAL}$2) ${3:$}$0
endsnippet
snippet r_soc "someCyclesBy" i
someCyclesBy ${1:0.25} (${VISUAL}$2) ${3:$}$0
endsnippet
snippet r_str "stripe - repeat pat-rand-speeds" i
stripe ${1:3} $ ${VISUAL}$0
endsnippet
snippet r_sls "slowstripe - rep. p r speed > n slow" i
slowstripe ${1:3} $ ${VISUAL}$0
endsnippet
# TRANSITIONS - T
snippet T_ant "anticIn drop pat @ t cycles" b
anticipateIn ${1:pat} ${2:time} $ ${VISUAL}$0
endsnippet
snippet T_clu "clutchIn - degr curr pat <i> while undegr next" b
clutchIn ${1:pat} ${2:time} $${VISUAL}$0
endsnippet
snippet T_hip "histpan - Pans last n versions of pat across field" b
histpan ${1:pat} ${2:time} $$0
endsnippet
snippet T_int "interpIn parameters interp" b
interpolateIn ${1:pat} ${2:time}$$0
endsnippet
snippet T_jui "jumpIn - jump unaligned into pat after cycleCount" b
jumpIn ${1:pat} ${2:time} $$0
endsnippet
snippet T_ju' "jumpIn' - jump at cycle boundary into pat after cycleCount" b
jumpIn' ${1:pat} ${2:time} $$0
endsnippet
snippet T_jum "jumpMod - jump at cycle boundary" b
jumpMod ${1:pat} ${2:time} $$0
endsnippet
snippet T_wai "wait - stop for t before new pat" b
wait ${1:pat} ${2:time} $$0
endsnippet
snippet T_wat "waitT - stop for t before transition" b
waitT ${1:pat} ${2:(xfadeIn 8)} ${3:time} $$0
endsnippet
snippet T_xfa "xFadeIn" i
xfadeIn ${1:pat} ${2:time} $$0
endsnippet
snippet T_mor "mortal - degrades in t-cycles after lifespan" i
mortal ${1:pat} ${2:lifespan} ${3:t} $$0
endsnippet
# EFFECT FUNCTIONS - f
snippet f_sha "shape" i
# shape ${1:0.25} $0
endsnippet
snippet f_hpf "high-pass filter" i
# hpf ${1:"100 1000 2000 5000"} # hpq ${2:"0 0.2 0.4 0.6"} $0
endsnippet
snippet f_bpf "band-pass filter" i
# bpf ${1:"100 1000 2000"} # bpq ${2:"<0.5 1 2>"} $0
endsnippet
snippet f_cru "crush 16<>1" i
# crush ${1:"<16 8 4>"} $0
endsnippet
snippet f_coa "coarse" i
# coarse ${1:"<4 8 16 24>"} $0
endsnippet
snippet f_lpf "low-pass filter" w
# lpf ${1:"100 1000 2000"} # lpq ${2:0.25} $0
endsnippet
snippet f_tre "tremolo" i
# tremr ${1:1} # tremdp ${2:0.5} $0
endsnippet
snippet f_pha "phaser" i
# phasr ${1:1} # phadp ${2:0.5} $0
endsnippet
snippet f_vow "vowel" i
# vowel "${1:e a ~ [i o u]}" $0
endsnippet
snippet f_del "delay" i
# delayfb ${1:0.5} # delayt ${2:0.25} # lock ${3:<1 0.33>/4} # delay ${4:0.5} $0
endsnippet
snippet f_rev "reverb" i
# room ${1:0.5} # size ${2:0.25} # dry ${3:0.75} $0
endsnippet
snippet f_les "leslie" i
# leslie 1 # lsize ${1:2.8} # lrate ${2:6.7}
endsnippet
snippet f_wlo "waveloss 0<>100" i
# waveloss ${1:"20 66.6 80 10"} $0
endsnippet
snippet f_sqz "squiz pitchShifter" i
# squiz ${1:"1 2 8 256"} $0
endsnippet
snippet f_fsh "freq shift" i
# fshift ${1:0} # fshiftnote ${2:"0 3 5"} # fshiftphase ${3:0}
$0
endsnippet
snippet f_tri "triode distortion" i
# triode ${1:0.5}
$0
endsnippet
snippet f_kru "krush" i
# krush ${1:1} # kcutoff ${2:800} $0
endsnippet
snippet f_oct "octer harmonics" i
# octer ${1:1}
$0
endsnippet
snippet f_octs "octersub harmonics" i
# octersub ${1:0.5}
$0
endsnippet
snippet f_octss "octersubsub harmonics" i
# octersubsub ${1:0.25}$0
endsnippet
snippet f_rin "ring modulator - amount freq slide" i
# ring ${1:0.5} # ringf ${2:800} # ringdf ${3:0.2}$0
endsnippet
snippet rin "ring modulator - amount freq slide" w
# ring ${1:0.5} # ringf ${2:800} # ringdf ${3:0.2}$0
endsnippet
snippet f_dis "distortion" i
# distort ${1:0.5} $0
endsnippet
snippet f_sde "spectral delay " i
# tsdelay ${1:0.5} # xsdelay ${2:0.5}$0
endsnippet
snippet f_maf "magnitude freeze" i
# freeze ${1:1}$0
endsnippet
snippet f_scf "spectral comb filter" i
# comb ${1:0.5}$0
endsnippet
snippet f_bsc "bin scrambling" i
# scram ${1:0.5}$0
endsnippet
snippet f_mgs "magnitude smearing" i
# smear ${1:0.5}$0
endsnippet
snippet f_bis "bin shifting" i
# binshift ${1:0.25}$0
endsnippet
snippet f_shp "spectral high-pass filter" i
# hbrick ${1:0.5}$0
endsnippet
snippet f_slp "spectral low-pass filer" i
# lbrick ${1:0.5}$0
endsnippet
snippet f_sco "spectral conformer" i
# real ${1:0.5} # imag ${2:0.5}$0
endsnippet
snippet f_sen "spectral enhance" i
# enhance ${1:0.5}$0
endsnippet
snippet f_djf "DJ filter" i
# djf ${1:0.5}$0
endsnippet
# BASIC SUPERDIRT SYNTHS
snippet y_imp "modulated band limited impulse" i
imp
endsnippet
snippet y_psi "psin - modulated phase mod sines" i
psin
endsnippet
snippet y_pms "cursor modulated phase mod sines" i
pmsin
endsnippet
snippet y_in "live audio input" i
in
endsnippet
snippet y_inr "pitch shifted live audio input" i
inr
endsnippet
snippet y_gab "gabor grain" i
gabor
endsnippet
snippet y_cyc "cyclo - shepard on a cycle" i
cyclo
endsnippet
# EXTRA SUPERDIRT SYNTHS
snippet y_man "superMandolin - sustain accelerate detune" i
supermandolin$0
endsnippet
snippet y_gon "superGong - decay voice accelerate" i
supergong$0
endsnippet
snippet y_pia "superPiano - velocity sustain" i
superpiano$0
endsnippet
snippet y_hex "superHex - accelerate sustain rate" i
superhex$0
endsnippet
snippet y_kic "superKick - n sustain pitch1 decay" i
superkick$0
endsnippet
snippet y_808 "super808 - n sustain speed voice" i
super808
endsnippet
snippet y_hat "superHat - n sustain accelerate" i
superhat
endsnippet
snippet y_sna "superSnare - n decay sustain accelerate" i
supersnare
endsnippet
snippet y_cla "superClap - n decay speed pitch1 sustain" i
superclap
endsnippet
snippet y_sir "superSiren" i
supersiren
endsnippet
# The next four synths respond to the following parameters in addition to gain, pan, n,
# and all the "effect" parameters (including attack, hold, and release).
# Default values in parentheses_
# sustain - scales overall duration
# decay(0) - amount of decay after initial attack
# accelerate(0) - pitch glide
# semitone(12) - how far off in pitch the secondary oscillator is (need not be integer)
# pitch1(1) - filter frequency scaling multiplier, the frequency itself follows the pitch set by "n"
# speed(1)- LFO rate
# lfo(1) - how much the LFO affects the filter frequency
# resonance(0.2) - filter resonance
# voice(0.5) - depends on the individual synth
snippet y_squ "superSquare - sust dec accel semitone pitch1 lfo speed resonance voice" i
supersquare
endsnippet
snippet y_saw "superSaw - sust dec accel semitone pitch1 lfo speed resonance voice" i
supersaw
endsnippet
snippet y_pwm "superPwm - sust dec accel semitone pitch1 lfo speed resonance voice" i
superpwm
endsnippet
snippet y_com "superComparator - sust dec accel semitone pitch1 lfo speed resonance voice" i
spercomparator
endsnippet
# -----------------------------------------------------------------------------------------
snippet y_chi "superChip - slide speed accelerate pitch2 pitch3 voice" i
superchip
endsnippet
snippet y_noi "superNoise - n voice accelerate speed pitch1 slide resonance" i
supernoise
endsnippet
snippet y_for "superFork - sustain accelerate" i
superfork
endsnippet
snippet y_ham "superHammond - voice decay" i
superhammond
endsnippet
snippet y_vib "superVibe - decay velocity accelerate modamp modfreq detune" i
supervibe
endsnippet
snippet y_ho "superHoover - slide decay accelerate" i
superhoover
endsnippet
snippet y_zow "superZow - decay accelerate slide detune" i
superzow
endsnippet
snippet y_sta "superStatic - sustain" i
superstatic
endsnippet
snippet y_gri "superGrind - accelerate detune voice speed" i
supergrind
endsnippet
snippet y_pri "superPrimes - accelerate detune voice speed" i
superprimes
endsnippet
snippet y_wav "superWavemechanics - accelerate detune voice resonance" i
superwavemechanics
endsnippet
snippet y_tron "superTron - accelerate detune voice" i
supertron
endsnippet
snippet y_ree "superReese - accelerate voice detune" i
superreese
endsnippet
# SYNTH PARAMETERS
snippet p_oct "octave" i
# octave $0
endsnippet
snippet p_det "detune" i
# detune ${1:0.2}$0
endsnippet
snippet p_voi "voice" i
# voice ${1:0.5}$0
endsnippet
snippet p_up "up" i
# up "$1" $0
endsnippet
snippet p_pit1 "pitch1 - filter freq scaling multiplier" i
# pitch1 ${1:1}$0
endsnippet
# SKMECS SYNTHS
snippet k_sti "stiff" i
stiff
endsnippet
snippet k_pia "piano" i
piano
endsnippet
snippet k_ata "atari" i
atari$0
endsnippet
snippet k_bow "bow" i
bow$0
endsnippet
snippet k_wis "windsaw" i
windsaw$0
endsnippet
snippet k_saw "saw" i
saw$0
endsnippet
snippet k_baz "bazz" i
bazz$0
endsnippet
# SKMECS ORBS FX _O
snippet o_tape "tape orb 0 2" i
# tape ${1:1} $0
endsnippet
snippet o_pit "pitchShift orb 1 3" i
# pitch ${1:1} $0
endsnippet
snippet o_wah "wah orb 0 2" i
# wah ${1:0.2} $0
endsnippet
snippet o_lfo "LFO orb 1 3" i
# llfo ${1:0.2} $0
endsnippet
snippet o_com "compressor" i
# comp ${1:0} $0
endsnippet
snippet o_ampf "ampFin" i
# ampFin ${1:0} $0
endsnippet
# SKMECS ORB FX PARAMETERS _o
snippet o_pid "pitch/degree" i
# pideg ${1:0} $0
endsnippet
snippet o_pdi "pitch dispersion" i
# pdisp ${1:0.05} $0
endsnippet
snippet o_tdi "time dispersion" i
# tdisp ${1:0.1} $0
endsnippet
snippet o_sli "pitch slide" i
# slide ${1:0.2} $0
endsnippet
snippet o_tra "trate tape rate" i
# trate ${1:0.25} $0
endsnippet
snippet o_tph "tphase tape phase" i
# tphase ${1:0} $0
endsnippet
snippet o_tde "tdepth tape depth" i
# tdepth ${1:0.5} $0
endsnippet
snippet o_tof "toffset tape offset" i
# toffset ${1:0.5} $0
endsnippet
snippet o_wra "wah rate" i
# wrate ${1:1} $0
endsnippet
snippet o_dep "wah depth" i
# depth ${1:0.75} $0
endsnippet
snippet o_sin "wah sine saw" i
# sinsaw ${1:0} $0
endsnippet
snippet o_jfr "wah jitter rate" i
# jfreq ${1:1} $0
endsnippet
snippet o_jde "wah jitter depth" i
# jdepth ${1:0.1} $0
endsnippet
snippet o_sis "lfo sin saw pulse" i
# sisap ${1:0} $0
endsnippet
snippet o_lra "lfo rate" i
# lrate ${1:0.125} $0
endsnippet
snippet o_iph "lfo osc/wave phase" i
# iphase ${1:0} $0
endsnippet
snippet o_lwi "lfo width" i
# lwidth ${1:0.5} $0
endsnippet
snippet o_midf "lfo low-cut freq" i
# midfreq ${1:60} $0
endsnippet
snippet o_hif "lfo hi-cut freq" i
# hifreq ${1:20000} $0
endsnippet
snippet o_ctr "comp control signal" i
# cctrl ${1:0} $0
endsnippet
snippet o_thr "comp threshold" i
# thresh ${1:0.5} $0
endsnippet
snippet o_ofslo "comp slope above" i
# slopea ${1:1} $0
endsnippet
snippet o_cla "comp attack" i
# clamp ${1:0.01} $0
endsnippet
snippet o_rex "comp release" i
# relax ${1:0.1} $0
endsnippet
snippet o_lim "limDrive" i
# limDrive ${1:1.25} $0
endsnippet
snippet o_ampl "ampLimit" i
# ampLimit ${1:1} $0
endsnippet
snippet o_pamp "postAmp" i
# postAmp ${1:1} $0
endsnippet
# My Tidal Fxs
snippet o_satur "saturator" i
# satur ${1:0.5} $0
endsnippet
snippet o_sind "index of satur" i
# sind ${1:4} $0
endsnippet
snippet o_smul "satur gain" i
# smul ${1:0.25} $0
endsnippet
# VSTs
# reverb (TAL Verb) _v
snippet v_vdry "vst reverb dry" i
# vdry $0
endsnippet
snippet v_vwet "vst reverb wet" i
# vwet $0
endsnippet
snippet v_vloc "vst reverb locut" i
# vlocut $0
endsnippet
snippet v_vhic "vst reverb hicut" i
# vhicut $0
endsnippet
# Phosycon - Acid
snippet v_acutf "acid cutoff" i
# acutoff $0
endsnippet
snippet v_ares "acid resonance" i
# areson $0
endsnippet
snippet v_aswt "acid sweep time" i
# asweept $0
endsnippet
snippet v_aenm "acid env mod" i
# aenvmod $0
endsnippet
snippet v_aena "acid env attk" i
# aenvatt $0
endsnippet
snippet v_aend "acid env decay" i
# aenvdec $0
endsnippet
snippet v_aacd "acid accent decay" i
# aaccdec $0
endsnippet
snippet v_aena "acid env accent" i
# aenvacc $0
endsnippet
# TAL-Noise
snippet v_tfo1r "tal lfo1 rate" i
# lfo1r $0
endsnippet
snippet v_tvol "talnoise - volume" i
# tvol $0
endsnippet
snippet v_tftype "talnoise - filtertype" i
# tftype $0
endsnippet
snippet v_tcut "talnoise - cutoff" i
# tcut $0
endsnippet
snippet v_tres "talnoise - resonance" i
# tres $0
endsnippet
snippet v_tkfol "talnoise - keyfollow" i
# tkfol $0
endsnippet
snippet v_tfcon "talnoise - filtercontour" i
# tfcon $0
endsnippet
snippet v_tfatt "talnoise - filterattack" i
# tfatt $0
endsnippet
snippet v_tfdec "talnoise - filterdecay" i
# tfdec $0
endsnippet
snippet v_tfsus "talnoise - filtersustain" i
# tfsus $0
endsnippet
snippet v_tfrel "talnoise - filterrelease" i
# tfrel $0
endsnippet
snippet v_tampa "talnoise - ampattack" i
# tampa $0
endsnippet
snippet v_tampd "talnoise - ampdecay" i
# tampd $0
endsnippet
snippet v_tamps "talnoise - ampsustain" i
# tamps $0
endsnippet
snippet v_tampr "talnoise - amprelease" i
# tampr $0
endsnippet
snippet v_tosc1v "talnoise - osc1volume" i
# tosc1v $0
endsnippet
snippet v_tosc2v "talnoise - osc2volume" i