| 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 Browser for audio files and use of FilePlay2 udo, now accept mono or stereo wav files |
| 8 |
; "sometime" QuteCsound exits when I change FFTattributes (also get segmentation fault with FLTK original csd)??? |
| 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 = 32 ;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 |
giFFTattributes0 ftgen 1, 0, 4, -2, 256, 128, 256, 1 |
| 24 |
giFFTattributes1 ftgen 2, 0, 4, -2, 512, 128, 512, 1 |
| 25 |
giFFTattributes2 ftgen 3, 0, 4, -2, 1024, 128, 1024, 1 |
| 26 |
|
| 27 |
|
| 28 |
opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz |
| 29 |
;gives stereo output regardless your soundfile is mono or stereo |
| 30 |
Sfil, kspeed, iskip, iloop xin |
| 31 |
ichn filenchnls Sfil |
| 32 |
if ichn == 1 then |
| 33 |
aL diskin2 Sfil, kspeed, iskip, iloop |
| 34 |
aR = aL |
| 35 |
else |
| 36 |
aL, aR diskin2 Sfil, kspeed, iskip, iloop |
| 37 |
endif |
| 38 |
xout aL, aR |
| 39 |
endop |
| 40 |
|
| 41 |
|
| 42 |
instr 10 ;GUI |
| 43 |
ktrig metro 10 |
| 44 |
if (ktrig == 1) then |
| 45 |
gkblurtime invalue "Blur_Time" |
| 46 |
gkOutGain invalue "Output_Gain" |
| 47 |
gkinput invalue "Input" |
| 48 |
gkFFTattributes invalue "FFTattributes" |
| 49 |
endif |
| 50 |
endin |
| 51 |
|
| 52 |
instr 1 |
| 53 |
if gkinput=0 then ;IF 'INPUT' SWITCH IS SET TO 'Live Input' THEN IMPLEMENT THE NEXT LINE OF CODE |
| 54 |
gasig inch 1 ;READ AUDIO FROM THE COMPUTER'S LIVE INPUT CHANNEL 1 (LEFT) |
| 55 |
elseif gkinput=1 then ;IF 'INPUT' SWITCH IS SET TO 'Voice' THEN IMPLEMENT THE NEXT LINE OF CODE |
| 56 |
Sfile1 invalue "_Browse1" |
| 57 |
;OUTPUT OPCODE FILE_PATH| SPEED | INSKIP | WRAPAROUND (1=ON) |
| 58 |
gasig, asigR FilePlay2 Sfile1, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE |
| 59 |
else ;IF 'INPUT' SWITCH IS NOT SET TO 'STORED FILE' THEN IMPLEMENT THE NEXT LINE OF CODE |
| 60 |
Sfile2 invalue "_Browse2" |
| 61 |
;OUTPUT OPCODE FILE_PATH| SPEED | INSKIP | WRAPAROUND (1=ON) |
| 62 |
gasig, asigR FilePlay2 Sfile2, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE |
| 63 |
endif ;END OF 'IF'...'THEN' BRANCHING |
| 64 |
kSwitch changed gkFFTattributes ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO) |
| 65 |
if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'... |
| 66 |
reinit START ;BEGIN A REINITIALISATION PASS FROM LABEL 'START' |
| 67 |
endif ;END OF CONDITIONAL BRANCHING |
| 68 |
START: ;LABEL |
| 69 |
iFFTsize table 0, i(gkFFTattributes)+1 |
| 70 |
ioverlap table 1, i(gkFFTattributes)+1 |
| 71 |
iwinsize table 2, i(gkFFTattributes)+1 |
| 72 |
iwintype table 3, i(gkFFTattributes)+1 |
| 73 |
|
| 74 |
fsig1 pvsanal gasig, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL THAT WAS CREATED IN INSTRUMENT 1. OUTPUT AN F-SIGNAL. |
| 75 |
imaxdel = 4 ;VARIBALE THAT WILL BE USED TO DEFINE MAXIMUM DELAY TIME FOR pvsblur PROCESSING. THIS INFORMATION IS NEEDED FOR MEMORY ALLOCATION. |
| 76 |
fsig2 pvsblur fsig1, gkblurtime, imaxdel ;BLUR AMPLITUDE AND FREQUENCY VALUES OF AN F-SIGNAL |
| 77 |
;OUTPUT OPCODE INPUT |
| 78 |
aresyn pvsynth fsig2 ;RESYNTHESIZE THE f-SIGNAL AS AN AUDIO SIGNAL |
| 79 |
rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES |
| 80 |
outs aresyn * gkOutGain, aresyn * gkOutGain ;SEND THE RESCALED, RESYNTHESIZED SIGNAL TO THE AUDIO OUTPUTS |
| 81 |
endin |
| 82 |
</CsInstruments> |
| 83 |
<CsScore> |
| 84 |
;INSTR | START | DURATION |
| 85 |
i 10 0 3600 ;GUI |
| 86 |
</CsScore> |
| 87 |
</CsoundSynthesizer> |
| 88 |
|
| 89 |
|
| 90 |
|
| 91 |
<bsbPanel> |
| 92 |
<label>Widgets</label> |
| 93 |
<objectName/> |
| 94 |
<x>531</x> |
| 95 |
<y>350</y> |
| 96 |
<width>811</width> |
| 97 |
<height>412</height> |
| 98 |
<visible>true</visible> |
| 99 |
<uuid/> |
| 100 |
<bgcolor mode="background"> |
| 101 |
<r>241</r> |
| 102 |
<g>226</g> |
| 103 |
<b>185</b> |
| 104 |
</bgcolor> |
| 105 |
<bsbObject version="2" type="BSBLabel"> |
| 106 |
<objectName/> |
| 107 |
<x>2</x> |
| 108 |
<y>2</y> |
| 109 |
<width>518</width> |
| 110 |
<height>410</height> |
| 111 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 112 |
<visible>true</visible> |
| 113 |
<midichan>0</midichan> |
| 114 |
<midicc>0</midicc> |
| 115 |
<label>pvsblur, pvsanal and pvsynth</label> |
| 116 |
<alignment>center</alignment> |
| 117 |
<font>Liberation Sans</font> |
| 118 |
<fontsize>18</fontsize> |
| 119 |
<precision>3</precision> |
| 120 |
<color> |
| 121 |
<r>0</r> |
| 122 |
<g>0</g> |
| 123 |
<b>0</b> |
| 124 |
</color> |
| 125 |
<bgcolor mode="background"> |
| 126 |
<r>181</r> |
| 127 |
<g>199</g> |
| 128 |
<b>255</b> |
| 129 |
</bgcolor> |
| 130 |
<bordermode>border</bordermode> |
| 131 |
<borderradius>5</borderradius> |
| 132 |
<borderwidth>2</borderwidth> |
| 133 |
</bsbObject> |
| 134 |
<bsbObject version="2" type="BSBLabel"> |
| 135 |
<objectName/> |
| 136 |
<x>522</x> |
| 137 |
<y>2</y> |
| 138 |
<width>289</width> |
| 139 |
<height>410</height> |
| 140 |
<uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid> |
| 141 |
<visible>true</visible> |
| 142 |
<midichan>0</midichan> |
| 143 |
<midicc>0</midicc> |
| 144 |
<label>pvsblur</label> |
| 145 |
<alignment>center</alignment> |
| 146 |
<font>Liberation Sans</font> |
| 147 |
<fontsize>18</fontsize> |
| 148 |
<precision>3</precision> |
| 149 |
<color> |
| 150 |
<r>0</r> |
| 151 |
<g>0</g> |
| 152 |
<b>0</b> |
| 153 |
</color> |
| 154 |
<bgcolor mode="background"> |
| 155 |
<r>181</r> |
| 156 |
<g>199</g> |
| 157 |
<b>255</b> |
| 158 |
</bgcolor> |
| 159 |
<bordermode>border</bordermode> |
| 160 |
<borderradius>5</borderradius> |
| 161 |
<borderwidth>2</borderwidth> |
| 162 |
</bsbObject> |
| 163 |
<bsbObject version="2" type="BSBLabel"> |
| 164 |
<objectName/> |
| 165 |
<x>527</x> |
| 166 |
<y>40</y> |
| 167 |
<width>281</width> |
| 168 |
<height>354</height> |
| 169 |
<uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid> |
| 170 |
<visible>true</visible> |
| 171 |
<midichan>0</midichan> |
| 172 |
<midicc>0</midicc> |
| 173 |
<label>-------------------------------------------------------------------- |
| 174 |
Pvsblur averages streamed frequency and amplitude data over a time defined by 'Blur Time'. The effect is of the sound being blurred. |
| 175 |
The opcode requires the user to specify the longest blur time to expect. Giving this parameter high values can create very high CPU demands. |
| 176 |
A side effect of pvsblur processing is that the input signal will be delayed by the setting given to 'Blur Time'. |
| 177 |
A variety of combinations of FFT analysis attributes are selectable using radio button selectors. |
| 178 |
It can be observed that smaller FFT size and window sizes results in less time smearing but greater harmonic distortion whereas larger FFT sizes and window sizes results in greater time smearing but less harmonic distortion.</label> |
| 179 |
<alignment>left</alignment> |
| 180 |
<font>Arial</font> |
| 181 |
<fontsize>14</fontsize> |
| 182 |
<precision>3</precision> |
| 183 |
<color> |
| 184 |
<r>0</r> |
| 185 |
<g>0</g> |
| 186 |
<b>0</b> |
| 187 |
</color> |
| 188 |
<bgcolor mode="nobackground"> |
| 189 |
<r>255</r> |
| 190 |
<g>255</g> |
| 191 |
<b>255</b> |
| 192 |
</bgcolor> |
| 193 |
<bordermode>noborder</bordermode> |
| 194 |
<borderradius>1</borderradius> |
| 195 |
<borderwidth>1</borderwidth> |
| 196 |
</bsbObject> |
| 197 |
<bsbObject version="2" type="BSBButton"> |
| 198 |
<objectName/> |
| 199 |
<x>8</x> |
| 200 |
<y>8</y> |
| 201 |
<width>100</width> |
| 202 |
<height>30</height> |
| 203 |
<uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid> |
| 204 |
<visible>true</visible> |
| 205 |
<midichan>0</midichan> |
| 206 |
<midicc>0</midicc> |
| 207 |
<type>event</type> |
| 208 |
<pressedValue>1.00000000</pressedValue> |
| 209 |
<stringvalue/> |
| 210 |
<text> ON / OFF</text> |
| 211 |
<image>/</image> |
| 212 |
<eventLine>i 1 0 -1</eventLine> |
| 213 |
<latch>true</latch> |
| 214 |
<latched>false</latched> |
| 215 |
</bsbObject> |
| 216 |
<bsbObject version="2" type="BSBLabel"> |
| 217 |
<objectName/> |
| 218 |
<x>195</x> |
| 219 |
<y>164</y> |
| 220 |
<width>60</width> |
| 221 |
<height>30</height> |
| 222 |
<uuid>{b3560c14-84be-4876-9100-5807ffe16e97}</uuid> |
| 223 |
<visible>true</visible> |
| 224 |
<midichan>0</midichan> |
| 225 |
<midicc>0</midicc> |
| 226 |
<label>Input</label> |
| 227 |
<alignment>right</alignment> |
| 228 |
<font>Arial</font> |
| 229 |
<fontsize>10</fontsize> |
| 230 |
<precision>3</precision> |
| 231 |
<color> |
| 232 |
<r>0</r> |
| 233 |
<g>0</g> |
| 234 |
<b>0</b> |
| 235 |
</color> |
| 236 |
<bgcolor mode="nobackground"> |
| 237 |
<r>255</r> |
| 238 |
<g>255</g> |
| 239 |
<b>255</b> |
| 240 |
</bgcolor> |
| 241 |
<bordermode>noborder</bordermode> |
| 242 |
<borderradius>1</borderradius> |
| 243 |
<borderwidth>1</borderwidth> |
| 244 |
</bsbObject> |
| 245 |
<bsbObject version="2" type="BSBDropdown"> |
| 246 |
<objectName>Input</objectName> |
| 247 |
<x>256</x> |
| 248 |
<y>164</y> |
| 249 |
<width>110</width> |
| 250 |
<height>30</height> |
| 251 |
<uuid>{cdb2d3b2-5a09-4e13-865e-8501e33b9d35}</uuid> |
| 252 |
<visible>true</visible> |
| 253 |
<midichan>0</midichan> |
| 254 |
<midicc>0</midicc> |
| 255 |
<bsbDropdownItemList> |
| 256 |
<bsbDropdownItem> |
| 257 |
<name>Live Input</name> |
| 258 |
<value>0</value> |
| 259 |
<stringvalue/> |
| 260 |
</bsbDropdownItem> |
| 261 |
<bsbDropdownItem> |
| 262 |
<name>Voice</name> |
| 263 |
<value>1</value> |
| 264 |
<stringvalue/> |
| 265 |
</bsbDropdownItem> |
| 266 |
<bsbDropdownItem> |
| 267 |
<name>Drum Loop</name> |
| 268 |
<value>2</value> |
| 269 |
<stringvalue/> |
| 270 |
</bsbDropdownItem> |
| 271 |
</bsbDropdownItemList> |
| 272 |
<selectedIndex>1</selectedIndex> |
| 273 |
<randomizable group="0">false</randomizable> |
| 274 |
</bsbObject> |
| 275 |
<bsbObject version="2" type="BSBLabel"> |
| 276 |
<objectName/> |
| 277 |
<x>9</x> |
| 278 |
<y>331</y> |
| 279 |
<width>501</width> |
| 280 |
<height>73</height> |
| 281 |
<uuid>{f0c4875d-4e35-4d37-b043-9c1476025645}</uuid> |
| 282 |
<visible>true</visible> |
| 283 |
<midichan>0</midichan> |
| 284 |
<midicc>0</midicc> |
| 285 |
<label>FFT Attributes</label> |
| 286 |
<alignment>left</alignment> |
| 287 |
<font>Arial</font> |
| 288 |
<fontsize>14</fontsize> |
| 289 |
<precision>3</precision> |
| 290 |
<color> |
| 291 |
<r>0</r> |
| 292 |
<g>0</g> |
| 293 |
<b>0</b> |
| 294 |
</color> |
| 295 |
<bgcolor mode="nobackground"> |
| 296 |
<r>255</r> |
| 297 |
<g>255</g> |
| 298 |
<b>255</b> |
| 299 |
</bgcolor> |
| 300 |
<bordermode>border</bordermode> |
| 301 |
<borderradius>3</borderradius> |
| 302 |
<borderwidth>1</borderwidth> |
| 303 |
</bsbObject> |
| 304 |
<bsbObject version="2" type="BSBLabel"> |
| 305 |
<objectName/> |
| 306 |
<x>168</x> |
| 307 |
<y>337</y> |
| 308 |
<width>324</width> |
| 309 |
<height>28</height> |
| 310 |
<uuid>{c2cdd204-e32b-488e-b5c2-70688fb2defa}</uuid> |
| 311 |
<visible>true</visible> |
| 312 |
<midichan>0</midichan> |
| 313 |
<midicc>0</midicc> |
| 314 |
<label>FFT Size - Overlap - Window Size - Window Type</label> |
| 315 |
<alignment>left</alignment> |
| 316 |
<font>Arial</font> |
| 317 |
<fontsize>10</fontsize> |
| 318 |
<precision>3</precision> |
| 319 |
<color> |
| 320 |
<r>0</r> |
| 321 |
<g>0</g> |
| 322 |
<b>0</b> |
| 323 |
</color> |
| 324 |
<bgcolor mode="nobackground"> |
| 325 |
<r>255</r> |
| 326 |
<g>255</g> |
| 327 |
<b>255</b> |
| 328 |
</bgcolor> |
| 329 |
<bordermode>noborder</bordermode> |
| 330 |
<borderradius>1</borderradius> |
| 331 |
<borderwidth>1</borderwidth> |
| 332 |
</bsbObject> |
| 333 |
<bsbObject version="2" type="BSBDropdown"> |
| 334 |
<objectName>FFTattributes</objectName> |
| 335 |
<x>168</x> |
| 336 |
<y>357</y> |
| 337 |
<width>298</width> |
| 338 |
<height>32</height> |
| 339 |
<uuid>{c8c311f9-c1b7-4bbb-becf-9c9f1fa862c9}</uuid> |
| 340 |
<visible>true</visible> |
| 341 |
<midichan>0</midichan> |
| 342 |
<midicc>0</midicc> |
| 343 |
<bsbDropdownItemList> |
| 344 |
<bsbDropdownItem> |
| 345 |
<name>256 128 256 1</name> |
| 346 |
<value>0</value> |
| 347 |
<stringvalue/> |
| 348 |
</bsbDropdownItem> |
| 349 |
<bsbDropdownItem> |
| 350 |
<name>512 128 512 1</name> |
| 351 |
<value>1</value> |
| 352 |
<stringvalue/> |
| 353 |
</bsbDropdownItem> |
| 354 |
<bsbDropdownItem> |
| 355 |
<name>1024 128 1024 1</name> |
| 356 |
<value>2</value> |
| 357 |
<stringvalue/> |
| 358 |
</bsbDropdownItem> |
| 359 |
</bsbDropdownItemList> |
| 360 |
<selectedIndex>0</selectedIndex> |
| 361 |
<randomizable group="0">false</randomizable> |
| 362 |
</bsbObject> |
| 363 |
<bsbObject version="2" type="BSBDisplay"> |
| 364 |
<objectName>Blur_Time</objectName> |
| 365 |
<x>450</x> |
| 366 |
<y>73</y> |
| 367 |
<width>60</width> |
| 368 |
<height>30</height> |
| 369 |
<uuid>{a471f0a0-872d-45ce-8067-16edcf43702b}</uuid> |
| 370 |
<visible>true</visible> |
| 371 |
<midichan>0</midichan> |
| 372 |
<midicc>0</midicc> |
| 373 |
<label>0.824</label> |
| 374 |
<alignment>right</alignment> |
| 375 |
<font>Arial</font> |
| 376 |
<fontsize>9</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>1</borderwidth> |
| 391 |
</bsbObject> |
| 392 |
<bsbObject version="2" type="BSBHSlider"> |
| 393 |
<objectName>Blur_Time</objectName> |
| 394 |
<x>10</x> |
| 395 |
<y>56</y> |
| 396 |
<width>500</width> |
| 397 |
<height>27</height> |
| 398 |
<uuid>{f14f89da-9ddf-4d52-9ec3-1d26969055ca}</uuid> |
| 399 |
<visible>true</visible> |
| 400 |
<midichan>0</midichan> |
| 401 |
<midicc>0</midicc> |
| 402 |
<minimum>0.00000000</minimum> |
| 403 |
<maximum>4.00000000</maximum> |
| 404 |
<value>0.82400000</value> |
| 405 |
<mode>lin</mode> |
| 406 |
<mouseControl act="jump">continuous</mouseControl> |
| 407 |
<resolution>-1.00000000</resolution> |
| 408 |
<randomizable group="0">false</randomizable> |
| 409 |
</bsbObject> |
| 410 |
<bsbObject version="2" type="BSBLabel"> |
| 411 |
<objectName/> |
| 412 |
<x>10</x> |
| 413 |
<y>73</y> |
| 414 |
<width>150</width> |
| 415 |
<height>30</height> |
| 416 |
<uuid>{98b93c08-e505-4a89-8b08-f1c9fbf92c01}</uuid> |
| 417 |
<visible>true</visible> |
| 418 |
<midichan>0</midichan> |
| 419 |
<midicc>0</midicc> |
| 420 |
<label>Blur Time (seconds)</label> |
| 421 |
<alignment>left</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="BSBLabel"> |
| 440 |
<objectName/> |
| 441 |
<x>10</x> |
| 442 |
<y>121</y> |
| 443 |
<width>150</width> |
| 444 |
<height>30</height> |
| 445 |
<uuid>{0cac24dc-cad1-438a-8c50-97e766d3566c}</uuid> |
| 446 |
<visible>true</visible> |
| 447 |
<midichan>0</midichan> |
| 448 |
<midicc>0</midicc> |
| 449 |
<label>Output Gain</label> |
| 450 |
<alignment>left</alignment> |
| 451 |
<font>Arial</font> |
| 452 |
<fontsize>10</fontsize> |
| 453 |
<precision>3</precision> |
| 454 |
<color> |
| 455 |
<r>0</r> |
| 456 |
<g>0</g> |
| 457 |
<b>0</b> |
| 458 |
</color> |
| 459 |
<bgcolor mode="nobackground"> |
| 460 |
<r>255</r> |
| 461 |
<g>255</g> |
| 462 |
<b>255</b> |
| 463 |
</bgcolor> |
| 464 |
<bordermode>noborder</bordermode> |
| 465 |
<borderradius>1</borderradius> |
| 466 |
<borderwidth>1</borderwidth> |
| 467 |
</bsbObject> |
| 468 |
<bsbObject version="2" type="BSBHSlider"> |
| 469 |
<objectName>Output_Gain</objectName> |
| 470 |
<x>10</x> |
| 471 |
<y>104</y> |
| 472 |
<width>500</width> |
| 473 |
<height>27</height> |
| 474 |
<uuid>{db33bfe0-da14-4f90-9ce8-ad2da228e47e}</uuid> |
| 475 |
<visible>true</visible> |
| 476 |
<midichan>0</midichan> |
| 477 |
<midicc>0</midicc> |
| 478 |
<minimum>0.00000000</minimum> |
| 479 |
<maximum>1.00000000</maximum> |
| 480 |
<value>0.56800000</value> |
| 481 |
<mode>lin</mode> |
| 482 |
<mouseControl act="jump">continuous</mouseControl> |
| 483 |
<resolution>-1.00000000</resolution> |
| 484 |
<randomizable group="0">false</randomizable> |
| 485 |
</bsbObject> |
| 486 |
<bsbObject version="2" type="BSBDisplay"> |
| 487 |
<objectName>Output_Gain</objectName> |
| 488 |
<x>450</x> |
| 489 |
<y>121</y> |
| 490 |
<width>60</width> |
| 491 |
<height>30</height> |
| 492 |
<uuid>{5f302e8f-737a-40db-be83-a0e6cd27a65b}</uuid> |
| 493 |
<visible>true</visible> |
| 494 |
<midichan>0</midichan> |
| 495 |
<midicc>0</midicc> |
| 496 |
<label>0.568</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="BSBButton"> |
| 516 |
<objectName>_Browse1</objectName> |
| 517 |
<x>9</x> |
| 518 |
<y>219</y> |
| 519 |
<width>170</width> |
| 520 |
<height>30</height> |
| 521 |
<uuid>{88259064-7c0a-4574-9507-dc34b62f5290}</uuid> |
| 522 |
<visible>true</visible> |
| 523 |
<midichan>0</midichan> |
| 524 |
<midicc>0</midicc> |
| 525 |
<type>value</type> |
| 526 |
<pressedValue>1.00000000</pressedValue> |
| 527 |
<stringvalue>AndItsAll.wav</stringvalue> |
| 528 |
<text>Browse Audio File</text> |
| 529 |
<image>/</image> |
| 530 |
<eventLine/> |
| 531 |
<latch>false</latch> |
| 532 |
<latched>false</latched> |
| 533 |
</bsbObject> |
| 534 |
<bsbObject version="2" type="BSBLabel"> |
| 535 |
<objectName/> |
| 536 |
<x>9</x> |
| 537 |
<y>198</y> |
| 538 |
<width>100</width> |
| 539 |
<height>30</height> |
| 540 |
<uuid>{b57fd217-4bc3-474c-b79f-871e230d9edc}</uuid> |
| 541 |
<visible>true</visible> |
| 542 |
<midichan>0</midichan> |
| 543 |
<midicc>0</midicc> |
| 544 |
<label>Voice</label> |
| 545 |
<alignment>left</alignment> |
| 546 |
<font>Arial</font> |
| 547 |
<fontsize>10</fontsize> |
| 548 |
<precision>3</precision> |
| 549 |
<color> |
| 550 |
<r>0</r> |
| 551 |
<g>0</g> |
| 552 |
<b>0</b> |
| 553 |
</color> |
| 554 |
<bgcolor mode="nobackground"> |
| 555 |
<r>255</r> |
| 556 |
<g>255</g> |
| 557 |
<b>255</b> |
| 558 |
</bgcolor> |
| 559 |
<bordermode>noborder</bordermode> |
| 560 |
<borderradius>1</borderradius> |
| 561 |
<borderwidth>1</borderwidth> |
| 562 |
</bsbObject> |
| 563 |
<bsbObject version="2" type="BSBLineEdit"> |
| 564 |
<objectName>_Browse1</objectName> |
| 565 |
<x>180</x> |
| 566 |
<y>220</y> |
| 567 |
<width>330</width> |
| 568 |
<height>28</height> |
| 569 |
<uuid>{5890acb0-2c04-4200-9d98-e9c15bc763e9}</uuid> |
| 570 |
<visible>true</visible> |
| 571 |
<midichan>0</midichan> |
| 572 |
<midicc>0</midicc> |
| 573 |
<label>AndItsAll.wav</label> |
| 574 |
<alignment>left</alignment> |
| 575 |
<font>Arial</font> |
| 576 |
<fontsize>10</fontsize> |
| 577 |
<precision>3</precision> |
| 578 |
<color> |
| 579 |
<r>0</r> |
| 580 |
<g>0</g> |
| 581 |
<b>0</b> |
| 582 |
</color> |
| 583 |
<bgcolor mode="nobackground"> |
| 584 |
<r>206</r> |
| 585 |
<g>206</g> |
| 586 |
<b>206</b> |
| 587 |
</bgcolor> |
| 588 |
<background>nobackground</background> |
| 589 |
</bsbObject> |
| 590 |
<bsbObject version="2" type="BSBLineEdit"> |
| 591 |
<objectName>_Browse2</objectName> |
| 592 |
<x>180</x> |
| 593 |
<y>274</y> |
| 594 |
<width>330</width> |
| 595 |
<height>28</height> |
| 596 |
<uuid>{30c8a054-682c-4c6e-a3ad-5673538a39c3}</uuid> |
| 597 |
<visible>true</visible> |
| 598 |
<midichan>0</midichan> |
| 599 |
<midicc>0</midicc> |
| 600 |
<label>loop.wav</label> |
| 601 |
<alignment>left</alignment> |
| 602 |
<font>Arial</font> |
| 603 |
<fontsize>10</fontsize> |
| 604 |
<precision>3</precision> |
| 605 |
<color> |
| 606 |
<r>0</r> |
| 607 |
<g>0</g> |
| 608 |
<b>0</b> |
| 609 |
</color> |
| 610 |
<bgcolor mode="nobackground"> |
| 611 |
<r>206</r> |
| 612 |
<g>206</g> |
| 613 |
<b>206</b> |
| 614 |
</bgcolor> |
| 615 |
<background>nobackground</background> |
| 616 |
</bsbObject> |
| 617 |
<bsbObject version="2" type="BSBLabel"> |
| 618 |
<objectName/> |
| 619 |
<x>9</x> |
| 620 |
<y>252</y> |
| 621 |
<width>100</width> |
| 622 |
<height>30</height> |
| 623 |
<uuid>{3fd49b11-bb1d-44ec-9baa-22c4924321f3}</uuid> |
| 624 |
<visible>true</visible> |
| 625 |
<midichan>0</midichan> |
| 626 |
<midicc>0</midicc> |
| 627 |
<label>Drum Loop</label> |
| 628 |
<alignment>left</alignment> |
| 629 |
<font>Arial</font> |
| 630 |
<fontsize>10</fontsize> |
| 631 |
<precision>3</precision> |
| 632 |
<color> |
| 633 |
<r>0</r> |
| 634 |
<g>0</g> |
| 635 |
<b>0</b> |
| 636 |
</color> |
| 637 |
<bgcolor mode="nobackground"> |
| 638 |
<r>255</r> |
| 639 |
<g>255</g> |
| 640 |
<b>255</b> |
| 641 |
</bgcolor> |
| 642 |
<bordermode>noborder</bordermode> |
| 643 |
<borderradius>1</borderradius> |
| 644 |
<borderwidth>1</borderwidth> |
| 645 |
</bsbObject> |
| 646 |
<bsbObject version="2" type="BSBButton"> |
| 647 |
<objectName>_Browse2</objectName> |
| 648 |
<x>9</x> |
| 649 |
<y>273</y> |
| 650 |
<width>170</width> |
| 651 |
<height>30</height> |
| 652 |
<uuid>{e501d866-797d-497b-901a-c204cd89fc7f}</uuid> |
| 653 |
<visible>true</visible> |
| 654 |
<midichan>0</midichan> |
| 655 |
<midicc>0</midicc> |
| 656 |
<type>value</type> |
| 657 |
<pressedValue>1.00000000</pressedValue> |
| 658 |
<stringvalue>loop.wav</stringvalue> |
| 659 |
<text>Browse Audio File</text> |
| 660 |
<image>/</image> |
| 661 |
<eventLine/> |
| 662 |
<latch>false</latch> |
| 663 |
<latched>false</latched> |
| 664 |
</bsbObject> |
| 665 |
<bsbObject version="2" type="BSBLabel"> |
| 666 |
<objectName/> |
| 667 |
<x>180</x> |
| 668 |
<y>248</y> |
| 669 |
<width>330</width> |
| 670 |
<height>30</height> |
| 671 |
<uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid> |
| 672 |
<visible>true</visible> |
| 673 |
<midichan>0</midichan> |
| 674 |
<midicc>0</midicc> |
| 675 |
<label>Restart the instrument after changing the audio file.</label> |
| 676 |
<alignment>left</alignment> |
| 677 |
<font>Liberation Sans</font> |
| 678 |
<fontsize>12</fontsize> |
| 679 |
<precision>3</precision> |
| 680 |
<color> |
| 681 |
<r>0</r> |
| 682 |
<g>0</g> |
| 683 |
<b>0</b> |
| 684 |
</color> |
| 685 |
<bgcolor mode="nobackground"> |
| 686 |
<r>255</r> |
| 687 |
<g>255</g> |
| 688 |
<b>255</b> |
| 689 |
</bgcolor> |
| 690 |
<bordermode>noborder</bordermode> |
| 691 |
<borderradius>1</borderradius> |
| 692 |
<borderwidth>1</borderwidth> |
| 693 |
</bsbObject> |
| 694 |
<bsbObject version="2" type="BSBLabel"> |
| 695 |
<objectName/> |
| 696 |
<x>180</x> |
| 697 |
<y>301</y> |
| 698 |
<width>330</width> |
| 699 |
<height>30</height> |
| 700 |
<uuid>{7e80102c-ca35-445f-b944-d461fd6c3c35}</uuid> |
| 701 |
<visible>true</visible> |
| 702 |
<midichan>0</midichan> |
| 703 |
<midicc>0</midicc> |
| 704 |
<label>Restart the instrument after changing the audio file.</label> |
| 705 |
<alignment>left</alignment> |
| 706 |
<font>Liberation Sans</font> |
| 707 |
<fontsize>12</fontsize> |
| 708 |
<precision>3</precision> |
| 709 |
<color> |
| 710 |
<r>0</r> |
| 711 |
<g>0</g> |
| 712 |
<b>0</b> |
| 713 |
</color> |
| 714 |
<bgcolor mode="nobackground"> |
| 715 |
<r>255</r> |
| 716 |
<g>255</g> |
| 717 |
<b>255</b> |
| 718 |
</bgcolor> |
| 719 |
<bordermode>noborder</bordermode> |
| 720 |
<borderradius>1</borderradius> |
| 721 |
<borderwidth>1</borderwidth> |
| 722 |
</bsbObject> |
| 723 |
</bsbPanel> |
| 724 |
<bsbPresets> |
| 725 |
</bsbPresets> |
| 726 |
<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel> |