| 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 |
|
| 9 |
|
| 10 |
;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0 |
| 11 |
<CsoundSynthesizer> |
| 12 |
<CsOptions> |
| 13 |
--env:SSDIR+=../../SourceMaterials |
| 14 |
</CsOptions> |
| 15 |
<CsInstruments> |
| 16 |
sr = 44100 ;SAMPLE RATE |
| 17 |
ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE |
| 18 |
nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO) |
| 19 |
0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH |
| 20 |
|
| 21 |
|
| 22 |
giFFTattributes0 ftgen 1, 0, 4, -2, 512, 256, 1024, 1 |
| 23 |
giFFTattributes1 ftgen 2, 0, 4, -2, 1024, 256, 1024, 1 |
| 24 |
giFFTattributes2 ftgen 3, 0, 4, -2, 2048, 128, 2048, 1 |
| 25 |
giFFTattributes3 ftgen 4, 0, 4, -2, 4096, 128, 4096, 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 |
gkOutGain invalue "Output_Gain" ;init 0.7 |
| 46 |
gkinput invalue "Input" ;init 1 |
| 47 |
gkFFTattributes invalue "FFTattributes" ;init 1 |
| 48 |
kfreeze invalue "Freeze" |
| 49 |
if (kfreeze == 0) then |
| 50 |
gkfreeza = 0 |
| 51 |
gkfreezf = 0 |
| 52 |
elseif (kfreeze == 1) then |
| 53 |
gkfreeza = 1 |
| 54 |
gkfreezf = 0 |
| 55 |
elseif (kfreeze == 2) then |
| 56 |
gkfreeza = 0 |
| 57 |
gkfreezf = 1 |
| 58 |
else |
| 59 |
gkfreeza = 1 |
| 60 |
gkfreezf = 1 |
| 61 |
endif |
| 62 |
endif |
| 63 |
endin |
| 64 |
|
| 65 |
instr 1 |
| 66 |
if gkinput=0 then ;IF 'INPUT' SWITCH IS SET TO 'Live Input' THEN IMPLEMENT THE NEXT LINE OF CODE |
| 67 |
asig inch 1 ;READ AUDIO FROM THE COMPUTER'S LIVE INPUT CHANNEL 1 (LEFT) |
| 68 |
elseif gkinput=1 && (gkfreeza + gkfreezf)!=2 then ;IF 'INPUT' SWITCH IS SET TO 'Voice' AND FREEZE ALL IS NOT ACTIVATED THEN IMPLEMENT THE NEXT LINE OF CODE |
| 69 |
Sfile1 invalue "_Browse1" |
| 70 |
;OUTPUT OPCODE FILE_PATH| SPEED | INSKIP | WRAPAROUND (1=ON) |
| 71 |
asig, asigR FilePlay2 Sfile1, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE |
| 72 |
elseif gkinput=2 then ;IF 'INPUT' SWITCH IS SET TO 'Drum Loop' THEN IMPLEMENT THE NEXT LINE OF CODE |
| 73 |
Sfile2 invalue "_Browse2" |
| 74 |
;OUTPUT OPCODE FILE_PATH| SPEED | INSKIP | WRAPAROUND (1=ON) |
| 75 |
asig, asigR FilePlay2 Sfile2, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE |
| 76 |
endif ;END OF 'IF'...'THEN' BRANCHING |
| 77 |
kSwitch changed gkFFTattributes ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO) |
| 78 |
if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'... |
| 79 |
reinit START ;BEGIN A REINITIALISATION PASS FROM LABEL 'START' |
| 80 |
endif ;END OF CONDITIONAL BRANCHING |
| 81 |
START: ;LABEL |
| 82 |
iFFTsize table 0, i(gkFFTattributes)+1 ;READ FFT ATTRIBUT FROM TABLE |
| 83 |
ioverlap table 1, i(gkFFTattributes)+1 ;READ FFT ATTRIBUT FROM TABLE |
| 84 |
iwinsize table 2, i(gkFFTattributes)+1 ;READ FFT ATTRIBUT FROM TABLE |
| 85 |
iwintype table 3, i(gkFFTattributes)+1 ;READ FFT ATTRIBUT FROM TABLE |
| 86 |
|
| 87 |
fsig1 pvsanal asig, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL THAT WAS CREATED IN INSTRUMENT 1. OUTPUT AN F-SIGNAL. |
| 88 |
;OUTPUT OPCODE INPUT | FREEZE_AMPLITUDES | FREEZE_FREQUECIES |
| 89 |
fsig2 pvsfreeze fsig1, gkfreeza, gkfreezf ;FREEZE AMPLITUDES OR FREQUENCIES (OR NEITHER) ACCORDING TO THE SWITCHES gkfreeza AND gkfreezf |
| 90 |
;OUTPUT OPCODE INPUT |
| 91 |
aresyn pvsynth fsig2 ;RESYNTHESIZE THE f-SIGNAL AS AN AUDIO SIGNAL |
| 92 |
rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES |
| 93 |
outs aresyn * gkOutGain, aresyn * gkOutGain ;SEND THE RESCALED, RESYNTHESIZED SIGNAL TO THE AUDIO OUTPUTS |
| 94 |
endin |
| 95 |
</CsInstruments> |
| 96 |
<CsScore> |
| 97 |
;INSTR | START | DURATION |
| 98 |
i 10 0 3600 ;GUI |
| 99 |
</CsScore> |
| 100 |
</CsoundSynthesizer> |
| 101 |
|
| 102 |
<bsbPanel> |
| 103 |
<label>Widgets</label> |
| 104 |
<objectName/> |
| 105 |
<x>470</x> |
| 106 |
<y>387</y> |
| 107 |
<width>895</width> |
| 108 |
<height>375</height> |
| 109 |
<visible>true</visible> |
| 110 |
<uuid/> |
| 111 |
<bgcolor mode="background"> |
| 112 |
<r>241</r> |
| 113 |
<g>226</g> |
| 114 |
<b>185</b> |
| 115 |
</bgcolor> |
| 116 |
<bsbObject version="2" type="BSBLabel"> |
| 117 |
<objectName/> |
| 118 |
<x>2</x> |
| 119 |
<y>2</y> |
| 120 |
<width>513</width> |
| 121 |
<height>370</height> |
| 122 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 123 |
<visible>true</visible> |
| 124 |
<midichan>0</midichan> |
| 125 |
<midicc>0</midicc> |
| 126 |
<label>pvsfreeze</label> |
| 127 |
<alignment>center</alignment> |
| 128 |
<font>Liberation Sans</font> |
| 129 |
<fontsize>18</fontsize> |
| 130 |
<precision>3</precision> |
| 131 |
<color> |
| 132 |
<r>0</r> |
| 133 |
<g>0</g> |
| 134 |
<b>0</b> |
| 135 |
</color> |
| 136 |
<bgcolor mode="background"> |
| 137 |
<r>181</r> |
| 138 |
<g>199</g> |
| 139 |
<b>255</b> |
| 140 |
</bgcolor> |
| 141 |
<bordermode>border</bordermode> |
| 142 |
<borderradius>5</borderradius> |
| 143 |
<borderwidth>2</borderwidth> |
| 144 |
</bsbObject> |
| 145 |
<bsbObject version="2" type="BSBLabel"> |
| 146 |
<objectName/> |
| 147 |
<x>516</x> |
| 148 |
<y>2</y> |
| 149 |
<width>371</width> |
| 150 |
<height>370</height> |
| 151 |
<uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid> |
| 152 |
<visible>true</visible> |
| 153 |
<midichan>0</midichan> |
| 154 |
<midicc>0</midicc> |
| 155 |
<label>pvsfreeze</label> |
| 156 |
<alignment>center</alignment> |
| 157 |
<font>Liberation Sans</font> |
| 158 |
<fontsize>18</fontsize> |
| 159 |
<precision>3</precision> |
| 160 |
<color> |
| 161 |
<r>0</r> |
| 162 |
<g>0</g> |
| 163 |
<b>0</b> |
| 164 |
</color> |
| 165 |
<bgcolor mode="background"> |
| 166 |
<r>181</r> |
| 167 |
<g>199</g> |
| 168 |
<b>255</b> |
| 169 |
</bgcolor> |
| 170 |
<bordermode>border</bordermode> |
| 171 |
<borderradius>5</borderradius> |
| 172 |
<borderwidth>2</borderwidth> |
| 173 |
</bsbObject> |
| 174 |
<bsbObject version="2" type="BSBLabel"> |
| 175 |
<objectName/> |
| 176 |
<x>520</x> |
| 177 |
<y>34</y> |
| 178 |
<width>362</width> |
| 179 |
<height>310</height> |
| 180 |
<uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid> |
| 181 |
<visible>true</visible> |
| 182 |
<midichan>0</midichan> |
| 183 |
<midicc>0</midicc> |
| 184 |
<label>----------------------------------------------------------------------------------------- |
| 185 |
The pvsfreeze opcode allows us to instantly freeze the streaming progress of frequency or amplitude components (or both) of a streamed fsig. |
| 186 |
This example also implements a switch that triggers both freeze switches simultaneously to create a complete 'freeze frame' of the audio input. |
| 187 |
A variety of combinations of FFT analysis attributes are selectable using radio button selectors. |
| 188 |
It can be observed that smaller FFT size and window sizes results in less time smearing but greater harmonic distortion whereas larger FFT |
| 189 |
sizes and window sizes results in greater time smearing but less harmonic distortion. |
| 190 |
Changing FFT attributes while a note is playing can have unexpected results. |
| 191 |
If this happens just cycle the 'On/Off' switch.</label> |
| 192 |
<alignment>left</alignment> |
| 193 |
<font>Arial</font> |
| 194 |
<fontsize>14</fontsize> |
| 195 |
<precision>3</precision> |
| 196 |
<color> |
| 197 |
<r>0</r> |
| 198 |
<g>0</g> |
| 199 |
<b>0</b> |
| 200 |
</color> |
| 201 |
<bgcolor mode="nobackground"> |
| 202 |
<r>255</r> |
| 203 |
<g>255</g> |
| 204 |
<b>255</b> |
| 205 |
</bgcolor> |
| 206 |
<bordermode>noborder</bordermode> |
| 207 |
<borderradius>1</borderradius> |
| 208 |
<borderwidth>1</borderwidth> |
| 209 |
</bsbObject> |
| 210 |
<bsbObject version="2" type="BSBButton"> |
| 211 |
<objectName/> |
| 212 |
<x>8</x> |
| 213 |
<y>8</y> |
| 214 |
<width>100</width> |
| 215 |
<height>30</height> |
| 216 |
<uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid> |
| 217 |
<visible>true</visible> |
| 218 |
<midichan>0</midichan> |
| 219 |
<midicc>0</midicc> |
| 220 |
<type>event</type> |
| 221 |
<pressedValue>1.00000000</pressedValue> |
| 222 |
<stringvalue/> |
| 223 |
<text> ON / OFF</text> |
| 224 |
<image>/</image> |
| 225 |
<eventLine>i 1 0 -1</eventLine> |
| 226 |
<latch>true</latch> |
| 227 |
<latched>false</latched> |
| 228 |
</bsbObject> |
| 229 |
<bsbObject version="2" type="BSBDropdown"> |
| 230 |
<objectName>Freeze</objectName> |
| 231 |
<x>245</x> |
| 232 |
<y>114</y> |
| 233 |
<width>260</width> |
| 234 |
<height>30</height> |
| 235 |
<uuid>{65bb9cc6-078d-45fd-99aa-dd17a8d2d144}</uuid> |
| 236 |
<visible>true</visible> |
| 237 |
<midichan>0</midichan> |
| 238 |
<midicc>0</midicc> |
| 239 |
<bsbDropdownItemList> |
| 240 |
<bsbDropdownItem> |
| 241 |
<name>No Freeze</name> |
| 242 |
<value>0</value> |
| 243 |
<stringvalue/> |
| 244 |
</bsbDropdownItem> |
| 245 |
<bsbDropdownItem> |
| 246 |
<name>Freeze Amplitudes</name> |
| 247 |
<value>1</value> |
| 248 |
<stringvalue/> |
| 249 |
</bsbDropdownItem> |
| 250 |
<bsbDropdownItem> |
| 251 |
<name>Freeze Frequencies</name> |
| 252 |
<value>2</value> |
| 253 |
<stringvalue/> |
| 254 |
</bsbDropdownItem> |
| 255 |
<bsbDropdownItem> |
| 256 |
<name>Freeze Amplitudes and Frequencies</name> |
| 257 |
<value>3</value> |
| 258 |
<stringvalue/> |
| 259 |
</bsbDropdownItem> |
| 260 |
</bsbDropdownItemList> |
| 261 |
<selectedIndex>0</selectedIndex> |
| 262 |
<randomizable group="0">false</randomizable> |
| 263 |
</bsbObject> |
| 264 |
<bsbObject version="2" type="BSBLabel"> |
| 265 |
<objectName/> |
| 266 |
<x>5</x> |
| 267 |
<y>114</y> |
| 268 |
<width>60</width> |
| 269 |
<height>30</height> |
| 270 |
<uuid>{b3560c14-84be-4876-9100-5807ffe16e97}</uuid> |
| 271 |
<visible>true</visible> |
| 272 |
<midichan>0</midichan> |
| 273 |
<midicc>0</midicc> |
| 274 |
<label>Input</label> |
| 275 |
<alignment>right</alignment> |
| 276 |
<font>Arial</font> |
| 277 |
<fontsize>10</fontsize> |
| 278 |
<precision>3</precision> |
| 279 |
<color> |
| 280 |
<r>0</r> |
| 281 |
<g>0</g> |
| 282 |
<b>0</b> |
| 283 |
</color> |
| 284 |
<bgcolor mode="nobackground"> |
| 285 |
<r>255</r> |
| 286 |
<g>255</g> |
| 287 |
<b>255</b> |
| 288 |
</bgcolor> |
| 289 |
<bordermode>noborder</bordermode> |
| 290 |
<borderradius>1</borderradius> |
| 291 |
<borderwidth>1</borderwidth> |
| 292 |
</bsbObject> |
| 293 |
<bsbObject version="2" type="BSBDropdown"> |
| 294 |
<objectName>Input</objectName> |
| 295 |
<x>66</x> |
| 296 |
<y>114</y> |
| 297 |
<width>110</width> |
| 298 |
<height>30</height> |
| 299 |
<uuid>{cdb2d3b2-5a09-4e13-865e-8501e33b9d35}</uuid> |
| 300 |
<visible>true</visible> |
| 301 |
<midichan>0</midichan> |
| 302 |
<midicc>0</midicc> |
| 303 |
<bsbDropdownItemList> |
| 304 |
<bsbDropdownItem> |
| 305 |
<name>Live Input</name> |
| 306 |
<value>0</value> |
| 307 |
<stringvalue/> |
| 308 |
</bsbDropdownItem> |
| 309 |
<bsbDropdownItem> |
| 310 |
<name>Voice</name> |
| 311 |
<value>1</value> |
| 312 |
<stringvalue/> |
| 313 |
</bsbDropdownItem> |
| 314 |
<bsbDropdownItem> |
| 315 |
<name>Drum Loop</name> |
| 316 |
<value>2</value> |
| 317 |
<stringvalue/> |
| 318 |
</bsbDropdownItem> |
| 319 |
</bsbDropdownItemList> |
| 320 |
<selectedIndex>2</selectedIndex> |
| 321 |
<randomizable group="0">false</randomizable> |
| 322 |
</bsbObject> |
| 323 |
<bsbObject version="2" type="BSBLabel"> |
| 324 |
<objectName/> |
| 325 |
<x>184</x> |
| 326 |
<y>114</y> |
| 327 |
<width>60</width> |
| 328 |
<height>30</height> |
| 329 |
<uuid>{e901fc37-d03f-4905-ba4a-fa840edf51a4}</uuid> |
| 330 |
<visible>true</visible> |
| 331 |
<midichan>0</midichan> |
| 332 |
<midicc>0</midicc> |
| 333 |
<label>Mode</label> |
| 334 |
<alignment>right</alignment> |
| 335 |
<font>Arial</font> |
| 336 |
<fontsize>10</fontsize> |
| 337 |
<precision>3</precision> |
| 338 |
<color> |
| 339 |
<r>0</r> |
| 340 |
<g>0</g> |
| 341 |
<b>0</b> |
| 342 |
</color> |
| 343 |
<bgcolor mode="nobackground"> |
| 344 |
<r>255</r> |
| 345 |
<g>255</g> |
| 346 |
<b>255</b> |
| 347 |
</bgcolor> |
| 348 |
<bordermode>noborder</bordermode> |
| 349 |
<borderradius>1</borderradius> |
| 350 |
<borderwidth>1</borderwidth> |
| 351 |
</bsbObject> |
| 352 |
<bsbObject version="2" type="BSBLabel"> |
| 353 |
<objectName/> |
| 354 |
<x>9</x> |
| 355 |
<y>291</y> |
| 356 |
<width>497</width> |
| 357 |
<height>73</height> |
| 358 |
<uuid>{f0c4875d-4e35-4d37-b043-9c1476025645}</uuid> |
| 359 |
<visible>true</visible> |
| 360 |
<midichan>0</midichan> |
| 361 |
<midicc>0</midicc> |
| 362 |
<label>FFT Attributes</label> |
| 363 |
<alignment>left</alignment> |
| 364 |
<font>Arial</font> |
| 365 |
<fontsize>14</fontsize> |
| 366 |
<precision>3</precision> |
| 367 |
<color> |
| 368 |
<r>0</r> |
| 369 |
<g>0</g> |
| 370 |
<b>0</b> |
| 371 |
</color> |
| 372 |
<bgcolor mode="nobackground"> |
| 373 |
<r>255</r> |
| 374 |
<g>255</g> |
| 375 |
<b>255</b> |
| 376 |
</bgcolor> |
| 377 |
<bordermode>border</bordermode> |
| 378 |
<borderradius>3</borderradius> |
| 379 |
<borderwidth>1</borderwidth> |
| 380 |
</bsbObject> |
| 381 |
<bsbObject version="2" type="BSBLabel"> |
| 382 |
<objectName/> |
| 383 |
<x>166</x> |
| 384 |
<y>297</y> |
| 385 |
<width>300</width> |
| 386 |
<height>30</height> |
| 387 |
<uuid>{c2cdd204-e32b-488e-b5c2-70688fb2defa}</uuid> |
| 388 |
<visible>true</visible> |
| 389 |
<midichan>0</midichan> |
| 390 |
<midicc>0</midicc> |
| 391 |
<label>FFT Size - Overlap - Window Size - Window Type</label> |
| 392 |
<alignment>left</alignment> |
| 393 |
<font>Arial</font> |
| 394 |
<fontsize>10</fontsize> |
| 395 |
<precision>3</precision> |
| 396 |
<color> |
| 397 |
<r>0</r> |
| 398 |
<g>0</g> |
| 399 |
<b>0</b> |
| 400 |
</color> |
| 401 |
<bgcolor mode="nobackground"> |
| 402 |
<r>255</r> |
| 403 |
<g>255</g> |
| 404 |
<b>255</b> |
| 405 |
</bgcolor> |
| 406 |
<bordermode>noborder</bordermode> |
| 407 |
<borderradius>1</borderradius> |
| 408 |
<borderwidth>1</borderwidth> |
| 409 |
</bsbObject> |
| 410 |
<bsbObject version="2" type="BSBDropdown"> |
| 411 |
<objectName>FFTattributes</objectName> |
| 412 |
<x>166</x> |
| 413 |
<y>317</y> |
| 414 |
<width>274</width> |
| 415 |
<height>32</height> |
| 416 |
<uuid>{c8c311f9-c1b7-4bbb-becf-9c9f1fa862c9}</uuid> |
| 417 |
<visible>true</visible> |
| 418 |
<midichan>0</midichan> |
| 419 |
<midicc>0</midicc> |
| 420 |
<bsbDropdownItemList> |
| 421 |
<bsbDropdownItem> |
| 422 |
<name>512 256 1024 1</name> |
| 423 |
<value>0</value> |
| 424 |
<stringvalue/> |
| 425 |
</bsbDropdownItem> |
| 426 |
<bsbDropdownItem> |
| 427 |
<name>1024 256 1024 1</name> |
| 428 |
<value>1</value> |
| 429 |
<stringvalue/> |
| 430 |
</bsbDropdownItem> |
| 431 |
<bsbDropdownItem> |
| 432 |
<name>2048 128 2048 1</name> |
| 433 |
<value>2</value> |
| 434 |
<stringvalue/> |
| 435 |
</bsbDropdownItem> |
| 436 |
<bsbDropdownItem> |
| 437 |
<name>4096 128 4096 1</name> |
| 438 |
<value>3</value> |
| 439 |
<stringvalue/> |
| 440 |
</bsbDropdownItem> |
| 441 |
</bsbDropdownItemList> |
| 442 |
<selectedIndex>2</selectedIndex> |
| 443 |
<randomizable group="0">false</randomizable> |
| 444 |
</bsbObject> |
| 445 |
<bsbObject version="2" type="BSBDisplay"> |
| 446 |
<objectName>Output_Gain</objectName> |
| 447 |
<x>450</x> |
| 448 |
<y>73</y> |
| 449 |
<width>60</width> |
| 450 |
<height>30</height> |
| 451 |
<uuid>{a471f0a0-872d-45ce-8067-16edcf43702b}</uuid> |
| 452 |
<visible>true</visible> |
| 453 |
<midichan>0</midichan> |
| 454 |
<midicc>0</midicc> |
| 455 |
<label>0.344</label> |
| 456 |
<alignment>right</alignment> |
| 457 |
<font>Arial</font> |
| 458 |
<fontsize>9</fontsize> |
| 459 |
<precision>3</precision> |
| 460 |
<color> |
| 461 |
<r>0</r> |
| 462 |
<g>0</g> |
| 463 |
<b>0</b> |
| 464 |
</color> |
| 465 |
<bgcolor mode="nobackground"> |
| 466 |
<r>255</r> |
| 467 |
<g>255</g> |
| 468 |
<b>255</b> |
| 469 |
</bgcolor> |
| 470 |
<bordermode>noborder</bordermode> |
| 471 |
<borderradius>1</borderradius> |
| 472 |
<borderwidth>1</borderwidth> |
| 473 |
</bsbObject> |
| 474 |
<bsbObject version="2" type="BSBHSlider"> |
| 475 |
<objectName>Output_Gain</objectName> |
| 476 |
<x>10</x> |
| 477 |
<y>56</y> |
| 478 |
<width>500</width> |
| 479 |
<height>27</height> |
| 480 |
<uuid>{f14f89da-9ddf-4d52-9ec3-1d26969055ca}</uuid> |
| 481 |
<visible>true</visible> |
| 482 |
<midichan>0</midichan> |
| 483 |
<midicc>0</midicc> |
| 484 |
<minimum>0.00000000</minimum> |
| 485 |
<maximum>1.00000000</maximum> |
| 486 |
<value>0.34400000</value> |
| 487 |
<mode>lin</mode> |
| 488 |
<mouseControl act="jump">continuous</mouseControl> |
| 489 |
<resolution>-1.00000000</resolution> |
| 490 |
<randomizable group="0">false</randomizable> |
| 491 |
</bsbObject> |
| 492 |
<bsbObject version="2" type="BSBLabel"> |
| 493 |
<objectName/> |
| 494 |
<x>10</x> |
| 495 |
<y>73</y> |
| 496 |
<width>120</width> |
| 497 |
<height>30</height> |
| 498 |
<uuid>{98b93c08-e505-4a89-8b08-f1c9fbf92c01}</uuid> |
| 499 |
<visible>true</visible> |
| 500 |
<midichan>0</midichan> |
| 501 |
<midicc>0</midicc> |
| 502 |
<label>Output Gain</label> |
| 503 |
<alignment>left</alignment> |
| 504 |
<font>Arial</font> |
| 505 |
<fontsize>10</fontsize> |
| 506 |
<precision>3</precision> |
| 507 |
<color> |
| 508 |
<r>0</r> |
| 509 |
<g>0</g> |
| 510 |
<b>0</b> |
| 511 |
</color> |
| 512 |
<bgcolor mode="nobackground"> |
| 513 |
<r>255</r> |
| 514 |
<g>255</g> |
| 515 |
<b>255</b> |
| 516 |
</bgcolor> |
| 517 |
<bordermode>noborder</bordermode> |
| 518 |
<borderradius>1</borderradius> |
| 519 |
<borderwidth>1</borderwidth> |
| 520 |
</bsbObject> |
| 521 |
<bsbObject version="2" type="BSBButton"> |
| 522 |
<objectName>_Browse1</objectName> |
| 523 |
<x>7</x> |
| 524 |
<y>179</y> |
| 525 |
<width>170</width> |
| 526 |
<height>30</height> |
| 527 |
<uuid>{112f938e-677f-4fc6-8007-4d0edb55908c}</uuid> |
| 528 |
<visible>true</visible> |
| 529 |
<midichan>0</midichan> |
| 530 |
<midicc>0</midicc> |
| 531 |
<type>value</type> |
| 532 |
<pressedValue>1.00000000</pressedValue> |
| 533 |
<stringvalue>AndItsAll.wav</stringvalue> |
| 534 |
<text>Browse Audio File</text> |
| 535 |
<image>/</image> |
| 536 |
<eventLine/> |
| 537 |
<latch>false</latch> |
| 538 |
<latched>false</latched> |
| 539 |
</bsbObject> |
| 540 |
<bsbObject version="2" type="BSBLineEdit"> |
| 541 |
<objectName>_Browse1</objectName> |
| 542 |
<x>178</x> |
| 543 |
<y>180</y> |
| 544 |
<width>330</width> |
| 545 |
<height>28</height> |
| 546 |
<uuid>{0e1ace22-7ce5-4e69-95c7-daca63274e1e}</uuid> |
| 547 |
<visible>true</visible> |
| 548 |
<midichan>0</midichan> |
| 549 |
<midicc>0</midicc> |
| 550 |
<label>AndItsAll.wav</label> |
| 551 |
<alignment>left</alignment> |
| 552 |
<font>Arial</font> |
| 553 |
<fontsize>10</fontsize> |
| 554 |
<precision>3</precision> |
| 555 |
<color> |
| 556 |
<r>0</r> |
| 557 |
<g>0</g> |
| 558 |
<b>0</b> |
| 559 |
</color> |
| 560 |
<bgcolor mode="nobackground"> |
| 561 |
<r>229</r> |
| 562 |
<g>229</g> |
| 563 |
<b>229</b> |
| 564 |
</bgcolor> |
| 565 |
<background>nobackground</background> |
| 566 |
</bsbObject> |
| 567 |
<bsbObject version="2" type="BSBLabel"> |
| 568 |
<objectName/> |
| 569 |
<x>7</x> |
| 570 |
<y>160</y> |
| 571 |
<width>100</width> |
| 572 |
<height>30</height> |
| 573 |
<uuid>{feba200c-e81d-4aab-8220-a8059ed77f82}</uuid> |
| 574 |
<visible>true</visible> |
| 575 |
<midichan>0</midichan> |
| 576 |
<midicc>0</midicc> |
| 577 |
<label>Voice</label> |
| 578 |
<alignment>left</alignment> |
| 579 |
<font>Arial</font> |
| 580 |
<fontsize>10</fontsize> |
| 581 |
<precision>3</precision> |
| 582 |
<color> |
| 583 |
<r>0</r> |
| 584 |
<g>0</g> |
| 585 |
<b>0</b> |
| 586 |
</color> |
| 587 |
<bgcolor mode="nobackground"> |
| 588 |
<r>255</r> |
| 589 |
<g>255</g> |
| 590 |
<b>255</b> |
| 591 |
</bgcolor> |
| 592 |
<bordermode>noborder</bordermode> |
| 593 |
<borderradius>1</borderradius> |
| 594 |
<borderwidth>1</borderwidth> |
| 595 |
</bsbObject> |
| 596 |
<bsbObject version="2" type="BSBLabel"> |
| 597 |
<objectName/> |
| 598 |
<x>8</x> |
| 599 |
<y>216</y> |
| 600 |
<width>100</width> |
| 601 |
<height>30</height> |
| 602 |
<uuid>{9a2bd631-373f-4b6f-b600-2e28263857e2}</uuid> |
| 603 |
<visible>true</visible> |
| 604 |
<midichan>0</midichan> |
| 605 |
<midicc>0</midicc> |
| 606 |
<label>Drum Loop</label> |
| 607 |
<alignment>left</alignment> |
| 608 |
<font>Arial</font> |
| 609 |
<fontsize>10</fontsize> |
| 610 |
<precision>3</precision> |
| 611 |
<color> |
| 612 |
<r>0</r> |
| 613 |
<g>0</g> |
| 614 |
<b>0</b> |
| 615 |
</color> |
| 616 |
<bgcolor mode="nobackground"> |
| 617 |
<r>255</r> |
| 618 |
<g>255</g> |
| 619 |
<b>255</b> |
| 620 |
</bgcolor> |
| 621 |
<bordermode>noborder</bordermode> |
| 622 |
<borderradius>1</borderradius> |
| 623 |
<borderwidth>1</borderwidth> |
| 624 |
</bsbObject> |
| 625 |
<bsbObject version="2" type="BSBLineEdit"> |
| 626 |
<objectName>_Browse2</objectName> |
| 627 |
<x>179</x> |
| 628 |
<y>236</y> |
| 629 |
<width>330</width> |
| 630 |
<height>28</height> |
| 631 |
<uuid>{fa0757f6-e418-4ce6-a70d-2545581953bb}</uuid> |
| 632 |
<visible>true</visible> |
| 633 |
<midichan>0</midichan> |
| 634 |
<midicc>0</midicc> |
| 635 |
<label>loop.wav</label> |
| 636 |
<alignment>left</alignment> |
| 637 |
<font>Arial</font> |
| 638 |
<fontsize>10</fontsize> |
| 639 |
<precision>3</precision> |
| 640 |
<color> |
| 641 |
<r>0</r> |
| 642 |
<g>0</g> |
| 643 |
<b>0</b> |
| 644 |
</color> |
| 645 |
<bgcolor mode="nobackground"> |
| 646 |
<r>229</r> |
| 647 |
<g>229</g> |
| 648 |
<b>229</b> |
| 649 |
</bgcolor> |
| 650 |
<background>nobackground</background> |
| 651 |
</bsbObject> |
| 652 |
<bsbObject version="2" type="BSBButton"> |
| 653 |
<objectName>_Browse2</objectName> |
| 654 |
<x>8</x> |
| 655 |
<y>235</y> |
| 656 |
<width>170</width> |
| 657 |
<height>30</height> |
| 658 |
<uuid>{f4570680-7835-4771-8ae6-586b5037cde6}</uuid> |
| 659 |
<visible>true</visible> |
| 660 |
<midichan>0</midichan> |
| 661 |
<midicc>0</midicc> |
| 662 |
<type>value</type> |
| 663 |
<pressedValue>1.00000000</pressedValue> |
| 664 |
<stringvalue>loop.wav</stringvalue> |
| 665 |
<text>Browse Audio File</text> |
| 666 |
<image>/</image> |
| 667 |
<eventLine/> |
| 668 |
<latch>false</latch> |
| 669 |
<latched>false</latched> |
| 670 |
</bsbObject> |
| 671 |
<bsbObject version="2" type="BSBLabel"> |
| 672 |
<objectName/> |
| 673 |
<x>178</x> |
| 674 |
<y>206</y> |
| 675 |
<width>330</width> |
| 676 |
<height>30</height> |
| 677 |
<uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid> |
| 678 |
<visible>true</visible> |
| 679 |
<midichan>0</midichan> |
| 680 |
<midicc>0</midicc> |
| 681 |
<label>Restart the instrument after changing the audio file.</label> |
| 682 |
<alignment>left</alignment> |
| 683 |
<font>Liberation Sans</font> |
| 684 |
<fontsize>12</fontsize> |
| 685 |
<precision>3</precision> |
| 686 |
<color> |
| 687 |
<r>0</r> |
| 688 |
<g>0</g> |
| 689 |
<b>0</b> |
| 690 |
</color> |
| 691 |
<bgcolor mode="nobackground"> |
| 692 |
<r>255</r> |
| 693 |
<g>255</g> |
| 694 |
<b>255</b> |
| 695 |
</bgcolor> |
| 696 |
<bordermode>noborder</bordermode> |
| 697 |
<borderradius>1</borderradius> |
| 698 |
<borderwidth>1</borderwidth> |
| 699 |
</bsbObject> |
| 700 |
<bsbObject version="2" type="BSBLabel"> |
| 701 |
<objectName/> |
| 702 |
<x>179</x> |
| 703 |
<y>263</y> |
| 704 |
<width>330</width> |
| 705 |
<height>30</height> |
| 706 |
<uuid>{26a09414-3c43-4ce8-94ca-1bb1f479570e}</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> |
| 732 |
<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="false" loopStart="0" loopEnd="0"> </EventPanel> |