-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAdvanced Reverb.effect
203 lines (195 loc) · 7.16 KB
/
Advanced Reverb.effect
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
<effect>
<name>Advanced Reverb</name>
<enabled>true</enabled>
<numIns>2</numIns>
<numOuts>2</numOuts>
<code>if (<AdvancedReverbON> == 1) then
korig = <AdvancedReverb_dryMix>
krev = 1.0-korig
kfeed = <AdvancedReverb_feedback>
ilp1 = 1/10
ilp2 = 1/23
ilp3 = 1/41
kroll = <AdvancedReverb_cutoff>
;--------------------------------------------
ajunk alpass ain1,1.7,.1
aleft alpass ajunk,1.01,.07
ajunk alpass ain2,1.5,.2
aright alpass ajunk,1.33,.05
;--------------------------------------------section left
kdel1 randi .01,1,.666
kdel1 = kdel1 + .1
addl1 delayr .3
afeed1 deltapi kdel1
afeed1 = afeed1 + kfeed*aleft
delayw aleft
;--------------------------------------------section right
kdel2 randi .01,.95,.777
kdel2 = kdel2 + .1
addl2 delayr .3
afeed2 deltapi kdel2
afeed2 = afeed2 + kfeed*aright
delayw aright
;--------------------------------------------feedback
aglobin = (afeed1+afeed2)*.05
atap1 comb aglobin,3.3,ilp1
atap2 comb aglobin,3.3,ilp2
atap3 comb aglobin,3.3,ilp3
aglobreva alpass atap1+atap2+atap3,2.6,.085
aglobrev tone aglobreva,kroll
;---------------------------------------------
kdel3 randi .003,1,.888
kdel3 = kdel3 + .05
addl3 delayr .2
agr1 deltapi kdel3
delayw aglobrev
;---------------------------------------------
kdel4 randi .003,1,.999
kdel4 = kdel4 + .05
addl4 delayr .2
agr2 deltapi kdel4
delayw aglobrev
;---------------------------------------------
arevl = agr1+afeed1
arevr = agr2+afeed2
aout1 = (ain1*korig)+(arevl*krev)
aout2 = (ain2*korig)+(arevr*krev)
else
aout1 = ain1
aout2 = ain2
endif
</code>
<comments>
DESCRIPTION:
Advanced Reverb
CONTROLLERS:
ON/OFF - bypass
feedback - feedback level
cutoff - cutoff frequency
dryMix - mix direct signal with effect
---
version 1.1, May 2020
- added comments on controllers
version 1.1, 2017
- new GUI and small code adaptations by Menno Knevel
version 1.0, 2002
- initial version by Eric Lyon</comments>
<opcodeList/>
<graphicInterface editEnabled='true'>
<gridSettings>
<width>5</width>
<height>5</height>
<gridStyle>LINE</gridStyle>
<snapGridEnabled>true</snapGridEnabled>
</gridSettings>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBGroup'>
<objectName></objectName>
<x>0</x>
<y>0</y>
<groupName>Group</groupName>
<backgroundColor>0x00000033</backgroundColor>
<borderColor>0x000000ff</borderColor>
<labelTextColor>0xffffffff</labelTextColor>
<titleEnabled>true</titleEnabled>
<width>20</width>
<height>20</height>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBCheckBox'>
<objectName>AdvancedReverbON</objectName>
<x>0</x>
<y>0</y>
<automationAllowed>true</automationAllowed>
<label/>
<selected>true</selected>
<randomizable>true</randomizable>
</bsbObject>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBGroup'>
<objectName></objectName>
<x>7</x>
<y>10</y>
<groupName>Group</groupName>
<backgroundColor>0x4d8080ff</backgroundColor>
<borderColor>0x000000ff</borderColor>
<labelTextColor>0xffffffff</labelTextColor>
<titleEnabled>false</titleEnabled>
<width>173</width>
<height>20</height>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
<objectName>AdvancedReverb_cutoff</objectName>
<x>70</x>
<y>10</y>
<automationAllowed>true</automationAllowed>
<minimum>20.0</minimum>
<maximum>15000.0</maximum>
<value>6461.4</value>
<knobWidth>40</knobWidth>
<randomizable>true</randomizable>
<valueDisplayEnabled>true</valueDisplayEnabled>
<label>cutoff</label>
<labelEnabled>true</labelEnabled>
<font>
<name>System Regular</name>
<size>12.0</size>
</font>
</bsbObject>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
<objectName>AdvancedReverb_feedback</objectName>
<x>10</x>
<y>10</y>
<automationAllowed>true</automationAllowed>
<minimum>0.0</minimum>
<maximum>1.0</maximum>
<value>0.49786</value>
<knobWidth>40</knobWidth>
<randomizable>true</randomizable>
<valueDisplayEnabled>true</valueDisplayEnabled>
<label>feedback</label>
<labelEnabled>true</labelEnabled>
<font>
<name>System Regular</name>
<size>12.0</size>
</font>
</bsbObject>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
<objectName>AdvancedReverb_dryMix</objectName>
<x>120</x>
<y>10</y>
<automationAllowed>true</automationAllowed>
<minimum>0.0</minimum>
<maximum>1.0</maximum>
<value>0.5</value>
<knobWidth>40</knobWidth>
<randomizable>true</randomizable>
<valueDisplayEnabled>true</valueDisplayEnabled>
<label>dryMix</label>
<labelEnabled>true</labelEnabled>
<font>
<name>System Regular</name>
<size>12.0</size>
</font>
</bsbObject>
</bsbObject>
</bsbObject>
</graphicInterface>
<parameterList>
<parameter uniqueId='-1608504457' name='AdvancedReverb_feedback' label='' min='0.0' max='1.0' bdresolution='-1' automationEnabled='false' value='0.49786'>
<line name='' version='2' max='1.0' min='0.0' bdresolution='-1' color='-8355712' rightBound='false' endPointsLinked='false'>
<linePoint x='0.0' y='0.49786'/>
</line>
</parameter>
<parameter uniqueId='-1608504455' name='AdvancedReverb_dryMix' label='' min='0.0' max='1.0' bdresolution='-1' automationEnabled='false' value='0.5'>
<line name='' version='2' max='1.0' min='0.0' bdresolution='-1' color='-8355712' rightBound='false' endPointsLinked='false'>
<linePoint x='0.0' y='0.5'/>
</line>
</parameter>
<parameter uniqueId='-850961973' name='AdvancedReverb_cutoff' label='' min='20.0' max='15000.0' bdresolution='-1' automationEnabled='false' value='6461.4'>
<line name='' version='2' max='15000.0' min='20.0' bdresolution='-1' color='-8355712' rightBound='false' endPointsLinked='false'>
<linePoint x='0.0' y='6461.4'/>
</line>
</parameter>
<parameter uniqueId='-104104165' name='AdvancedReverbON' label='' min='0.0' max='1.0' bdresolution='1' automationEnabled='false' value='1.0'>
<line name='' version='2' max='1.0' min='0.0' bdresolution='1' color='-8355712' rightBound='false' endPointsLinked='false'>
<linePoint x='0.0' y='1.0'/>
</line>
</parameter>
</parameterList>
</effect>