| 1 |
;Written by Iain McCurdy, 2006 |
| 2 |
|
| 3 |
;THE delay OPCODE IS PLACED IN A SEPARATE, ALWAYS ON, INSTRUMENT FROM THE SOURCE SOUND PRODUCING INSTRUMENT. |
| 4 |
;THE IS A COMMONLY USED TECHNIQUE WITH TIME SMEARING OPCODES AND EFFECTS LIKE REVERBS AND DELAYS. |
| 5 |
|
| 6 |
;ksmps MAY NEED TO BE LOW (AND kr THEREFORE HIGH) WHEN WORKING WITH SHORT DELAY TIMES DEFINED INITIALLY AT KRATE |
| 7 |
|
| 8 |
;Modified for QuteCsound by René, September 2010, updated Feb 2011 |
| 9 |
;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817 |
| 10 |
|
| 11 |
;Notes on modifications from original csd: |
| 12 |
; Add Browser for audio file and use of FilePlay2 udo, now accept mono or stereo wav files |
| 13 |
|
| 14 |
|
| 15 |
;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0 |
| 16 |
<CsoundSynthesizer> |
| 17 |
<CsOptions> |
| 18 |
--env:SSDIR+=../../SourceMaterials |
| 19 |
</CsOptions> |
| 20 |
<CsInstruments> |
| 21 |
sr = 44100 ;SAMPLE RATE |
| 22 |
ksmps = 10 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE |
| 23 |
nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO) |
| 24 |
0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH |
| 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 |
gkdlt invalue "Delay_Time" ;init 0.5 |
| 46 |
gkmix invalue "Mix" ;init 0.5 |
| 47 |
gkgain invalue "Output_Gain" ;init 1.0 |
| 48 |
gkinput invalue "Input" |
| 49 |
gkporttime invalue "Portamento_Time" ;init 0.1 |
| 50 |
endif |
| 51 |
endin |
| 52 |
|
| 53 |
instr 1 ;PLAYS FILE |
| 54 |
if gkinput==0 then ;IF FILE INPUT IS SELECTED... |
| 55 |
Sfile invalue "_Browse1" |
| 56 |
gasigL, gasigR FilePlay2 Sfile, 1, 0, 1 ;GENERATE 2 AUDIO SIGNALS FROM A SOUND FILE (NOTE THE USE OF GLOBAL VARIABLES) |
| 57 |
else ;OTHERWISE |
| 58 |
asigL, asigR ins ;TAKE INPUT FROM COMPUTER'S AUDIO INPUT |
| 59 |
gasigL = asigL * gkingain ;SCALE USING 'Input Gain' SLIDER |
| 60 |
gasigR = asigR * gkingain ;SCALE USING 'Input Gain' SLIDER |
| 61 |
endif ;END OF CONDITIONAL BRANCHING |
| 62 |
endin |
| 63 |
|
| 64 |
instr 2 ;DELAY INSTRUMENT |
| 65 |
kporttime linseg 0, .001, 1, 1, 1 ;USE OF AN ENVELOPE VALUE THAT QUICKLY RAMPS UP FROM ZERO TO 1. THIS PREVENTS VARIABLES GLIDING TO THEIR REQUIRED VALUES EACH TIME THE INSTRUMENT IS STARTED. |
| 66 |
kporttime = kporttime * gkporttime ;SCALE PORTAMENTO FUNCTION WITH FLTK SLIDER VALUE |
| 67 |
kdlt portk gkdlt, kporttime ;PORTAMENTO IS APPLIED TO THE VARIABLE 'gkdlt'. A NEW VARIABLE 'kdlt' IS CREATED. |
| 68 |
adlt interp kdlt ;A NEW A-RATE VARIABLE 'adlt' IS CREATED BY INTERPOLATING THE K-RATE VARIABLE 'kdlt' |
| 69 |
|
| 70 |
;;;LEFT CHANNEL DELAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 71 |
abufferL delayr 5 ;CREATE A DELAY BUFFER OF 5 SECONDS DURATION (EQUIVALENT TO THE MAXIMUM DELAY TIME POSSIBLE USING THIS EXAMPLE) |
| 72 |
adelsigL deltap3 adlt ;TAP THE DELAY LINE AT gkdlt SECONDS |
| 73 |
delayw gasigL ;WRITE AUDIO INTO THE BEGINNING OF THE BUFFER |
| 74 |
|
| 75 |
;;;RIGHT CHANNEL DELAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 76 |
abufferR delayr 5 ;CREATE A DELAY BUFFER OF 5 SECONDS DURATION (EQUIVALENT TO THE MAXIMUM DELAY TIME POSSIBLE USING THIS EXAMPLE) |
| 77 |
adelsigR deltap3 adlt ;TAP THE DELAY LINE AT gkdlt SECONDS |
| 78 |
delayw gasigR ;WRITE AUDIO INTO THE BEGINNING OF THE BUFFER |
| 79 |
|
| 80 |
aL ntrpol gasigL, adelsigL, gkmix |
| 81 |
aR ntrpol gasigR, adelsigR, gkmix |
| 82 |
outs aL * gkgain, aR * gkgain ;CREATE A MIX BETWEEN THE WET AND THE DRY SIGNALS AT THE OUTPUT |
| 83 |
clear gasigL, gasigR ;CLEAR THE GLOBAL AUDIO SEND VARIABLES |
| 84 |
endin |
| 85 |
</CsInstruments> |
| 86 |
<CsScore> |
| 87 |
;INSTR | START | DURATION |
| 88 |
i 10 0 -1 ;GUI |
| 89 |
i 2 0 -1 ;INSTRUMENT 2 PLAYS A HELD NOTE |
| 90 |
|
| 91 |
f 0 3600 ;'DUMMY' SCORE EVENT KEEPS REALTIME PERFORMANCE GOING FOR 1 HOUR |
| 92 |
</CsScore> |
| 93 |
</CsoundSynthesizer> |
| 94 |
<bsbPanel> |
| 95 |
<label>Widgets</label> |
| 96 |
<objectName/> |
| 97 |
<x>72</x> |
| 98 |
<y>179</y> |
| 99 |
<width>400</width> |
| 100 |
<height>200</height> |
| 101 |
<visible>true</visible> |
| 102 |
<uuid/> |
| 103 |
<bgcolor mode="background"> |
| 104 |
<r>241</r> |
| 105 |
<g>226</g> |
| 106 |
<b>185</b> |
| 107 |
</bgcolor> |
| 108 |
<bsbObject version="2" type="BSBLabel"> |
| 109 |
<objectName/> |
| 110 |
<x>3</x> |
| 111 |
<y>2</y> |
| 112 |
<width>518</width> |
| 113 |
<height>380</height> |
| 114 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 115 |
<visible>true</visible> |
| 116 |
<midichan>0</midichan> |
| 117 |
<midicc>0</midicc> |
| 118 |
<label>Delay with Portamento</label> |
| 119 |
<alignment>center</alignment> |
| 120 |
<font>Liberation Sans</font> |
| 121 |
<fontsize>18</fontsize> |
| 122 |
<precision>3</precision> |
| 123 |
<color> |
| 124 |
<r>0</r> |
| 125 |
<g>0</g> |
| 126 |
<b>0</b> |
| 127 |
</color> |
| 128 |
<bgcolor mode="background"> |
| 129 |
<r>158</r> |
| 130 |
<g>220</g> |
| 131 |
<b>217</b> |
| 132 |
</bgcolor> |
| 133 |
<bordermode>border</bordermode> |
| 134 |
<borderradius>5</borderradius> |
| 135 |
<borderwidth>2</borderwidth> |
| 136 |
</bsbObject> |
| 137 |
<bsbObject version="2" type="BSBButton"> |
| 138 |
<objectName/> |
| 139 |
<x>5</x> |
| 140 |
<y>5</y> |
| 141 |
<width>115</width> |
| 142 |
<height>30</height> |
| 143 |
<uuid>{487d5181-d838-4cce-9628-317fefc350cb}</uuid> |
| 144 |
<visible>true</visible> |
| 145 |
<midichan>0</midichan> |
| 146 |
<midicc>0</midicc> |
| 147 |
<type>event</type> |
| 148 |
<pressedValue>1.00000000</pressedValue> |
| 149 |
<stringvalue/> |
| 150 |
<text> ON / OFF</text> |
| 151 |
<image>/</image> |
| 152 |
<eventLine>i 1 0 -1</eventLine> |
| 153 |
<latch>true</latch> |
| 154 |
<latched>false</latched> |
| 155 |
</bsbObject> |
| 156 |
<bsbObject version="2" type="BSBHSlider"> |
| 157 |
<objectName>Live_Input_Gain</objectName> |
| 158 |
<x>10</x> |
| 159 |
<y>52</y> |
| 160 |
<width>500</width> |
| 161 |
<height>27</height> |
| 162 |
<uuid>{de47f47d-bcea-4c1c-ab4b-a323452b1f7e}</uuid> |
| 163 |
<visible>true</visible> |
| 164 |
<midichan>0</midichan> |
| 165 |
<midicc>0</midicc> |
| 166 |
<minimum>0.00000000</minimum> |
| 167 |
<maximum>1.00000000</maximum> |
| 168 |
<value>0.37400000</value> |
| 169 |
<mode>lin</mode> |
| 170 |
<mouseControl act="jump">continuous</mouseControl> |
| 171 |
<resolution>-1.00000000</resolution> |
| 172 |
<randomizable group="0">false</randomizable> |
| 173 |
</bsbObject> |
| 174 |
<bsbObject version="2" type="BSBLabel"> |
| 175 |
<objectName/> |
| 176 |
<x>10</x> |
| 177 |
<y>69</y> |
| 178 |
<width>120</width> |
| 179 |
<height>30</height> |
| 180 |
<uuid>{0200a063-5db8-4668-bc2d-2d989a083f6e}</uuid> |
| 181 |
<visible>true</visible> |
| 182 |
<midichan>0</midichan> |
| 183 |
<midicc>0</midicc> |
| 184 |
<label>Live input Gain</label> |
| 185 |
<alignment>left</alignment> |
| 186 |
<font>Arial</font> |
| 187 |
<fontsize>10</fontsize> |
| 188 |
<precision>3</precision> |
| 189 |
<color> |
| 190 |
<r>0</r> |
| 191 |
<g>0</g> |
| 192 |
<b>0</b> |
| 193 |
</color> |
| 194 |
<bgcolor mode="nobackground"> |
| 195 |
<r>255</r> |
| 196 |
<g>255</g> |
| 197 |
<b>255</b> |
| 198 |
</bgcolor> |
| 199 |
<bordermode>noborder</bordermode> |
| 200 |
<borderradius>1</borderradius> |
| 201 |
<borderwidth>1</borderwidth> |
| 202 |
</bsbObject> |
| 203 |
<bsbObject version="2" type="BSBDisplay"> |
| 204 |
<objectName>Live_Input_Gain</objectName> |
| 205 |
<x>450</x> |
| 206 |
<y>69</y> |
| 207 |
<width>60</width> |
| 208 |
<height>30</height> |
| 209 |
<uuid>{ab191e3a-430d-4f1d-88aa-9840342cd2d3}</uuid> |
| 210 |
<visible>true</visible> |
| 211 |
<midichan>0</midichan> |
| 212 |
<midicc>0</midicc> |
| 213 |
<label>0.374</label> |
| 214 |
<alignment>right</alignment> |
| 215 |
<font>Arial</font> |
| 216 |
<fontsize>9</fontsize> |
| 217 |
<precision>3</precision> |
| 218 |
<color> |
| 219 |
<r>0</r> |
| 220 |
<g>0</g> |
| 221 |
<b>0</b> |
| 222 |
</color> |
| 223 |
<bgcolor mode="nobackground"> |
| 224 |
<r>255</r> |
| 225 |
<g>255</g> |
| 226 |
<b>255</b> |
| 227 |
</bgcolor> |
| 228 |
<bordermode>noborder</bordermode> |
| 229 |
<borderradius>1</borderradius> |
| 230 |
<borderwidth>1</borderwidth> |
| 231 |
</bsbObject> |
| 232 |
<bsbObject version="2" type="BSBLabel"> |
| 233 |
<objectName/> |
| 234 |
<x>524</x> |
| 235 |
<y>2</y> |
| 236 |
<width>297</width> |
| 237 |
<height>380</height> |
| 238 |
<uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid> |
| 239 |
<visible>true</visible> |
| 240 |
<midichan>0</midichan> |
| 241 |
<midicc>0</midicc> |
| 242 |
<label>Delay with Portamento</label> |
| 243 |
<alignment>center</alignment> |
| 244 |
<font>Liberation Sans</font> |
| 245 |
<fontsize>18</fontsize> |
| 246 |
<precision>3</precision> |
| 247 |
<color> |
| 248 |
<r>0</r> |
| 249 |
<g>0</g> |
| 250 |
<b>0</b> |
| 251 |
</color> |
| 252 |
<bgcolor mode="background"> |
| 253 |
<r>158</r> |
| 254 |
<g>220</g> |
| 255 |
<b>217</b> |
| 256 |
</bgcolor> |
| 257 |
<bordermode>border</bordermode> |
| 258 |
<borderradius>5</borderradius> |
| 259 |
<borderwidth>2</borderwidth> |
| 260 |
</bsbObject> |
| 261 |
<bsbObject version="2" type="BSBLabel"> |
| 262 |
<objectName/> |
| 263 |
<x>525</x> |
| 264 |
<y>30</y> |
| 265 |
<width>294</width> |
| 266 |
<height>349</height> |
| 267 |
<uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid> |
| 268 |
<visible>true</visible> |
| 269 |
<midichan>0</midichan> |
| 270 |
<midicc>0</midicc> |
| 271 |
<label>------------------------------------------------------------------ |
| 272 |
This example is very similar to the previous example with the addition of portamento being applied to the delay time parameter. |
| 273 |
As the delay time slider is moved pitch bending effects are created. |
| 274 |
For better quality results the deltap3 opcode is used in place of the deltap opcode. Also for higher fidelity results the delay time is expressed to the deltap3 opcode as an a-rate variable. |
| 275 |
This necessitates the use of the 'interp' opcode for rate conversion as sliders only output values at k-rate. |
| 276 |
In this example the user can choose between a sound file as input or the computer's live input. A gain control is provided to control the gain of the live input. |
| 277 |
</label> |
| 278 |
<alignment>left</alignment> |
| 279 |
<font>Liberation Sans</font> |
| 280 |
<fontsize>14</fontsize> |
| 281 |
<precision>3</precision> |
| 282 |
<color> |
| 283 |
<r>0</r> |
| 284 |
<g>0</g> |
| 285 |
<b>0</b> |
| 286 |
</color> |
| 287 |
<bgcolor mode="nobackground"> |
| 288 |
<r>255</r> |
| 289 |
<g>255</g> |
| 290 |
<b>255</b> |
| 291 |
</bgcolor> |
| 292 |
<bordermode>noborder</bordermode> |
| 293 |
<borderradius>1</borderradius> |
| 294 |
<borderwidth>1</borderwidth> |
| 295 |
</bsbObject> |
| 296 |
<bsbObject version="2" type="BSBDisplay"> |
| 297 |
<objectName>Delay_Time</objectName> |
| 298 |
<x>450</x> |
| 299 |
<y>108</y> |
| 300 |
<width>60</width> |
| 301 |
<height>30</height> |
| 302 |
<uuid>{732b2008-7445-4893-a260-e68561cf8e71}</uuid> |
| 303 |
<visible>true</visible> |
| 304 |
<midichan>0</midichan> |
| 305 |
<midicc>0</midicc> |
| 306 |
<label>0.381</label> |
| 307 |
<alignment>right</alignment> |
| 308 |
<font>Arial</font> |
| 309 |
<fontsize>9</fontsize> |
| 310 |
<precision>3</precision> |
| 311 |
<color> |
| 312 |
<r>0</r> |
| 313 |
<g>0</g> |
| 314 |
<b>0</b> |
| 315 |
</color> |
| 316 |
<bgcolor mode="nobackground"> |
| 317 |
<r>255</r> |
| 318 |
<g>255</g> |
| 319 |
<b>255</b> |
| 320 |
</bgcolor> |
| 321 |
<bordermode>noborder</bordermode> |
| 322 |
<borderradius>1</borderradius> |
| 323 |
<borderwidth>1</borderwidth> |
| 324 |
</bsbObject> |
| 325 |
<bsbObject version="2" type="BSBLabel"> |
| 326 |
<objectName/> |
| 327 |
<x>10</x> |
| 328 |
<y>108</y> |
| 329 |
<width>120</width> |
| 330 |
<height>30</height> |
| 331 |
<uuid>{b57ba536-8f28-4986-9bf7-8eb84262d8ca}</uuid> |
| 332 |
<visible>true</visible> |
| 333 |
<midichan>0</midichan> |
| 334 |
<midicc>0</midicc> |
| 335 |
<label>Delay Time (sec)</label> |
| 336 |
<alignment>left</alignment> |
| 337 |
<font>Arial</font> |
| 338 |
<fontsize>10</fontsize> |
| 339 |
<precision>3</precision> |
| 340 |
<color> |
| 341 |
<r>0</r> |
| 342 |
<g>0</g> |
| 343 |
<b>0</b> |
| 344 |
</color> |
| 345 |
<bgcolor mode="nobackground"> |
| 346 |
<r>255</r> |
| 347 |
<g>255</g> |
| 348 |
<b>255</b> |
| 349 |
</bgcolor> |
| 350 |
<bordermode>noborder</bordermode> |
| 351 |
<borderradius>1</borderradius> |
| 352 |
<borderwidth>1</borderwidth> |
| 353 |
</bsbObject> |
| 354 |
<bsbObject version="2" type="BSBHSlider"> |
| 355 |
<objectName>Delay_Time</objectName> |
| 356 |
<x>10</x> |
| 357 |
<y>91</y> |
| 358 |
<width>500</width> |
| 359 |
<height>27</height> |
| 360 |
<uuid>{b8fa76b9-3d04-4156-a2f2-a413d3864da3}</uuid> |
| 361 |
<visible>true</visible> |
| 362 |
<midichan>0</midichan> |
| 363 |
<midicc>0</midicc> |
| 364 |
<minimum>0.00100000</minimum> |
| 365 |
<maximum>5.00000000</maximum> |
| 366 |
<value>0.38092400</value> |
| 367 |
<mode>lin</mode> |
| 368 |
<mouseControl act="jump">continuous</mouseControl> |
| 369 |
<resolution>-1.00000000</resolution> |
| 370 |
<randomizable group="0">false</randomizable> |
| 371 |
</bsbObject> |
| 372 |
<bsbObject version="2" type="BSBDropdown"> |
| 373 |
<objectName>Input</objectName> |
| 374 |
<x>178</x> |
| 375 |
<y>284</y> |
| 376 |
<width>120</width> |
| 377 |
<height>30</height> |
| 378 |
<uuid>{9b81a1f2-bcb8-4582-925b-9ae56def3865}</uuid> |
| 379 |
<visible>true</visible> |
| 380 |
<midichan>0</midichan> |
| 381 |
<midicc>0</midicc> |
| 382 |
<bsbDropdownItemList> |
| 383 |
<bsbDropdownItem> |
| 384 |
<name>Audio File</name> |
| 385 |
<value>0</value> |
| 386 |
<stringvalue/> |
| 387 |
</bsbDropdownItem> |
| 388 |
<bsbDropdownItem> |
| 389 |
<name> Live Input</name> |
| 390 |
<value>1</value> |
| 391 |
<stringvalue/> |
| 392 |
</bsbDropdownItem> |
| 393 |
</bsbDropdownItemList> |
| 394 |
<selectedIndex>0</selectedIndex> |
| 395 |
<randomizable group="0">false</randomizable> |
| 396 |
</bsbObject> |
| 397 |
<bsbObject version="2" type="BSBLabel"> |
| 398 |
<objectName/> |
| 399 |
<x>96</x> |
| 400 |
<y>285</y> |
| 401 |
<width>80</width> |
| 402 |
<height>30</height> |
| 403 |
<uuid>{62eeb695-9b83-42da-81cd-8000c232d9b9}</uuid> |
| 404 |
<visible>true</visible> |
| 405 |
<midichan>0</midichan> |
| 406 |
<midicc>0</midicc> |
| 407 |
<label>Input</label> |
| 408 |
<alignment>right</alignment> |
| 409 |
<font>Arial</font> |
| 410 |
<fontsize>10</fontsize> |
| 411 |
<precision>3</precision> |
| 412 |
<color> |
| 413 |
<r>0</r> |
| 414 |
<g>0</g> |
| 415 |
<b>0</b> |
| 416 |
</color> |
| 417 |
<bgcolor mode="nobackground"> |
| 418 |
<r>255</r> |
| 419 |
<g>255</g> |
| 420 |
<b>255</b> |
| 421 |
</bgcolor> |
| 422 |
<bordermode>noborder</bordermode> |
| 423 |
<borderradius>1</borderradius> |
| 424 |
<borderwidth>1</borderwidth> |
| 425 |
</bsbObject> |
| 426 |
<bsbObject version="2" type="BSBHSlider"> |
| 427 |
<objectName>Output_Gain</objectName> |
| 428 |
<x>9</x> |
| 429 |
<y>182</y> |
| 430 |
<width>500</width> |
| 431 |
<height>27</height> |
| 432 |
<uuid>{b7e7b8ab-140d-45bf-8c52-607bbf726f46}</uuid> |
| 433 |
<visible>true</visible> |
| 434 |
<midichan>0</midichan> |
| 435 |
<midicc>0</midicc> |
| 436 |
<minimum>0.00000000</minimum> |
| 437 |
<maximum>1.00000000</maximum> |
| 438 |
<value>0.47600000</value> |
| 439 |
<mode>lin</mode> |
| 440 |
<mouseControl act="jump">continuous</mouseControl> |
| 441 |
<resolution>-1.00000000</resolution> |
| 442 |
<randomizable group="0">false</randomizable> |
| 443 |
</bsbObject> |
| 444 |
<bsbObject version="2" type="BSBLabel"> |
| 445 |
<objectName/> |
| 446 |
<x>9</x> |
| 447 |
<y>199</y> |
| 448 |
<width>120</width> |
| 449 |
<height>30</height> |
| 450 |
<uuid>{92773515-22ba-4f64-b658-78264fc33aba}</uuid> |
| 451 |
<visible>true</visible> |
| 452 |
<midichan>0</midichan> |
| 453 |
<midicc>0</midicc> |
| 454 |
<label>Output Gain</label> |
| 455 |
<alignment>left</alignment> |
| 456 |
<font>Arial</font> |
| 457 |
<fontsize>10</fontsize> |
| 458 |
<precision>3</precision> |
| 459 |
<color> |
| 460 |
<r>0</r> |
| 461 |
<g>0</g> |
| 462 |
<b>0</b> |
| 463 |
</color> |
| 464 |
<bgcolor mode="nobackground"> |
| 465 |
<r>255</r> |
| 466 |
<g>255</g> |
| 467 |
<b>255</b> |
| 468 |
</bgcolor> |
| 469 |
<bordermode>noborder</bordermode> |
| 470 |
<borderradius>1</borderradius> |
| 471 |
<borderwidth>1</borderwidth> |
| 472 |
</bsbObject> |
| 473 |
<bsbObject version="2" type="BSBDisplay"> |
| 474 |
<objectName>Output_Gain</objectName> |
| 475 |
<x>449</x> |
| 476 |
<y>199</y> |
| 477 |
<width>60</width> |
| 478 |
<height>30</height> |
| 479 |
<uuid>{cd171d26-552e-4958-b526-275d452ec385}</uuid> |
| 480 |
<visible>true</visible> |
| 481 |
<midichan>0</midichan> |
| 482 |
<midicc>0</midicc> |
| 483 |
<label>0.476</label> |
| 484 |
<alignment>right</alignment> |
| 485 |
<font>Arial</font> |
| 486 |
<fontsize>9</fontsize> |
| 487 |
<precision>3</precision> |
| 488 |
<color> |
| 489 |
<r>0</r> |
| 490 |
<g>0</g> |
| 491 |
<b>0</b> |
| 492 |
</color> |
| 493 |
<bgcolor mode="nobackground"> |
| 494 |
<r>255</r> |
| 495 |
<g>255</g> |
| 496 |
<b>255</b> |
| 497 |
</bgcolor> |
| 498 |
<bordermode>noborder</bordermode> |
| 499 |
<borderradius>1</borderradius> |
| 500 |
<borderwidth>1</borderwidth> |
| 501 |
</bsbObject> |
| 502 |
<bsbObject version="2" type="BSBDisplay"> |
| 503 |
<objectName>Mix</objectName> |
| 504 |
<x>449</x> |
| 505 |
<y>160</y> |
| 506 |
<width>60</width> |
| 507 |
<height>30</height> |
| 508 |
<uuid>{5cd56315-4bac-452e-92eb-a031b288b36f}</uuid> |
| 509 |
<visible>true</visible> |
| 510 |
<midichan>0</midichan> |
| 511 |
<midicc>0</midicc> |
| 512 |
<label>0.436</label> |
| 513 |
<alignment>right</alignment> |
| 514 |
<font>Arial</font> |
| 515 |
<fontsize>9</fontsize> |
| 516 |
<precision>3</precision> |
| 517 |
<color> |
| 518 |
<r>0</r> |
| 519 |
<g>0</g> |
| 520 |
<b>0</b> |
| 521 |
</color> |
| 522 |
<bgcolor mode="nobackground"> |
| 523 |
<r>255</r> |
| 524 |
<g>255</g> |
| 525 |
<b>255</b> |
| 526 |
</bgcolor> |
| 527 |
<bordermode>noborder</bordermode> |
| 528 |
<borderradius>1</borderradius> |
| 529 |
<borderwidth>1</borderwidth> |
| 530 |
</bsbObject> |
| 531 |
<bsbObject version="2" type="BSBLabel"> |
| 532 |
<objectName/> |
| 533 |
<x>9</x> |
| 534 |
<y>160</y> |
| 535 |
<width>120</width> |
| 536 |
<height>30</height> |
| 537 |
<uuid>{e2cef5dc-8935-405f-98da-e8a167a68d8a}</uuid> |
| 538 |
<visible>true</visible> |
| 539 |
<midichan>0</midichan> |
| 540 |
<midicc>0</midicc> |
| 541 |
<label>Dry / Wet Mix</label> |
| 542 |
<alignment>left</alignment> |
| 543 |
<font>Arial</font> |
| 544 |
<fontsize>10</fontsize> |
| 545 |
<precision>3</precision> |
| 546 |
<color> |
| 547 |
<r>0</r> |
| 548 |
<g>0</g> |
| 549 |
<b>0</b> |
| 550 |
</color> |
| 551 |
<bgcolor mode="nobackground"> |
| 552 |
<r>255</r> |
| 553 |
<g>255</g> |
| 554 |
<b>255</b> |
| 555 |
</bgcolor> |
| 556 |
<bordermode>noborder</bordermode> |
| 557 |
<borderradius>1</borderradius> |
| 558 |
<borderwidth>1</borderwidth> |
| 559 |
</bsbObject> |
| 560 |
<bsbObject version="2" type="BSBHSlider"> |
| 561 |
<objectName>Mix</objectName> |
| 562 |
<x>9</x> |
| 563 |
<y>143</y> |
| 564 |
<width>500</width> |
| 565 |
<height>27</height> |
| 566 |
<uuid>{ac0fd134-af88-448c-8e28-0198f559ba34}</uuid> |
| 567 |
<visible>true</visible> |
| 568 |
<midichan>0</midichan> |
| 569 |
<midicc>0</midicc> |
| 570 |
<minimum>0.00000000</minimum> |
| 571 |
<maximum>1.00000000</maximum> |
| 572 |
<value>0.43600000</value> |
| 573 |
<mode>lin</mode> |
| 574 |
<mouseControl act="jump">continuous</mouseControl> |
| 575 |
<resolution>-1.00000000</resolution> |
| 576 |
<randomizable group="0">false</randomizable> |
| 577 |
</bsbObject> |
| 578 |
<bsbObject version="2" type="BSBDisplay"> |
| 579 |
<objectName>Portamento_Time</objectName> |
| 580 |
<x>449</x> |
| 581 |
<y>246</y> |
| 582 |
<width>60</width> |
| 583 |
<height>30</height> |
| 584 |
<uuid>{c14cc927-5ac1-4f6a-8181-6a50801accaa}</uuid> |
| 585 |
<visible>true</visible> |
| 586 |
<midichan>0</midichan> |
| 587 |
<midicc>0</midicc> |
| 588 |
<label>0.812</label> |
| 589 |
<alignment>right</alignment> |
| 590 |
<font>Arial</font> |
| 591 |
<fontsize>9</fontsize> |
| 592 |
<precision>3</precision> |
| 593 |
<color> |
| 594 |
<r>0</r> |
| 595 |
<g>0</g> |
| 596 |
<b>0</b> |
| 597 |
</color> |
| 598 |
<bgcolor mode="nobackground"> |
| 599 |
<r>255</r> |
| 600 |
<g>255</g> |
| 601 |
<b>255</b> |
| 602 |
</bgcolor> |
| 603 |
<bordermode>noborder</bordermode> |
| 604 |
<borderradius>1</borderradius> |
| 605 |
<borderwidth>1</borderwidth> |
| 606 |
</bsbObject> |
| 607 |
<bsbObject version="2" type="BSBLabel"> |
| 608 |
<objectName/> |
| 609 |
<x>9</x> |
| 610 |
<y>246</y> |
| 611 |
<width>120</width> |
| 612 |
<height>30</height> |
| 613 |
<uuid>{f4b96abf-8cf5-4456-a057-6b785e9c4b8d}</uuid> |
| 614 |
<visible>true</visible> |
| 615 |
<midichan>0</midichan> |
| 616 |
<midicc>0</midicc> |
| 617 |
<label>Portamento Time</label> |
| 618 |
<alignment>left</alignment> |
| 619 |
<font>Arial</font> |
| 620 |
<fontsize>10</fontsize> |
| 621 |
<precision>3</precision> |
| 622 |
<color> |
| 623 |
<r>0</r> |
| 624 |
<g>0</g> |
| 625 |
<b>0</b> |
| 626 |
</color> |
| 627 |
<bgcolor mode="nobackground"> |
| 628 |
<r>255</r> |
| 629 |
<g>255</g> |
| 630 |
<b>255</b> |
| 631 |
</bgcolor> |
| 632 |
<bordermode>noborder</bordermode> |
| 633 |
<borderradius>1</borderradius> |
| 634 |
<borderwidth>1</borderwidth> |
| 635 |
</bsbObject> |
| 636 |
<bsbObject version="2" type="BSBHSlider"> |
| 637 |
<objectName>Portamento_Time</objectName> |
| 638 |
<x>9</x> |
| 639 |
<y>229</y> |
| 640 |
<width>500</width> |
| 641 |
<height>27</height> |
| 642 |
<uuid>{432d4976-cb71-4373-943b-6378da54ddb5}</uuid> |
| 643 |
<visible>true</visible> |
| 644 |
<midichan>0</midichan> |
| 645 |
<midicc>0</midicc> |
| 646 |
<minimum>0.00000000</minimum> |
| 647 |
<maximum>2.00000000</maximum> |
| 648 |
<value>0.81200000</value> |
| 649 |
<mode>lin</mode> |
| 650 |
<mouseControl act="jump">continuous</mouseControl> |
| 651 |
<resolution>-1.00000000</resolution> |
| 652 |
<randomizable group="0">false</randomizable> |
| 653 |
</bsbObject> |
| 654 |
<bsbObject version="2" type="BSBButton"> |
| 655 |
<objectName>_Browse1</objectName> |
| 656 |
<x>7</x> |
| 657 |
<y>324</y> |
| 658 |
<width>170</width> |
| 659 |
<height>30</height> |
| 660 |
<uuid>{d281b0c8-4347-44a1-8bbf-451b2931bf11}</uuid> |
| 661 |
<visible>true</visible> |
| 662 |
<midichan>0</midichan> |
| 663 |
<midicc>0</midicc> |
| 664 |
<type>value</type> |
| 665 |
<pressedValue>1.00000000</pressedValue> |
| 666 |
<stringvalue>808loop.wav</stringvalue> |
| 667 |
<text>Browse Audio File</text> |
| 668 |
<image>/</image> |
| 669 |
<eventLine/> |
| 670 |
<latch>false</latch> |
| 671 |
<latched>false</latched> |
| 672 |
</bsbObject> |
| 673 |
<bsbObject version="2" type="BSBLineEdit"> |
| 674 |
<objectName>_Browse1</objectName> |
| 675 |
<x>179</x> |
| 676 |
<y>324</y> |
| 677 |
<width>330</width> |
| 678 |
<height>30</height> |
| 679 |
<uuid>{5729a2c1-76d0-40f9-b232-6dd62b27498d}</uuid> |
| 680 |
<visible>true</visible> |
| 681 |
<midichan>0</midichan> |
| 682 |
<midicc>0</midicc> |
| 683 |
<label>808loop.wav</label> |
| 684 |
<alignment>left</alignment> |
| 685 |
<font>Arial</font> |
| 686 |
<fontsize>10</fontsize> |
| 687 |
<precision>3</precision> |
| 688 |
<color> |
| 689 |
<r>0</r> |
| 690 |
<g>0</g> |
| 691 |
<b>0</b> |
| 692 |
</color> |
| 693 |
<bgcolor mode="nobackground"> |
| 694 |
<r>229</r> |
| 695 |
<g>229</g> |
| 696 |
<b>229</b> |
| 697 |
</bgcolor> |
| 698 |
<background>nobackground</background> |
| 699 |
</bsbObject> |
| 700 |
<bsbObject version="2" type="BSBLabel"> |
| 701 |
<objectName/> |
| 702 |
<x>179</x> |
| 703 |
<y>354</y> |
| 704 |
<width>330</width> |
| 705 |
<height>30</height> |
| 706 |
<uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid> |
| 707 |
<visible>true</visible> |
| 708 |
<midichan>0</midichan> |
| 709 |
<midicc>0</midicc> |
| 710 |
<label>Restart the instrument after changing the audio file.</label> |
| 711 |
<alignment>left</alignment> |
| 712 |
<font>Liberation Sans</font> |
| 713 |
<fontsize>12</fontsize> |
| 714 |
<precision>3</precision> |
| 715 |
<color> |
| 716 |
<r>0</r> |
| 717 |
<g>0</g> |
| 718 |
<b>0</b> |
| 719 |
</color> |
| 720 |
<bgcolor mode="nobackground"> |
| 721 |
<r>255</r> |
| 722 |
<g>255</g> |
| 723 |
<b>255</b> |
| 724 |
</bgcolor> |
| 725 |
<bordermode>noborder</bordermode> |
| 726 |
<borderradius>1</borderradius> |
| 727 |
<borderwidth>1</borderwidth> |
| 728 |
</bsbObject> |
| 729 |
</bsbPanel> |
| 730 |
<bsbPresets> |
| 731 |
</bsbPresets> |