| 1 |
;Written by Iain McCurdy, 2009 |
| 2 |
; Modified for QuteCsound by René, September 2010 |
| 3 |
; Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 815 |
| 4 |
|
| 5 |
;Notes on modifications from original csd: |
| 6 |
; i3 is activated by event in i10 |
| 7 |
; Add Browser for audio file and use of FilePlay2 udo, now accept mono or stereo wav files |
| 8 |
|
| 9 |
|
| 10 |
;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0 |
| 11 |
<CsoundSynthesizer> |
| 12 |
<CsOptions> |
| 13 |
--env:SADIR+=../../SourceMaterials --env:SSDIR+=../../SourceMaterials |
| 14 |
</CsOptions> |
| 15 |
<CsInstruments> |
| 16 |
sr = 44100 ;SAMPLE RATE |
| 17 |
ksmps = 16 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE |
| 18 |
nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO) |
| 19 |
0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH |
| 20 |
|
| 21 |
|
| 22 |
opcode FilePlay2, aa, Skoo ;Credit to Joachim Heintz |
| 23 |
;gives stereo output regardless your soundfile is mono or stereo |
| 24 |
Sfil, kspeed, iskip, iloop xin |
| 25 |
ichn filenchnls Sfil |
| 26 |
if ichn == 1 then |
| 27 |
aL diskin2 Sfil, kspeed, iskip, iloop |
| 28 |
aR = aL |
| 29 |
else |
| 30 |
aL, aR diskin2 Sfil, kspeed, iskip, iloop |
| 31 |
endif |
| 32 |
xout aL, aR |
| 33 |
endop |
| 34 |
|
| 35 |
|
| 36 |
instr 10 ;GUI |
| 37 |
ktrig metro 10 |
| 38 |
if (ktrig == 1) then |
| 39 |
gkDly invalue "Delay" ;init 1.175 |
| 40 |
gkGain invalue "Gain" ;init 0.7 |
| 41 |
gkMix invalue "Mix" ;init 0.17 |
| 42 |
gkinput invalue "Input" |
| 43 |
gkfile invalue "File" |
| 44 |
|
| 45 |
ktrigger changed gkfile |
| 46 |
if ktrigger = 1 then ;IF ktrigger IS 1 |
| 47 |
event "i", 3, 0, 0 ;CHANGE DELAY TIME SETTING WITH INSTRUMENT 3 |
| 48 |
endif ;END OF CONDITIONAL BRANCHING |
| 49 |
endif |
| 50 |
endin |
| 51 |
|
| 52 |
instr 1 ;GENERATE INPUT AUDIO INDEPENDENTLY OF REVERBERATING INSTRUMENT |
| 53 |
if gkinput=0 then ;IF 'Sound File' IS SELECTED... |
| 54 |
Sfile invalue "_Browse1" |
| 55 |
gaL, gaR FilePlay2 Sfile, 1, 0, 1 ;READ AUDIO FROM SOUND FILE ON HARD DISC |
| 56 |
elseif gkinput=1 then ;IF 'Live Input' IS SELECTED |
| 57 |
gaL inch 1 ;READ AUDIO FROM SOUND CARD'S FIRST (LEFT) INPUT |
| 58 |
gaR = gaL ;MONO INPUT THEREFORE ASSIGN RIGHT CHANNEL TO LEFT CHANNEL ALSO |
| 59 |
endif |
| 60 |
endin |
| 61 |
|
| 62 |
instr 2 ;CONVOLUTION REVERB INSTRUMENT (ALWAYS ON) |
| 63 |
if gkfile=0 then ;IF 'STAIRWELL' IS CHOSEN AS CONVOLUTION FILE... |
| 64 |
ar1 convolve gaL, "StairwellL.cv" ;PERFORM CONVOLUTION BETWEEN AUDIO INPUT FROM INSTR 1 AND SOUNDFILE STORED ON DISK (LEFT CHANNEL) |
| 65 |
ar2 convolve gaR, "StairwellR.cv" ;PERFORM CONVOLUTION BETWEEN AUDIO INPUT FROM INSTR 1 AND SOUNDFILE STORED ON DISK (RIGHT CHANNEL) |
| 66 |
elseif gkfile=1 then ;IF 'DISH' IS CHOSEN AS CONVOLUTION FILE... |
| 67 |
ar1 convolve gaL, "dishL.cv" ;PERFORM CONVOLUTION BETWEEN AUDIO INPUT FROM INSTR 1 AND SOUNDFILE STORED ON DISK (LEFT CHANNEL) |
| 68 |
ar2 convolve gaR, "dishR.cv" ;PERFORM CONVOLUTION BETWEEN AUDIO INPUT FROM INSTR 1 AND SOUNDFILE STORED ON DISK (RIGHT CHANNEL) |
| 69 |
endif |
| 70 |
|
| 71 |
aDlyL vdelay gaL, gkDly*1000, 3000 ;CREATE A DELAYED VERSION OF THE INPUT SIGNAL TO TEMPORALLY CORRELATE WITH THE CONVOLUTION OUTPUT SO THAT IT CAN BE USED IN A DRY/WET MIX |
| 72 |
aDlyR vdelay gaR, gkDly*1000, 3000 ;CREATE A DELAYED VERSION OF THE INPUT SIGNAL TO TEMPORALLY CORRELATE WITH THE CONVOLUTION OUTPUT SO THAT IT CAN BE USED IN A DRY/WET MIX |
| 73 |
aL ntrpol aDlyL, ar1*0.1, gkMix ;CREATE DRY/WET MIX (LEFT CHANNEL) |
| 74 |
aR ntrpol aDlyR, ar2*0.1, gkMix ;CREATE DRY/WET MIX (RIGHT CHANNEL) |
| 75 |
outs aL*gkGain, aR*gkGain ;SEND AUDIO TO OUTPUTS |
| 76 |
gaL = 0 ;CLEAR GLOBAL AUDIO SIGNAL FROM INSTR 1 (LEFT CHANNEL) |
| 77 |
gaR = 0 ;CLEAR GLOBAL AUDIO SIGNAL FROM INSTR 1 (RIGHT CHANNEL) |
| 78 |
endin |
| 79 |
|
| 80 |
instr 3 ;CHANGE DELAY TIME SETTING |
| 81 |
if i(gkfile)=0 then ;IF 'STAIRWELL' IS CHOSEN AS CONVOLUTION FILE... |
| 82 |
ilen filelen "StairwellL.cv" |
| 83 |
outvalue "Delay", ilen ;UPDATE DELAY TIME SLIDER ACCORDINGLY |
| 84 |
elseif i(gkfile)=1 then ;IF 'DISH' IS CHOSEN AS CONVOLUTION FILE... |
| 85 |
ilen filelen "dishL.cv" |
| 86 |
outvalue "Delay", ilen ;UPDATE DELAY TIME SLIDER ACCORDINGLY |
| 87 |
endif ;END OF CONDITIONAL BRANCHING |
| 88 |
endin |
| 89 |
</CsInstruments> |
| 90 |
<CsScore> |
| 91 |
i 10 0 3600 ;GUI |
| 92 |
i 2 0 3600 ;INSTRUMENT 2 (CONVOLUTION INSTRUMENT) RUNS FOR 1 HOUR (AND KEEPS REAL-TIME PERFORMANCE GOING) |
| 93 |
</CsScore> |
| 94 |
</CsoundSynthesizer> |
| 95 |
<bsbPanel> |
| 96 |
<label>Widgets</label> |
| 97 |
<objectName/> |
| 98 |
<x>287</x> |
| 99 |
<y>211</y> |
| 100 |
<width>968</width> |
| 101 |
<height>324</height> |
| 102 |
<visible>true</visible> |
| 103 |
<uuid/> |
| 104 |
<bgcolor mode="background"> |
| 105 |
<r>241</r> |
| 106 |
<g>226</g> |
| 107 |
<b>185</b> |
| 108 |
</bgcolor> |
| 109 |
<bsbObject version="2" type="BSBLabel"> |
| 110 |
<objectName/> |
| 111 |
<x>2</x> |
| 112 |
<y>2</y> |
| 113 |
<width>520</width> |
| 114 |
<height>322</height> |
| 115 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 116 |
<visible>true</visible> |
| 117 |
<midichan>0</midichan> |
| 118 |
<midicc>0</midicc> |
| 119 |
<description/> |
| 120 |
<label>Convolve</label> |
| 121 |
<alignment>center</alignment> |
| 122 |
<valignment>top</valignment> |
| 123 |
<font>DejaVu Sans</font> |
| 124 |
<fontsize>18</fontsize> |
| 125 |
<precision>3</precision> |
| 126 |
<color> |
| 127 |
<r>0</r> |
| 128 |
<g>0</g> |
| 129 |
<b>0</b> |
| 130 |
</color> |
| 131 |
<bgcolor mode="background"> |
| 132 |
<r>244</r> |
| 133 |
<g>248</g> |
| 134 |
<b>200</b> |
| 135 |
</bgcolor> |
| 136 |
<bordermode>border</bordermode> |
| 137 |
<borderradius>5</borderradius> |
| 138 |
<borderwidth>2</borderwidth> |
| 139 |
</bsbObject> |
| 140 |
<bsbObject version="2" type="BSBButton"> |
| 141 |
<objectName/> |
| 142 |
<x>5</x> |
| 143 |
<y>5</y> |
| 144 |
<width>100</width> |
| 145 |
<height>30</height> |
| 146 |
<uuid>{487d5181-d838-4cce-9628-317fefc350cb}</uuid> |
| 147 |
<visible>true</visible> |
| 148 |
<midichan>0</midichan> |
| 149 |
<midicc>0</midicc> |
| 150 |
<description/> |
| 151 |
<type>event</type> |
| 152 |
<pressedValue>1.00000000</pressedValue> |
| 153 |
<stringvalue/> |
| 154 |
<text> ON / OFF</text> |
| 155 |
<image>/</image> |
| 156 |
<eventLine>i 1 0 -1</eventLine> |
| 157 |
<latch>true</latch> |
| 158 |
<momentaryMidiButton>false</momentaryMidiButton> |
| 159 |
<latched>false</latched> |
| 160 |
<fontsize>10</fontsize> |
| 161 |
</bsbObject> |
| 162 |
<bsbObject version="2" type="BSBHSlider"> |
| 163 |
<objectName>Delay</objectName> |
| 164 |
<x>10</x> |
| 165 |
<y>55</y> |
| 166 |
<width>500</width> |
| 167 |
<height>27</height> |
| 168 |
<uuid>{086a860c-b45b-47f3-978f-2f6daac6338b}</uuid> |
| 169 |
<visible>true</visible> |
| 170 |
<midichan>0</midichan> |
| 171 |
<midicc>0</midicc> |
| 172 |
<description/> |
| 173 |
<minimum>0.00100000</minimum> |
| 174 |
<maximum>3.00000000</maximum> |
| 175 |
<value>1.17553294</value> |
| 176 |
<mode>lin</mode> |
| 177 |
<mouseControl act="jump">continuous</mouseControl> |
| 178 |
<resolution>-1.00000000</resolution> |
| 179 |
<randomizable group="0">false</randomizable> |
| 180 |
</bsbObject> |
| 181 |
<bsbObject version="2" type="BSBLabel"> |
| 182 |
<objectName/> |
| 183 |
<x>10</x> |
| 184 |
<y>72</y> |
| 185 |
<width>100</width> |
| 186 |
<height>30</height> |
| 187 |
<uuid>{109a592d-ca0d-4b82-bf17-3b42c0ff503a}</uuid> |
| 188 |
<visible>true</visible> |
| 189 |
<midichan>0</midichan> |
| 190 |
<midicc>0</midicc> |
| 191 |
<description/> |
| 192 |
<label>Delay</label> |
| 193 |
<alignment>left</alignment> |
| 194 |
<valignment>top</valignment> |
| 195 |
<font>Arial</font> |
| 196 |
<fontsize>10</fontsize> |
| 197 |
<precision>3</precision> |
| 198 |
<color> |
| 199 |
<r>0</r> |
| 200 |
<g>0</g> |
| 201 |
<b>0</b> |
| 202 |
</color> |
| 203 |
<bgcolor mode="nobackground"> |
| 204 |
<r>255</r> |
| 205 |
<g>255</g> |
| 206 |
<b>255</b> |
| 207 |
</bgcolor> |
| 208 |
<bordermode>noborder</bordermode> |
| 209 |
<borderradius>1</borderradius> |
| 210 |
<borderwidth>0</borderwidth> |
| 211 |
</bsbObject> |
| 212 |
<bsbObject version="2" type="BSBDisplay"> |
| 213 |
<objectName>Delay</objectName> |
| 214 |
<x>454</x> |
| 215 |
<y>72</y> |
| 216 |
<width>57</width> |
| 217 |
<height>30</height> |
| 218 |
<uuid>{30f36f54-9085-46d0-8f1f-4a4b89881919}</uuid> |
| 219 |
<visible>true</visible> |
| 220 |
<midichan>0</midichan> |
| 221 |
<midicc>0</midicc> |
| 222 |
<description/> |
| 223 |
<label>1.176</label> |
| 224 |
<alignment>right</alignment> |
| 225 |
<valignment>top</valignment> |
| 226 |
<font>Arial</font> |
| 227 |
<fontsize>9</fontsize> |
| 228 |
<precision>3</precision> |
| 229 |
<color> |
| 230 |
<r>0</r> |
| 231 |
<g>0</g> |
| 232 |
<b>0</b> |
| 233 |
</color> |
| 234 |
<bgcolor mode="nobackground"> |
| 235 |
<r>255</r> |
| 236 |
<g>255</g> |
| 237 |
<b>255</b> |
| 238 |
</bgcolor> |
| 239 |
<bordermode>noborder</bordermode> |
| 240 |
<borderradius>1</borderradius> |
| 241 |
<borderwidth>0</borderwidth> |
| 242 |
</bsbObject> |
| 243 |
<bsbObject version="2" type="BSBHSlider"> |
| 244 |
<objectName>Gain</objectName> |
| 245 |
<x>10</x> |
| 246 |
<y>90</y> |
| 247 |
<width>500</width> |
| 248 |
<height>27</height> |
| 249 |
<uuid>{de47f47d-bcea-4c1c-ab4b-a323452b1f7e}</uuid> |
| 250 |
<visible>true</visible> |
| 251 |
<midichan>0</midichan> |
| 252 |
<midicc>0</midicc> |
| 253 |
<description/> |
| 254 |
<minimum>0.00000000</minimum> |
| 255 |
<maximum>1.00000000</maximum> |
| 256 |
<value>0.21200000</value> |
| 257 |
<mode>lin</mode> |
| 258 |
<mouseControl act="jump">continuous</mouseControl> |
| 259 |
<resolution>-1.00000000</resolution> |
| 260 |
<randomizable group="0">false</randomizable> |
| 261 |
</bsbObject> |
| 262 |
<bsbObject version="2" type="BSBLabel"> |
| 263 |
<objectName/> |
| 264 |
<x>10</x> |
| 265 |
<y>107</y> |
| 266 |
<width>100</width> |
| 267 |
<height>30</height> |
| 268 |
<uuid>{0200a063-5db8-4668-bc2d-2d989a083f6e}</uuid> |
| 269 |
<visible>true</visible> |
| 270 |
<midichan>0</midichan> |
| 271 |
<midicc>0</midicc> |
| 272 |
<description/> |
| 273 |
<label>Gain</label> |
| 274 |
<alignment>left</alignment> |
| 275 |
<valignment>top</valignment> |
| 276 |
<font>Arial</font> |
| 277 |
<fontsize>10</fontsize> |
| 278 |
<precision>3</precision> |
| 279 |
<color> |
| 280 |
<r>0</r> |
| 281 |
<g>0</g> |
| 282 |
<b>0</b> |
| 283 |
</color> |
| 284 |
<bgcolor mode="nobackground"> |
| 285 |
<r>255</r> |
| 286 |
<g>255</g> |
| 287 |
<b>255</b> |
| 288 |
</bgcolor> |
| 289 |
<bordermode>noborder</bordermode> |
| 290 |
<borderradius>1</borderradius> |
| 291 |
<borderwidth>0</borderwidth> |
| 292 |
</bsbObject> |
| 293 |
<bsbObject version="2" type="BSBDisplay"> |
| 294 |
<objectName>Gain</objectName> |
| 295 |
<x>454</x> |
| 296 |
<y>109</y> |
| 297 |
<width>57</width> |
| 298 |
<height>30</height> |
| 299 |
<uuid>{ab191e3a-430d-4f1d-88aa-9840342cd2d3}</uuid> |
| 300 |
<visible>true</visible> |
| 301 |
<midichan>0</midichan> |
| 302 |
<midicc>0</midicc> |
| 303 |
<description/> |
| 304 |
<label>0.212</label> |
| 305 |
<alignment>right</alignment> |
| 306 |
<valignment>top</valignment> |
| 307 |
<font>Arial</font> |
| 308 |
<fontsize>9</fontsize> |
| 309 |
<precision>3</precision> |
| 310 |
<color> |
| 311 |
<r>0</r> |
| 312 |
<g>0</g> |
| 313 |
<b>0</b> |
| 314 |
</color> |
| 315 |
<bgcolor mode="nobackground"> |
| 316 |
<r>255</r> |
| 317 |
<g>255</g> |
| 318 |
<b>255</b> |
| 319 |
</bgcolor> |
| 320 |
<bordermode>noborder</bordermode> |
| 321 |
<borderradius>1</borderradius> |
| 322 |
<borderwidth>0</borderwidth> |
| 323 |
</bsbObject> |
| 324 |
<bsbObject version="2" type="BSBLabel"> |
| 325 |
<objectName/> |
| 326 |
<x>523</x> |
| 327 |
<y>2</y> |
| 328 |
<width>445</width> |
| 329 |
<height>322</height> |
| 330 |
<uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid> |
| 331 |
<visible>true</visible> |
| 332 |
<midichan>0</midichan> |
| 333 |
<midicc>0</midicc> |
| 334 |
<description/> |
| 335 |
<label>Convolve</label> |
| 336 |
<alignment>center</alignment> |
| 337 |
<valignment>top</valignment> |
| 338 |
<font>DejaVu Sans</font> |
| 339 |
<fontsize>18</fontsize> |
| 340 |
<precision>3</precision> |
| 341 |
<color> |
| 342 |
<r>0</r> |
| 343 |
<g>0</g> |
| 344 |
<b>0</b> |
| 345 |
</color> |
| 346 |
<bgcolor mode="background"> |
| 347 |
<r>244</r> |
| 348 |
<g>248</g> |
| 349 |
<b>200</b> |
| 350 |
</bgcolor> |
| 351 |
<bordermode>border</bordermode> |
| 352 |
<borderradius>5</borderradius> |
| 353 |
<borderwidth>2</borderwidth> |
| 354 |
</bsbObject> |
| 355 |
<bsbObject version="2" type="BSBLabel"> |
| 356 |
<objectName/> |
| 357 |
<x>527</x> |
| 358 |
<y>23</y> |
| 359 |
<width>436</width> |
| 360 |
<height>295</height> |
| 361 |
<uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid> |
| 362 |
<visible>true</visible> |
| 363 |
<midichan>0</midichan> |
| 364 |
<midicc>0</midicc> |
| 365 |
<description/> |
| 366 |
<label>------------------------------------------------------------------------------------------------------------ |
| 367 |
convolve performs convolution between an input signal and an impulse file created using Csound's cvanal utility. |
| 368 |
I have provided two impulse files to work with in this example. convolve is rather CPU intensive and depending upon the computer system used, may struggle to run in real-time. |
| 369 |
Adjustment of buffer sizes and of ksmps (and kr) might assist real-time performance. |
| 370 |
The output of the convolve opcode will be delayed by a duration equal to the duration of the impulse file. It is therefore necessary to delay the input signal if it is used as part of a Dry/Wet mix after convolution. |
| 371 |
For this reason convolve is probably less useful when applied to the live input. (pconvolve is better suited to real-time situations.) |
| 372 |
Furthermore there does not seem to be a noticable drop in fidelity in pconvolve.</label> |
| 373 |
<alignment>left</alignment> |
| 374 |
<valignment>top</valignment> |
| 375 |
<font>Liberation Sans</font> |
| 376 |
<fontsize>14</fontsize> |
| 377 |
<precision>3</precision> |
| 378 |
<color> |
| 379 |
<r>0</r> |
| 380 |
<g>0</g> |
| 381 |
<b>0</b> |
| 382 |
</color> |
| 383 |
<bgcolor mode="nobackground"> |
| 384 |
<r>255</r> |
| 385 |
<g>255</g> |
| 386 |
<b>255</b> |
| 387 |
</bgcolor> |
| 388 |
<bordermode>noborder</bordermode> |
| 389 |
<borderradius>1</borderradius> |
| 390 |
<borderwidth>0</borderwidth> |
| 391 |
</bsbObject> |
| 392 |
<bsbObject version="2" type="BSBDisplay"> |
| 393 |
<objectName>Mix</objectName> |
| 394 |
<x>454</x> |
| 395 |
<y>147</y> |
| 396 |
<width>57</width> |
| 397 |
<height>30</height> |
| 398 |
<uuid>{732b2008-7445-4893-a260-e68561cf8e71}</uuid> |
| 399 |
<visible>true</visible> |
| 400 |
<midichan>0</midichan> |
| 401 |
<midicc>0</midicc> |
| 402 |
<description/> |
| 403 |
<label>0.466</label> |
| 404 |
<alignment>right</alignment> |
| 405 |
<valignment>top</valignment> |
| 406 |
<font>Arial</font> |
| 407 |
<fontsize>9</fontsize> |
| 408 |
<precision>3</precision> |
| 409 |
<color> |
| 410 |
<r>0</r> |
| 411 |
<g>0</g> |
| 412 |
<b>0</b> |
| 413 |
</color> |
| 414 |
<bgcolor mode="nobackground"> |
| 415 |
<r>255</r> |
| 416 |
<g>255</g> |
| 417 |
<b>255</b> |
| 418 |
</bgcolor> |
| 419 |
<bordermode>noborder</bordermode> |
| 420 |
<borderradius>1</borderradius> |
| 421 |
<borderwidth>0</borderwidth> |
| 422 |
</bsbObject> |
| 423 |
<bsbObject version="2" type="BSBLabel"> |
| 424 |
<objectName/> |
| 425 |
<x>10</x> |
| 426 |
<y>147</y> |
| 427 |
<width>100</width> |
| 428 |
<height>30</height> |
| 429 |
<uuid>{b57ba536-8f28-4986-9bf7-8eb84262d8ca}</uuid> |
| 430 |
<visible>true</visible> |
| 431 |
<midichan>0</midichan> |
| 432 |
<midicc>0</midicc> |
| 433 |
<description/> |
| 434 |
<label>Dry / Wet Mix</label> |
| 435 |
<alignment>left</alignment> |
| 436 |
<valignment>top</valignment> |
| 437 |
<font>Arial</font> |
| 438 |
<fontsize>10</fontsize> |
| 439 |
<precision>3</precision> |
| 440 |
<color> |
| 441 |
<r>0</r> |
| 442 |
<g>0</g> |
| 443 |
<b>0</b> |
| 444 |
</color> |
| 445 |
<bgcolor mode="nobackground"> |
| 446 |
<r>255</r> |
| 447 |
<g>255</g> |
| 448 |
<b>255</b> |
| 449 |
</bgcolor> |
| 450 |
<bordermode>noborder</bordermode> |
| 451 |
<borderradius>1</borderradius> |
| 452 |
<borderwidth>0</borderwidth> |
| 453 |
</bsbObject> |
| 454 |
<bsbObject version="2" type="BSBHSlider"> |
| 455 |
<objectName>Mix</objectName> |
| 456 |
<x>10</x> |
| 457 |
<y>130</y> |
| 458 |
<width>500</width> |
| 459 |
<height>27</height> |
| 460 |
<uuid>{b8fa76b9-3d04-4156-a2f2-a413d3864da3}</uuid> |
| 461 |
<visible>true</visible> |
| 462 |
<midichan>0</midichan> |
| 463 |
<midicc>0</midicc> |
| 464 |
<description/> |
| 465 |
<minimum>0.00000000</minimum> |
| 466 |
<maximum>1.00000000</maximum> |
| 467 |
<value>0.46600000</value> |
| 468 |
<mode>lin</mode> |
| 469 |
<mouseControl act="jump">continuous</mouseControl> |
| 470 |
<resolution>-1.00000000</resolution> |
| 471 |
<randomizable group="0">false</randomizable> |
| 472 |
</bsbObject> |
| 473 |
<bsbObject version="2" type="BSBDropdown"> |
| 474 |
<objectName>Input</objectName> |
| 475 |
<x>86</x> |
| 476 |
<y>185</y> |
| 477 |
<width>120</width> |
| 478 |
<height>30</height> |
| 479 |
<uuid>{9b81a1f2-bcb8-4582-925b-9ae56def3865}</uuid> |
| 480 |
<visible>true</visible> |
| 481 |
<midichan>0</midichan> |
| 482 |
<midicc>0</midicc> |
| 483 |
<description/> |
| 484 |
<bsbDropdownItemList> |
| 485 |
<bsbDropdownItem> |
| 486 |
<name>Audio File</name> |
| 487 |
<value>0</value> |
| 488 |
<stringvalue/> |
| 489 |
</bsbDropdownItem> |
| 490 |
<bsbDropdownItem> |
| 491 |
<name> Live Input</name> |
| 492 |
<value>1</value> |
| 493 |
<stringvalue/> |
| 494 |
</bsbDropdownItem> |
| 495 |
</bsbDropdownItemList> |
| 496 |
<selectedIndex>0</selectedIndex> |
| 497 |
<randomizable group="0">false</randomizable> |
| 498 |
</bsbObject> |
| 499 |
<bsbObject version="2" type="BSBDropdown"> |
| 500 |
<objectName>File</objectName> |
| 501 |
<x>358</x> |
| 502 |
<y>185</y> |
| 503 |
<width>120</width> |
| 504 |
<height>30</height> |
| 505 |
<uuid>{4f12eb6a-c071-4199-8bad-bfe11a917032}</uuid> |
| 506 |
<visible>true</visible> |
| 507 |
<midichan>0</midichan> |
| 508 |
<midicc>0</midicc> |
| 509 |
<description/> |
| 510 |
<bsbDropdownItemList> |
| 511 |
<bsbDropdownItem> |
| 512 |
<name>Stairwell</name> |
| 513 |
<value>0</value> |
| 514 |
<stringvalue/> |
| 515 |
</bsbDropdownItem> |
| 516 |
<bsbDropdownItem> |
| 517 |
<name> Dish</name> |
| 518 |
<value>1</value> |
| 519 |
<stringvalue/> |
| 520 |
</bsbDropdownItem> |
| 521 |
</bsbDropdownItemList> |
| 522 |
<selectedIndex>0</selectedIndex> |
| 523 |
<randomizable group="0">false</randomizable> |
| 524 |
</bsbObject> |
| 525 |
<bsbObject version="2" type="BSBLabel"> |
| 526 |
<objectName/> |
| 527 |
<x>12</x> |
| 528 |
<y>185</y> |
| 529 |
<width>72</width> |
| 530 |
<height>30</height> |
| 531 |
<uuid>{62eeb695-9b83-42da-81cd-8000c232d9b9}</uuid> |
| 532 |
<visible>true</visible> |
| 533 |
<midichan>0</midichan> |
| 534 |
<midicc>0</midicc> |
| 535 |
<description/> |
| 536 |
<label>Input</label> |
| 537 |
<alignment>right</alignment> |
| 538 |
<valignment>top</valignment> |
| 539 |
<font>Arial</font> |
| 540 |
<fontsize>10</fontsize> |
| 541 |
<precision>3</precision> |
| 542 |
<color> |
| 543 |
<r>0</r> |
| 544 |
<g>0</g> |
| 545 |
<b>0</b> |
| 546 |
</color> |
| 547 |
<bgcolor mode="nobackground"> |
| 548 |
<r>255</r> |
| 549 |
<g>255</g> |
| 550 |
<b>255</b> |
| 551 |
</bgcolor> |
| 552 |
<bordermode>noborder</bordermode> |
| 553 |
<borderradius>1</borderradius> |
| 554 |
<borderwidth>0</borderwidth> |
| 555 |
</bsbObject> |
| 556 |
<bsbObject version="2" type="BSBLabel"> |
| 557 |
<objectName/> |
| 558 |
<x>229</x> |
| 559 |
<y>185</y> |
| 560 |
<width>127</width> |
| 561 |
<height>30</height> |
| 562 |
<uuid>{f0042687-944f-4ab5-a258-074f2aca5510}</uuid> |
| 563 |
<visible>true</visible> |
| 564 |
<midichan>0</midichan> |
| 565 |
<midicc>0</midicc> |
| 566 |
<description/> |
| 567 |
<label>Convolution file</label> |
| 568 |
<alignment>right</alignment> |
| 569 |
<valignment>top</valignment> |
| 570 |
<font>Arial</font> |
| 571 |
<fontsize>10</fontsize> |
| 572 |
<precision>3</precision> |
| 573 |
<color> |
| 574 |
<r>0</r> |
| 575 |
<g>0</g> |
| 576 |
<b>0</b> |
| 577 |
</color> |
| 578 |
<bgcolor mode="nobackground"> |
| 579 |
<r>255</r> |
| 580 |
<g>255</g> |
| 581 |
<b>255</b> |
| 582 |
</bgcolor> |
| 583 |
<bordermode>noborder</bordermode> |
| 584 |
<borderradius>1</borderradius> |
| 585 |
<borderwidth>0</borderwidth> |
| 586 |
</bsbObject> |
| 587 |
<bsbObject version="2" type="BSBButton"> |
| 588 |
<objectName>_Browse1</objectName> |
| 589 |
<x>5</x> |
| 590 |
<y>250</y> |
| 591 |
<width>170</width> |
| 592 |
<height>30</height> |
| 593 |
<uuid>{c678b2fb-b1ce-4b9c-b45c-c297eeab2e2e}</uuid> |
| 594 |
<visible>true</visible> |
| 595 |
<midichan>0</midichan> |
| 596 |
<midicc>0</midicc> |
| 597 |
<description/> |
| 598 |
<type>value</type> |
| 599 |
<pressedValue>1.00000000</pressedValue> |
| 600 |
<stringvalue>808loop.wav</stringvalue> |
| 601 |
<text>Browse Audio File</text> |
| 602 |
<image>/</image> |
| 603 |
<eventLine/> |
| 604 |
<latch>false</latch> |
| 605 |
<momentaryMidiButton>false</momentaryMidiButton> |
| 606 |
<latched>false</latched> |
| 607 |
<fontsize>10</fontsize> |
| 608 |
</bsbObject> |
| 609 |
<bsbObject version="2" type="BSBLineEdit"> |
| 610 |
<objectName>_Browse1</objectName> |
| 611 |
<x>177</x> |
| 612 |
<y>250</y> |
| 613 |
<width>330</width> |
| 614 |
<height>28</height> |
| 615 |
<uuid>{aabef4b4-4458-4810-b57a-85c5336535f2}</uuid> |
| 616 |
<visible>true</visible> |
| 617 |
<midichan>0</midichan> |
| 618 |
<midicc>0</midicc> |
| 619 |
<description/> |
| 620 |
<label>808loop.wav</label> |
| 621 |
<alignment>left</alignment> |
| 622 |
<font>Arial</font> |
| 623 |
<fontsize>10</fontsize> |
| 624 |
<precision>3</precision> |
| 625 |
<color> |
| 626 |
<r>0</r> |
| 627 |
<g>0</g> |
| 628 |
<b>0</b> |
| 629 |
</color> |
| 630 |
<bgcolor mode="nobackground"> |
| 631 |
<r>239</r> |
| 632 |
<g>240</g> |
| 633 |
<b>241</b> |
| 634 |
</bgcolor> |
| 635 |
<background>nobackground</background> |
| 636 |
</bsbObject> |
| 637 |
<bsbObject version="2" type="BSBLabel"> |
| 638 |
<objectName/> |
| 639 |
<x>177</x> |
| 640 |
<y>278</y> |
| 641 |
<width>330</width> |
| 642 |
<height>30</height> |
| 643 |
<uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid> |
| 644 |
<visible>true</visible> |
| 645 |
<midichan>0</midichan> |
| 646 |
<midicc>0</midicc> |
| 647 |
<description/> |
| 648 |
<label>Restart the instrument after changing the audio file.</label> |
| 649 |
<alignment>left</alignment> |
| 650 |
<valignment>top</valignment> |
| 651 |
<font>Liberation Sans</font> |
| 652 |
<fontsize>12</fontsize> |
| 653 |
<precision>3</precision> |
| 654 |
<color> |
| 655 |
<r>0</r> |
| 656 |
<g>0</g> |
| 657 |
<b>0</b> |
| 658 |
</color> |
| 659 |
<bgcolor mode="nobackground"> |
| 660 |
<r>255</r> |
| 661 |
<g>255</g> |
| 662 |
<b>255</b> |
| 663 |
</bgcolor> |
| 664 |
<bordermode>noborder</bordermode> |
| 665 |
<borderradius>1</borderradius> |
| 666 |
<borderwidth>0</borderwidth> |
| 667 |
</bsbObject> |
| 668 |
</bsbPanel> |
| 669 |
<bsbPresets> |
| 670 |
</bsbPresets> |