-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSchroeder Reverb.effect
283 lines (271 loc) · 11.2 KB
/
Schroeder 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
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
<effect>
<name>Schroeder Reverb</name>
<enabled>true</enabled>
<numIns>2</numIns>
<numOuts>2</numOuts>
<code>if (<SchroederON> == 1) then
krvt = <Schroeder_reverbTime>
ilptcmb = i(<Schroeder_combLoop>)
ilptap1 = i(<Schroeder_loopDelay1>)
ilptap2 = i(<Schroeder_loopDelay2>)
kdrymix = <Schroeder_dryMix>
kcutoff = <Schroeder_cutoff>
adel delayr ilptcmb*2 ;comb filters
acomb1 deltapi ilptcmb
afilt1 tone acomb1, kcutoff
afilt1 balance afilt1, acomb1
kgain1 pow .001, ilptcmb/krvt
acomb2 deltapi ilptcmb*1.7
afilt2 tone acomb2, kcutoff
afilt2 balance afilt2, acomb2
kgain2 pow .001, (ilptcmb*1.7)/krvt
acomb3 deltapi ilptcmb*.333
afilt3 tone acomb3, kcutoff
afilt3 balance afilt3, acomb3
kgain3 pow .001, (ilptcmb*.333)/krvt
acomb4 deltapi ilptcmb*1.666
afilt4 tone acomb4, kcutoff
afilt4 balance afilt4, acomb4
kgain4 pow .001, (ilptcmb*1.666)/krvt
delayw (((afilt1*kgain1)+(afilt2*kgain2)+(afilt3*kgain3)+(afilt4*kgain4))/4)+ain1+ain2
acombL = (acomb1+acomb2)/2
acombR = (acomb3+acomb4)/2
aap1L alpass acombL, krvt, ilptap1 ;all-pass filters
aap2L alpass aap1L, krvt, ilptap2
aap1R alpass acombR, krvt, ilptap1
aap2R alpass aap1R, krvt, ilptap2
arvbL = aap2L
arvbR = aap2R
aout1 dcblock (ain1*kdrymix)+(arvbL*(1-kdrymix)) ;mix wet and dry
aout2 dcblock (ain2*kdrymix)+(arvbR*(1-kdrymix))
else
aout1 = ain1
aout2 = ain2
endif</code>
<comments>
DESCRIPTION:
Straight-forward Schroeder reverb. Comb filter times are multiples of one input; each allpass delay configurable. Pretty much by the book.
CONTROLLERS:
ON/OFF - bypass
Time - reverb time in seconds
LP Filter Cutoff- cutoff frequency of a simple filter
Comb - amount of ringing effect in the reverb
Delay1/Delay2 - 2 settings for loop time in seconds
Mix - mix direct signal with effect
---
version 1.11, May 2020
- added comments on controllers
version 1.1, 2017
- new GUI and small code adaptations by Menno Knevel
version 1.0, 2008?
- initial version by Michael Bechard</comments>
<opcodeList/>
<graphicInterface editEnabled='false'>
<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>SchroederON</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>10</x>
<y>10</y>
<groupName>Group</groupName>
<backgroundColor>0x4d8080ff</backgroundColor>
<borderColor>0x000000ff</borderColor>
<labelTextColor>0xffffffff</labelTextColor>
<titleEnabled>false</titleEnabled>
<width>20</width>
<height>20</height>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
<objectName>Schroeder_reverbTime</objectName>
<x>20</x>
<y>20</y>
<automationAllowed>true</automationAllowed>
<minimum>0.0</minimum>
<maximum>4.0</maximum>
<value>2.0332127</value>
<knobWidth>40</knobWidth>
<randomizable>true</randomizable>
<valueDisplayEnabled>true</valueDisplayEnabled>
<label>Time</label>
<labelEnabled>true</labelEnabled>
<font>
<name>System Regular</name>
<size>12.0</size>
</font>
</bsbObject>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBVSlider' version='2'>
<objectName>Schroeder_dryMix</objectName>
<x>280</x>
<y>10</y>
<automationAllowed>true</automationAllowed>
<minimum>0.0</minimum>
<maximum>1.0</maximum>
<bdresolution>0.01</bdresolution>
<value>0.49</value>
<sliderHeight>100</sliderHeight>
<randomizable>true</randomizable>
<valueDisplayEnabled>false</valueDisplayEnabled>
</bsbObject>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel' version='2'>
<objectName></objectName>
<x>30</x>
<y>125</y>
<label>LP Filter Cutoff</label>
<font>
<name>System Regular</name>
<size>12.0</size>
</font>
</bsbObject>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel' version='2'>
<objectName></objectName>
<x>285</x>
<y>110</y>
<label>Mix</label>
<font>
<name>System Regular</name>
<size>12.0</size>
</font>
</bsbObject>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBHSlider' version='2'>
<objectName>Schroeder_cutoff</objectName>
<x>20</x>
<y>110</y>
<automationAllowed>true</automationAllowed>
<minimum>0.0</minimum>
<maximum>10000.0</maximum>
<bdresolution>1</bdresolution>
<value>2097.0</value>
<sliderWidth>200</sliderWidth>
<randomizable>true</randomizable>
<valueDisplayEnabled>true</valueDisplayEnabled>
</bsbObject>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBGroup'>
<objectName></objectName>
<x>90</x>
<y>15</y>
<groupName>loop time</groupName>
<backgroundColor>0x4d8080ff</backgroundColor>
<borderColor>0x000000ff</borderColor>
<labelTextColor>0xffffffff</labelTextColor>
<titleEnabled>false</titleEnabled>
<width>20</width>
<height>20</height>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
<objectName>Schroeder_loopDelay2</objectName>
<x>125</x>
<y>10</y>
<automationAllowed>true</automationAllowed>
<minimum>0.0</minimum>
<maximum>0.1</maximum>
<value>0.1</value>
<knobWidth>40</knobWidth>
<randomizable>true</randomizable>
<valueDisplayEnabled>true</valueDisplayEnabled>
<label>Delay 2</label>
<labelEnabled>true</labelEnabled>
<font>
<name>System Regular</name>
<size>12.0</size>
</font>
</bsbObject>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
<objectName>Schroeder_combLoop</objectName>
<x>10</x>
<y>10</y>
<automationAllowed>true</automationAllowed>
<minimum>0.0</minimum>
<maximum>0.2</maximum>
<value>0.070382446</value>
<knobWidth>40</knobWidth>
<randomizable>true</randomizable>
<valueDisplayEnabled>true</valueDisplayEnabled>
<label>Comb</label>
<labelEnabled>true</labelEnabled>
<font>
<name>System Regular</name>
<size>12.0</size>
</font>
</bsbObject>
<bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
<objectName>Schroeder_loopDelay1</objectName>
<x>65</x>
<y>10</y>
<automationAllowed>true</automationAllowed>
<minimum>0.0</minimum>
<maximum>0.1</maximum>
<value>0.048102405</value>
<knobWidth>40</knobWidth>
<randomizable>true</randomizable>
<valueDisplayEnabled>true</valueDisplayEnabled>
<label>Delay 1</label>
<labelEnabled>true</labelEnabled>
<font>
<name>System Regular</name>
<size>12.0</size>
</font>
</bsbObject>
</bsbObject>
</bsbObject>
</bsbObject>
</graphicInterface>
<parameterList>
<parameter uniqueId='-1342660358' name='Schroeder_reverbTime' label='' min='0.0' max='4.0' bdresolution='-1' automationEnabled='false' value='2.0332127'>
<line name='' version='2' max='4.0' min='0.0' bdresolution='-1' color='-8355712' rightBound='false' endPointsLinked='false'>
<linePoint x='0.0' y='2.0332127'/>
</line>
</parameter>
<parameter uniqueId='-1342660354' name='Schroeder_cutoff' label='' min='0.0' max='10000.0' bdresolution='1' automationEnabled='false' value='2097.0'>
<line name='' version='2' max='10000.0' min='0.0' bdresolution='1' color='-8355712' rightBound='false' endPointsLinked='false'>
<linePoint x='0.0' y='2097.0'/>
</line>
</parameter>
<parameter uniqueId='-1342660346' name='Schroeder_combLoop' label='' min='0.0' max='0.2' bdresolution='-1' automationEnabled='false' value='0.070382446'>
<line name='' version='2' max='0.2' min='0.0' bdresolution='-1' color='-8355712' rightBound='false' endPointsLinked='false'>
<linePoint x='0.0' y='0.070382446'/>
</line>
</parameter>
<parameter uniqueId='-1342660344' name='Schroeder_loopDelay1' label='' min='0.0' max='0.1' bdresolution='-1' automationEnabled='false' value='0.048102405'>
<line name='' version='2' max='0.1' min='0.0' bdresolution='-1' color='-8355712' rightBound='false' endPointsLinked='false'>
<linePoint x='0.0' y='0.048102405'/>
</line>
</parameter>
<parameter uniqueId='-1342660342' name='Schroeder_loopDelay2' label='' min='0.0' max='0.1' bdresolution='-1' automationEnabled='false' value='0.1'>
<line name='' version='2' max='0.1' min='0.0' bdresolution='-1' color='-8355712' rightBound='false' endPointsLinked='false'>
<linePoint x='0.0' y='0.1'/>
</line>
</parameter>
<parameter uniqueId='-850961807' name='Schroeder_dryMix' label='' min='0.0' max='1.0' bdresolution='0.01' automationEnabled='false' value='0.49'>
<line name='' version='2' max='1.0' min='0.0' bdresolution='0.01' color='-8355712' rightBound='false' endPointsLinked='false'>
<linePoint x='0.0' y='0.49'/>
</line>
</parameter>
<parameter uniqueId='-104104167' name='SchroederON' 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>