1;Written by Iain McCurdy 2 3;Modified for QuteCsound by René, September 2010, updated Feb 2011 4;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817 5 6;Notes on modifications from original csd: 7; Add table(s) for exp slider 8; Add Browser for audio files and use of FilePlay2 udo, now accept mono or stereo wav files 9; Add giDummy table to avoid INIT ERROR in instr 1: Invalid ftable no. 6.000000 10 11 12;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0 13<CsoundSynthesizer> 14<CsOptions> 15--env:SSDIR+=../SourceMaterials 16</CsOptions> 17<CsInstruments> 18sr = 44100 ;SAMPLE RATE 19ksmps = 32 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE 20nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO) 21 22 23gisine ftgen 1, 0, 129, 10, 1 ;SINE WAVE 24gitri ftgen 2, 0, 129, 7, 0, 32, 1, 64, -1, 32, 0 ;TRIANGLE WAVE 25girampdn ftgen 3, 0, 129, 7, 1, 128, -1 ;RAMP DOWN 26girampup ftgen 4, 0, 129, 7, -1, 128, 1 ;RAMP UP 27gisquare ftgen 5, 0, 129, 7, 1, 64, 1, 0, -1, 64, -1 ;SQUARE 28 29gidummy ftgen 6,0, 129, 10, 1 ;not used 30 31;TABLE FOR EXP SLIDER 32giExp2000 ftgen 0, 0, 129, -25, 0, 0.001, 128, 2000 33 34 35opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz 36 ;gives stereo output regardless your soundfile is mono or stereo 37 Sfil, kspeed, iskip, iloop xin 38 ichn filenchnls Sfil 39 if ichn == 1 then 40 aL diskin2 Sfil, kspeed, iskip, iloop 41 aR = aL 42 else 43 aL, aR diskin2 Sfil, kspeed, iskip, iloop 44 endif 45 xout aL, aR 46endop 47 48 49instr 10 ;GUI 50 ktrig metro 10 51 if (ktrig == 1) then 52 gkdepth invalue "Depth" ;init 0.95 53 gkgain invalue "Gain" ;init 1.0 54 gkLFOdepth invalue "LFO_Depth" ;init 0.1 55 gkLFOoffset invalue "LFO_Offset" ;init 0.11 56 kLFOspeed invalue "LFO_Speed" 57 gkLFOspeed tablei kLFOspeed, giExp2000, 1 58 outvalue "LFO_Speed_Value", gkLFOspeed ;init 0.17 59 gkLFOfn invalue "LFO_Shape" ;init 1 60 gkinput invalue "Input" 61 endif 62endin 63 64instr 1 65 Sfile invalue "_Browse" 66 ;OUTPUT OPCODE FILE_PATH| SPEED | INSKIP | WRAPAROUND (1=ON) 67 aL, aR FilePlay2 Sfile, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE 68 69 fsig1L pvsanal aL, 1024, 256, 1024, 1 ;ANALYSE THE LEFT AUDIO SIGNAL 70 fsig1R pvsanal aR, 1024, 256, 1024, 1 ;ANALYSE THE RIGHT AUDIO SIGNAL 71 72 kSwitch changed gkLFOfn ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO) 73 if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'... 74 reinit START ;BEGIN A REINITIALISATION PASS FROM LABEL 'START' 75 endif ;END OF CONDITIONAL BRANCHING 76 START: ;LABEL 77 if gkLFOfn <= 4 then 78 kbin oscili gkLFOdepth, gkLFOspeed, i(gkLFOfn)+1 79 elseif gkLFOfn = 5 then 80 kbin randomh -gkLFOdepth, gkLFOdepth, gkLFOspeed 81 endif 82 83 kbin = kbin + gkLFOoffset 84 kbin limit kbin, 0, 1 85 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES 86 87 fsig2L pvsarp fsig1L, kbin, gkdepth, gkgain 88 fsig2R pvsarp fsig1R, kbin, gkdepth, gkgain 89 90 aresynL pvsynth fsig2L ;RESYNTHESIZE THE f-SIGNAL AS AN AUDIO SIGNAL 91 aresynR pvsynth fsig2R ;RESYNTHESIZE THE f-SIGNAL AS AN AUDIO SIGNAL 92 93 outs aresynL, aresynR ;SEND THE RESCALED, RESYNTHESIZED SIGNAL TO THE AUDIO OUTPUTS 94endin 95</CsInstruments> 96<CsScore> 97;INSTR | START | DURATION 98i 10 0 3600 ;GUI 99</CsScore> 100</CsoundSynthesizer> 101 102 103<bsbPanel> 104 <label>Widgets</label> 105 <objectName/> 106 <x>523</x> 107 <y>375</y> 108 <width>801</width> 109 <height>373</height> 110 <visible>true</visible> 111 <uuid/> 112 <bgcolor mode="background"> 113 <r>241</r> 114 <g>226</g> 115 <b>185</b> 116 </bgcolor> 117 <bsbObject version="2" type="BSBLabel"> 118 <objectName/> 119 <x>2</x> 120 <y>2</y> 121 <width>515</width> 122 <height>368</height> 123 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> 124 <visible>true</visible> 125 <midichan>0</midichan> 126 <midicc>0</midicc> 127 <label>pvsarp</label> 128 <alignment>center</alignment> 129 <font>Liberation Sans</font> 130 <fontsize>18</fontsize> 131 <precision>3</precision> 132 <color> 133 <r>0</r> 134 <g>0</g> 135 <b>0</b> 136 </color> 137 <bgcolor mode="background"> 138 <r>181</r> 139 <g>199</g> 140 <b>255</b> 141 </bgcolor> 142 <bordermode>border</bordermode> 143 <borderradius>5</borderradius> 144 <borderwidth>2</borderwidth> 145 </bsbObject> 146 <bsbObject version="2" type="BSBLabel"> 147 <objectName/> 148 <x>519</x> 149 <y>2</y> 150 <width>282</width> 151 <height>368</height> 152 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid> 153 <visible>true</visible> 154 <midichan>0</midichan> 155 <midicc>0</midicc> 156 <label>pvsarp</label> 157 <alignment>center</alignment> 158 <font>Liberation Sans</font> 159 <fontsize>18</fontsize> 160 <precision>3</precision> 161 <color> 162 <r>0</r> 163 <g>0</g> 164 <b>0</b> 165 </color> 166 <bgcolor mode="background"> 167 <r>181</r> 168 <g>199</g> 169 <b>255</b> 170 </bgcolor> 171 <bordermode>border</bordermode> 172 <borderradius>5</borderradius> 173 <borderwidth>2</borderwidth> 174 </bsbObject> 175 <bsbObject version="2" type="BSBLabel"> 176 <objectName/> 177 <x>522</x> 178 <y>20</y> 179 <width>277</width> 180 <height>327</height> 181 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid> 182 <visible>true</visible> 183 <midichan>0</midichan> 184 <midicc>0</midicc> 185 <label>------------------------------------------------------------------ 186pvsarp allows the user to dynamically select a single analysis bin, to amplify it (using the 'Gain' control and to attenuate all other bins (using the 'depth' control). 187Bin selection is controlled in this example using as LFO. 188The user can choose from a variety of different wave shapes for this LFO and the depth of modulation, rate and offset of this LFO can be modulated. 189If the 'LFO Depth' is set at minimum the user can then manually select individual bins using the 'LFO Offset' control. 190This opcode has been inspired by the Spectral Arpeggiator in Trevor Wishart's 'Composer's Desktop Project' (CDP) suite of of sound design programs.</label> 191 <alignment>left</alignment> 192 <font>Arial</font> 193 <fontsize>14</fontsize> 194 <precision>3</precision> 195 <color> 196 <r>0</r> 197 <g>0</g> 198 <b>0</b> 199 </color> 200 <bgcolor mode="nobackground"> 201 <r>255</r> 202 <g>255</g> 203 <b>255</b> 204 </bgcolor> 205 <bordermode>noborder</bordermode> 206 <borderradius>1</borderradius> 207 <borderwidth>1</borderwidth> 208 </bsbObject> 209 <bsbObject version="2" type="BSBButton"> 210 <objectName/> 211 <x>8</x> 212 <y>8</y> 213 <width>100</width> 214 <height>30</height> 215 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid> 216 <visible>true</visible> 217 <midichan>0</midichan> 218 <midicc>0</midicc> 219 <type>event</type> 220 <pressedValue>1.00000000</pressedValue> 221 <stringvalue/> 222 <text> ON / OFF</text> 223 <image>/</image> 224 <eventLine>i 1 0 -1</eventLine> 225 <latch>true</latch> 226 <latched>false</latched> 227 </bsbObject> 228 <bsbObject version="2" type="BSBDisplay"> 229 <objectName>Depth</objectName> 230 <x>450</x> 231 <y>65</y> 232 <width>60</width> 233 <height>30</height> 234 <uuid>{a471f0a0-872d-45ce-8067-16edcf43702b}</uuid> 235 <visible>true</visible> 236 <midichan>0</midichan> 237 <midicc>0</midicc> 238 <label>0.738</label> 239 <alignment>right</alignment> 240 <font>Arial</font> 241 <fontsize>9</fontsize> 242 <precision>3</precision> 243 <color> 244 <r>0</r> 245 <g>0</g> 246 <b>0</b> 247 </color> 248 <bgcolor mode="nobackground"> 249 <r>255</r> 250 <g>255</g> 251 <b>255</b> 252 </bgcolor> 253 <bordermode>noborder</bordermode> 254 <borderradius>1</borderradius> 255 <borderwidth>1</borderwidth> 256 </bsbObject> 257 <bsbObject version="2" type="BSBHSlider"> 258 <objectName>Depth</objectName> 259 <x>10</x> 260 <y>48</y> 261 <width>500</width> 262 <height>27</height> 263 <uuid>{f14f89da-9ddf-4d52-9ec3-1d26969055ca}</uuid> 264 <visible>true</visible> 265 <midichan>0</midichan> 266 <midicc>0</midicc> 267 <minimum>0.00000000</minimum> 268 <maximum>1.00000000</maximum> 269 <value>0.73800000</value> 270 <mode>lin</mode> 271 <mouseControl act="jump">continuous</mouseControl> 272 <resolution>-1.00000000</resolution> 273 <randomizable group="0">false</randomizable> 274 </bsbObject> 275 <bsbObject version="2" type="BSBLabel"> 276 <objectName/> 277 <x>10</x> 278 <y>65</y> 279 <width>140</width> 280 <height>30</height> 281 <uuid>{98b93c08-e505-4a89-8b08-f1c9fbf92c01}</uuid> 282 <visible>true</visible> 283 <midichan>0</midichan> 284 <midicc>0</midicc> 285 <label>Depth</label> 286 <alignment>left</alignment> 287 <font>Arial</font> 288 <fontsize>10</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>noborder</bordermode> 301 <borderradius>1</borderradius> 302 <borderwidth>1</borderwidth> 303 </bsbObject> 304 <bsbObject version="2" type="BSBLabel"> 305 <objectName/> 306 <x>10</x> 307 <y>106</y> 308 <width>140</width> 309 <height>30</height> 310 <uuid>{a45554bb-09a2-40c7-90db-f301895af4ea}</uuid> 311 <visible>true</visible> 312 <midichan>0</midichan> 313 <midicc>0</midicc> 314 <label>Gain</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="BSBHSlider"> 334 <objectName>Gain</objectName> 335 <x>10</x> 336 <y>89</y> 337 <width>500</width> 338 <height>27</height> 339 <uuid>{7bccbbd8-96f6-4c58-8210-5c45f467adff}</uuid> 340 <visible>true</visible> 341 <midichan>0</midichan> 342 <midicc>0</midicc> 343 <minimum>0.00000000</minimum> 344 <maximum>20.00000000</maximum> 345 <value>19.04000000</value> 346 <mode>lin</mode> 347 <mouseControl act="jump">continuous</mouseControl> 348 <resolution>-1.00000000</resolution> 349 <randomizable group="0">false</randomizable> 350 </bsbObject> 351 <bsbObject version="2" type="BSBDisplay"> 352 <objectName>Gain</objectName> 353 <x>449</x> 354 <y>106</y> 355 <width>60</width> 356 <height>30</height> 357 <uuid>{99f84362-9a1a-4063-9b94-adae67e9e45c}</uuid> 358 <visible>true</visible> 359 <midichan>0</midichan> 360 <midicc>0</midicc> 361 <label>19.040</label> 362 <alignment>right</alignment> 363 <font>Arial</font> 364 <fontsize>9</fontsize> 365 <precision>3</precision> 366 <color> 367 <r>0</r> 368 <g>0</g> 369 <b>0</b> 370 </color> 371 <bgcolor mode="nobackground"> 372 <r>255</r> 373 <g>255</g> 374 <b>255</b> 375 </bgcolor> 376 <bordermode>noborder</bordermode> 377 <borderradius>1</borderradius> 378 <borderwidth>1</borderwidth> 379 </bsbObject> 380 <bsbObject version="2" type="BSBLabel"> 381 <objectName/> 382 <x>10</x> 383 <y>147</y> 384 <width>140</width> 385 <height>30</height> 386 <uuid>{9953cbaa-8c27-400f-bc75-706d4b94c0b2}</uuid> 387 <visible>true</visible> 388 <midichan>0</midichan> 389 <midicc>0</midicc> 390 <label>LFO Depth</label> 391 <alignment>left</alignment> 392 <font>Arial</font> 393 <fontsize>10</fontsize> 394 <precision>3</precision> 395 <color> 396 <r>0</r> 397 <g>0</g> 398 <b>0</b> 399 </color> 400 <bgcolor mode="nobackground"> 401 <r>255</r> 402 <g>255</g> 403 <b>255</b> 404 </bgcolor> 405 <bordermode>noborder</bordermode> 406 <borderradius>1</borderradius> 407 <borderwidth>1</borderwidth> 408 </bsbObject> 409 <bsbObject version="2" type="BSBHSlider"> 410 <objectName>LFO_Depth</objectName> 411 <x>10</x> 412 <y>130</y> 413 <width>500</width> 414 <height>27</height> 415 <uuid>{e0921fc1-e6f7-4a32-85c8-533dc91e659d}</uuid> 416 <visible>true</visible> 417 <midichan>0</midichan> 418 <midicc>0</midicc> 419 <minimum>0.00000000</minimum> 420 <maximum>0.50000000</maximum> 421 <value>0.33500000</value> 422 <mode>lin</mode> 423 <mouseControl act="jump">continuous</mouseControl> 424 <resolution>-1.00000000</resolution> 425 <randomizable group="0">false</randomizable> 426 </bsbObject> 427 <bsbObject version="2" type="BSBDisplay"> 428 <objectName>LFO_Depth</objectName> 429 <x>450</x> 430 <y>147</y> 431 <width>60</width> 432 <height>30</height> 433 <uuid>{a23d1579-1122-4a03-98a4-dde5cb37c6a4}</uuid> 434 <visible>true</visible> 435 <midichan>0</midichan> 436 <midicc>0</midicc> 437 <label>0.335</label> 438 <alignment>right</alignment> 439 <font>Arial</font> 440 <fontsize>9</fontsize> 441 <precision>3</precision> 442 <color> 443 <r>0</r> 444 <g>0</g> 445 <b>0</b> 446 </color> 447 <bgcolor mode="nobackground"> 448 <r>255</r> 449 <g>255</g> 450 <b>255</b> 451 </bgcolor> 452 <bordermode>noborder</bordermode> 453 <borderradius>1</borderradius> 454 <borderwidth>1</borderwidth> 455 </bsbObject> 456 <bsbObject version="2" type="BSBLabel"> 457 <objectName/> 458 <x>10</x> 459 <y>188</y> 460 <width>140</width> 461 <height>30</height> 462 <uuid>{dcc58561-8602-46a4-9614-8bbaf896f6bc}</uuid> 463 <visible>true</visible> 464 <midichan>0</midichan> 465 <midicc>0</midicc> 466 <label>LFO Offset</label> 467 <alignment>left</alignment> 468 <font>Arial</font> 469 <fontsize>10</fontsize> 470 <precision>3</precision> 471 <color> 472 <r>0</r> 473 <g>0</g> 474 <b>0</b> 475 </color> 476 <bgcolor mode="nobackground"> 477 <r>255</r> 478 <g>255</g> 479 <b>255</b> 480 </bgcolor> 481 <bordermode>noborder</bordermode> 482 <borderradius>1</borderradius> 483 <borderwidth>1</borderwidth> 484 </bsbObject> 485 <bsbObject version="2" type="BSBHSlider"> 486 <objectName>LFO_Offset</objectName> 487 <x>10</x> 488 <y>171</y> 489 <width>500</width> 490 <height>27</height> 491 <uuid>{dad33ecb-bdaf-42fa-a039-f09abbec1746}</uuid> 492 <visible>true</visible> 493 <midichan>0</midichan> 494 <midicc>0</midicc> 495 <minimum>0.00000000</minimum> 496 <maximum>1.00000000</maximum> 497 <value>0.33200000</value> 498 <mode>lin</mode> 499 <mouseControl act="jump">continuous</mouseControl> 500 <resolution>-1.00000000</resolution> 501 <randomizable group="0">false</randomizable> 502 </bsbObject> 503 <bsbObject version="2" type="BSBDisplay"> 504 <objectName>LFO_Offset</objectName> 505 <x>450</x> 506 <y>188</y> 507 <width>60</width> 508 <height>30</height> 509 <uuid>{b2f51bc9-2102-4e38-971c-b8723cf61a8c}</uuid> 510 <visible>true</visible> 511 <midichan>0</midichan> 512 <midicc>0</midicc> 513 <label>0.332</label> 514 <alignment>right</alignment> 515 <font>Arial</font> 516 <fontsize>9</fontsize> 517 <precision>3</precision> 518 <color> 519 <r>0</r> 520 <g>0</g> 521 <b>0</b> 522 </color> 523 <bgcolor mode="nobackground"> 524 <r>255</r> 525 <g>255</g> 526 <b>255</b> 527 </bgcolor> 528 <bordermode>noborder</bordermode> 529 <borderradius>1</borderradius> 530 <borderwidth>1</borderwidth> 531 </bsbObject> 532 <bsbObject version="2" type="BSBDropdown"> 533 <objectName>LFO_Shape</objectName> 534 <x>341</x> 535 <y>273</y> 536 <width>130</width> 537 <height>30</height> 538 <uuid>{70f58be0-7944-45dd-ab6b-a0d4a529490a}</uuid> 539 <visible>true</visible> 540 <midichan>0</midichan> 541 <midicc>0</midicc> 542 <bsbDropdownItemList> 543 <bsbDropdownItem> 544 <name>Sine</name> 545 <value>0</value> 546 <stringvalue/> 547 </bsbDropdownItem> 548 <bsbDropdownItem> 549 <name>Triangle</name> 550 <value>1</value> 551 <stringvalue/> 552 </bsbDropdownItem> 553 <bsbDropdownItem> 554 <name>Ramp Down</name> 555 <value>2</value> 556 <stringvalue/> 557 </bsbDropdownItem> 558 <bsbDropdownItem> 559 <name>Ramp Up</name> 560 <value>3</value> 561 <stringvalue/> 562 </bsbDropdownItem> 563 <bsbDropdownItem> 564 <name>Square</name> 565 <value>4</value> 566 <stringvalue/> 567 </bsbDropdownItem> 568 <bsbDropdownItem> 569 <name>Random S&H</name> 570 <value>5</value> 571 <stringvalue/> 572 </bsbDropdownItem> 573 </bsbDropdownItemList> 574 <selectedIndex>0</selectedIndex> 575 <randomizable group="0">false</randomizable> 576 </bsbObject> 577 <bsbObject version="2" type="BSBLabel"> 578 <objectName/> 579 <x>260</x> 580 <y>273</y> 581 <width>80</width> 582 <height>30</height> 583 <uuid>{243775c2-4f35-41e8-97e5-4fb94b8b83f1}</uuid> 584 <visible>true</visible> 585 <midichan>0</midichan> 586 <midicc>0</midicc> 587 <label>LFO Shape</label> 588 <alignment>right</alignment> 589 <font>Arial</font> 590 <fontsize>10</fontsize> 591 <precision>3</precision> 592 <color> 593 <r>0</r> 594 <g>0</g> 595 <b>0</b> 596 </color> 597 <bgcolor mode="nobackground"> 598 <r>255</r> 599 <g>255</g> 600 <b>255</b> 601 </bgcolor> 602 <bordermode>noborder</bordermode> 603 <borderradius>1</borderradius> 604 <borderwidth>1</borderwidth> 605 </bsbObject> 606 <bsbObject version="2" type="BSBDisplay"> 607 <objectName>LFO_Speed_Value</objectName> 608 <x>450</x> 609 <y>228</y> 610 <width>60</width> 611 <height>30</height> 612 <uuid>{8bc59177-7846-4157-aef2-0ac55429dccd}</uuid> 613 <visible>true</visible> 614 <midichan>0</midichan> 615 <midicc>0</midicc> 616 <label>0.110</label> 617 <alignment>right</alignment> 618 <font>Arial</font> 619 <fontsize>9</fontsize> 620 <precision>3</precision> 621 <color> 622 <r>0</r> 623 <g>0</g> 624 <b>0</b> 625 </color> 626 <bgcolor mode="nobackground"> 627 <r>255</r> 628 <g>255</g> 629 <b>255</b> 630 </bgcolor> 631 <bordermode>noborder</bordermode> 632 <borderradius>1</borderradius> 633 <borderwidth>1</borderwidth> 634 </bsbObject> 635 <bsbObject version="2" type="BSBHSlider"> 636 <objectName>LFO_Speed</objectName> 637 <x>10</x> 638 <y>211</y> 639 <width>500</width> 640 <height>27</height> 641 <uuid>{146f122b-8399-4019-b9ad-714aa2cbadba}</uuid> 642 <visible>true</visible> 643 <midichan>0</midichan> 644 <midicc>0</midicc> 645 <minimum>0.00000000</minimum> 646 <maximum>1.00000000</maximum> 647 <value>0.32400000</value> 648 <mode>lin</mode> 649 <mouseControl act="jump">continuous</mouseControl> 650 <resolution>-1.00000000</resolution> 651 <randomizable group="0">false</randomizable> 652 </bsbObject> 653 <bsbObject version="2" type="BSBLabel"> 654 <objectName/> 655 <x>10</x> 656 <y>228</y> 657 <width>140</width> 658 <height>30</height> 659 <uuid>{99797489-e98f-41e4-bcdf-be6fed6adb37}</uuid> 660 <visible>true</visible> 661 <midichan>0</midichan> 662 <midicc>0</midicc> 663 <label>LFO Speed</label> 664 <alignment>left</alignment> 665 <font>Arial</font> 666 <fontsize>10</fontsize> 667 <precision>3</precision> 668 <color> 669 <r>0</r> 670 <g>0</g> 671 <b>0</b> 672 </color> 673 <bgcolor mode="nobackground"> 674 <r>255</r> 675 <g>255</g> 676 <b>255</b> 677 </bgcolor> 678 <bordermode>noborder</bordermode> 679 <borderradius>1</borderradius> 680 <borderwidth>1</borderwidth> 681 </bsbObject> 682 <bsbObject version="2" type="BSBLabel"> 683 <objectName/> 684 <x>9</x> 685 <y>290</y> 686 <width>100</width> 687 <height>30</height> 688 <uuid>{4df845be-2c7f-4ac5-8fa5-006924c6fabf}</uuid> 689 <visible>true</visible> 690 <midichan>0</midichan> 691 <midicc>0</midicc> 692 <label>Sound File Input</label> 693 <alignment>left</alignment> 694 <font>Arial</font> 695 <fontsize>10</fontsize> 696 <precision>3</precision> 697 <color> 698 <r>0</r> 699 <g>0</g> 700 <b>0</b> 701 </color> 702 <bgcolor mode="nobackground"> 703 <r>255</r> 704 <g>255</g> 705 <b>255</b> 706 </bgcolor> 707 <bordermode>noborder</bordermode> 708 <borderradius>1</borderradius> 709 <borderwidth>1</borderwidth> 710 </bsbObject> 711 <bsbObject version="2" type="BSBLineEdit"> 712 <objectName>_Browse</objectName> 713 <x>180</x> 714 <y>312</y> 715 <width>330</width> 716 <height>28</height> 717 <uuid>{9758ba41-7ad5-4a00-ad3e-85f1ac42886d}</uuid> 718 <visible>true</visible> 719 <midichan>0</midichan> 720 <midicc>0</midicc> 721 <label>Songpan.wav</label> 722 <alignment>left</alignment> 723 <font>Arial</font> 724 <fontsize>10</fontsize> 725 <precision>3</precision> 726 <color> 727 <r>0</r> 728 <g>0</g> 729 <b>0</b> 730 </color> 731 <bgcolor mode="nobackground"> 732 <r>206</r> 733 <g>206</g> 734 <b>206</b> 735 </bgcolor> 736 <background>nobackground</background> 737 </bsbObject> 738 <bsbObject version="2" type="BSBButton"> 739 <objectName>_Browse</objectName> 740 <x>9</x> 741 <y>311</y> 742 <width>170</width> 743 <height>30</height> 744 <uuid>{f593361b-f923-48d0-8875-f95eb0db8f71}</uuid> 745 <visible>true</visible> 746 <midichan>0</midichan> 747 <midicc>0</midicc> 748 <type>value</type> 749 <pressedValue>1.00000000</pressedValue> 750 <stringvalue>Songpan.wav</stringvalue> 751 <text>Browse Audio File</text> 752 <image>/</image> 753 <eventLine/> 754 <latch>false</latch> 755 <latched>false</latched> 756 </bsbObject> 757 <bsbObject version="2" type="BSBLabel"> 758 <objectName/> 759 <x>180</x> 760 <y>340</y> 761 <width>330</width> 762 <height>30</height> 763 <uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid> 764 <visible>true</visible> 765 <midichan>0</midichan> 766 <midicc>0</midicc> 767 <label>Restart the instrument after changing the audio file.</label> 768 <alignment>left</alignment> 769 <font>Liberation Sans</font> 770 <fontsize>12</fontsize> 771 <precision>3</precision> 772 <color> 773 <r>0</r> 774 <g>0</g> 775 <b>0</b> 776 </color> 777 <bgcolor mode="nobackground"> 778 <r>255</r> 779 <g>255</g> 780 <b>255</b> 781 </bgcolor> 782 <bordermode>noborder</bordermode> 783 <borderradius>1</borderradius> 784 <borderwidth>1</borderwidth> 785 </bsbObject> 786</bsbPanel> 787<bsbPresets> 788</bsbPresets> 789<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel> 790