| 1 |
;Written by Iain McCurdy, 2006 |
| 2 |
|
| 3 |
;Modified for QuteCsound by René, April 2011 |
| 4 |
;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817 |
| 5 |
|
| 6 |
|
| 7 |
;Notes on modifications from original csd: |
| 8 |
; Add Browser for audio file |
| 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 = 10 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE |
| 19 |
nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO) |
| 20 |
0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH |
| 21 |
|
| 22 |
|
| 23 |
instr 10 ;GUI |
| 24 |
ktrig metro 10 |
| 25 |
if (ktrig == 1) then |
| 26 |
;SLIDERS |
| 27 |
gkporttime invalue "Portamento" |
| 28 |
gkloopbegin invalue "LoopBegin" |
| 29 |
gkloopend invalue "LoopEnd" |
| 30 |
gkspeed invalue "Speed" |
| 31 |
gkgain invalue "Gain" |
| 32 |
;MENUS |
| 33 |
gkloopfn invalue "Loop" |
| 34 |
gktabletype invalue "TableType" |
| 35 |
endif |
| 36 |
endin |
| 37 |
|
| 38 |
instr 1 |
| 39 |
Sfile_new strcpy "" ;INIT TO EMPTY STRING |
| 40 |
Sfile invalue "_Browse" |
| 41 |
Sfile_old strcpyk Sfile_new |
| 42 |
Sfile_new strcpyk Sfile |
| 43 |
kfile strcmpk Sfile_new, Sfile_old |
| 44 |
|
| 45 |
kSwitch changed gkloopfn, kfile ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO) |
| 46 |
if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'... |
| 47 |
reinit UPDATE ;BEGIN A REINITIALISATION PASS FROM LABEL 'UPDATE' |
| 48 |
endif |
| 49 |
|
| 50 |
UPDATE: |
| 51 |
kporttime linseg 0, .001, 1, 1, 1 ;CREATE A RAMPING UP VARIBLE FOR PORTAMENTO TIME |
| 52 |
kporttime = kporttime * gkporttime ;MULTIPLY RAMPING UP VARIABLE FROM THE PREVIOUS LINE BY THE OUTPUT FROM THE 'PORTAMENTO TIME' SLIDER |
| 53 |
kloopbegin lineto gkloopbegin, kporttime ;APPLY PORTAMENTO TO THE NAMED VARIABLE |
| 54 |
kloopend lineto gkloopend, kporttime ;APPLY PORTAMENTO TO THE NAMED VARIABLE |
| 55 |
|
| 56 |
;tablei with phasor accept only (power of 2 + 1) table size |
| 57 |
ifnTemp ftgentmp 0, 0, 0, 1, Sfile, 0, 0, 1 ;Temporary table to get the audio file size |
| 58 |
iftlen = ftlen(ifnTemp) ;file size |
| 59 |
iftlen pow 2, ceil(log(iftlen)/log(2)) ;high nearest power of two table size |
| 60 |
|
| 61 |
ifn ftgentmp 0, 0, 1+iftlen, 1, Sfile,0,0,1 ;READ MONO OR STEREO AUDIO FILE CHANNEL 1 |
| 62 |
|
| 63 |
ifilelen = nsamp(ifn)/sr ; LENGTH OF THE SAMPLE IN SECONDS |
| 64 |
kloopbegin = kloopbegin * ifilelen ;RESCALE gkloopbegin (RANGE 0-1) TO BE WITHIN THE RANGE 0-FILE_LENGTH. THIS ALLOW THE EASY INTERCHANGE OF SOUND FILES. NEW OUTPUT VARIABLE kloopbegin. |
| 65 |
kloopend = kloopend * ifilelen ;RESCALE gkloopend (RANGE 0-1) TO BE WITHIN THE RANGE 0-FILE_LENGTH. THIS ALLOW THE EASY INTERCHANGE OF SOUND FILES. NEW OUTPUT VARIABLE kloopend. |
| 66 |
klooplen = kloopend - kloopbegin ;DERIVE LOOP LENGTH FROM LOOP START AND END POINTS |
| 67 |
|
| 68 |
; NUMERATOR|DENOMINATOR|SUBSTUTION_VALUE_(IF_DENOMINATOR=0) |
| 69 |
kphasFrq divz gkspeed, klooplen, .00001 ; THE DIVZ OPCODE IS USED HERE TO PREVENT DIVISIONS BY ZERO (DIVISION BY ZERO MEANS CRASH!) |
| 70 |
; IN SITUATIONS WHERE klooplen=0 (I.E. WHEN kloopend=kloopbegin) |
| 71 |
; IN NORMAL OPERATION kphasFrq=gkspeed/klooplen |
| 72 |
; BUT IF klooplen=0 THEN kphasFrq IS GIVEN THE VALUE SUBSITUTION VALUE .00001 |
| 73 |
|
| 74 |
kptr phasor kphasFrq ; POINTER IS CREATED WITH FREQUENCY kphasFrq |
| 75 |
|
| 76 |
iloopfn = i(gkloopfn)+101 ;FUNCTION TABLE THAT DEFINES THE LOOP POINTER MOVEMENT: 'FORWARD' OR 'FORWARD-BACKWARD' |
| 77 |
kphasFrq = (iloopfn = 102 ? kphasFrq*.5 : kphasFrq) ;IF LOOP POINTER MOVEMENT IS 'FORWARD-BACKWARD' THEN POINTER FREQUENCY SHOULD BE HALVED |
| 78 |
|
| 79 |
;OUTPUT OPCODE AMPLITUDE | FREQUENCY | FUNCTION_TABLE |
| 80 |
kptr oscili 1, kphasFrq, iloopfn ;CREATE POINTER MOVEMENT |
| 81 |
|
| 82 |
kinskip = (kloopbegin < kloopend ? kloopbegin : kloopend) ;A NEW VARIABLE IS CREATED THAT IS DEPENDENT UPON A CONDITIONAL STATEMENT |
| 83 |
;IF kloopbegin < kloopend THEN kinskip=kloopbegin |
| 84 |
;OTHERWISE kinskip=kloopend |
| 85 |
;IN OTHER WORDS iinskip IS ALWAYS EQUAL TO WHICHEVER IS LESS BETWEEN iloopbegin AND iloopend. |
| 86 |
;THE REASON FOR USING THIS CONDITIONAL IS TO CREATE A TRUE VALUE FOR THE 'NEAREST' LOOP POINT IN THE LOOP |
| 87 |
;THE VARIABLE CREATED, iinskip, IS NEEDED IN THE NEXT LINE |
| 88 |
|
| 89 |
kptr = (kptr*abs(klooplen)) + kinskip ;kptr IS RESCALED TO MATCH THE LENGTH OF THE LOOP DEFINED BY iloopbegin AND iloopend |
| 90 |
;AND IS ALSO RESCALED TO COMPESATE FOR ANY 'inskip' INTO THE SOUNDFILE |
| 91 |
|
| 92 |
aptr interp kptr ;a-rate VERSION OF kptr IS CREATED |
| 93 |
if gktabletype==0 then ;THE NEXT LINE OF CODE CONDITIONALLY EXECUTED IF gktabletype==0 (GUI menu) |
| 94 |
asig table aptr*sr, ifn ;READ GEN01 FUNCTION TABLE USING table OPCODE |
| 95 |
elseif gktabletype==1 then ;THE NEXT LINE OF CODE CONDITIONALLY EXECUTED IF gktabletype==1 (GUI menu) |
| 96 |
asig tablei aptr*sr, ifn ;READ GEN01 FUNCTION TABLE USING tablei OPCODE |
| 97 |
elseif gktabletype==2 then ;THE NEXT LINE OF CODE CONDITIONALLY EXECUTED IF gktabletype==2 (GUI menu) |
| 98 |
asig table3 aptr*sr, ifn ;READ GEN01 FUNCTION TABLE USING tabl3 OPCODE |
| 99 |
endif |
| 100 |
rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES |
| 101 |
outs asig * gkgain, asig * gkgain |
| 102 |
endin |
| 103 |
|
| 104 |
instr 11 ;INIT |
| 105 |
outvalue "LoopBegin" , 0.0 |
| 106 |
outvalue "LoopEnd" , 1.0 |
| 107 |
outvalue "Speed" , 1.0 |
| 108 |
outvalue "Loop" , 0 |
| 109 |
outvalue "Gain" , 0.7 |
| 110 |
outvalue "Portamento" , 0.0 |
| 111 |
endin |
| 112 |
</CsInstruments> |
| 113 |
<CsScore> |
| 114 |
f 101 0 129 -7 0 129 1 ;STRAIGHT LINE - USED FOR POINTER NORMAL LOOPING |
| 115 |
f 102 0 129 -7 0 65 1 65 0 ;TRIANGLE SHAPE - USED FOR POINTER FORWARD-BACKWARD LOOPING |
| 116 |
|
| 117 |
i 10 0 3600 ;GUI |
| 118 |
i 11 0 0.01 ;INIT |
| 119 |
</CsScore> |
| 120 |
</CsoundSynthesizer> |
| 121 |
<bsbPanel> |
| 122 |
<label>Widgets</label> |
| 123 |
<objectName/> |
| 124 |
<x>72</x> |
| 125 |
<y>179</y> |
| 126 |
<width>400</width> |
| 127 |
<height>200</height> |
| 128 |
<visible>true</visible> |
| 129 |
<uuid/> |
| 130 |
<bgcolor mode="nobackground"> |
| 131 |
<r>202</r> |
| 132 |
<g>202</g> |
| 133 |
<b>202</b> |
| 134 |
</bgcolor> |
| 135 |
<bsbObject version="2" type="BSBLabel"> |
| 136 |
<objectName/> |
| 137 |
<x>2</x> |
| 138 |
<y>2</y> |
| 139 |
<width>512</width> |
| 140 |
<height>460</height> |
| 141 |
<uuid>{395a9956-93f5-441f-b0ef-3828f1b2da1c}</uuid> |
| 142 |
<visible>true</visible> |
| 143 |
<midichan>0</midichan> |
| 144 |
<midicc>0</midicc> |
| 145 |
<label>table, tablei, table3</label> |
| 146 |
<alignment>center</alignment> |
| 147 |
<font>Liberation Sans</font> |
| 148 |
<fontsize>18</fontsize> |
| 149 |
<precision>3</precision> |
| 150 |
<color> |
| 151 |
<r>0</r> |
| 152 |
<g>0</g> |
| 153 |
<b>0</b> |
| 154 |
</color> |
| 155 |
<bgcolor mode="background"> |
| 156 |
<r>181</r> |
| 157 |
<g>199</g> |
| 158 |
<b>255</b> |
| 159 |
</bgcolor> |
| 160 |
<bordermode>border</bordermode> |
| 161 |
<borderradius>5</borderradius> |
| 162 |
<borderwidth>2</borderwidth> |
| 163 |
</bsbObject> |
| 164 |
<bsbObject version="2" type="BSBButton"> |
| 165 |
<objectName/> |
| 166 |
<x>8</x> |
| 167 |
<y>10</y> |
| 168 |
<width>100</width> |
| 169 |
<height>26</height> |
| 170 |
<uuid>{0a44e1b8-fab4-40c8-8fa1-f1d1d743c45c}</uuid> |
| 171 |
<visible>true</visible> |
| 172 |
<midichan>0</midichan> |
| 173 |
<midicc>0</midicc> |
| 174 |
<type>event</type> |
| 175 |
<pressedValue>1.00000000</pressedValue> |
| 176 |
<stringvalue/> |
| 177 |
<text> On / Off </text> |
| 178 |
<image>/</image> |
| 179 |
<eventLine>i 1 0 -1</eventLine> |
| 180 |
<latch>true</latch> |
| 181 |
<latched>false</latched> |
| 182 |
</bsbObject> |
| 183 |
<bsbObject version="2" type="BSBLabel"> |
| 184 |
<objectName/> |
| 185 |
<x>518</x> |
| 186 |
<y>2</y> |
| 187 |
<width>420</width> |
| 188 |
<height>460</height> |
| 189 |
<uuid>{10e7ae72-c151-4c9d-9f49-e6b1585d8386}</uuid> |
| 190 |
<visible>true</visible> |
| 191 |
<midichan>0</midichan> |
| 192 |
<midicc>0</midicc> |
| 193 |
<label>table, tablei, table3 - loop player</label> |
| 194 |
<alignment>center</alignment> |
| 195 |
<font>Liberation Sans</font> |
| 196 |
<fontsize>18</fontsize> |
| 197 |
<precision>3</precision> |
| 198 |
<color> |
| 199 |
<r>0</r> |
| 200 |
<g>0</g> |
| 201 |
<b>0</b> |
| 202 |
</color> |
| 203 |
<bgcolor mode="background"> |
| 204 |
<r>181</r> |
| 205 |
<g>199</g> |
| 206 |
<b>255</b> |
| 207 |
</bgcolor> |
| 208 |
<bordermode>border</bordermode> |
| 209 |
<borderradius>5</borderradius> |
| 210 |
<borderwidth>2</borderwidth> |
| 211 |
</bsbObject> |
| 212 |
<bsbObject version="2" type="BSBLabel"> |
| 213 |
<objectName/> |
| 214 |
<x>521</x> |
| 215 |
<y>19</y> |
| 216 |
<width>414</width> |
| 217 |
<height>436</height> |
| 218 |
<uuid>{97dfe67c-26c1-4af5-b858-e301d6886c2e}</uuid> |
| 219 |
<visible>true</visible> |
| 220 |
<midichan>0</midichan> |
| 221 |
<midicc>0</midicc> |
| 222 |
<label>----------------------------------------------------------------------------------------------------- |
| 223 |
The example demonstrates the use of the table family of opcodes to playback a sample stored in a GEN01 function table. It also demonstrates how to create a loop player that functions slightly differently to the flooper and flooper2 opcodes. Using table/tablei/table3 to play back audio data is initially slightly more awkward than using, for example, diskin or loscil, as we need to create a moving pointer ourselves which will used to read data from the function table but ultimately it will prove a more flexible and interesting method. As a case in point, this sound file loop player could not be implemented with the same functionality using diskin, loscil or flooper. Table, tablei and table3 operate in essentially the same way, the difference being in how they interpolate between values read from the table. Table does not interpolate at all, tablei implements linear interpolation and table3 implements cubic interpolation. This example allows the user to switch between table, tablei and table3 and observe the differences in sound quality. This will be most noticable when transposing downwards. Table is computationally fastest but offers the lowest audio quality, and table3 is computationally slowest but offers the audio highest quality. Increasing the 'Portamento Time' slider from its default setting of zero applies damping to the rate of change of values output by 'Loop Begin Point' and 'Loop End Point'. The upshot of this function is that pitch warping effects will ensue when portamento time is greater than zero while adjusting the 'Loop Begin Point' and 'Loop End Point' sliders.</label> |
| 224 |
<alignment>left</alignment> |
| 225 |
<font>Liberation Sans</font> |
| 226 |
<fontsize>14</fontsize> |
| 227 |
<precision>3</precision> |
| 228 |
<color> |
| 229 |
<r>0</r> |
| 230 |
<g>0</g> |
| 231 |
<b>0</b> |
| 232 |
</color> |
| 233 |
<bgcolor mode="nobackground"> |
| 234 |
<r>255</r> |
| 235 |
<g>255</g> |
| 236 |
<b>255</b> |
| 237 |
</bgcolor> |
| 238 |
<bordermode>noborder</bordermode> |
| 239 |
<borderradius>1</borderradius> |
| 240 |
<borderwidth>1</borderwidth> |
| 241 |
</bsbObject> |
| 242 |
<bsbObject version="2" type="BSBLabel"> |
| 243 |
<objectName/> |
| 244 |
<x>8</x> |
| 245 |
<y>115</y> |
| 246 |
<width>150</width> |
| 247 |
<height>30</height> |
| 248 |
<uuid>{feb05e56-b1b1-4494-8c71-ce9e40994fb9}</uuid> |
| 249 |
<visible>true</visible> |
| 250 |
<midichan>0</midichan> |
| 251 |
<midicc>0</midicc> |
| 252 |
<label>Loop Begin Point</label> |
| 253 |
<alignment>left</alignment> |
| 254 |
<font>Liberation Sans</font> |
| 255 |
<fontsize>10</fontsize> |
| 256 |
<precision>3</precision> |
| 257 |
<color> |
| 258 |
<r>0</r> |
| 259 |
<g>0</g> |
| 260 |
<b>0</b> |
| 261 |
</color> |
| 262 |
<bgcolor mode="nobackground"> |
| 263 |
<r>255</r> |
| 264 |
<g>255</g> |
| 265 |
<b>255</b> |
| 266 |
</bgcolor> |
| 267 |
<bordermode>noborder</bordermode> |
| 268 |
<borderradius>1</borderradius> |
| 269 |
<borderwidth>1</borderwidth> |
| 270 |
</bsbObject> |
| 271 |
<bsbObject version="2" type="BSBHSlider"> |
| 272 |
<objectName>LoopBegin</objectName> |
| 273 |
<x>8</x> |
| 274 |
<y>98</y> |
| 275 |
<width>500</width> |
| 276 |
<height>27</height> |
| 277 |
<uuid>{88f53f0d-44d4-4847-8885-c15e934a8109}</uuid> |
| 278 |
<visible>true</visible> |
| 279 |
<midichan>0</midichan> |
| 280 |
<midicc>0</midicc> |
| 281 |
<minimum>0.00000000</minimum> |
| 282 |
<maximum>1.00000000</maximum> |
| 283 |
<value>0.00000000</value> |
| 284 |
<mode>lin</mode> |
| 285 |
<mouseControl act="jump">continuous</mouseControl> |
| 286 |
<resolution>-1.00000000</resolution> |
| 287 |
<randomizable group="0">false</randomizable> |
| 288 |
</bsbObject> |
| 289 |
<bsbObject version="2" type="BSBDisplay"> |
| 290 |
<objectName>LoopBegin</objectName> |
| 291 |
<x>448</x> |
| 292 |
<y>115</y> |
| 293 |
<width>60</width> |
| 294 |
<height>30</height> |
| 295 |
<uuid>{dd0574f3-9876-4c0e-b747-f61dee837c94}</uuid> |
| 296 |
<visible>true</visible> |
| 297 |
<midichan>0</midichan> |
| 298 |
<midicc>0</midicc> |
| 299 |
<label>0.000</label> |
| 300 |
<alignment>right</alignment> |
| 301 |
<font>Liberation Sans</font> |
| 302 |
<fontsize>9</fontsize> |
| 303 |
<precision>3</precision> |
| 304 |
<color> |
| 305 |
<r>0</r> |
| 306 |
<g>0</g> |
| 307 |
<b>0</b> |
| 308 |
</color> |
| 309 |
<bgcolor mode="nobackground"> |
| 310 |
<r>255</r> |
| 311 |
<g>255</g> |
| 312 |
<b>255</b> |
| 313 |
</bgcolor> |
| 314 |
<bordermode>noborder</bordermode> |
| 315 |
<borderradius>1</borderradius> |
| 316 |
<borderwidth>1</borderwidth> |
| 317 |
</bsbObject> |
| 318 |
<bsbObject version="2" type="BSBLabel"> |
| 319 |
<objectName/> |
| 320 |
<x>8</x> |
| 321 |
<y>162</y> |
| 322 |
<width>150</width> |
| 323 |
<height>30</height> |
| 324 |
<uuid>{bf3e8a57-4a8a-4a9d-b67d-9521542ae93d}</uuid> |
| 325 |
<visible>true</visible> |
| 326 |
<midichan>0</midichan> |
| 327 |
<midicc>0</midicc> |
| 328 |
<label>Loop End Point</label> |
| 329 |
<alignment>left</alignment> |
| 330 |
<font>Liberation Sans</font> |
| 331 |
<fontsize>10</fontsize> |
| 332 |
<precision>3</precision> |
| 333 |
<color> |
| 334 |
<r>0</r> |
| 335 |
<g>0</g> |
| 336 |
<b>0</b> |
| 337 |
</color> |
| 338 |
<bgcolor mode="nobackground"> |
| 339 |
<r>255</r> |
| 340 |
<g>255</g> |
| 341 |
<b>255</b> |
| 342 |
</bgcolor> |
| 343 |
<bordermode>noborder</bordermode> |
| 344 |
<borderradius>1</borderradius> |
| 345 |
<borderwidth>1</borderwidth> |
| 346 |
</bsbObject> |
| 347 |
<bsbObject version="2" type="BSBHSlider"> |
| 348 |
<objectName>LoopEnd</objectName> |
| 349 |
<x>8</x> |
| 350 |
<y>145</y> |
| 351 |
<width>500</width> |
| 352 |
<height>27</height> |
| 353 |
<uuid>{8ff8f945-02c5-4ac9-a2e7-f20a8a28a2a5}</uuid> |
| 354 |
<visible>true</visible> |
| 355 |
<midichan>0</midichan> |
| 356 |
<midicc>0</midicc> |
| 357 |
<minimum>0.00000000</minimum> |
| 358 |
<maximum>1.00000000</maximum> |
| 359 |
<value>1.00000000</value> |
| 360 |
<mode>lin</mode> |
| 361 |
<mouseControl act="jump">continuous</mouseControl> |
| 362 |
<resolution>-1.00000000</resolution> |
| 363 |
<randomizable group="0">false</randomizable> |
| 364 |
</bsbObject> |
| 365 |
<bsbObject version="2" type="BSBDisplay"> |
| 366 |
<objectName>LoopEnd</objectName> |
| 367 |
<x>448</x> |
| 368 |
<y>162</y> |
| 369 |
<width>60</width> |
| 370 |
<height>30</height> |
| 371 |
<uuid>{4b684f89-629e-4f7a-974d-7dd7165f85a7}</uuid> |
| 372 |
<visible>true</visible> |
| 373 |
<midichan>0</midichan> |
| 374 |
<midicc>0</midicc> |
| 375 |
<label>1.000</label> |
| 376 |
<alignment>right</alignment> |
| 377 |
<font>Liberation Sans</font> |
| 378 |
<fontsize>9</fontsize> |
| 379 |
<precision>3</precision> |
| 380 |
<color> |
| 381 |
<r>0</r> |
| 382 |
<g>0</g> |
| 383 |
<b>0</b> |
| 384 |
</color> |
| 385 |
<bgcolor mode="nobackground"> |
| 386 |
<r>255</r> |
| 387 |
<g>255</g> |
| 388 |
<b>255</b> |
| 389 |
</bgcolor> |
| 390 |
<bordermode>noborder</bordermode> |
| 391 |
<borderradius>1</borderradius> |
| 392 |
<borderwidth>1</borderwidth> |
| 393 |
</bsbObject> |
| 394 |
<bsbObject version="2" type="BSBLineEdit"> |
| 395 |
<objectName>_Browse</objectName> |
| 396 |
<x>180</x> |
| 397 |
<y>371</y> |
| 398 |
<width>326</width> |
| 399 |
<height>28</height> |
| 400 |
<uuid>{15a8ec14-710f-43e6-be9e-f5dc8c8786cb}</uuid> |
| 401 |
<visible>true</visible> |
| 402 |
<midichan>0</midichan> |
| 403 |
<midicc>0</midicc> |
| 404 |
<label>808loopMono.wav</label> |
| 405 |
<alignment>left</alignment> |
| 406 |
<font>Liberation Sans</font> |
| 407 |
<fontsize>10</fontsize> |
| 408 |
<precision>3</precision> |
| 409 |
<color> |
| 410 |
<r>0</r> |
| 411 |
<g>0</g> |
| 412 |
<b>0</b> |
| 413 |
</color> |
| 414 |
<bgcolor mode="nobackground"> |
| 415 |
<r>229</r> |
| 416 |
<g>229</g> |
| 417 |
<b>229</b> |
| 418 |
</bgcolor> |
| 419 |
<background>nobackground</background> |
| 420 |
</bsbObject> |
| 421 |
<bsbObject version="2" type="BSBLabel"> |
| 422 |
<objectName/> |
| 423 |
<x>8</x> |
| 424 |
<y>68</y> |
| 425 |
<width>150</width> |
| 426 |
<height>30</height> |
| 427 |
<uuid>{e13ea2b5-66c3-4eae-9c6c-91d9e035400b}</uuid> |
| 428 |
<visible>true</visible> |
| 429 |
<midichan>0</midichan> |
| 430 |
<midicc>0</midicc> |
| 431 |
<label>Portamento Time</label> |
| 432 |
<alignment>left</alignment> |
| 433 |
<font>Liberation Sans</font> |
| 434 |
<fontsize>10</fontsize> |
| 435 |
<precision>3</precision> |
| 436 |
<color> |
| 437 |
<r>0</r> |
| 438 |
<g>0</g> |
| 439 |
<b>0</b> |
| 440 |
</color> |
| 441 |
<bgcolor mode="nobackground"> |
| 442 |
<r>255</r> |
| 443 |
<g>255</g> |
| 444 |
<b>255</b> |
| 445 |
</bgcolor> |
| 446 |
<bordermode>noborder</bordermode> |
| 447 |
<borderradius>1</borderradius> |
| 448 |
<borderwidth>1</borderwidth> |
| 449 |
</bsbObject> |
| 450 |
<bsbObject version="2" type="BSBHSlider"> |
| 451 |
<objectName>Portamento</objectName> |
| 452 |
<x>8</x> |
| 453 |
<y>51</y> |
| 454 |
<width>500</width> |
| 455 |
<height>27</height> |
| 456 |
<uuid>{0460f13f-efd6-4403-bc20-c0d21302e628}</uuid> |
| 457 |
<visible>true</visible> |
| 458 |
<midichan>0</midichan> |
| 459 |
<midicc>0</midicc> |
| 460 |
<minimum>0.00000000</minimum> |
| 461 |
<maximum>1.00000000</maximum> |
| 462 |
<value>0.00000000</value> |
| 463 |
<mode>lin</mode> |
| 464 |
<mouseControl act="jump">continuous</mouseControl> |
| 465 |
<resolution>-1.00000000</resolution> |
| 466 |
<randomizable group="0">false</randomizable> |
| 467 |
</bsbObject> |
| 468 |
<bsbObject version="2" type="BSBDisplay"> |
| 469 |
<objectName>Portamento</objectName> |
| 470 |
<x>448</x> |
| 471 |
<y>68</y> |
| 472 |
<width>60</width> |
| 473 |
<height>30</height> |
| 474 |
<uuid>{7d2a46b9-3d13-4fc4-8081-50dbb35f8ff4}</uuid> |
| 475 |
<visible>true</visible> |
| 476 |
<midichan>0</midichan> |
| 477 |
<midicc>0</midicc> |
| 478 |
<label>0.000</label> |
| 479 |
<alignment>right</alignment> |
| 480 |
<font>Liberation Sans</font> |
| 481 |
<fontsize>9</fontsize> |
| 482 |
<precision>3</precision> |
| 483 |
<color> |
| 484 |
<r>0</r> |
| 485 |
<g>0</g> |
| 486 |
<b>0</b> |
| 487 |
</color> |
| 488 |
<bgcolor mode="nobackground"> |
| 489 |
<r>255</r> |
| 490 |
<g>255</g> |
| 491 |
<b>255</b> |
| 492 |
</bgcolor> |
| 493 |
<bordermode>noborder</bordermode> |
| 494 |
<borderradius>1</borderradius> |
| 495 |
<borderwidth>1</borderwidth> |
| 496 |
</bsbObject> |
| 497 |
<bsbObject version="2" type="BSBLabel"> |
| 498 |
<objectName/> |
| 499 |
<x>8</x> |
| 500 |
<y>209</y> |
| 501 |
<width>150</width> |
| 502 |
<height>30</height> |
| 503 |
<uuid>{a842add9-35e8-4567-92ab-8061be1c10f7}</uuid> |
| 504 |
<visible>true</visible> |
| 505 |
<midichan>0</midichan> |
| 506 |
<midicc>0</midicc> |
| 507 |
<label>Speed</label> |
| 508 |
<alignment>left</alignment> |
| 509 |
<font>Liberation Sans</font> |
| 510 |
<fontsize>10</fontsize> |
| 511 |
<precision>3</precision> |
| 512 |
<color> |
| 513 |
<r>0</r> |
| 514 |
<g>0</g> |
| 515 |
<b>0</b> |
| 516 |
</color> |
| 517 |
<bgcolor mode="nobackground"> |
| 518 |
<r>255</r> |
| 519 |
<g>255</g> |
| 520 |
<b>255</b> |
| 521 |
</bgcolor> |
| 522 |
<bordermode>noborder</bordermode> |
| 523 |
<borderradius>1</borderradius> |
| 524 |
<borderwidth>1</borderwidth> |
| 525 |
</bsbObject> |
| 526 |
<bsbObject version="2" type="BSBHSlider"> |
| 527 |
<objectName>Speed</objectName> |
| 528 |
<x>8</x> |
| 529 |
<y>192</y> |
| 530 |
<width>500</width> |
| 531 |
<height>27</height> |
| 532 |
<uuid>{67d5f50b-6ff1-43e9-90bc-2a4968903ba7}</uuid> |
| 533 |
<visible>true</visible> |
| 534 |
<midichan>0</midichan> |
| 535 |
<midicc>0</midicc> |
| 536 |
<minimum>-2.00000000</minimum> |
| 537 |
<maximum>2.00000000</maximum> |
| 538 |
<value>1.00000000</value> |
| 539 |
<mode>lin</mode> |
| 540 |
<mouseControl act="jump">continuous</mouseControl> |
| 541 |
<resolution>-1.00000000</resolution> |
| 542 |
<randomizable group="0">false</randomizable> |
| 543 |
</bsbObject> |
| 544 |
<bsbObject version="2" type="BSBDisplay"> |
| 545 |
<objectName>Speed</objectName> |
| 546 |
<x>448</x> |
| 547 |
<y>209</y> |
| 548 |
<width>60</width> |
| 549 |
<height>30</height> |
| 550 |
<uuid>{8caaf76d-57ae-4684-8b3a-76e073bfd7d0}</uuid> |
| 551 |
<visible>true</visible> |
| 552 |
<midichan>0</midichan> |
| 553 |
<midicc>0</midicc> |
| 554 |
<label>1.000</label> |
| 555 |
<alignment>right</alignment> |
| 556 |
<font>Liberation Sans</font> |
| 557 |
<fontsize>9</fontsize> |
| 558 |
<precision>3</precision> |
| 559 |
<color> |
| 560 |
<r>0</r> |
| 561 |
<g>0</g> |
| 562 |
<b>0</b> |
| 563 |
</color> |
| 564 |
<bgcolor mode="nobackground"> |
| 565 |
<r>255</r> |
| 566 |
<g>255</g> |
| 567 |
<b>255</b> |
| 568 |
</bgcolor> |
| 569 |
<bordermode>noborder</bordermode> |
| 570 |
<borderradius>1</borderradius> |
| 571 |
<borderwidth>1</borderwidth> |
| 572 |
</bsbObject> |
| 573 |
<bsbObject version="2" type="BSBLabel"> |
| 574 |
<objectName/> |
| 575 |
<x>8</x> |
| 576 |
<y>350</y> |
| 577 |
<width>100</width> |
| 578 |
<height>30</height> |
| 579 |
<uuid>{8de3ea13-9050-4b9d-8b34-9fec61fe4e48}</uuid> |
| 580 |
<visible>true</visible> |
| 581 |
<midichan>0</midichan> |
| 582 |
<midicc>0</midicc> |
| 583 |
<label>Input :</label> |
| 584 |
<alignment>left</alignment> |
| 585 |
<font>Liberation Sans</font> |
| 586 |
<fontsize>10</fontsize> |
| 587 |
<precision>3</precision> |
| 588 |
<color> |
| 589 |
<r>0</r> |
| 590 |
<g>0</g> |
| 591 |
<b>0</b> |
| 592 |
</color> |
| 593 |
<bgcolor mode="nobackground"> |
| 594 |
<r>255</r> |
| 595 |
<g>255</g> |
| 596 |
<b>255</b> |
| 597 |
</bgcolor> |
| 598 |
<bordermode>noborder</bordermode> |
| 599 |
<borderradius>1</borderradius> |
| 600 |
<borderwidth>1</borderwidth> |
| 601 |
</bsbObject> |
| 602 |
<bsbObject version="2" type="BSBButton"> |
| 603 |
<objectName>_Browse</objectName> |
| 604 |
<x>8</x> |
| 605 |
<y>371</y> |
| 606 |
<width>170</width> |
| 607 |
<height>30</height> |
| 608 |
<uuid>{8c630a69-dc58-46a0-a696-60bc59cec1d6}</uuid> |
| 609 |
<visible>true</visible> |
| 610 |
<midichan>0</midichan> |
| 611 |
<midicc>0</midicc> |
| 612 |
<type>value</type> |
| 613 |
<pressedValue>1.00000000</pressedValue> |
| 614 |
<stringvalue>808loopMono.wav</stringvalue> |
| 615 |
<text>Browse Audio File</text> |
| 616 |
<image>/</image> |
| 617 |
<eventLine/> |
| 618 |
<latch>false</latch> |
| 619 |
<latched>false</latched> |
| 620 |
</bsbObject> |
| 621 |
<bsbObject version="2" type="BSBLabel"> |
| 622 |
<objectName/> |
| 623 |
<x>8</x> |
| 624 |
<y>321</y> |
| 625 |
<width>100</width> |
| 626 |
<height>30</height> |
| 627 |
<uuid>{ed7ec62d-067d-496b-9d76-51fc0bbe0bee}</uuid> |
| 628 |
<visible>true</visible> |
| 629 |
<midichan>0</midichan> |
| 630 |
<midicc>0</midicc> |
| 631 |
<label>Gain</label> |
| 632 |
<alignment>left</alignment> |
| 633 |
<font>Liberation Sans</font> |
| 634 |
<fontsize>10</fontsize> |
| 635 |
<precision>3</precision> |
| 636 |
<color> |
| 637 |
<r>0</r> |
| 638 |
<g>0</g> |
| 639 |
<b>0</b> |
| 640 |
</color> |
| 641 |
<bgcolor mode="nobackground"> |
| 642 |
<r>255</r> |
| 643 |
<g>255</g> |
| 644 |
<b>255</b> |
| 645 |
</bgcolor> |
| 646 |
<bordermode>noborder</bordermode> |
| 647 |
<borderradius>1</borderradius> |
| 648 |
<borderwidth>1</borderwidth> |
| 649 |
</bsbObject> |
| 650 |
<bsbObject version="2" type="BSBHSlider"> |
| 651 |
<objectName>Gain</objectName> |
| 652 |
<x>8</x> |
| 653 |
<y>304</y> |
| 654 |
<width>500</width> |
| 655 |
<height>27</height> |
| 656 |
<uuid>{7204111b-1356-4951-96a9-0dd786b34c6b}</uuid> |
| 657 |
<visible>true</visible> |
| 658 |
<midichan>0</midichan> |
| 659 |
<midicc>0</midicc> |
| 660 |
<minimum>0.00000000</minimum> |
| 661 |
<maximum>1.00000000</maximum> |
| 662 |
<value>0.69999999</value> |
| 663 |
<mode>lin</mode> |
| 664 |
<mouseControl act="jump">continuous</mouseControl> |
| 665 |
<resolution>-1.00000000</resolution> |
| 666 |
<randomizable group="0">false</randomizable> |
| 667 |
</bsbObject> |
| 668 |
<bsbObject version="2" type="BSBDisplay"> |
| 669 |
<objectName>Gain</objectName> |
| 670 |
<x>448</x> |
| 671 |
<y>321</y> |
| 672 |
<width>60</width> |
| 673 |
<height>30</height> |
| 674 |
<uuid>{0f7069a0-4c67-4cd1-8c7f-a6dabdc90c23}</uuid> |
| 675 |
<visible>true</visible> |
| 676 |
<midichan>0</midichan> |
| 677 |
<midicc>0</midicc> |
| 678 |
<label>0.700</label> |
| 679 |
<alignment>right</alignment> |
| 680 |
<font>Liberation Sans</font> |
| 681 |
<fontsize>9</fontsize> |
| 682 |
<precision>3</precision> |
| 683 |
<color> |
| 684 |
<r>0</r> |
| 685 |
<g>0</g> |
| 686 |
<b>0</b> |
| 687 |
</color> |
| 688 |
<bgcolor mode="nobackground"> |
| 689 |
<r>255</r> |
| 690 |
<g>255</g> |
| 691 |
<b>255</b> |
| 692 |
</bgcolor> |
| 693 |
<bordermode>noborder</bordermode> |
| 694 |
<borderradius>1</borderradius> |
| 695 |
<borderwidth>1</borderwidth> |
| 696 |
</bsbObject> |
| 697 |
<bsbObject version="2" type="BSBLabel"> |
| 698 |
<objectName/> |
| 699 |
<x>348</x> |
| 700 |
<y>239</y> |
| 701 |
<width>100</width> |
| 702 |
<height>30</height> |
| 703 |
<uuid>{15137bc2-52c6-4983-82ea-a224c3576267}</uuid> |
| 704 |
<visible>true</visible> |
| 705 |
<midichan>0</midichan> |
| 706 |
<midicc>0</midicc> |
| 707 |
<label>Table Type :</label> |
| 708 |
<alignment>left</alignment> |
| 709 |
<font>Liberation Sans</font> |
| 710 |
<fontsize>10</fontsize> |
| 711 |
<precision>3</precision> |
| 712 |
<color> |
| 713 |
<r>0</r> |
| 714 |
<g>0</g> |
| 715 |
<b>0</b> |
| 716 |
</color> |
| 717 |
<bgcolor mode="nobackground"> |
| 718 |
<r>255</r> |
| 719 |
<g>255</g> |
| 720 |
<b>255</b> |
| 721 |
</bgcolor> |
| 722 |
<bordermode>noborder</bordermode> |
| 723 |
<borderradius>1</borderradius> |
| 724 |
<borderwidth>1</borderwidth> |
| 725 |
</bsbObject> |
| 726 |
<bsbObject version="2" type="BSBDropdown"> |
| 727 |
<objectName>TableType</objectName> |
| 728 |
<x>348</x> |
| 729 |
<y>258</y> |
| 730 |
<width>150</width> |
| 731 |
<height>30</height> |
| 732 |
<uuid>{e9e2c36c-6e52-43fb-9475-8791a4778423}</uuid> |
| 733 |
<visible>true</visible> |
| 734 |
<midichan>0</midichan> |
| 735 |
<midicc>0</midicc> |
| 736 |
<bsbDropdownItemList> |
| 737 |
<bsbDropdownItem> |
| 738 |
<name>table</name> |
| 739 |
<value>0</value> |
| 740 |
<stringvalue/> |
| 741 |
</bsbDropdownItem> |
| 742 |
<bsbDropdownItem> |
| 743 |
<name>tablei</name> |
| 744 |
<value>1</value> |
| 745 |
<stringvalue/> |
| 746 |
</bsbDropdownItem> |
| 747 |
<bsbDropdownItem> |
| 748 |
<name>table3</name> |
| 749 |
<value>2</value> |
| 750 |
<stringvalue/> |
| 751 |
</bsbDropdownItem> |
| 752 |
</bsbDropdownItemList> |
| 753 |
<selectedIndex>2</selectedIndex> |
| 754 |
<randomizable group="0">false</randomizable> |
| 755 |
</bsbObject> |
| 756 |
<bsbObject version="2" type="BSBLabel"> |
| 757 |
<objectName/> |
| 758 |
<x>21</x> |
| 759 |
<y>239</y> |
| 760 |
<width>100</width> |
| 761 |
<height>30</height> |
| 762 |
<uuid>{fd7776d2-44a3-4a50-9845-38865d795343}</uuid> |
| 763 |
<visible>true</visible> |
| 764 |
<midichan>0</midichan> |
| 765 |
<midicc>0</midicc> |
| 766 |
<label>Loop :</label> |
| 767 |
<alignment>left</alignment> |
| 768 |
<font>Liberation Sans</font> |
| 769 |
<fontsize>10</fontsize> |
| 770 |
<precision>3</precision> |
| 771 |
<color> |
| 772 |
<r>0</r> |
| 773 |
<g>0</g> |
| 774 |
<b>0</b> |
| 775 |
</color> |
| 776 |
<bgcolor mode="nobackground"> |
| 777 |
<r>255</r> |
| 778 |
<g>255</g> |
| 779 |
<b>255</b> |
| 780 |
</bgcolor> |
| 781 |
<bordermode>noborder</bordermode> |
| 782 |
<borderradius>1</borderradius> |
| 783 |
<borderwidth>1</borderwidth> |
| 784 |
</bsbObject> |
| 785 |
<bsbObject version="2" type="BSBDropdown"> |
| 786 |
<objectName>Loop</objectName> |
| 787 |
<x>21</x> |
| 788 |
<y>258</y> |
| 789 |
<width>160</width> |
| 790 |
<height>30</height> |
| 791 |
<uuid>{fb5cadd5-8ae2-48a2-beab-2093685702a0}</uuid> |
| 792 |
<visible>true</visible> |
| 793 |
<midichan>0</midichan> |
| 794 |
<midicc>0</midicc> |
| 795 |
<bsbDropdownItemList> |
| 796 |
<bsbDropdownItem> |
| 797 |
<name>Normal_Looping</name> |
| 798 |
<value>0</value> |
| 799 |
<stringvalue/> |
| 800 |
</bsbDropdownItem> |
| 801 |
<bsbDropdownItem> |
| 802 |
<name>Fwd_Bwd_Looping</name> |
| 803 |
<value>1</value> |
| 804 |
<stringvalue/> |
| 805 |
</bsbDropdownItem> |
| 806 |
</bsbDropdownItemList> |
| 807 |
<selectedIndex>0</selectedIndex> |
| 808 |
<randomizable group="0">false</randomizable> |
| 809 |
</bsbObject> |
| 810 |
</bsbPanel> |
| 811 |
<bsbPresets> |
| 812 |
</bsbPresets> |