| 1 |
;Written by Iain McCurdy, 2009 |
| 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 = 256 ;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 |
opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz |
| 23 |
;gives stereo output regardless your soundfile is mono or stereo |
| 24 |
Sfil, kspeed, iskip, iloop xin |
| 25 |
ichn filenchnls Sfil |
| 26 |
if ichn == 1 then |
| 27 |
aL diskin2 Sfil, kspeed, iskip, iloop |
| 28 |
aR = aL |
| 29 |
else |
| 30 |
aL, aR diskin2 Sfil, kspeed, iskip, iloop |
| 31 |
endif |
| 32 |
xout aL, aR |
| 33 |
endop |
| 34 |
|
| 35 |
|
| 36 |
instr 10 ;GUI |
| 37 |
ktrig metro 10 |
| 38 |
if (ktrig == 1) then |
| 39 |
gkamp1 invalue "Source_Amplitude" ;init 0.0 |
| 40 |
gkamp2 invalue "Destination_Amplitude" ;init 1.0 |
| 41 |
|
| 42 |
gkoct invalue "Octaves" ;init 0 |
| 43 |
gksemi invalue "Semitones" ;init 0 |
| 44 |
gkinput invalue "Input" ;init 1 |
| 45 |
endif |
| 46 |
endin |
| 47 |
|
| 48 |
instr 1 |
| 49 |
kmlt = cpsoct(8+gkoct+(gksemi/12))/cpsoct(8) ;DERIVE A PLAYBACK SPEED RATIO FROM TRANSPOSE SETTING |
| 50 |
|
| 51 |
Sfile1 invalue "_Browse1" |
| 52 |
asrcL, asrcR FilePlay2 Sfile1, kmlt, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE |
| 53 |
|
| 54 |
if gkinput=0 then ;IF 'INPUT' SELECTOR IS ON 'Live Input' |
| 55 |
adest inch 1 ;READ AUDIO FROM COMPUTER'S FIRST (LEFT) INPUT CHANNEL |
| 56 |
elseif gkinput=1 then ;IF 'INPUT' SELECTOR IS ON 'Drum Loop' |
| 57 |
Sfile2 invalue "_Browse2" |
| 58 |
adest, asigR FilePlay2 Sfile2, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE |
| 59 |
endif ;END OF CONDITIONAL BRANCHING |
| 60 |
|
| 61 |
iFFTsize = 1024 ;SET FFT SIZE TO BE USED IN ANALYSIS |
| 62 |
ioverlap = 256 ;SET OVERLAP SIZE TO BE USED IN ANALYSIS |
| 63 |
iwinsize = 1024 ;SET WINDOW SIZE TO BE USED IN ANALYSIS |
| 64 |
iwintype = 1 ;SET WINDOW TYPE TO BE USED IN ANALYSIS |
| 65 |
fsrcL pvsanal asrcL, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL. OUTPUT AN F-SIGNAL. |
| 66 |
fsrcR pvsanal asrcR, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL. OUTPUT AN F-SIGNAL. |
| 67 |
fdest pvsanal adest, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL. OUTPUT AN F-SIGNAL. |
| 68 |
|
| 69 |
fcrossL pvscross fsrcL, fdest, gkamp1, gkamp2 ;IMPLEMENT fsig CROSS SYNTHESIS |
| 70 |
fcrossR pvscross fsrcR, fdest, gkamp1, gkamp2 ;IMPLEMENT fsig CROSS SYNTHESIS |
| 71 |
|
| 72 |
;OUTPUT OPCODE INPUT |
| 73 |
aresynL pvsynth fcrossL ;RESYNTHESIZE THE f-SIGNAL AS AN AUDIO SIGNAL (LEFT CHANNEL) |
| 74 |
aresynR pvsynth fcrossR ;RESYNTHESIZE THE f-SIGNAL AS AN AUDIO SIGNAL (RIGHT CHANNEL) |
| 75 |
outs aresynL, aresynR ;SEND THE RESYNTHESIZED SIGNAL TO THE AUDIO OUTPUTS |
| 76 |
endin |
| 77 |
</CsInstruments> |
| 78 |
<CsScore> |
| 79 |
;INSTR | START | DURATION |
| 80 |
i 10 0 3600 ;GUI |
| 81 |
</CsScore> |
| 82 |
</CsoundSynthesizer> |
| 83 |
|
| 84 |
<bsbPanel> |
| 85 |
<label>Widgets</label> |
| 86 |
<objectName/> |
| 87 |
<x>411</x> |
| 88 |
<y>310</y> |
| 89 |
<width>888</width> |
| 90 |
<height>379</height> |
| 91 |
<visible>true</visible> |
| 92 |
<uuid/> |
| 93 |
<bgcolor mode="background"> |
| 94 |
<r>241</r> |
| 95 |
<g>226</g> |
| 96 |
<b>185</b> |
| 97 |
</bgcolor> |
| 98 |
<bsbObject version="2" type="BSBLabel"> |
| 99 |
<objectName/> |
| 100 |
<x>2</x> |
| 101 |
<y>2</y> |
| 102 |
<width>516</width> |
| 103 |
<height>375</height> |
| 104 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 105 |
<visible>true</visible> |
| 106 |
<midichan>0</midichan> |
| 107 |
<midicc>0</midicc> |
| 108 |
<label>pvscross</label> |
| 109 |
<alignment>center</alignment> |
| 110 |
<font>Liberation Sans</font> |
| 111 |
<fontsize>18</fontsize> |
| 112 |
<precision>3</precision> |
| 113 |
<color> |
| 114 |
<r>0</r> |
| 115 |
<g>0</g> |
| 116 |
<b>0</b> |
| 117 |
</color> |
| 118 |
<bgcolor mode="background"> |
| 119 |
<r>181</r> |
| 120 |
<g>199</g> |
| 121 |
<b>255</b> |
| 122 |
</bgcolor> |
| 123 |
<bordermode>border</bordermode> |
| 124 |
<borderradius>5</borderradius> |
| 125 |
<borderwidth>2</borderwidth> |
| 126 |
</bsbObject> |
| 127 |
<bsbObject version="2" type="BSBLabel"> |
| 128 |
<objectName/> |
| 129 |
<x>520</x> |
| 130 |
<y>2</y> |
| 131 |
<width>361</width> |
| 132 |
<height>375</height> |
| 133 |
<uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid> |
| 134 |
<visible>true</visible> |
| 135 |
<midichan>0</midichan> |
| 136 |
<midicc>0</midicc> |
| 137 |
<label>pvscross</label> |
| 138 |
<alignment>center</alignment> |
| 139 |
<font>Liberation Sans</font> |
| 140 |
<fontsize>18</fontsize> |
| 141 |
<precision>3</precision> |
| 142 |
<color> |
| 143 |
<r>0</r> |
| 144 |
<g>0</g> |
| 145 |
<b>0</b> |
| 146 |
</color> |
| 147 |
<bgcolor mode="background"> |
| 148 |
<r>181</r> |
| 149 |
<g>199</g> |
| 150 |
<b>255</b> |
| 151 |
</bgcolor> |
| 152 |
<bordermode>border</bordermode> |
| 153 |
<borderradius>5</borderradius> |
| 154 |
<borderwidth>2</borderwidth> |
| 155 |
</bsbObject> |
| 156 |
<bsbObject version="2" type="BSBLabel"> |
| 157 |
<objectName/> |
| 158 |
<x>522</x> |
| 159 |
<y>18</y> |
| 160 |
<width>357</width> |
| 161 |
<height>346</height> |
| 162 |
<uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid> |
| 163 |
<visible>true</visible> |
| 164 |
<midichan>0</midichan> |
| 165 |
<midicc>0</midicc> |
| 166 |
<label>--------------------------------------------------------------------------------------- |
| 167 |
pvscross performs cross synthesis between two fsigs (streaming phase vocoding analysis signals). The harmonic content of a source signal will be imposed upon the dynamic contour of a destination signal. Typically the source signal should be dynamically steady and a harmonic or resonant, signal. The destination should be dynamically transient - a drum pattern or speech is typical. In this example the source sound is a rather cliched synthesizer pad sequence (but should give a good illustration of the typical usage of this opcode). The destination sound in this example is either the computer's live input or a drum loop. The source sound can be transposed in octave and in semitone steps. The two amplitude sliders control the amount of influence the source and destination sounds have on the amplitude contour of the output signal. The frequency envelope is always that of the source therefore the impact of raising the source amplitude is to increase the sense of the source in the output mix.</label> |
| 168 |
<alignment>left</alignment> |
| 169 |
<font>Arial</font> |
| 170 |
<fontsize>14</fontsize> |
| 171 |
<precision>3</precision> |
| 172 |
<color> |
| 173 |
<r>0</r> |
| 174 |
<g>0</g> |
| 175 |
<b>0</b> |
| 176 |
</color> |
| 177 |
<bgcolor mode="nobackground"> |
| 178 |
<r>255</r> |
| 179 |
<g>255</g> |
| 180 |
<b>255</b> |
| 181 |
</bgcolor> |
| 182 |
<bordermode>noborder</bordermode> |
| 183 |
<borderradius>1</borderradius> |
| 184 |
<borderwidth>1</borderwidth> |
| 185 |
</bsbObject> |
| 186 |
<bsbObject version="2" type="BSBButton"> |
| 187 |
<objectName/> |
| 188 |
<x>8</x> |
| 189 |
<y>8</y> |
| 190 |
<width>100</width> |
| 191 |
<height>30</height> |
| 192 |
<uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid> |
| 193 |
<visible>true</visible> |
| 194 |
<midichan>0</midichan> |
| 195 |
<midicc>0</midicc> |
| 196 |
<type>event</type> |
| 197 |
<pressedValue>1.00000000</pressedValue> |
| 198 |
<stringvalue/> |
| 199 |
<text> ON / OFF</text> |
| 200 |
<image>/</image> |
| 201 |
<eventLine>i 1 0 -1</eventLine> |
| 202 |
<latch>true</latch> |
| 203 |
<latched>false</latched> |
| 204 |
</bsbObject> |
| 205 |
<bsbObject version="2" type="BSBDisplay"> |
| 206 |
<objectName>Source_Amplitude</objectName> |
| 207 |
<x>450</x> |
| 208 |
<y>73</y> |
| 209 |
<width>60</width> |
| 210 |
<height>30</height> |
| 211 |
<uuid>{a471f0a0-872d-45ce-8067-16edcf43702b}</uuid> |
| 212 |
<visible>true</visible> |
| 213 |
<midichan>0</midichan> |
| 214 |
<midicc>0</midicc> |
| 215 |
<label>0.256</label> |
| 216 |
<alignment>right</alignment> |
| 217 |
<font>Arial</font> |
| 218 |
<fontsize>9</fontsize> |
| 219 |
<precision>3</precision> |
| 220 |
<color> |
| 221 |
<r>0</r> |
| 222 |
<g>0</g> |
| 223 |
<b>0</b> |
| 224 |
</color> |
| 225 |
<bgcolor mode="nobackground"> |
| 226 |
<r>255</r> |
| 227 |
<g>255</g> |
| 228 |
<b>255</b> |
| 229 |
</bgcolor> |
| 230 |
<bordermode>noborder</bordermode> |
| 231 |
<borderradius>1</borderradius> |
| 232 |
<borderwidth>1</borderwidth> |
| 233 |
</bsbObject> |
| 234 |
<bsbObject version="2" type="BSBHSlider"> |
| 235 |
<objectName>Source_Amplitude</objectName> |
| 236 |
<x>10</x> |
| 237 |
<y>56</y> |
| 238 |
<width>500</width> |
| 239 |
<height>27</height> |
| 240 |
<uuid>{f14f89da-9ddf-4d52-9ec3-1d26969055ca}</uuid> |
| 241 |
<visible>true</visible> |
| 242 |
<midichan>0</midichan> |
| 243 |
<midicc>0</midicc> |
| 244 |
<minimum>0.00000000</minimum> |
| 245 |
<maximum>1.00000000</maximum> |
| 246 |
<value>0.25600000</value> |
| 247 |
<mode>lin</mode> |
| 248 |
<mouseControl act="jump">continuous</mouseControl> |
| 249 |
<resolution>-1.00000000</resolution> |
| 250 |
<randomizable group="0">false</randomizable> |
| 251 |
</bsbObject> |
| 252 |
<bsbObject version="2" type="BSBLabel"> |
| 253 |
<objectName/> |
| 254 |
<x>10</x> |
| 255 |
<y>75</y> |
| 256 |
<width>180</width> |
| 257 |
<height>30</height> |
| 258 |
<uuid>{98b93c08-e505-4a89-8b08-f1c9fbf92c01}</uuid> |
| 259 |
<visible>true</visible> |
| 260 |
<midichan>0</midichan> |
| 261 |
<midicc>0</midicc> |
| 262 |
<label>Source Amplitude (amp 1)</label> |
| 263 |
<alignment>left</alignment> |
| 264 |
<font>Arial</font> |
| 265 |
<fontsize>10</fontsize> |
| 266 |
<precision>3</precision> |
| 267 |
<color> |
| 268 |
<r>0</r> |
| 269 |
<g>0</g> |
| 270 |
<b>0</b> |
| 271 |
</color> |
| 272 |
<bgcolor mode="nobackground"> |
| 273 |
<r>255</r> |
| 274 |
<g>255</g> |
| 275 |
<b>255</b> |
| 276 |
</bgcolor> |
| 277 |
<bordermode>noborder</bordermode> |
| 278 |
<borderradius>1</borderradius> |
| 279 |
<borderwidth>1</borderwidth> |
| 280 |
</bsbObject> |
| 281 |
<bsbObject version="2" type="BSBLabel"> |
| 282 |
<objectName/> |
| 283 |
<x>10</x> |
| 284 |
<y>116</y> |
| 285 |
<width>180</width> |
| 286 |
<height>30</height> |
| 287 |
<uuid>{a45554bb-09a2-40c7-90db-f301895af4ea}</uuid> |
| 288 |
<visible>true</visible> |
| 289 |
<midichan>0</midichan> |
| 290 |
<midicc>0</midicc> |
| 291 |
<label>Destination Amplitude (amp 2)</label> |
| 292 |
<alignment>left</alignment> |
| 293 |
<font>Arial</font> |
| 294 |
<fontsize>10</fontsize> |
| 295 |
<precision>3</precision> |
| 296 |
<color> |
| 297 |
<r>0</r> |
| 298 |
<g>0</g> |
| 299 |
<b>0</b> |
| 300 |
</color> |
| 301 |
<bgcolor mode="nobackground"> |
| 302 |
<r>255</r> |
| 303 |
<g>255</g> |
| 304 |
<b>255</b> |
| 305 |
</bgcolor> |
| 306 |
<bordermode>noborder</bordermode> |
| 307 |
<borderradius>1</borderradius> |
| 308 |
<borderwidth>1</borderwidth> |
| 309 |
</bsbObject> |
| 310 |
<bsbObject version="2" type="BSBHSlider"> |
| 311 |
<objectName>Destination_Amplitude</objectName> |
| 312 |
<x>10</x> |
| 313 |
<y>97</y> |
| 314 |
<width>500</width> |
| 315 |
<height>27</height> |
| 316 |
<uuid>{7bccbbd8-96f6-4c58-8210-5c45f467adff}</uuid> |
| 317 |
<visible>true</visible> |
| 318 |
<midichan>0</midichan> |
| 319 |
<midicc>0</midicc> |
| 320 |
<minimum>0.00000000</minimum> |
| 321 |
<maximum>1.00000000</maximum> |
| 322 |
<value>0.25000000</value> |
| 323 |
<mode>lin</mode> |
| 324 |
<mouseControl act="jump">continuous</mouseControl> |
| 325 |
<resolution>-1.00000000</resolution> |
| 326 |
<randomizable group="0">false</randomizable> |
| 327 |
</bsbObject> |
| 328 |
<bsbObject version="2" type="BSBDisplay"> |
| 329 |
<objectName>Destination_Amplitude</objectName> |
| 330 |
<x>450</x> |
| 331 |
<y>114</y> |
| 332 |
<width>60</width> |
| 333 |
<height>30</height> |
| 334 |
<uuid>{99f84362-9a1a-4063-9b94-adae67e9e45c}</uuid> |
| 335 |
<visible>true</visible> |
| 336 |
<midichan>0</midichan> |
| 337 |
<midicc>0</midicc> |
| 338 |
<label>0.250</label> |
| 339 |
<alignment>right</alignment> |
| 340 |
<font>Arial</font> |
| 341 |
<fontsize>9</fontsize> |
| 342 |
<precision>3</precision> |
| 343 |
<color> |
| 344 |
<r>0</r> |
| 345 |
<g>0</g> |
| 346 |
<b>0</b> |
| 347 |
</color> |
| 348 |
<bgcolor mode="nobackground"> |
| 349 |
<r>255</r> |
| 350 |
<g>255</g> |
| 351 |
<b>255</b> |
| 352 |
</bgcolor> |
| 353 |
<bordermode>noborder</bordermode> |
| 354 |
<borderradius>1</borderradius> |
| 355 |
<borderwidth>1</borderwidth> |
| 356 |
</bsbObject> |
| 357 |
<bsbObject version="2" type="BSBLabel"> |
| 358 |
<objectName/> |
| 359 |
<x>6</x> |
| 360 |
<y>262</y> |
| 361 |
<width>508</width> |
| 362 |
<height>108</height> |
| 363 |
<uuid>{7e32c815-35f2-47c4-8470-e4c126b6a830}</uuid> |
| 364 |
<visible>true</visible> |
| 365 |
<midichan>0</midichan> |
| 366 |
<midicc>0</midicc> |
| 367 |
<label>Destination Input</label> |
| 368 |
<alignment>left</alignment> |
| 369 |
<font>Liberation Sans</font> |
| 370 |
<fontsize>14</fontsize> |
| 371 |
<precision>3</precision> |
| 372 |
<color> |
| 373 |
<r>0</r> |
| 374 |
<g>0</g> |
| 375 |
<b>0</b> |
| 376 |
</color> |
| 377 |
<bgcolor mode="nobackground"> |
| 378 |
<r>255</r> |
| 379 |
<g>255</g> |
| 380 |
<b>255</b> |
| 381 |
</bgcolor> |
| 382 |
<bordermode>border</bordermode> |
| 383 |
<borderradius>1</borderradius> |
| 384 |
<borderwidth>1</borderwidth> |
| 385 |
</bsbObject> |
| 386 |
<bsbObject version="2" type="BSBLabel"> |
| 387 |
<objectName/> |
| 388 |
<x>6</x> |
| 389 |
<y>151</y> |
| 390 |
<width>508</width> |
| 391 |
<height>105</height> |
| 392 |
<uuid>{e51c5a38-1f86-4bb4-b8db-a1c384f9713f}</uuid> |
| 393 |
<visible>true</visible> |
| 394 |
<midichan>0</midichan> |
| 395 |
<midicc>0</midicc> |
| 396 |
<label>Source Transpose</label> |
| 397 |
<alignment>left</alignment> |
| 398 |
<font>Arial</font> |
| 399 |
<fontsize>14</fontsize> |
| 400 |
<precision>3</precision> |
| 401 |
<color> |
| 402 |
<r>0</r> |
| 403 |
<g>0</g> |
| 404 |
<b>0</b> |
| 405 |
</color> |
| 406 |
<bgcolor mode="nobackground"> |
| 407 |
<r>255</r> |
| 408 |
<g>255</g> |
| 409 |
<b>255</b> |
| 410 |
</bgcolor> |
| 411 |
<bordermode>border</bordermode> |
| 412 |
<borderradius>1</borderradius> |
| 413 |
<borderwidth>1</borderwidth> |
| 414 |
</bsbObject> |
| 415 |
<bsbObject version="2" type="BSBLineEdit"> |
| 416 |
<objectName>_Browse2</objectName> |
| 417 |
<x>181</x> |
| 418 |
<y>317</y> |
| 419 |
<width>330</width> |
| 420 |
<height>28</height> |
| 421 |
<uuid>{73c64f16-f854-4df4-8a03-34cd124a13fc}</uuid> |
| 422 |
<visible>true</visible> |
| 423 |
<midichan>0</midichan> |
| 424 |
<midicc>0</midicc> |
| 425 |
<label>loop.wav</label> |
| 426 |
<alignment>left</alignment> |
| 427 |
<font>Arial</font> |
| 428 |
<fontsize>10</fontsize> |
| 429 |
<precision>3</precision> |
| 430 |
<color> |
| 431 |
<r>0</r> |
| 432 |
<g>0</g> |
| 433 |
<b>0</b> |
| 434 |
</color> |
| 435 |
<bgcolor mode="nobackground"> |
| 436 |
<r>229</r> |
| 437 |
<g>229</g> |
| 438 |
<b>229</b> |
| 439 |
</bgcolor> |
| 440 |
<background>nobackground</background> |
| 441 |
</bsbObject> |
| 442 |
<bsbObject version="2" type="BSBButton"> |
| 443 |
<objectName>_Browse2</objectName> |
| 444 |
<x>10</x> |
| 445 |
<y>316</y> |
| 446 |
<width>170</width> |
| 447 |
<height>30</height> |
| 448 |
<uuid>{8e27ed00-d7b7-4106-9dae-78bb49c16921}</uuid> |
| 449 |
<visible>true</visible> |
| 450 |
<midichan>0</midichan> |
| 451 |
<midicc>0</midicc> |
| 452 |
<type>value</type> |
| 453 |
<pressedValue>1.00000000</pressedValue> |
| 454 |
<stringvalue>loop.wav</stringvalue> |
| 455 |
<text>Browse Audio File</text> |
| 456 |
<image>/</image> |
| 457 |
<eventLine/> |
| 458 |
<latch>false</latch> |
| 459 |
<latched>false</latched> |
| 460 |
</bsbObject> |
| 461 |
<bsbObject version="2" type="BSBDropdown"> |
| 462 |
<objectName>Input</objectName> |
| 463 |
<x>252</x> |
| 464 |
<y>277</y> |
| 465 |
<width>110</width> |
| 466 |
<height>30</height> |
| 467 |
<uuid>{1fec53d6-5ad8-411a-a32b-fbdea25188c8}</uuid> |
| 468 |
<visible>true</visible> |
| 469 |
<midichan>0</midichan> |
| 470 |
<midicc>0</midicc> |
| 471 |
<bsbDropdownItemList> |
| 472 |
<bsbDropdownItem> |
| 473 |
<name>Live Input</name> |
| 474 |
<value>0</value> |
| 475 |
<stringvalue/> |
| 476 |
</bsbDropdownItem> |
| 477 |
<bsbDropdownItem> |
| 478 |
<name>Drum Loop</name> |
| 479 |
<value>1</value> |
| 480 |
<stringvalue/> |
| 481 |
</bsbDropdownItem> |
| 482 |
</bsbDropdownItemList> |
| 483 |
<selectedIndex>1</selectedIndex> |
| 484 |
<randomizable group="0">false</randomizable> |
| 485 |
</bsbObject> |
| 486 |
<bsbObject version="2" type="BSBLabel"> |
| 487 |
<objectName/> |
| 488 |
<x>191</x> |
| 489 |
<y>277</y> |
| 490 |
<width>60</width> |
| 491 |
<height>30</height> |
| 492 |
<uuid>{20858a3b-43a0-462f-8cd2-6d5456ee90b6}</uuid> |
| 493 |
<visible>true</visible> |
| 494 |
<midichan>0</midichan> |
| 495 |
<midicc>0</midicc> |
| 496 |
<label>Input</label> |
| 497 |
<alignment>right</alignment> |
| 498 |
<font>Arial</font> |
| 499 |
<fontsize>10</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>10</x> |
| 518 |
<y>207</y> |
| 519 |
<width>170</width> |
| 520 |
<height>30</height> |
| 521 |
<uuid>{6a377a78-45eb-4d95-be6d-48a0d69d8312}</uuid> |
| 522 |
<visible>true</visible> |
| 523 |
<midichan>0</midichan> |
| 524 |
<midicc>0</midicc> |
| 525 |
<type>value</type> |
| 526 |
<pressedValue>1.00000000</pressedValue> |
| 527 |
<stringvalue>SynthPad.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="BSBLineEdit"> |
| 535 |
<objectName>_Browse1</objectName> |
| 536 |
<x>181</x> |
| 537 |
<y>208</y> |
| 538 |
<width>330</width> |
| 539 |
<height>28</height> |
| 540 |
<uuid>{90536baf-21c0-404f-a8f3-19dc07712c2b}</uuid> |
| 541 |
<visible>true</visible> |
| 542 |
<midichan>0</midichan> |
| 543 |
<midicc>0</midicc> |
| 544 |
<label>SynthPad.wav</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>229</r> |
| 556 |
<g>229</g> |
| 557 |
<b>229</b> |
| 558 |
</bgcolor> |
| 559 |
<background>nobackground</background> |
| 560 |
</bsbObject> |
| 561 |
<bsbObject version="2" type="BSBLabel"> |
| 562 |
<objectName/> |
| 563 |
<x>188</x> |
| 564 |
<y>164</y> |
| 565 |
<width>80</width> |
| 566 |
<height>30</height> |
| 567 |
<uuid>{beeec21a-aa66-4660-bbef-5ff5e46d0e82}</uuid> |
| 568 |
<visible>true</visible> |
| 569 |
<midichan>0</midichan> |
| 570 |
<midicc>0</midicc> |
| 571 |
<label>Octaves</label> |
| 572 |
<alignment>right</alignment> |
| 573 |
<font>Arial</font> |
| 574 |
<fontsize>10</fontsize> |
| 575 |
<precision>3</precision> |
| 576 |
<color> |
| 577 |
<r>0</r> |
| 578 |
<g>0</g> |
| 579 |
<b>0</b> |
| 580 |
</color> |
| 581 |
<bgcolor mode="nobackground"> |
| 582 |
<r>255</r> |
| 583 |
<g>255</g> |
| 584 |
<b>255</b> |
| 585 |
</bgcolor> |
| 586 |
<bordermode>noborder</bordermode> |
| 587 |
<borderradius>1</borderradius> |
| 588 |
<borderwidth>1</borderwidth> |
| 589 |
</bsbObject> |
| 590 |
<bsbObject version="2" type="BSBLabel"> |
| 591 |
<objectName/> |
| 592 |
<x>342</x> |
| 593 |
<y>165</y> |
| 594 |
<width>80</width> |
| 595 |
<height>30</height> |
| 596 |
<uuid>{20b8a1e0-b6f4-411f-b780-67799646ec74}</uuid> |
| 597 |
<visible>true</visible> |
| 598 |
<midichan>0</midichan> |
| 599 |
<midicc>0</midicc> |
| 600 |
<label>Semitones</label> |
| 601 |
<alignment>right</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>255</r> |
| 612 |
<g>255</g> |
| 613 |
<b>255</b> |
| 614 |
</bgcolor> |
| 615 |
<bordermode>noborder</bordermode> |
| 616 |
<borderradius>1</borderradius> |
| 617 |
<borderwidth>1</borderwidth> |
| 618 |
</bsbObject> |
| 619 |
<bsbObject version="2" type="BSBSpinBox"> |
| 620 |
<objectName>Octaves</objectName> |
| 621 |
<x>270</x> |
| 622 |
<y>164</y> |
| 623 |
<width>40</width> |
| 624 |
<height>30</height> |
| 625 |
<uuid>{685ee90e-3ed1-4466-a6dc-ecedeac1db17}</uuid> |
| 626 |
<visible>true</visible> |
| 627 |
<midichan>0</midichan> |
| 628 |
<midicc>0</midicc> |
| 629 |
<alignment>left</alignment> |
| 630 |
<font>Arial</font> |
| 631 |
<fontsize>14</fontsize> |
| 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 |
<resolution>1.00000000</resolution> |
| 643 |
<minimum>-2</minimum> |
| 644 |
<maximum>2</maximum> |
| 645 |
<randomizable group="0">false</randomizable> |
| 646 |
<value>0</value> |
| 647 |
</bsbObject> |
| 648 |
<bsbObject version="2" type="BSBSpinBox"> |
| 649 |
<objectName>Semitones</objectName> |
| 650 |
<x>423</x> |
| 651 |
<y>165</y> |
| 652 |
<width>40</width> |
| 653 |
<height>30</height> |
| 654 |
<uuid>{56d43299-e85c-492f-bbe1-6e647ccdc33a}</uuid> |
| 655 |
<visible>true</visible> |
| 656 |
<midichan>0</midichan> |
| 657 |
<midicc>0</midicc> |
| 658 |
<alignment>left</alignment> |
| 659 |
<font>Arial</font> |
| 660 |
<fontsize>14</fontsize> |
| 661 |
<color> |
| 662 |
<r>0</r> |
| 663 |
<g>0</g> |
| 664 |
<b>0</b> |
| 665 |
</color> |
| 666 |
<bgcolor mode="nobackground"> |
| 667 |
<r>255</r> |
| 668 |
<g>255</g> |
| 669 |
<b>255</b> |
| 670 |
</bgcolor> |
| 671 |
<resolution>1.00000000</resolution> |
| 672 |
<minimum>-12</minimum> |
| 673 |
<maximum>12</maximum> |
| 674 |
<randomizable group="0">false</randomizable> |
| 675 |
<value>0</value> |
| 676 |
</bsbObject> |
| 677 |
<bsbObject version="2" type="BSBLabel"> |
| 678 |
<objectName/> |
| 679 |
<x>181</x> |
| 680 |
<y>236</y> |
| 681 |
<width>330</width> |
| 682 |
<height>30</height> |
| 683 |
<uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid> |
| 684 |
<visible>true</visible> |
| 685 |
<midichan>0</midichan> |
| 686 |
<midicc>0</midicc> |
| 687 |
<label>Restart the instrument after changing the audio file.</label> |
| 688 |
<alignment>left</alignment> |
| 689 |
<font>Liberation Sans</font> |
| 690 |
<fontsize>12</fontsize> |
| 691 |
<precision>3</precision> |
| 692 |
<color> |
| 693 |
<r>0</r> |
| 694 |
<g>0</g> |
| 695 |
<b>0</b> |
| 696 |
</color> |
| 697 |
<bgcolor mode="nobackground"> |
| 698 |
<r>255</r> |
| 699 |
<g>255</g> |
| 700 |
<b>255</b> |
| 701 |
</bgcolor> |
| 702 |
<bordermode>noborder</bordermode> |
| 703 |
<borderradius>1</borderradius> |
| 704 |
<borderwidth>1</borderwidth> |
| 705 |
</bsbObject> |
| 706 |
<bsbObject version="2" type="BSBLabel"> |
| 707 |
<objectName/> |
| 708 |
<x>181</x> |
| 709 |
<y>345</y> |
| 710 |
<width>330</width> |
| 711 |
<height>30</height> |
| 712 |
<uuid>{2f8ad2a3-5b81-43b9-b3c6-ca07d514af68}</uuid> |
| 713 |
<visible>true</visible> |
| 714 |
<midichan>0</midichan> |
| 715 |
<midicc>0</midicc> |
| 716 |
<label>Restart the instrument after changing the audio file.</label> |
| 717 |
<alignment>left</alignment> |
| 718 |
<font>Liberation Sans</font> |
| 719 |
<fontsize>12</fontsize> |
| 720 |
<precision>3</precision> |
| 721 |
<color> |
| 722 |
<r>0</r> |
| 723 |
<g>0</g> |
| 724 |
<b>0</b> |
| 725 |
</color> |
| 726 |
<bgcolor mode="nobackground"> |
| 727 |
<r>255</r> |
| 728 |
<g>255</g> |
| 729 |
<b>255</b> |
| 730 |
</bgcolor> |
| 731 |
<bordermode>noborder</bordermode> |
| 732 |
<borderradius>1</borderradius> |
| 733 |
<borderwidth>1</borderwidth> |
| 734 |
</bsbObject> |
| 735 |
</bsbPanel> |
| 736 |
<bsbPresets> |
| 737 |
</bsbPresets> |
| 738 |
<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="false" loopStart="0" loopEnd="0"> </EventPanel> |