| 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 |
;Modified for QuteCsound by René, September 2010, updated Feb 2011 |
| 7 |
;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817 |
| 8 |
|
| 9 |
;Notes on modifications from original csd: |
| 10 |
; Add Browser for audio file and use of FilePlay2 udo, now accept mono or stereo wav files |
| 11 |
|
| 12 |
|
| 13 |
;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0 |
| 14 |
<CsoundSynthesizer> |
| 15 |
<CsOptions> |
| 16 |
--env:SSDIR+=../../SourceMaterials |
| 17 |
</CsOptions> |
| 18 |
<CsInstruments> |
| 19 |
sr = 44100 ;SAMPLE RATE |
| 20 |
ksmps = 10 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE |
| 21 |
nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO) |
| 22 |
0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH |
| 23 |
|
| 24 |
|
| 25 |
opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz |
| 26 |
;gives stereo output regardless your soundfile is mono or stereo |
| 27 |
Sfil, kspeed, iskip, iloop xin |
| 28 |
ichn filenchnls Sfil |
| 29 |
if ichn == 1 then |
| 30 |
aL diskin2 Sfil, kspeed, iskip, iloop |
| 31 |
aR = aL |
| 32 |
else |
| 33 |
aL, aR diskin2 Sfil, kspeed, iskip, iloop |
| 34 |
endif |
| 35 |
xout aL, aR |
| 36 |
endop |
| 37 |
|
| 38 |
|
| 39 |
instr 10 ;GUI |
| 40 |
ktrig metro 10 |
| 41 |
if (ktrig == 1) then |
| 42 |
gkingain invalue "Live_Input_Gain" |
| 43 |
gkdlt invalue "Delay_Time" ;init 0.5 |
| 44 |
gkmix invalue "Mix" ;init 0.5 |
| 45 |
gkgain invalue "Output_Gain" ;init 1.0 |
| 46 |
gkinput invalue "Input" |
| 47 |
endif |
| 48 |
endin |
| 49 |
|
| 50 |
instr 1 ;PLAYS FILE |
| 51 |
|
| 52 |
if gkinput==0 then ;IF FILE INPUT IS SELECTED... |
| 53 |
Sfile invalue "_Browse1" |
| 54 |
gasigL, gasigR FilePlay2 Sfile, 1, 0, 1 ;GENERATE 2 AUDIO SIGNALS FROM A SOUND FILE (NOTE THE USE OF GLOBAL VARIABLES) |
| 55 |
else ;OTHERWISE |
| 56 |
asigL, asigR ins ;TAKE INPUT FROM COMPUTER'S AUDIO INPUT |
| 57 |
gasigL = asigL * gkingain ;SCALE USING 'Input Gain' SLIDER |
| 58 |
gasigR = asigR * gkingain ;SCALE USING 'Input Gain' SLIDER |
| 59 |
endif ;END OF CONDITIONAL BRANCHING |
| 60 |
endin |
| 61 |
|
| 62 |
instr 2 ;DELAY INSTRUMENT |
| 63 |
;;;LEFT CHANNEL DELAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 64 |
abufferL delayr 5 ;CREATE A DELAY BUFFER OF 5 SECONDS DURATION (EQUIVALENT TO THE MAXIMUM DELAY TIME POSSIBLE USING THIS EXAMPLE) |
| 65 |
adelsigL deltap gkdlt ;TAP THE DELAY LINE AT gkdlt SECONDS |
| 66 |
delayw gasigL ;WRITE AUDIO INTO THE BEGINNING OF THE BUFFER |
| 67 |
|
| 68 |
;;;RIGHT CHANNEL DELAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 69 |
abufferR delayr 5 ;CREATE A DELAY BUFFER OF 5 SECONDS DURATION (EQUIVALENT TO THE MAXIMUM DELAY TIME POSSIBLE USING THIS EXAMPLE) |
| 70 |
adelsigR deltap gkdlt ;TAP THE DELAY LINE AT gkdlt SECONDS |
| 71 |
delayw gasigR ;WRITE AUDIO INTO THE BEGINNING OF THE BUFFER |
| 72 |
|
| 73 |
aL ntrpol gasigL, adelsigL, gkmix |
| 74 |
aR ntrpol gasigR, adelsigR, gkmix |
| 75 |
outs aL * gkgain, aR * gkgain ;CREATE A MIX BETWEEN THE WET AND THE DRY SIGNALS AT THE OUTPUT |
| 76 |
clear gasigL, gasigR ;CLEAR THE GLOBAL AUDIO SEND VARIABLES |
| 77 |
endin |
| 78 |
</CsInstruments> |
| 79 |
<CsScore> |
| 80 |
;INSTR | START | DURATION |
| 81 |
i 2 0 -1 ;INSTRUMENT 2 PLAYS A HELD NOTE |
| 82 |
i 10 0 -1 ;INSTRUMENT 10 PLAYS A HELD NOTE (GUI) |
| 83 |
|
| 84 |
f 0 3600 ;'DUMMY' SCORE EVENT KEEPS REALTIME PERFORMANCE GOING FOR 1 HOUR |
| 85 |
</CsScore> |
| 86 |
</CsoundSynthesizer> |
| 87 |
<bsbPanel> |
| 88 |
<label>Widgets</label> |
| 89 |
<objectName/> |
| 90 |
<x>72</x> |
| 91 |
<y>179</y> |
| 92 |
<width>400</width> |
| 93 |
<height>200</height> |
| 94 |
<visible>true</visible> |
| 95 |
<uuid/> |
| 96 |
<bgcolor mode="background"> |
| 97 |
<r>241</r> |
| 98 |
<g>226</g> |
| 99 |
<b>185</b> |
| 100 |
</bgcolor> |
| 101 |
<bsbObject version="2" type="BSBLabel"> |
| 102 |
<objectName/> |
| 103 |
<x>2</x> |
| 104 |
<y>2</y> |
| 105 |
<width>517</width> |
| 106 |
<height>470</height> |
| 107 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 108 |
<visible>true</visible> |
| 109 |
<midichan>0</midichan> |
| 110 |
<midicc>0</midicc> |
| 111 |
<label>delayr,delayw,deltap</label> |
| 112 |
<alignment>center</alignment> |
| 113 |
<font>Liberation Sans</font> |
| 114 |
<fontsize>18</fontsize> |
| 115 |
<precision>3</precision> |
| 116 |
<color> |
| 117 |
<r>0</r> |
| 118 |
<g>0</g> |
| 119 |
<b>0</b> |
| 120 |
</color> |
| 121 |
<bgcolor mode="background"> |
| 122 |
<r>158</r> |
| 123 |
<g>220</g> |
| 124 |
<b>217</b> |
| 125 |
</bgcolor> |
| 126 |
<bordermode>border</bordermode> |
| 127 |
<borderradius>5</borderradius> |
| 128 |
<borderwidth>2</borderwidth> |
| 129 |
</bsbObject> |
| 130 |
<bsbObject version="2" type="BSBButton"> |
| 131 |
<objectName/> |
| 132 |
<x>5</x> |
| 133 |
<y>5</y> |
| 134 |
<width>120</width> |
| 135 |
<height>35</height> |
| 136 |
<uuid>{487d5181-d838-4cce-9628-317fefc350cb}</uuid> |
| 137 |
<visible>true</visible> |
| 138 |
<midichan>0</midichan> |
| 139 |
<midicc>0</midicc> |
| 140 |
<type>event</type> |
| 141 |
<pressedValue>1.00000000</pressedValue> |
| 142 |
<stringvalue/> |
| 143 |
<text> ON / OFF</text> |
| 144 |
<image>/</image> |
| 145 |
<eventLine>i 1 0 -1</eventLine> |
| 146 |
<latch>true</latch> |
| 147 |
<latched>false</latched> |
| 148 |
</bsbObject> |
| 149 |
<bsbObject version="2" type="BSBHSlider"> |
| 150 |
<objectName>Live_Input_Gain</objectName> |
| 151 |
<x>10</x> |
| 152 |
<y>70</y> |
| 153 |
<width>500</width> |
| 154 |
<height>27</height> |
| 155 |
<uuid>{de47f47d-bcea-4c1c-ab4b-a323452b1f7e}</uuid> |
| 156 |
<visible>true</visible> |
| 157 |
<midichan>0</midichan> |
| 158 |
<midicc>0</midicc> |
| 159 |
<minimum>0.00000000</minimum> |
| 160 |
<maximum>1.00000000</maximum> |
| 161 |
<value>0.42600000</value> |
| 162 |
<mode>lin</mode> |
| 163 |
<mouseControl act="jump">continuous</mouseControl> |
| 164 |
<resolution>-1.00000000</resolution> |
| 165 |
<randomizable group="0">false</randomizable> |
| 166 |
</bsbObject> |
| 167 |
<bsbObject version="2" type="BSBLabel"> |
| 168 |
<objectName/> |
| 169 |
<x>10</x> |
| 170 |
<y>87</y> |
| 171 |
<width>120</width> |
| 172 |
<height>30</height> |
| 173 |
<uuid>{0200a063-5db8-4668-bc2d-2d989a083f6e}</uuid> |
| 174 |
<visible>true</visible> |
| 175 |
<midichan>0</midichan> |
| 176 |
<midicc>0</midicc> |
| 177 |
<label>Live input Gain</label> |
| 178 |
<alignment>left</alignment> |
| 179 |
<font>Arial</font> |
| 180 |
<fontsize>10</fontsize> |
| 181 |
<precision>3</precision> |
| 182 |
<color> |
| 183 |
<r>0</r> |
| 184 |
<g>0</g> |
| 185 |
<b>0</b> |
| 186 |
</color> |
| 187 |
<bgcolor mode="nobackground"> |
| 188 |
<r>255</r> |
| 189 |
<g>255</g> |
| 190 |
<b>255</b> |
| 191 |
</bgcolor> |
| 192 |
<bordermode>noborder</bordermode> |
| 193 |
<borderradius>1</borderradius> |
| 194 |
<borderwidth>1</borderwidth> |
| 195 |
</bsbObject> |
| 196 |
<bsbObject version="2" type="BSBDisplay"> |
| 197 |
<objectName>Live_Input_Gain</objectName> |
| 198 |
<x>450</x> |
| 199 |
<y>87</y> |
| 200 |
<width>60</width> |
| 201 |
<height>30</height> |
| 202 |
<uuid>{ab191e3a-430d-4f1d-88aa-9840342cd2d3}</uuid> |
| 203 |
<visible>true</visible> |
| 204 |
<midichan>0</midichan> |
| 205 |
<midicc>0</midicc> |
| 206 |
<label>0.426</label> |
| 207 |
<alignment>right</alignment> |
| 208 |
<font>Arial</font> |
| 209 |
<fontsize>9</fontsize> |
| 210 |
<precision>3</precision> |
| 211 |
<color> |
| 212 |
<r>0</r> |
| 213 |
<g>0</g> |
| 214 |
<b>0</b> |
| 215 |
</color> |
| 216 |
<bgcolor mode="nobackground"> |
| 217 |
<r>255</r> |
| 218 |
<g>255</g> |
| 219 |
<b>255</b> |
| 220 |
</bgcolor> |
| 221 |
<bordermode>noborder</bordermode> |
| 222 |
<borderradius>1</borderradius> |
| 223 |
<borderwidth>1</borderwidth> |
| 224 |
</bsbObject> |
| 225 |
<bsbObject version="2" type="BSBLabel"> |
| 226 |
<objectName/> |
| 227 |
<x>521</x> |
| 228 |
<y>2</y> |
| 229 |
<width>606</width> |
| 230 |
<height>472</height> |
| 231 |
<uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid> |
| 232 |
<visible>true</visible> |
| 233 |
<midichan>0</midichan> |
| 234 |
<midicc>0</midicc> |
| 235 |
<label>delayr,delayw,deltap</label> |
| 236 |
<alignment>center</alignment> |
| 237 |
<font>Liberation Sans</font> |
| 238 |
<fontsize>18</fontsize> |
| 239 |
<precision>3</precision> |
| 240 |
<color> |
| 241 |
<r>0</r> |
| 242 |
<g>0</g> |
| 243 |
<b>0</b> |
| 244 |
</color> |
| 245 |
<bgcolor mode="background"> |
| 246 |
<r>158</r> |
| 247 |
<g>220</g> |
| 248 |
<b>217</b> |
| 249 |
</bgcolor> |
| 250 |
<bordermode>border</bordermode> |
| 251 |
<borderradius>5</borderradius> |
| 252 |
<borderwidth>2</borderwidth> |
| 253 |
</bsbObject> |
| 254 |
<bsbObject version="2" type="BSBLabel"> |
| 255 |
<objectName/> |
| 256 |
<x>524</x> |
| 257 |
<y>16</y> |
| 258 |
<width>606</width> |
| 259 |
<height>452</height> |
| 260 |
<uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid> |
| 261 |
<visible>true</visible> |
| 262 |
<midichan>0</midichan> |
| 263 |
<midicc>0</midicc> |
| 264 |
<label>--------------------------------------------------------------------------------------------------------------------------- |
| 265 |
A common way to implement a delay line in Csound is through a combination of three opcodes. Delayr is used to inititiate a delay buffer. This allocates computer RAM for audio storage. Delayr's only input argument is the duration of the buffer in seconds. The buffer duration should be at least equal to the duration of the longest delay tap required. The buffer duration can be overestimated but vast overestimation is wasteful of computer RAM. |
| 266 |
Delayr's audio output is the audio signal read at the end of the buffer. Normally this signal is left unused but it is still required that we define it as a variable nonetheless. Delayw is used to write audio into the beginning of the delay buffer. Its only input argument is the source signal to be written into the buffer. Delayw has no output arguments. Deltap is used to tap the delay buffer at some point across its duration. |
| 267 |
Its only input argument is the delay time (in seconds) at which to tap the audio buffer. This time value should not exceed the entire duration of the buffer previously defined using delayr and it should not be less ", 1, 5, 14, 490, 15, 5, 400 than ksmps (ksmps=control rate cycle duration). For this reason ksmps may need to be set low and therefore kr (kr=number of audio samples in a control-rate cycle) may need to be set high in to allow very short delay times. The delay time given to the deltap opcode should not be zero or a negative value. The deltap code is placed after the delayr code and before the delayw code. There are opcodes that allow the creation of a delay in a single line of code but they do not allow the flexibilty of including further signal processing within the delay buffer. Examples of the kind of processing that can be used within the delay buffer are explored in subsequent examples in this section. In this example the user can choose between a sound file as input or the computer's live input. |
| 268 |
A gain control is provided to control the gain of the live input.</label> |
| 269 |
<alignment>left</alignment> |
| 270 |
<font>Liberation Sans</font> |
| 271 |
<fontsize>14</fontsize> |
| 272 |
<precision>3</precision> |
| 273 |
<color> |
| 274 |
<r>0</r> |
| 275 |
<g>0</g> |
| 276 |
<b>0</b> |
| 277 |
</color> |
| 278 |
<bgcolor mode="nobackground"> |
| 279 |
<r>255</r> |
| 280 |
<g>255</g> |
| 281 |
<b>255</b> |
| 282 |
</bgcolor> |
| 283 |
<bordermode>noborder</bordermode> |
| 284 |
<borderradius>1</borderradius> |
| 285 |
<borderwidth>1</borderwidth> |
| 286 |
</bsbObject> |
| 287 |
<bsbObject version="2" type="BSBDisplay"> |
| 288 |
<objectName>Delay_Time</objectName> |
| 289 |
<x>450</x> |
| 290 |
<y>126</y> |
| 291 |
<width>60</width> |
| 292 |
<height>30</height> |
| 293 |
<uuid>{732b2008-7445-4893-a260-e68561cf8e71}</uuid> |
| 294 |
<visible>true</visible> |
| 295 |
<midichan>0</midichan> |
| 296 |
<midicc>0</midicc> |
| 297 |
<label>0.121</label> |
| 298 |
<alignment>right</alignment> |
| 299 |
<font>Arial</font> |
| 300 |
<fontsize>9</fontsize> |
| 301 |
<precision>3</precision> |
| 302 |
<color> |
| 303 |
<r>0</r> |
| 304 |
<g>0</g> |
| 305 |
<b>0</b> |
| 306 |
</color> |
| 307 |
<bgcolor mode="nobackground"> |
| 308 |
<r>255</r> |
| 309 |
<g>255</g> |
| 310 |
<b>255</b> |
| 311 |
</bgcolor> |
| 312 |
<bordermode>noborder</bordermode> |
| 313 |
<borderradius>1</borderradius> |
| 314 |
<borderwidth>1</borderwidth> |
| 315 |
</bsbObject> |
| 316 |
<bsbObject version="2" type="BSBLabel"> |
| 317 |
<objectName/> |
| 318 |
<x>10</x> |
| 319 |
<y>126</y> |
| 320 |
<width>120</width> |
| 321 |
<height>30</height> |
| 322 |
<uuid>{b57ba536-8f28-4986-9bf7-8eb84262d8ca}</uuid> |
| 323 |
<visible>true</visible> |
| 324 |
<midichan>0</midichan> |
| 325 |
<midicc>0</midicc> |
| 326 |
<label>Delay Time (sec)</label> |
| 327 |
<alignment>left</alignment> |
| 328 |
<font>Arial</font> |
| 329 |
<fontsize>10</fontsize> |
| 330 |
<precision>3</precision> |
| 331 |
<color> |
| 332 |
<r>0</r> |
| 333 |
<g>0</g> |
| 334 |
<b>0</b> |
| 335 |
</color> |
| 336 |
<bgcolor mode="nobackground"> |
| 337 |
<r>255</r> |
| 338 |
<g>255</g> |
| 339 |
<b>255</b> |
| 340 |
</bgcolor> |
| 341 |
<bordermode>noborder</bordermode> |
| 342 |
<borderradius>1</borderradius> |
| 343 |
<borderwidth>1</borderwidth> |
| 344 |
</bsbObject> |
| 345 |
<bsbObject version="2" type="BSBHSlider"> |
| 346 |
<objectName>Delay_Time</objectName> |
| 347 |
<x>10</x> |
| 348 |
<y>109</y> |
| 349 |
<width>500</width> |
| 350 |
<height>27</height> |
| 351 |
<uuid>{b8fa76b9-3d04-4156-a2f2-a413d3864da3}</uuid> |
| 352 |
<visible>true</visible> |
| 353 |
<midichan>0</midichan> |
| 354 |
<midicc>0</midicc> |
| 355 |
<minimum>0.00100000</minimum> |
| 356 |
<maximum>5.00000000</maximum> |
| 357 |
<value>0.12097600</value> |
| 358 |
<mode>lin</mode> |
| 359 |
<mouseControl act="jump">continuous</mouseControl> |
| 360 |
<resolution>-1.00000000</resolution> |
| 361 |
<randomizable group="0">false</randomizable> |
| 362 |
</bsbObject> |
| 363 |
<bsbObject version="2" type="BSBDropdown"> |
| 364 |
<objectName>Input</objectName> |
| 365 |
<x>177</x> |
| 366 |
<y>292</y> |
| 367 |
<width>120</width> |
| 368 |
<height>30</height> |
| 369 |
<uuid>{9b81a1f2-bcb8-4582-925b-9ae56def3865}</uuid> |
| 370 |
<visible>true</visible> |
| 371 |
<midichan>0</midichan> |
| 372 |
<midicc>0</midicc> |
| 373 |
<bsbDropdownItemList> |
| 374 |
<bsbDropdownItem> |
| 375 |
<name>Audio File</name> |
| 376 |
<value>0</value> |
| 377 |
<stringvalue/> |
| 378 |
</bsbDropdownItem> |
| 379 |
<bsbDropdownItem> |
| 380 |
<name> Live Input</name> |
| 381 |
<value>1</value> |
| 382 |
<stringvalue/> |
| 383 |
</bsbDropdownItem> |
| 384 |
</bsbDropdownItemList> |
| 385 |
<selectedIndex>0</selectedIndex> |
| 386 |
<randomizable group="0">false</randomizable> |
| 387 |
</bsbObject> |
| 388 |
<bsbObject version="2" type="BSBLabel"> |
| 389 |
<objectName/> |
| 390 |
<x>95</x> |
| 391 |
<y>292</y> |
| 392 |
<width>80</width> |
| 393 |
<height>30</height> |
| 394 |
<uuid>{62eeb695-9b83-42da-81cd-8000c232d9b9}</uuid> |
| 395 |
<visible>true</visible> |
| 396 |
<midichan>0</midichan> |
| 397 |
<midicc>0</midicc> |
| 398 |
<label>Input</label> |
| 399 |
<alignment>right</alignment> |
| 400 |
<font>Arial</font> |
| 401 |
<fontsize>10</fontsize> |
| 402 |
<precision>3</precision> |
| 403 |
<color> |
| 404 |
<r>0</r> |
| 405 |
<g>0</g> |
| 406 |
<b>0</b> |
| 407 |
</color> |
| 408 |
<bgcolor mode="nobackground"> |
| 409 |
<r>255</r> |
| 410 |
<g>255</g> |
| 411 |
<b>255</b> |
| 412 |
</bgcolor> |
| 413 |
<bordermode>noborder</bordermode> |
| 414 |
<borderradius>1</borderradius> |
| 415 |
<borderwidth>1</borderwidth> |
| 416 |
</bsbObject> |
| 417 |
<bsbObject version="2" type="BSBHSlider"> |
| 418 |
<objectName>Output_Gain</objectName> |
| 419 |
<x>10</x> |
| 420 |
<y>200</y> |
| 421 |
<width>500</width> |
| 422 |
<height>27</height> |
| 423 |
<uuid>{b7e7b8ab-140d-45bf-8c52-607bbf726f46}</uuid> |
| 424 |
<visible>true</visible> |
| 425 |
<midichan>0</midichan> |
| 426 |
<midicc>0</midicc> |
| 427 |
<minimum>0.00000000</minimum> |
| 428 |
<maximum>1.00000000</maximum> |
| 429 |
<value>0.65200000</value> |
| 430 |
<mode>lin</mode> |
| 431 |
<mouseControl act="jump">continuous</mouseControl> |
| 432 |
<resolution>-1.00000000</resolution> |
| 433 |
<randomizable group="0">false</randomizable> |
| 434 |
</bsbObject> |
| 435 |
<bsbObject version="2" type="BSBLabel"> |
| 436 |
<objectName/> |
| 437 |
<x>10</x> |
| 438 |
<y>217</y> |
| 439 |
<width>120</width> |
| 440 |
<height>30</height> |
| 441 |
<uuid>{92773515-22ba-4f64-b658-78264fc33aba}</uuid> |
| 442 |
<visible>true</visible> |
| 443 |
<midichan>0</midichan> |
| 444 |
<midicc>0</midicc> |
| 445 |
<label>Output Gain</label> |
| 446 |
<alignment>left</alignment> |
| 447 |
<font>Arial</font> |
| 448 |
<fontsize>10</fontsize> |
| 449 |
<precision>3</precision> |
| 450 |
<color> |
| 451 |
<r>0</r> |
| 452 |
<g>0</g> |
| 453 |
<b>0</b> |
| 454 |
</color> |
| 455 |
<bgcolor mode="nobackground"> |
| 456 |
<r>255</r> |
| 457 |
<g>255</g> |
| 458 |
<b>255</b> |
| 459 |
</bgcolor> |
| 460 |
<bordermode>noborder</bordermode> |
| 461 |
<borderradius>1</borderradius> |
| 462 |
<borderwidth>1</borderwidth> |
| 463 |
</bsbObject> |
| 464 |
<bsbObject version="2" type="BSBDisplay"> |
| 465 |
<objectName>Output_Gain</objectName> |
| 466 |
<x>450</x> |
| 467 |
<y>217</y> |
| 468 |
<width>60</width> |
| 469 |
<height>30</height> |
| 470 |
<uuid>{cd171d26-552e-4958-b526-275d452ec385}</uuid> |
| 471 |
<visible>true</visible> |
| 472 |
<midichan>0</midichan> |
| 473 |
<midicc>0</midicc> |
| 474 |
<label>0.652</label> |
| 475 |
<alignment>right</alignment> |
| 476 |
<font>Arial</font> |
| 477 |
<fontsize>9</fontsize> |
| 478 |
<precision>3</precision> |
| 479 |
<color> |
| 480 |
<r>0</r> |
| 481 |
<g>0</g> |
| 482 |
<b>0</b> |
| 483 |
</color> |
| 484 |
<bgcolor mode="nobackground"> |
| 485 |
<r>255</r> |
| 486 |
<g>255</g> |
| 487 |
<b>255</b> |
| 488 |
</bgcolor> |
| 489 |
<bordermode>noborder</bordermode> |
| 490 |
<borderradius>1</borderradius> |
| 491 |
<borderwidth>1</borderwidth> |
| 492 |
</bsbObject> |
| 493 |
<bsbObject version="2" type="BSBDisplay"> |
| 494 |
<objectName>Mix</objectName> |
| 495 |
<x>450</x> |
| 496 |
<y>178</y> |
| 497 |
<width>60</width> |
| 498 |
<height>30</height> |
| 499 |
<uuid>{5cd56315-4bac-452e-92eb-a031b288b36f}</uuid> |
| 500 |
<visible>true</visible> |
| 501 |
<midichan>0</midichan> |
| 502 |
<midicc>0</midicc> |
| 503 |
<label>0.532</label> |
| 504 |
<alignment>right</alignment> |
| 505 |
<font>Arial</font> |
| 506 |
<fontsize>9</fontsize> |
| 507 |
<precision>3</precision> |
| 508 |
<color> |
| 509 |
<r>0</r> |
| 510 |
<g>0</g> |
| 511 |
<b>0</b> |
| 512 |
</color> |
| 513 |
<bgcolor mode="nobackground"> |
| 514 |
<r>255</r> |
| 515 |
<g>255</g> |
| 516 |
<b>255</b> |
| 517 |
</bgcolor> |
| 518 |
<bordermode>noborder</bordermode> |
| 519 |
<borderradius>1</borderradius> |
| 520 |
<borderwidth>1</borderwidth> |
| 521 |
</bsbObject> |
| 522 |
<bsbObject version="2" type="BSBLabel"> |
| 523 |
<objectName/> |
| 524 |
<x>10</x> |
| 525 |
<y>178</y> |
| 526 |
<width>120</width> |
| 527 |
<height>30</height> |
| 528 |
<uuid>{e2cef5dc-8935-405f-98da-e8a167a68d8a}</uuid> |
| 529 |
<visible>true</visible> |
| 530 |
<midichan>0</midichan> |
| 531 |
<midicc>0</midicc> |
| 532 |
<label>Dry / Wet Mix</label> |
| 533 |
<alignment>left</alignment> |
| 534 |
<font>Arial</font> |
| 535 |
<fontsize>10</fontsize> |
| 536 |
<precision>3</precision> |
| 537 |
<color> |
| 538 |
<r>0</r> |
| 539 |
<g>0</g> |
| 540 |
<b>0</b> |
| 541 |
</color> |
| 542 |
<bgcolor mode="nobackground"> |
| 543 |
<r>255</r> |
| 544 |
<g>255</g> |
| 545 |
<b>255</b> |
| 546 |
</bgcolor> |
| 547 |
<bordermode>noborder</bordermode> |
| 548 |
<borderradius>1</borderradius> |
| 549 |
<borderwidth>1</borderwidth> |
| 550 |
</bsbObject> |
| 551 |
<bsbObject version="2" type="BSBHSlider"> |
| 552 |
<objectName>Mix</objectName> |
| 553 |
<x>10</x> |
| 554 |
<y>161</y> |
| 555 |
<width>500</width> |
| 556 |
<height>27</height> |
| 557 |
<uuid>{ac0fd134-af88-448c-8e28-0198f559ba34}</uuid> |
| 558 |
<visible>true</visible> |
| 559 |
<midichan>0</midichan> |
| 560 |
<midicc>0</midicc> |
| 561 |
<minimum>0.00000000</minimum> |
| 562 |
<maximum>1.00000000</maximum> |
| 563 |
<value>0.53200000</value> |
| 564 |
<mode>lin</mode> |
| 565 |
<mouseControl act="jump">continuous</mouseControl> |
| 566 |
<resolution>-1.00000000</resolution> |
| 567 |
<randomizable group="0">false</randomizable> |
| 568 |
</bsbObject> |
| 569 |
<bsbObject version="2" type="BSBButton"> |
| 570 |
<objectName>_Browse1</objectName> |
| 571 |
<x>5</x> |
| 572 |
<y>356</y> |
| 573 |
<width>170</width> |
| 574 |
<height>30</height> |
| 575 |
<uuid>{9b992da1-8c0f-449e-af03-7913cc05efed}</uuid> |
| 576 |
<visible>true</visible> |
| 577 |
<midichan>0</midichan> |
| 578 |
<midicc>0</midicc> |
| 579 |
<type>value</type> |
| 580 |
<pressedValue>1.00000000</pressedValue> |
| 581 |
<stringvalue>808loop.wav</stringvalue> |
| 582 |
<text>Browse Audio File</text> |
| 583 |
<image>/</image> |
| 584 |
<eventLine/> |
| 585 |
<latch>false</latch> |
| 586 |
<latched>false</latched> |
| 587 |
</bsbObject> |
| 588 |
<bsbObject version="2" type="BSBLineEdit"> |
| 589 |
<objectName>_Browse1</objectName> |
| 590 |
<x>177</x> |
| 591 |
<y>357</y> |
| 592 |
<width>330</width> |
| 593 |
<height>28</height> |
| 594 |
<uuid>{15a8ec14-710f-43e6-be9e-f5dc8c8786cb}</uuid> |
| 595 |
<visible>true</visible> |
| 596 |
<midichan>0</midichan> |
| 597 |
<midicc>0</midicc> |
| 598 |
<label>808loop.wav</label> |
| 599 |
<alignment>left</alignment> |
| 600 |
<font>Arial</font> |
| 601 |
<fontsize>10</fontsize> |
| 602 |
<precision>3</precision> |
| 603 |
<color> |
| 604 |
<r>0</r> |
| 605 |
<g>0</g> |
| 606 |
<b>0</b> |
| 607 |
</color> |
| 608 |
<bgcolor mode="nobackground"> |
| 609 |
<r>229</r> |
| 610 |
<g>229</g> |
| 611 |
<b>229</b> |
| 612 |
</bgcolor> |
| 613 |
<background>nobackground</background> |
| 614 |
</bsbObject> |
| 615 |
<bsbObject version="2" type="BSBLabel"> |
| 616 |
<objectName/> |
| 617 |
<x>177</x> |
| 618 |
<y>386</y> |
| 619 |
<width>330</width> |
| 620 |
<height>34</height> |
| 621 |
<uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid> |
| 622 |
<visible>true</visible> |
| 623 |
<midichan>0</midichan> |
| 624 |
<midicc>0</midicc> |
| 625 |
<label>Restart the instrument after changing the audio file.</label> |
| 626 |
<alignment>left</alignment> |
| 627 |
<font>Liberation Sans</font> |
| 628 |
<fontsize>12</fontsize> |
| 629 |
<precision>3</precision> |
| 630 |
<color> |
| 631 |
<r>0</r> |
| 632 |
<g>0</g> |
| 633 |
<b>0</b> |
| 634 |
</color> |
| 635 |
<bgcolor mode="nobackground"> |
| 636 |
<r>255</r> |
| 637 |
<g>255</g> |
| 638 |
<b>255</b> |
| 639 |
</bgcolor> |
| 640 |
<bordermode>noborder</bordermode> |
| 641 |
<borderradius>1</borderradius> |
| 642 |
<borderwidth>1</borderwidth> |
| 643 |
</bsbObject> |
| 644 |
</bsbPanel> |
| 645 |
<bsbPresets> |
| 646 |
</bsbPresets> |