forked from derekxkwan/dxkSynthDefs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dxkSimpleDelay.scd
110 lines (96 loc) · 3.98 KB
/
dxkSimpleDelay.scd
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
SynthDef(\dxkCombNM, {| dry = 1, wet = 0.5, delaytime = 0.2, maxdelay = 1, decaytime = 1, in = 50, out = 0, amp = 1|
var input, wetsig, outsig;
input = In.ar(in,1);
wetsig = CombL.ar(input, maxdelay, delaytime, decaytime, 1);
outsig = (input*dry)+(wetsig*wet);
outsig = outsig * amp;
Out.ar(out, outsig);
}, [0.5, 0.5, 0.5]).add;
SynthDef(\dxkCombLM, {| dry = 1, wet = 0.5, delaytime = 0.2, maxdelay = 1, decaytime = 1, in = 50, out = 0, amp = 1|
var input, wetsig, outsig;
input = In.ar(in,1);
wetsig = CombN.ar(input, maxdelay, delaytime, decaytime, 1);
outsig = (input*dry)+(wetsig*wet);
outsig = outsig * amp;
Out.ar(out, outsig);
}, [0.5, 0.5, 0.5]).add;
SynthDef(\dxkCombCM, {| dry = 1, wet = 0.5, delaytime = 0.2, maxdelay = 1, decaytime = 1, in = 50, out = 0, amp = 1|
var input, wetsig, outsig;
input = In.ar(in,1);
wetsig = CombC.ar(input, maxdelay, delaytime, decaytime, 1);
outsig = (input*dry)+(wetsig*wet);
outsig = outsig * amp;
Out.ar(out, outsig);
}, [0.5, 0.5, 0.5]).add;
SynthDef(\dxkCombNS, {| dry = 1, wet = 0.5, delaytime = 0.2, maxdelay = 1, decaytime = 1, in = 50, out = 0, amp = 1|
var input, wetsig, outsig;
input = In.ar(in,2);
wetsig = CombL.ar(input, maxdelay, delaytime, decaytime, 1);
outsig = (input*dry)+(wetsig*wet);
outsig = outsig * amp;
Out.ar(out, outsig);
}, [0.5, 0.5, 0.5]).add;
SynthDef(\dxkCombLS, {| dry = 1, wet = 0.5, delaytime = 0.2, maxdelay = 1, decaytime = 1, in = 50, out = 0, amp = 1|
var input, wetsig, outsig;
input = In.ar(in,2);
wetsig = CombN.ar(input, maxdelay, delaytime, decaytime, 1);
outsig = (input*dry)+(wetsig*wet);
outsig = outsig * amp;
Out.ar(out, outsig);
}, [0.5, 0.5, 0.5]).add;
SynthDef(\dxkCombCS, {| dry = 1, wet = 0.5, delaytime = 0.2, maxdelay = 1, decaytime = 1, in = 50, out = 0, amp = 1|
var input, wetsig, outsig;
input = In.ar(in,2);
wetsig = CombC.ar(input, maxdelay, delaytime, decaytime, 1);
outsig = (input*dry)+(wetsig*wet);
outsig = outsig * amp;
Out.ar(out, outsig);
}, [0.5, 0.5, 0.5]).add;
SynthDef(\dxkAllpassNM, {| dry = 1, wet = 0.5, delaytime = 0.2, maxdelay = 1, decaytime = 1, in = 50, out = 0, amp = 1|
var input, wetsig, outsig;
input = In.ar(in,1);
wetsig = AllpassL.ar(input, maxdelay, delaytime, decaytime, 1);
outsig = (input*dry)+(wetsig*wet);
outsig = outsig * amp;
Out.ar(out, outsig);
}, [0.5, 0.5, 0.5]).add;
SynthDef(\dxkAllpassLM, {| dry = 1, wet = 0.5, delaytime = 0.2, maxdelay = 1, decaytime = 1, in = 50, out = 0, amp = 1|
var input, wetsig, outsig;
input = In.ar(in,1);
wetsig = AllpassN.ar(input, maxdelay, delaytime, decaytime, 1);
outsig = (input*dry)+(wetsig*wet);
outsig = outsig * amp;
Out.ar(out, outsig);
}, [0.5, 0.5, 0.5]).add;
SynthDef(\dxkAllpassCM, {| dry = 1, wet = 0.5, delaytime = 0.2, maxdelay = 1, decaytime = 1, in = 50, out = 0, amp = 1|
var input, wetsig, outsig;
input = In.ar(in,1);
wetsig = AllpassC.ar(input, maxdelay, delaytime, decaytime, 1);
outsig = (input*dry)+(wetsig*wet);
outsig = outsig * amp;
Out.ar(out, outsig);
}, [0.5, 0.5, 0.5]).add;
SynthDef(\dxkAllpassNS, {| dry = 1, wet = 0.5, delaytime = 0.2, maxdelay = 1, decaytime = 1, in = 50, out = 0, amp = 1|
var input, wetsig, outsig;
input = In.ar(in,2);
wetsig = AllpassL.ar(input, maxdelay, delaytime, decaytime, 1);
outsig = (input*dry)+(wetsig*wet);
outsig = outsig * amp;
Out.ar(out, outsig);
}, [0.5, 0.5, 0.5]).add;
SynthDef(\dxkAllpassLS, {| dry = 1, wet = 0.5, delaytime = 0.2, maxdelay = 1, decaytime = 1, in = 50, out = 0, amp = 1|
var input, wetsig, outsig;
input = In.ar(in,2);
wetsig = AllpassN.ar(input, maxdelay, delaytime, decaytime, 1);
outsig = (input*dry)+(wetsig*wet);
outsig = outsig * amp;
Out.ar(out, outsig);
}, [0.5, 0.5]).add;
SynthDef(\dxkAllpassCS, {| dry = 1, wet = 0.5, delaytime = 0.2, maxdelay = 1, decaytime = 1, in = 50, out = 0, amp = 1|
var input, wetsig, outsig;
input = In.ar(in,2);
wetsig = AllpassC.ar(input, maxdelay, delaytime, decaytime, 1);
outsig = (input*dry)+(wetsig*wet);
outsig = outsig * amp;
Out.ar(out, outsig);
}, [0.5, 0.5]).add;