| 1 |
;Written by Iain McCurdy, 2006 |
| 2 |
|
| 3 |
;Modified for QuteCsound by René, September 2010, updated Feb 2011 |
| 4 |
;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817 |
| 5 |
|
| 6 |
;Notes on modifications from original csd: |
| 7 |
; Add table(s) for exp slider |
| 8 |
; Add Browser for audio file and use of FilePlay2 udo, now accept mono or stereo wav files |
| 9 |
|
| 10 |
|
| 11 |
;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0 |
| 12 |
<CsoundSynthesizer> |
| 13 |
<CsOptions> |
| 14 |
--env:SSDIR+=../../SourceMaterials |
| 15 |
</CsOptions> |
| 16 |
<CsInstruments> |
| 17 |
sr = 44100 ;SAMPLE RATE |
| 18 |
ksmps = 2 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE |
| 19 |
nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO) |
| 20 |
0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH |
| 21 |
|
| 22 |
|
| 23 |
gitri ftgen 0, 0, 131072, 7, 0, 65536, 1, 65536, 0 ;POSITIVE DOMAIN TRIANGLE WAVE |
| 24 |
giExp1 ftgen 0, 0, 129, -25, 0, 0.0001, 128, 1.0 ;TABLE FOR EXP SLIDER |
| 25 |
|
| 26 |
|
| 27 |
opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz |
| 28 |
;gives stereo output regardless your soundfile is mono or stereo |
| 29 |
Sfil, kspeed, iskip, iloop xin |
| 30 |
ichn filenchnls Sfil |
| 31 |
if ichn == 1 then |
| 32 |
aL diskin2 Sfil, kspeed, iskip, iloop |
| 33 |
aR = aL |
| 34 |
else |
| 35 |
aL, aR diskin2 Sfil, kspeed, iskip, iloop |
| 36 |
endif |
| 37 |
xout aL, aR |
| 38 |
endop |
| 39 |
|
| 40 |
|
| 41 |
instr 10 ;GUI |
| 42 |
ktrig metro 10 |
| 43 |
if (ktrig == 1) then |
| 44 |
gkingain invalue "Live_Input_Gain" |
| 45 |
kdlt invalue "Delay_Time" |
| 46 |
gkdlt tablei kdlt, giExp1, 1 |
| 47 |
outvalue "Delay_Time_Value", gkdlt ;init 0.0001 |
| 48 |
gkmix invalue "Mix" ;init 0.5 |
| 49 |
gkfeedamt invalue "Feedback_Amount" ;init 0.0 |
| 50 |
gkamp invalue "Output_Amplitude_Rescaling" ;init 0.7 |
| 51 |
gkFlaDepth invalue "Flanger_Modulation_Depth" ;init 0.005 |
| 52 |
gkFlaRate invalue "Flanger_Modulation_Rate" ;init 0.05 |
| 53 |
gkinput invalue "Input" |
| 54 |
gkmode invalue "Mode" |
| 55 |
|
| 56 |
endif |
| 57 |
endin |
| 58 |
|
| 59 |
instr 1 ;PLAYS FILE |
| 60 |
if gkinput==0 then ;IF FILE INPUT IS SELECTED... |
| 61 |
Sfile invalue "_Browse1" |
| 62 |
gasigL, gasigR FilePlay2 Sfile, 1, 0, 1 ;GENERATE 2 AUDIO SIGNALS FROM A SOUND FILE (NOTE THE USE OF GLOBAL VARIABLES) |
| 63 |
else ;OTHERWISE |
| 64 |
asigL, asigR ins ;TAKE INPUT FROM COMPUTER'S AUDIO INPUT |
| 65 |
gasigL = asigL * gkingain ;SCALE USING 'Input Gain' SLIDER |
| 66 |
gasigR = asigR * gkingain ;SCALE USING 'Input Gain' SLIDER |
| 67 |
endif ;END OF CONDITIONAL BRANCHING |
| 68 |
endin |
| 69 |
|
| 70 |
instr 2 ;FLANGER-DELAY INSTRUMENT |
| 71 |
iporttime = .1 ;PORTAMENTO TIME |
| 72 |
kporttime linseg 0, .001, iporttime, 1, iporttime ;USE OF AN ENVELOPE VALUE THAT QUICKLY RAMPS UP FROM ZERON TO THE REQUIRED VALUE PREVENTS VARIABLES GLIDING TO THEIR REQUIRED VALUES EACH TIME THE INSTRUMENT IS STARTED |
| 73 |
kdlt portk gkdlt, kporttime ;PORTAMENTO IS APPLIED TO THE VARIABLE 'gkdlt'. A NEW VARIABLE 'kdlt' IS CREATED. |
| 74 |
adlt interp kdlt ;A NEW A-RATE VARIABLE 'adlt' IS CREATED BY INTERPOLATING THE K-RATE VARIABLE 'kdlt' |
| 75 |
|
| 76 |
amod oscil gkFlaDepth, gkFlaRate, gitri ;OSCILLATOR THAT MAKES USE OF THE POSITIVE DOMAIN ONLY TRIANGLE WAVE IN FUNCTION TABLE 1 |
| 77 |
|
| 78 |
adlt sum adlt, amod ;STATIC DELAY TIME AND MODULATING DELAY TIME ARE SUMMED |
| 79 |
;REMEMBER THAT THE LENGTH OF THE DELAY BUFFER DEFINED WILL HAVE TO TAKE ACCOUNT OF THE SUMMED MAXIMUM OF THE STATIC DELAY TIME AND MODULATING DELAY TIME |
| 80 |
|
| 81 |
;;;LEFT CHANNEL DELAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 82 |
abufferL delayr 1.2 ;CREATE A DELAY BUFFER OF 1.2 SECONDS DURATION (EQUIVALENT TO THE MAXIMUM DELAY TIME POSSIBLE USING THIS EXAMPLE) |
| 83 |
adelsigL deltap3 adlt ;TAP THE DELAY LINE AT gkdlt SECONDS |
| 84 |
delayw gasigL + (adelsigL*gkfeedamt) ;WRITE AUDIO SOURCE AND FEEDBACK SIGNAL INTO THE BEGINNING OF THE BUFFER |
| 85 |
|
| 86 |
;;;RIGHT CHANNEL DELAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 87 |
abufferR delayr 1.2 ;CREATE A DELAY BUFFER OF 1.2 SECONDS DURATION (EQUIVALENT TO THE MAXIMUM DELAY TIME POSSIBLE USING THIS EXAMPLE) |
| 88 |
adelsigR deltap3 adlt ;TAP THE DELAY LINE AT gkdlt SECONDS |
| 89 |
delayw gasigR + (adelsigR*gkfeedamt) ;WRITE AUDIO SOURCE AND FEEDBACK SIGNAL INTO THE BEGINNING OF THE BUFFER |
| 90 |
|
| 91 |
aL ntrpol gasigL, -adelsigL, gkmix ;CREATE DRY/WET MIX |
| 92 |
aR ntrpol gasigR, -adelsigR, gkmix ;CREATE DRY/WET MIX |
| 93 |
|
| 94 |
outs aL * gkamp, aR * gkamp ;CREATE A MIX BETWEEN THE WET AND THE DRY SIGNALS AT THE OUTPUT |
| 95 |
clear gasigL, gasigR ;CLEAR THE GLOBAL AUDIO SEND VARIABLES |
| 96 |
endin |
| 97 |
</CsInstruments> |
| 98 |
<CsScore> |
| 99 |
;INSTR | START | DURATION |
| 100 |
i 10 0 -1 ;GUI |
| 101 |
i 2 0 -1 ;INSTRUMENT 2 PLAYS A HELD NOTE |
| 102 |
|
| 103 |
f 0 3600 ;'DUMMY' SCORE EVENT KEEPS REALTIME PERFORMANCE GOING FOR 1 HOUR |
| 104 |
</CsScore> |
| 105 |
</CsoundSynthesizer> |
| 106 |
<bsbPanel> |
| 107 |
<label>Widgets</label> |
| 108 |
<objectName/> |
| 109 |
<x>72</x> |
| 110 |
<y>179</y> |
| 111 |
<width>400</width> |
| 112 |
<height>200</height> |
| 113 |
<visible>true</visible> |
| 114 |
<uuid/> |
| 115 |
<bgcolor mode="background"> |
| 116 |
<r>241</r> |
| 117 |
<g>226</g> |
| 118 |
<b>185</b> |
| 119 |
</bgcolor> |
| 120 |
<bsbObject version="2" type="BSBLabel"> |
| 121 |
<objectName/> |
| 122 |
<x>2</x> |
| 123 |
<y>2</y> |
| 124 |
<width>513</width> |
| 125 |
<height>460</height> |
| 126 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 127 |
<visible>true</visible> |
| 128 |
<midichan>0</midichan> |
| 129 |
<midicc>0</midicc> |
| 130 |
<label> Through Zero Flanger Implementation</label> |
| 131 |
<alignment>center</alignment> |
| 132 |
<font>Liberation Sans</font> |
| 133 |
<fontsize>18</fontsize> |
| 134 |
<precision>3</precision> |
| 135 |
<color> |
| 136 |
<r>0</r> |
| 137 |
<g>0</g> |
| 138 |
<b>0</b> |
| 139 |
</color> |
| 140 |
<bgcolor mode="background"> |
| 141 |
<r>158</r> |
| 142 |
<g>220</g> |
| 143 |
<b>217</b> |
| 144 |
</bgcolor> |
| 145 |
<bordermode>border</bordermode> |
| 146 |
<borderradius>5</borderradius> |
| 147 |
<borderwidth>2</borderwidth> |
| 148 |
</bsbObject> |
| 149 |
<bsbObject version="2" type="BSBButton"> |
| 150 |
<objectName/> |
| 151 |
<x>4</x> |
| 152 |
<y>24</y> |
| 153 |
<width>115</width> |
| 154 |
<height>37</height> |
| 155 |
<uuid>{487d5181-d838-4cce-9628-317fefc350cb}</uuid> |
| 156 |
<visible>true</visible> |
| 157 |
<midichan>0</midichan> |
| 158 |
<midicc>0</midicc> |
| 159 |
<type>event</type> |
| 160 |
<pressedValue>1.00000000</pressedValue> |
| 161 |
<stringvalue/> |
| 162 |
<text> ON / OFF</text> |
| 163 |
<image>/</image> |
| 164 |
<eventLine>i 1 0 -1</eventLine> |
| 165 |
<latch>true</latch> |
| 166 |
<latched>false</latched> |
| 167 |
</bsbObject> |
| 168 |
<bsbObject version="2" type="BSBHSlider"> |
| 169 |
<objectName>Live_Input_Gain</objectName> |
| 170 |
<x>8</x> |
| 171 |
<y>47</y> |
| 172 |
<width>500</width> |
| 173 |
<height>27</height> |
| 174 |
<uuid>{de47f47d-bcea-4c1c-ab4b-a323452b1f7e}</uuid> |
| 175 |
<visible>true</visible> |
| 176 |
<midichan>0</midichan> |
| 177 |
<midicc>0</midicc> |
| 178 |
<minimum>0.00000000</minimum> |
| 179 |
<maximum>1.00000000</maximum> |
| 180 |
<value>0.54400000</value> |
| 181 |
<mode>lin</mode> |
| 182 |
<mouseControl act="jump">continuous</mouseControl> |
| 183 |
<resolution>-1.00000000</resolution> |
| 184 |
<randomizable group="0">false</randomizable> |
| 185 |
</bsbObject> |
| 186 |
<bsbObject version="2" type="BSBLabel"> |
| 187 |
<objectName/> |
| 188 |
<x>8</x> |
| 189 |
<y>64</y> |
| 190 |
<width>120</width> |
| 191 |
<height>30</height> |
| 192 |
<uuid>{0200a063-5db8-4668-bc2d-2d989a083f6e}</uuid> |
| 193 |
<visible>true</visible> |
| 194 |
<midichan>0</midichan> |
| 195 |
<midicc>0</midicc> |
| 196 |
<label>Live input Gain</label> |
| 197 |
<alignment>left</alignment> |
| 198 |
<font>Arial</font> |
| 199 |
<fontsize>10</fontsize> |
| 200 |
<precision>3</precision> |
| 201 |
<color> |
| 202 |
<r>0</r> |
| 203 |
<g>0</g> |
| 204 |
<b>0</b> |
| 205 |
</color> |
| 206 |
<bgcolor mode="nobackground"> |
| 207 |
<r>255</r> |
| 208 |
<g>255</g> |
| 209 |
<b>255</b> |
| 210 |
</bgcolor> |
| 211 |
<bordermode>noborder</bordermode> |
| 212 |
<borderradius>1</borderradius> |
| 213 |
<borderwidth>1</borderwidth> |
| 214 |
</bsbObject> |
| 215 |
<bsbObject version="2" type="BSBDisplay"> |
| 216 |
<objectName>Live_Input_Gain</objectName> |
| 217 |
<x>448</x> |
| 218 |
<y>64</y> |
| 219 |
<width>60</width> |
| 220 |
<height>30</height> |
| 221 |
<uuid>{ab191e3a-430d-4f1d-88aa-9840342cd2d3}</uuid> |
| 222 |
<visible>true</visible> |
| 223 |
<midichan>0</midichan> |
| 224 |
<midicc>0</midicc> |
| 225 |
<label>0.544</label> |
| 226 |
<alignment>right</alignment> |
| 227 |
<font>Arial</font> |
| 228 |
<fontsize>9</fontsize> |
| 229 |
<precision>3</precision> |
| 230 |
<color> |
| 231 |
<r>0</r> |
| 232 |
<g>0</g> |
| 233 |
<b>0</b> |
| 234 |
</color> |
| 235 |
<bgcolor mode="nobackground"> |
| 236 |
<r>255</r> |
| 237 |
<g>255</g> |
| 238 |
<b>255</b> |
| 239 |
</bgcolor> |
| 240 |
<bordermode>noborder</bordermode> |
| 241 |
<borderradius>1</borderradius> |
| 242 |
<borderwidth>1</borderwidth> |
| 243 |
</bsbObject> |
| 244 |
<bsbObject version="2" type="BSBLabel"> |
| 245 |
<objectName/> |
| 246 |
<x>516</x> |
| 247 |
<y>2</y> |
| 248 |
<width>329</width> |
| 249 |
<height>460</height> |
| 250 |
<uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid> |
| 251 |
<visible>true</visible> |
| 252 |
<midichan>0</midichan> |
| 253 |
<midicc>0</midicc> |
| 254 |
<label>Through Zero Flanger Implementation</label> |
| 255 |
<alignment>center</alignment> |
| 256 |
<font>Liberation Sans</font> |
| 257 |
<fontsize>18</fontsize> |
| 258 |
<precision>3</precision> |
| 259 |
<color> |
| 260 |
<r>0</r> |
| 261 |
<g>0</g> |
| 262 |
<b>0</b> |
| 263 |
</color> |
| 264 |
<bgcolor mode="background"> |
| 265 |
<r>158</r> |
| 266 |
<g>220</g> |
| 267 |
<b>217</b> |
| 268 |
</bgcolor> |
| 269 |
<bordermode>border</bordermode> |
| 270 |
<borderradius>5</borderradius> |
| 271 |
<borderwidth>2</borderwidth> |
| 272 |
</bsbObject> |
| 273 |
<bsbObject version="2" type="BSBLabel"> |
| 274 |
<objectName/> |
| 275 |
<x>521</x> |
| 276 |
<y>41</y> |
| 277 |
<width>320</width> |
| 278 |
<height>417</height> |
| 279 |
<uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid> |
| 280 |
<visible>true</visible> |
| 281 |
<midichan>0</midichan> |
| 282 |
<midicc>0</midicc> |
| 283 |
<label>--------------------------------------------------------------------- |
| 284 |
This example is very similar to the previous flanger example but with two modifications made to implement what is referred to as a 'through the zero' flanger. |
| 285 |
At the minimum point of its modulation, when the time difference between the dry signal and the delayed signal is zero, the sound is completely cancelled out by the flanger. |
| 286 |
In order for this to happen the delayed signal must also be inverted. |
| 287 |
Delay opcodes will not allow setting a delay time of zero so the way round this is to delay the dry signal by an amount of time equal to the minimum delay time of the flanger modulations. |
| 288 |
For the through the zero flanger cancelling effect to work feedback should be kept at zero. |
| 289 |
In this example the user can choose between a sound file as input or the computer's live input. |
| 290 |
A gain control is provided to control the gain of the live input.</label> |
| 291 |
<alignment>left</alignment> |
| 292 |
<font>Liberation Sans</font> |
| 293 |
<fontsize>14</fontsize> |
| 294 |
<precision>3</precision> |
| 295 |
<color> |
| 296 |
<r>0</r> |
| 297 |
<g>0</g> |
| 298 |
<b>0</b> |
| 299 |
</color> |
| 300 |
<bgcolor mode="nobackground"> |
| 301 |
<r>255</r> |
| 302 |
<g>255</g> |
| 303 |
<b>255</b> |
| 304 |
</bgcolor> |
| 305 |
<bordermode>noborder</bordermode> |
| 306 |
<borderradius>1</borderradius> |
| 307 |
<borderwidth>1</borderwidth> |
| 308 |
</bsbObject> |
| 309 |
<bsbObject version="2" type="BSBDisplay"> |
| 310 |
<objectName>Delay_Time_Value</objectName> |
| 311 |
<x>448</x> |
| 312 |
<y>107</y> |
| 313 |
<width>60</width> |
| 314 |
<height>30</height> |
| 315 |
<uuid>{732b2008-7445-4893-a260-e68561cf8e71}</uuid> |
| 316 |
<visible>true</visible> |
| 317 |
<midichan>0</midichan> |
| 318 |
<midicc>0</midicc> |
| 319 |
<label>0.000</label> |
| 320 |
<alignment>right</alignment> |
| 321 |
<font>Arial</font> |
| 322 |
<fontsize>9</fontsize> |
| 323 |
<precision>3</precision> |
| 324 |
<color> |
| 325 |
<r>0</r> |
| 326 |
<g>0</g> |
| 327 |
<b>0</b> |
| 328 |
</color> |
| 329 |
<bgcolor mode="nobackground"> |
| 330 |
<r>255</r> |
| 331 |
<g>255</g> |
| 332 |
<b>255</b> |
| 333 |
</bgcolor> |
| 334 |
<bordermode>noborder</bordermode> |
| 335 |
<borderradius>1</borderradius> |
| 336 |
<borderwidth>1</borderwidth> |
| 337 |
</bsbObject> |
| 338 |
<bsbObject version="2" type="BSBLabel"> |
| 339 |
<objectName/> |
| 340 |
<x>8</x> |
| 341 |
<y>107</y> |
| 342 |
<width>120</width> |
| 343 |
<height>30</height> |
| 344 |
<uuid>{b57ba536-8f28-4986-9bf7-8eb84262d8ca}</uuid> |
| 345 |
<visible>true</visible> |
| 346 |
<midichan>0</midichan> |
| 347 |
<midicc>0</midicc> |
| 348 |
<label>Delay Time (sec)</label> |
| 349 |
<alignment>left</alignment> |
| 350 |
<font>Arial</font> |
| 351 |
<fontsize>10</fontsize> |
| 352 |
<precision>3</precision> |
| 353 |
<color> |
| 354 |
<r>0</r> |
| 355 |
<g>0</g> |
| 356 |
<b>0</b> |
| 357 |
</color> |
| 358 |
<bgcolor mode="nobackground"> |
| 359 |
<r>255</r> |
| 360 |
<g>255</g> |
| 361 |
<b>255</b> |
| 362 |
</bgcolor> |
| 363 |
<bordermode>noborder</bordermode> |
| 364 |
<borderradius>1</borderradius> |
| 365 |
<borderwidth>1</borderwidth> |
| 366 |
</bsbObject> |
| 367 |
<bsbObject version="2" type="BSBHSlider"> |
| 368 |
<objectName>Delay_Time</objectName> |
| 369 |
<x>8</x> |
| 370 |
<y>90</y> |
| 371 |
<width>500</width> |
| 372 |
<height>27</height> |
| 373 |
<uuid>{b8fa76b9-3d04-4156-a2f2-a413d3864da3}</uuid> |
| 374 |
<visible>true</visible> |
| 375 |
<midichan>0</midichan> |
| 376 |
<midicc>0</midicc> |
| 377 |
<minimum>0.00000000</minimum> |
| 378 |
<maximum>1.00000000</maximum> |
| 379 |
<value>0.00000000</value> |
| 380 |
<mode>lin</mode> |
| 381 |
<mouseControl act="jump">continuous</mouseControl> |
| 382 |
<resolution>-1.00000000</resolution> |
| 383 |
<randomizable group="0">false</randomizable> |
| 384 |
</bsbObject> |
| 385 |
<bsbObject version="2" type="BSBDropdown"> |
| 386 |
<objectName>Input</objectName> |
| 387 |
<x>176</x> |
| 388 |
<y>360</y> |
| 389 |
<width>120</width> |
| 390 |
<height>30</height> |
| 391 |
<uuid>{9b81a1f2-bcb8-4582-925b-9ae56def3865}</uuid> |
| 392 |
<visible>true</visible> |
| 393 |
<midichan>0</midichan> |
| 394 |
<midicc>0</midicc> |
| 395 |
<bsbDropdownItemList> |
| 396 |
<bsbDropdownItem> |
| 397 |
<name>Audio File</name> |
| 398 |
<value>0</value> |
| 399 |
<stringvalue/> |
| 400 |
</bsbDropdownItem> |
| 401 |
<bsbDropdownItem> |
| 402 |
<name> Live Input</name> |
| 403 |
<value>1</value> |
| 404 |
<stringvalue/> |
| 405 |
</bsbDropdownItem> |
| 406 |
</bsbDropdownItemList> |
| 407 |
<selectedIndex>0</selectedIndex> |
| 408 |
<randomizable group="0">false</randomizable> |
| 409 |
</bsbObject> |
| 410 |
<bsbObject version="2" type="BSBLabel"> |
| 411 |
<objectName/> |
| 412 |
<x>94</x> |
| 413 |
<y>360</y> |
| 414 |
<width>80</width> |
| 415 |
<height>30</height> |
| 416 |
<uuid>{62eeb695-9b83-42da-81cd-8000c232d9b9}</uuid> |
| 417 |
<visible>true</visible> |
| 418 |
<midichan>0</midichan> |
| 419 |
<midicc>0</midicc> |
| 420 |
<label>Input</label> |
| 421 |
<alignment>right</alignment> |
| 422 |
<font>Arial</font> |
| 423 |
<fontsize>10</fontsize> |
| 424 |
<precision>3</precision> |
| 425 |
<color> |
| 426 |
<r>0</r> |
| 427 |
<g>0</g> |
| 428 |
<b>0</b> |
| 429 |
</color> |
| 430 |
<bgcolor mode="nobackground"> |
| 431 |
<r>255</r> |
| 432 |
<g>255</g> |
| 433 |
<b>255</b> |
| 434 |
</bgcolor> |
| 435 |
<bordermode>noborder</bordermode> |
| 436 |
<borderradius>1</borderradius> |
| 437 |
<borderwidth>1</borderwidth> |
| 438 |
</bsbObject> |
| 439 |
<bsbObject version="2" type="BSBHSlider"> |
| 440 |
<objectName>Output_Amplitude_Rescaling</objectName> |
| 441 |
<x>8</x> |
| 442 |
<y>219</y> |
| 443 |
<width>500</width> |
| 444 |
<height>27</height> |
| 445 |
<uuid>{b7e7b8ab-140d-45bf-8c52-607bbf726f46}</uuid> |
| 446 |
<visible>true</visible> |
| 447 |
<midichan>0</midichan> |
| 448 |
<midicc>0</midicc> |
| 449 |
<minimum>0.00000000</minimum> |
| 450 |
<maximum>1.00000000</maximum> |
| 451 |
<value>0.71800000</value> |
| 452 |
<mode>lin</mode> |
| 453 |
<mouseControl act="jump">continuous</mouseControl> |
| 454 |
<resolution>-1.00000000</resolution> |
| 455 |
<randomizable group="0">false</randomizable> |
| 456 |
</bsbObject> |
| 457 |
<bsbObject version="2" type="BSBLabel"> |
| 458 |
<objectName/> |
| 459 |
<x>8</x> |
| 460 |
<y>236</y> |
| 461 |
<width>180</width> |
| 462 |
<height>30</height> |
| 463 |
<uuid>{92773515-22ba-4f64-b658-78264fc33aba}</uuid> |
| 464 |
<visible>true</visible> |
| 465 |
<midichan>0</midichan> |
| 466 |
<midicc>0</midicc> |
| 467 |
<label>Output Amplitude Rescaling</label> |
| 468 |
<alignment>left</alignment> |
| 469 |
<font>Arial</font> |
| 470 |
<fontsize>10</fontsize> |
| 471 |
<precision>3</precision> |
| 472 |
<color> |
| 473 |
<r>0</r> |
| 474 |
<g>0</g> |
| 475 |
<b>0</b> |
| 476 |
</color> |
| 477 |
<bgcolor mode="nobackground"> |
| 478 |
<r>255</r> |
| 479 |
<g>255</g> |
| 480 |
<b>255</b> |
| 481 |
</bgcolor> |
| 482 |
<bordermode>noborder</bordermode> |
| 483 |
<borderradius>1</borderradius> |
| 484 |
<borderwidth>1</borderwidth> |
| 485 |
</bsbObject> |
| 486 |
<bsbObject version="2" type="BSBDisplay"> |
| 487 |
<objectName>Output_Amplitude_Rescaling</objectName> |
| 488 |
<x>448</x> |
| 489 |
<y>236</y> |
| 490 |
<width>60</width> |
| 491 |
<height>30</height> |
| 492 |
<uuid>{cd171d26-552e-4958-b526-275d452ec385}</uuid> |
| 493 |
<visible>true</visible> |
| 494 |
<midichan>0</midichan> |
| 495 |
<midicc>0</midicc> |
| 496 |
<label>0.718</label> |
| 497 |
<alignment>right</alignment> |
| 498 |
<font>Arial</font> |
| 499 |
<fontsize>9</fontsize> |
| 500 |
<precision>3</precision> |
| 501 |
<color> |
| 502 |
<r>0</r> |
| 503 |
<g>0</g> |
| 504 |
<b>0</b> |
| 505 |
</color> |
| 506 |
<bgcolor mode="nobackground"> |
| 507 |
<r>255</r> |
| 508 |
<g>255</g> |
| 509 |
<b>255</b> |
| 510 |
</bgcolor> |
| 511 |
<bordermode>noborder</bordermode> |
| 512 |
<borderradius>1</borderradius> |
| 513 |
<borderwidth>1</borderwidth> |
| 514 |
</bsbObject> |
| 515 |
<bsbObject version="2" type="BSBDisplay"> |
| 516 |
<objectName>Mix</objectName> |
| 517 |
<x>448</x> |
| 518 |
<y>150</y> |
| 519 |
<width>60</width> |
| 520 |
<height>30</height> |
| 521 |
<uuid>{5cd56315-4bac-452e-92eb-a031b288b36f}</uuid> |
| 522 |
<visible>true</visible> |
| 523 |
<midichan>0</midichan> |
| 524 |
<midicc>0</midicc> |
| 525 |
<label>0.502</label> |
| 526 |
<alignment>right</alignment> |
| 527 |
<font>Arial</font> |
| 528 |
<fontsize>9</fontsize> |
| 529 |
<precision>3</precision> |
| 530 |
<color> |
| 531 |
<r>0</r> |
| 532 |
<g>0</g> |
| 533 |
<b>0</b> |
| 534 |
</color> |
| 535 |
<bgcolor mode="nobackground"> |
| 536 |
<r>255</r> |
| 537 |
<g>255</g> |
| 538 |
<b>255</b> |
| 539 |
</bgcolor> |
| 540 |
<bordermode>noborder</bordermode> |
| 541 |
<borderradius>1</borderradius> |
| 542 |
<borderwidth>1</borderwidth> |
| 543 |
</bsbObject> |
| 544 |
<bsbObject version="2" type="BSBLabel"> |
| 545 |
<objectName/> |
| 546 |
<x>8</x> |
| 547 |
<y>150</y> |
| 548 |
<width>120</width> |
| 549 |
<height>30</height> |
| 550 |
<uuid>{e2cef5dc-8935-405f-98da-e8a167a68d8a}</uuid> |
| 551 |
<visible>true</visible> |
| 552 |
<midichan>0</midichan> |
| 553 |
<midicc>0</midicc> |
| 554 |
<label>Dry / Wet Mix</label> |
| 555 |
<alignment>left</alignment> |
| 556 |
<font>Arial</font> |
| 557 |
<fontsize>10</fontsize> |
| 558 |
<precision>3</precision> |
| 559 |
<color> |
| 560 |
<r>0</r> |
| 561 |
<g>0</g> |
| 562 |
<b>0</b> |
| 563 |
</color> |
| 564 |
<bgcolor mode="nobackground"> |
| 565 |
<r>255</r> |
| 566 |
<g>255</g> |
| 567 |
<b>255</b> |
| 568 |
</bgcolor> |
| 569 |
<bordermode>noborder</bordermode> |
| 570 |
<borderradius>1</borderradius> |
| 571 |
<borderwidth>1</borderwidth> |
| 572 |
</bsbObject> |
| 573 |
<bsbObject version="2" type="BSBHSlider"> |
| 574 |
<objectName>Mix</objectName> |
| 575 |
<x>8</x> |
| 576 |
<y>133</y> |
| 577 |
<width>500</width> |
| 578 |
<height>27</height> |
| 579 |
<uuid>{ac0fd134-af88-448c-8e28-0198f559ba34}</uuid> |
| 580 |
<visible>true</visible> |
| 581 |
<midichan>0</midichan> |
| 582 |
<midicc>0</midicc> |
| 583 |
<minimum>0.00000000</minimum> |
| 584 |
<maximum>1.00000000</maximum> |
| 585 |
<value>0.50200000</value> |
| 586 |
<mode>lin</mode> |
| 587 |
<mouseControl act="jump">continuous</mouseControl> |
| 588 |
<resolution>-1.00000000</resolution> |
| 589 |
<randomizable group="0">false</randomizable> |
| 590 |
</bsbObject> |
| 591 |
<bsbObject version="2" type="BSBDisplay"> |
| 592 |
<objectName>Flanger_Modulation_Depth</objectName> |
| 593 |
<x>448</x> |
| 594 |
<y>279</y> |
| 595 |
<width>60</width> |
| 596 |
<height>30</height> |
| 597 |
<uuid>{c14cc927-5ac1-4f6a-8181-6a50801accaa}</uuid> |
| 598 |
<visible>true</visible> |
| 599 |
<midichan>0</midichan> |
| 600 |
<midicc>0</midicc> |
| 601 |
<label>0.003</label> |
| 602 |
<alignment>right</alignment> |
| 603 |
<font>Arial</font> |
| 604 |
<fontsize>9</fontsize> |
| 605 |
<precision>3</precision> |
| 606 |
<color> |
| 607 |
<r>0</r> |
| 608 |
<g>0</g> |
| 609 |
<b>0</b> |
| 610 |
</color> |
| 611 |
<bgcolor mode="nobackground"> |
| 612 |
<r>255</r> |
| 613 |
<g>255</g> |
| 614 |
<b>255</b> |
| 615 |
</bgcolor> |
| 616 |
<bordermode>noborder</bordermode> |
| 617 |
<borderradius>1</borderradius> |
| 618 |
<borderwidth>1</borderwidth> |
| 619 |
</bsbObject> |
| 620 |
<bsbObject version="2" type="BSBLabel"> |
| 621 |
<objectName/> |
| 622 |
<x>8</x> |
| 623 |
<y>279</y> |
| 624 |
<width>180</width> |
| 625 |
<height>30</height> |
| 626 |
<uuid>{f4b96abf-8cf5-4456-a057-6b785e9c4b8d}</uuid> |
| 627 |
<visible>true</visible> |
| 628 |
<midichan>0</midichan> |
| 629 |
<midicc>0</midicc> |
| 630 |
<label>Flanger Modulation Depth (sec)</label> |
| 631 |
<alignment>left</alignment> |
| 632 |
<font>Arial</font> |
| 633 |
<fontsize>10</fontsize> |
| 634 |
<precision>3</precision> |
| 635 |
<color> |
| 636 |
<r>0</r> |
| 637 |
<g>0</g> |
| 638 |
<b>0</b> |
| 639 |
</color> |
| 640 |
<bgcolor mode="nobackground"> |
| 641 |
<r>255</r> |
| 642 |
<g>255</g> |
| 643 |
<b>255</b> |
| 644 |
</bgcolor> |
| 645 |
<bordermode>noborder</bordermode> |
| 646 |
<borderradius>1</borderradius> |
| 647 |
<borderwidth>1</borderwidth> |
| 648 |
</bsbObject> |
| 649 |
<bsbObject version="2" type="BSBHSlider"> |
| 650 |
<objectName>Flanger_Modulation_Depth</objectName> |
| 651 |
<x>8</x> |
| 652 |
<y>262</y> |
| 653 |
<width>500</width> |
| 654 |
<height>27</height> |
| 655 |
<uuid>{432d4976-cb71-4373-943b-6378da54ddb5}</uuid> |
| 656 |
<visible>true</visible> |
| 657 |
<midichan>0</midichan> |
| 658 |
<midicc>0</midicc> |
| 659 |
<minimum>0.00000000</minimum> |
| 660 |
<maximum>0.01000000</maximum> |
| 661 |
<value>0.00350000</value> |
| 662 |
<mode>lin</mode> |
| 663 |
<mouseControl act="jump">continuous</mouseControl> |
| 664 |
<resolution>-1.00000000</resolution> |
| 665 |
<randomizable group="0">false</randomizable> |
| 666 |
</bsbObject> |
| 667 |
<bsbObject version="2" type="BSBHSlider"> |
| 668 |
<objectName>Feedback_Amount</objectName> |
| 669 |
<x>8</x> |
| 670 |
<y>176</y> |
| 671 |
<width>500</width> |
| 672 |
<height>27</height> |
| 673 |
<uuid>{3e2b62e8-f887-4073-8258-caac477a80b0}</uuid> |
| 674 |
<visible>true</visible> |
| 675 |
<midichan>0</midichan> |
| 676 |
<midicc>0</midicc> |
| 677 |
<minimum>-0.99000000</minimum> |
| 678 |
<maximum>0.99000000</maximum> |
| 679 |
<value>-0.00396000</value> |
| 680 |
<mode>lin</mode> |
| 681 |
<mouseControl act="jump">continuous</mouseControl> |
| 682 |
<resolution>-1.00000000</resolution> |
| 683 |
<randomizable group="0">false</randomizable> |
| 684 |
</bsbObject> |
| 685 |
<bsbObject version="2" type="BSBLabel"> |
| 686 |
<objectName/> |
| 687 |
<x>8</x> |
| 688 |
<y>193</y> |
| 689 |
<width>120</width> |
| 690 |
<height>30</height> |
| 691 |
<uuid>{41296e1f-c3d7-4fef-83aa-c850d5b4e198}</uuid> |
| 692 |
<visible>true</visible> |
| 693 |
<midichan>0</midichan> |
| 694 |
<midicc>0</midicc> |
| 695 |
<label>Feedback Amount</label> |
| 696 |
<alignment>left</alignment> |
| 697 |
<font>Arial</font> |
| 698 |
<fontsize>10</fontsize> |
| 699 |
<precision>3</precision> |
| 700 |
<color> |
| 701 |
<r>0</r> |
| 702 |
<g>0</g> |
| 703 |
<b>0</b> |
| 704 |
</color> |
| 705 |
<bgcolor mode="nobackground"> |
| 706 |
<r>255</r> |
| 707 |
<g>255</g> |
| 708 |
<b>255</b> |
| 709 |
</bgcolor> |
| 710 |
<bordermode>noborder</bordermode> |
| 711 |
<borderradius>1</borderradius> |
| 712 |
<borderwidth>1</borderwidth> |
| 713 |
</bsbObject> |
| 714 |
<bsbObject version="2" type="BSBDisplay"> |
| 715 |
<objectName>Feedback_Amount</objectName> |
| 716 |
<x>448</x> |
| 717 |
<y>193</y> |
| 718 |
<width>60</width> |
| 719 |
<height>30</height> |
| 720 |
<uuid>{5fdf1ae1-cf86-495a-b201-685173b6ff11}</uuid> |
| 721 |
<visible>true</visible> |
| 722 |
<midichan>0</midichan> |
| 723 |
<midicc>0</midicc> |
| 724 |
<label>-0.004</label> |
| 725 |
<alignment>right</alignment> |
| 726 |
<font>Arial</font> |
| 727 |
<fontsize>9</fontsize> |
| 728 |
<precision>3</precision> |
| 729 |
<color> |
| 730 |
<r>0</r> |
| 731 |
<g>0</g> |
| 732 |
<b>0</b> |
| 733 |
</color> |
| 734 |
<bgcolor mode="nobackground"> |
| 735 |
<r>255</r> |
| 736 |
<g>255</g> |
| 737 |
<b>255</b> |
| 738 |
</bgcolor> |
| 739 |
<bordermode>noborder</bordermode> |
| 740 |
<borderradius>1</borderradius> |
| 741 |
<borderwidth>1</borderwidth> |
| 742 |
</bsbObject> |
| 743 |
<bsbObject version="2" type="BSBDisplay"> |
| 744 |
<objectName>Flanger_Modulation_Rate</objectName> |
| 745 |
<x>448</x> |
| 746 |
<y>321</y> |
| 747 |
<width>60</width> |
| 748 |
<height>30</height> |
| 749 |
<uuid>{a0bed878-0b29-4c88-b71f-5f3d2d4fb83d}</uuid> |
| 750 |
<visible>true</visible> |
| 751 |
<midichan>0</midichan> |
| 752 |
<midicc>0</midicc> |
| 753 |
<label>0.120</label> |
| 754 |
<alignment>right</alignment> |
| 755 |
<font>Arial</font> |
| 756 |
<fontsize>9</fontsize> |
| 757 |
<precision>3</precision> |
| 758 |
<color> |
| 759 |
<r>0</r> |
| 760 |
<g>0</g> |
| 761 |
<b>0</b> |
| 762 |
</color> |
| 763 |
<bgcolor mode="nobackground"> |
| 764 |
<r>255</r> |
| 765 |
<g>255</g> |
| 766 |
<b>255</b> |
| 767 |
</bgcolor> |
| 768 |
<bordermode>noborder</bordermode> |
| 769 |
<borderradius>1</borderradius> |
| 770 |
<borderwidth>1</borderwidth> |
| 771 |
</bsbObject> |
| 772 |
<bsbObject version="2" type="BSBLabel"> |
| 773 |
<objectName/> |
| 774 |
<x>8</x> |
| 775 |
<y>322</y> |
| 776 |
<width>180</width> |
| 777 |
<height>30</height> |
| 778 |
<uuid>{5bd7d99f-d95b-4a22-9761-42252820286b}</uuid> |
| 779 |
<visible>true</visible> |
| 780 |
<midichan>0</midichan> |
| 781 |
<midicc>0</midicc> |
| 782 |
<label>Flanger Modulation Rate (hz)</label> |
| 783 |
<alignment>left</alignment> |
| 784 |
<font>Arial</font> |
| 785 |
<fontsize>10</fontsize> |
| 786 |
<precision>3</precision> |
| 787 |
<color> |
| 788 |
<r>0</r> |
| 789 |
<g>0</g> |
| 790 |
<b>0</b> |
| 791 |
</color> |
| 792 |
<bgcolor mode="nobackground"> |
| 793 |
<r>255</r> |
| 794 |
<g>255</g> |
| 795 |
<b>255</b> |
| 796 |
</bgcolor> |
| 797 |
<bordermode>noborder</bordermode> |
| 798 |
<borderradius>1</borderradius> |
| 799 |
<borderwidth>1</borderwidth> |
| 800 |
</bsbObject> |
| 801 |
<bsbObject version="2" type="BSBHSlider"> |
| 802 |
<objectName>Flanger_Modulation_Rate</objectName> |
| 803 |
<x>8</x> |
| 804 |
<y>305</y> |
| 805 |
<width>500</width> |
| 806 |
<height>27</height> |
| 807 |
<uuid>{25c8b61d-77ce-4cdd-97e2-44086cffb042}</uuid> |
| 808 |
<visible>true</visible> |
| 809 |
<midichan>0</midichan> |
| 810 |
<midicc>0</midicc> |
| 811 |
<minimum>-1.00000000</minimum> |
| 812 |
<maximum>1.00000000</maximum> |
| 813 |
<value>0.12000000</value> |
| 814 |
<mode>lin</mode> |
| 815 |
<mouseControl act="jump">continuous</mouseControl> |
| 816 |
<resolution>-1.00000000</resolution> |
| 817 |
<randomizable group="0">false</randomizable> |
| 818 |
</bsbObject> |
| 819 |
<bsbObject version="2" type="BSBButton"> |
| 820 |
<objectName>_Browse1</objectName> |
| 821 |
<x>5</x> |
| 822 |
<y>403</y> |
| 823 |
<width>170</width> |
| 824 |
<height>30</height> |
| 825 |
<uuid>{9d013036-66ec-454c-a4a6-f080b6d2cf04}</uuid> |
| 826 |
<visible>true</visible> |
| 827 |
<midichan>0</midichan> |
| 828 |
<midicc>0</midicc> |
| 829 |
<type>value</type> |
| 830 |
<pressedValue>1.00000000</pressedValue> |
| 831 |
<stringvalue>loop.wav</stringvalue> |
| 832 |
<text>Browse Audio File</text> |
| 833 |
<image>/</image> |
| 834 |
<eventLine/> |
| 835 |
<latch>false</latch> |
| 836 |
<latched>false</latched> |
| 837 |
</bsbObject> |
| 838 |
<bsbObject version="2" type="BSBLineEdit"> |
| 839 |
<objectName>_Browse1</objectName> |
| 840 |
<x>176</x> |
| 841 |
<y>404</y> |
| 842 |
<width>330</width> |
| 843 |
<height>28</height> |
| 844 |
<uuid>{f91c734f-d0b2-4a22-86a6-a310114f10f5}</uuid> |
| 845 |
<visible>true</visible> |
| 846 |
<midichan>0</midichan> |
| 847 |
<midicc>0</midicc> |
| 848 |
<label>loop.wav</label> |
| 849 |
<alignment>left</alignment> |
| 850 |
<font>Arial</font> |
| 851 |
<fontsize>10</fontsize> |
| 852 |
<precision>3</precision> |
| 853 |
<color> |
| 854 |
<r>0</r> |
| 855 |
<g>0</g> |
| 856 |
<b>0</b> |
| 857 |
</color> |
| 858 |
<bgcolor mode="nobackground"> |
| 859 |
<r>229</r> |
| 860 |
<g>229</g> |
| 861 |
<b>229</b> |
| 862 |
</bgcolor> |
| 863 |
<background>nobackground</background> |
| 864 |
</bsbObject> |
| 865 |
<bsbObject version="2" type="BSBLabel"> |
| 866 |
<objectName/> |
| 867 |
<x>176</x> |
| 868 |
<y>432</y> |
| 869 |
<width>330</width> |
| 870 |
<height>30</height> |
| 871 |
<uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid> |
| 872 |
<visible>true</visible> |
| 873 |
<midichan>0</midichan> |
| 874 |
<midicc>0</midicc> |
| 875 |
<label>Restart the instrument after changing the audio file.</label> |
| 876 |
<alignment>left</alignment> |
| 877 |
<font>Liberation Sans</font> |
| 878 |
<fontsize>12</fontsize> |
| 879 |
<precision>3</precision> |
| 880 |
<color> |
| 881 |
<r>0</r> |
| 882 |
<g>0</g> |
| 883 |
<b>0</b> |
| 884 |
</color> |
| 885 |
<bgcolor mode="nobackground"> |
| 886 |
<r>255</r> |
| 887 |
<g>255</g> |
| 888 |
<b>255</b> |
| 889 |
</bgcolor> |
| 890 |
<bordermode>noborder</bordermode> |
| 891 |
<borderradius>1</borderradius> |
| 892 |
<borderwidth>1</borderwidth> |
| 893 |
</bsbObject> |
| 894 |
</bsbPanel> |
| 895 |
<bsbPresets> |
| 896 |
</bsbPresets> |