Debian Codegraph @

src/Examples/McCurdy Collection/SoundfilePlayback/loscil_loscil3.csd

raw
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 gkbeg1 invalue "LoopBeg1"
28 gkend1 invalue "LoopEnd1"
29 gkbeg2 invalue "LoopBeg2"
30 gkend2 invalue "LoopEnd2"
31 gkspeed invalue "Speed"
32 gkrelease invalue "Release"
33 gkgain invalue "Gain"
34 ;MENUS
35 gkmode1 invalue "SusLoop"
36 gkmode2 invalue "RelLoop"
37 gklosciltype invalue "OscType"
38 endif
39 endin
40
41 instr 1
42 Sfile_new strcpy "" ;INIT TO EMPTY STRING
43 Sfile invalue "_Browse"
44 Sfile_old strcpyk Sfile_new
45 Sfile_new strcpyk Sfile
46 kfile strcmpk Sfile_new, Sfile_old
47
48 kSwitch changed gkbeg1, gkend1, gkbeg2, gkend2, gkrelease, gkmode1, gkmode2, kfile ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
49 if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
50 reinit UPDATE ;BEGIN A REINITIALISATION PASS FROM LABEL 'UPDATE'
51 endif
52 UPDATE:
53 ifn ftgentmp 0, 0, 0, 1, Sfile,0,0,1 ;READ MONO OR STEREO AUDIO FILE CHANNEL 1
54 ifilelen = nsamp(ifn) ;LENGTH OF THE SAMPLE IN SAMPLES
55 ibeg1 = ifilelen * i(gkbeg1)
56 iend1 = ifilelen * i(gkend1)
57 ibeg2 = ifilelen * i(gkbeg2)
58 iend2 = ifilelen * i(gkend2)
59
60 aenv linsegr 0, (.01), 1, i(gkrelease), 0
61
62 asigloscil loscil aenv, gkspeed, ifn, 1, i(gkmode1), ibeg1, iend1, i(gkmode2), ibeg2, iend2 ;READ GEN01 FUNCTION TABLE USING loscil OPCODE
63 asigloscil3 loscil3 aenv, gkspeed, ifn, 1, i(gkmode1), ibeg1, iend1, i(gkmode2), ibeg2, iend2 ;READ GEN01 FUNCTION TABLE USING loscil3 OPCODE
64 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
65
66 if gklosciltype==0 then ;THE NEXT LINE OF CODE CONDITIONALLY EXECUTED IF gklosciltype==0 (GUI MENU)
67 asig = asigloscil ;ASSIGN THE AUDIO SIGNAL asigloscil TO THE AUDIO VARIABLE asig
68 elseif gklosciltype==1 then ;THE NEXT LINE OF CODE CONDITIONALLY EXECUTED IF gklosciltype==1 (GUI MENU)
69 asig = asigloscil3 ;ASSIGN THE AUDIO SIGNAL asigloscil3 TO THE AUDIO VARIABLE asig
70 endif
71 outs asig*gkgain, asig*gkgain
72 endin
73
74 instr 11 ;INIT
75 outvalue "Speed" , 1.0
76 outvalue "LoopBeg1" , .37
77 outvalue "LoopEnd1" , .42
78 outvalue "RelLoop" , 2
79 outvalue "LoopBeg2" , .5
80 outvalue "LoopEnd2" , .55
81 outvalue "Release" , 10.0
82 outvalue "Gain" , 0.7
83 outvalue "OscType" , 0
84 outvalue "RelLoop" , 2
85 outvalue "SusLoop" , 1
86 endin
87 </CsInstruments>
88 <CsScore>
89 i 10 0 3600 ;GUI
90 i 11 0 0.01 ;INIT
91 </CsScore>
92 </CsoundSynthesizer>
93 <bsbPanel>
94 <label>Widgets</label>
95 <objectName/>
96 <x>520</x>
97 <y>256</y>
98 <width>845</width>
99 <height>506</height>
100 <visible>true</visible>
101 <uuid/>
102 <bgcolor mode="nobackground">
103 <r>202</r>
104 <g>202</g>
105 <b>202</b>
106 </bgcolor>
107 <bsbObject version="2" type="BSBLabel">
108 <objectName/>
109 <x>2</x>
110 <y>2</y>
111 <width>512</width>
112 <height>500</height>
113 <uuid>{395a9956-93f5-441f-b0ef-3828f1b2da1c}</uuid>
114 <visible>true</visible>
115 <midichan>0</midichan>
116 <midicc>0</midicc>
117 <label>loscil, loscil3 </label>
118 <alignment>center</alignment>
119 <font>Liberation Sans</font>
120 <fontsize>18</fontsize>
121 <precision>3</precision>
122 <color>
123 <r>0</r>
124 <g>0</g>
125 <b>0</b>
126 </color>
127 <bgcolor mode="background">
128 <r>181</r>
129 <g>199</g>
130 <b>255</b>
131 </bgcolor>
132 <bordermode>border</bordermode>
133 <borderradius>5</borderradius>
134 <borderwidth>2</borderwidth>
135 </bsbObject>
136 <bsbObject version="2" type="BSBButton">
137 <objectName/>
138 <x>8</x>
139 <y>10</y>
140 <width>100</width>
141 <height>26</height>
142 <uuid>{0a44e1b8-fab4-40c8-8fa1-f1d1d743c45c}</uuid>
143 <visible>true</visible>
144 <midichan>0</midichan>
145 <midicc>0</midicc>
146 <type>event</type>
147 <pressedValue>1.00000000</pressedValue>
148 <stringvalue/>
149 <text> On / Off </text>
150 <image>/</image>
151 <eventLine>i 1 0 -1</eventLine>
152 <latch>true</latch>
153 <latched>false</latched>
154 </bsbObject>
155 <bsbObject version="2" type="BSBLabel">
156 <objectName/>
157 <x>516</x>
158 <y>2</y>
159 <width>323</width>
160 <height>500</height>
161 <uuid>{10e7ae72-c151-4c9d-9f49-e6b1585d8386}</uuid>
162 <visible>true</visible>
163 <midichan>0</midichan>
164 <midicc>0</midicc>
165 <label>loscil, loscil3 </label>
166 <alignment>center</alignment>
167 <font>Liberation Sans</font>
168 <fontsize>18</fontsize>
169 <precision>3</precision>
170 <color>
171 <r>0</r>
172 <g>0</g>
173 <b>0</b>
174 </color>
175 <bgcolor mode="background">
176 <r>181</r>
177 <g>199</g>
178 <b>255</b>
179 </bgcolor>
180 <bordermode>border</bordermode>
181 <borderradius>5</borderradius>
182 <borderwidth>2</borderwidth>
183 </bsbObject>
184 <bsbObject version="2" type="BSBLabel">
185 <objectName/>
186 <x>518</x>
187 <y>18</y>
188 <width>320</width>
189 <height>480</height>
190 <uuid>{97dfe67c-26c1-4af5-b858-e301d6886c2e}</uuid>
191 <visible>true</visible>
192 <midichan>0</midichan>
193 <midicc>0</midicc>
194 <label>-----------------------------------------------------------------------------
195 This example demonstrates the use of loscil/loscil3 to playback a sample stored in a GEN01 function table. When designing a sampler type orchestra based upon the architecture of traditional hardware samplers then loscil/loscil3 is the best opcode to choose for this task. Loscil/loscil3 is capable of reading base pitch and sustain and release looping information stored in the sound file itself or this information can be passed to the opcode using optional input arguments (as in this example). Loscil/loscil3 enters the first loop during the sustain portion of the note and enters the second loop during the release stage of the note. In order to implement a release stage an envelope with release mechanism (such as linsegr) must be used in the same instrument as the loscil/loscil3. The nature of the sustain and release loops is determined by the two 3-way mode switches. Details of these modes is given in the interface. Loscil3 operates in a similar fashion to loscil with the difference that it performs cubic interpolation between samples. This example allows the user to switch between loscil and loscil3 and here the difference in sound quality that they offer. Loscil3 is computationally slower but offers a higher quality of sound, particularly when a sound is transposed downwards.</label>
196 <alignment>left</alignment>
197 <font>Liberation Sans</font>
198 <fontsize>14</fontsize>
199 <precision>3</precision>
200 <color>
201 <r>0</r>
202 <g>0</g>
203 <b>0</b>
204 </color>
205 <bgcolor mode="nobackground">
206 <r>255</r>
207 <g>255</g>
208 <b>255</b>
209 </bgcolor>
210 <bordermode>noborder</bordermode>
211 <borderradius>1</borderradius>
212 <borderwidth>1</borderwidth>
213 </bsbObject>
214 <bsbObject version="2" type="BSBLabel">
215 <objectName/>
216 <x>8</x>
217 <y>157</y>
218 <width>150</width>
219 <height>30</height>
220 <uuid>{2c897206-0dbc-47b5-ba68-915d83839ab6}</uuid>
221 <visible>true</visible>
222 <midichan>0</midichan>
223 <midicc>0</midicc>
224 <label>Loop Beginning 2 (i-rate)</label>
225 <alignment>left</alignment>
226 <font>Liberation Sans</font>
227 <fontsize>10</fontsize>
228 <precision>3</precision>
229 <color>
230 <r>0</r>
231 <g>0</g>
232 <b>0</b>
233 </color>
234 <bgcolor mode="nobackground">
235 <r>255</r>
236 <g>255</g>
237 <b>255</b>
238 </bgcolor>
239 <bordermode>noborder</bordermode>
240 <borderradius>1</borderradius>
241 <borderwidth>1</borderwidth>
242 </bsbObject>
243 <bsbObject version="2" type="BSBHSlider">
244 <objectName>LoopBeg2</objectName>
245 <x>8</x>
246 <y>140</y>
247 <width>500</width>
248 <height>27</height>
249 <uuid>{304e78d8-b320-453a-b28f-86b0ca872b86}</uuid>
250 <visible>true</visible>
251 <midichan>0</midichan>
252 <midicc>0</midicc>
253 <minimum>0.00000000</minimum>
254 <maximum>1.00000000</maximum>
255 <value>0.50000000</value>
256 <mode>lin</mode>
257 <mouseControl act="jump">continuous</mouseControl>
258 <resolution>-1.00000000</resolution>
259 <randomizable group="0">false</randomizable>
260 </bsbObject>
261 <bsbObject version="2" type="BSBDisplay">
262 <objectName>LoopBeg2</objectName>
263 <x>448</x>
264 <y>157</y>
265 <width>60</width>
266 <height>30</height>
267 <uuid>{94c7e961-7981-4d21-942f-80bcc647daf5}</uuid>
268 <visible>true</visible>
269 <midichan>0</midichan>
270 <midicc>0</midicc>
271 <label>0.500</label>
272 <alignment>right</alignment>
273 <font>Liberation Sans</font>
274 <fontsize>9</fontsize>
275 <precision>3</precision>
276 <color>
277 <r>0</r>
278 <g>0</g>
279 <b>0</b>
280 </color>
281 <bgcolor mode="nobackground">
282 <r>255</r>
283 <g>255</g>
284 <b>255</b>
285 </bgcolor>
286 <bordermode>noborder</bordermode>
287 <borderradius>1</borderradius>
288 <borderwidth>1</borderwidth>
289 </bsbObject>
290 <bsbObject version="2" type="BSBLabel">
291 <objectName/>
292 <x>8</x>
293 <y>204</y>
294 <width>150</width>
295 <height>30</height>
296 <uuid>{0609a258-bba4-43bb-849c-b8709a47f1ba}</uuid>
297 <visible>true</visible>
298 <midichan>0</midichan>
299 <midicc>0</midicc>
300 <label>Loop End 2 (i-rate)</label>
301 <alignment>left</alignment>
302 <font>Liberation Sans</font>
303 <fontsize>10</fontsize>
304 <precision>3</precision>
305 <color>
306 <r>0</r>
307 <g>0</g>
308 <b>0</b>
309 </color>
310 <bgcolor mode="nobackground">
311 <r>255</r>
312 <g>255</g>
313 <b>255</b>
314 </bgcolor>
315 <bordermode>noborder</bordermode>
316 <borderradius>1</borderradius>
317 <borderwidth>1</borderwidth>
318 </bsbObject>
319 <bsbObject version="2" type="BSBHSlider">
320 <objectName>LoopEnd2</objectName>
321 <x>8</x>
322 <y>187</y>
323 <width>500</width>
324 <height>27</height>
325 <uuid>{49415594-5e61-46ce-b9f8-3adcf2b957c5}</uuid>
326 <visible>true</visible>
327 <midichan>0</midichan>
328 <midicc>0</midicc>
329 <minimum>0.00000000</minimum>
330 <maximum>1.00000000</maximum>
331 <value>0.55000001</value>
332 <mode>lin</mode>
333 <mouseControl act="jump">continuous</mouseControl>
334 <resolution>-1.00000000</resolution>
335 <randomizable group="0">false</randomizable>
336 </bsbObject>
337 <bsbObject version="2" type="BSBDisplay">
338 <objectName>LoopEnd2</objectName>
339 <x>448</x>
340 <y>204</y>
341 <width>60</width>
342 <height>30</height>
343 <uuid>{6a4ff02e-3d5e-4143-855e-95b4c2614157}</uuid>
344 <visible>true</visible>
345 <midichan>0</midichan>
346 <midicc>0</midicc>
347 <label>0.550</label>
348 <alignment>right</alignment>
349 <font>Liberation Sans</font>
350 <fontsize>9</fontsize>
351 <precision>3</precision>
352 <color>
353 <r>0</r>
354 <g>0</g>
355 <b>0</b>
356 </color>
357 <bgcolor mode="nobackground">
358 <r>255</r>
359 <g>255</g>
360 <b>255</b>
361 </bgcolor>
362 <bordermode>noborder</bordermode>
363 <borderradius>1</borderradius>
364 <borderwidth>1</borderwidth>
365 </bsbObject>
366 <bsbObject version="2" type="BSBLabel">
367 <objectName/>
368 <x>8</x>
369 <y>63</y>
370 <width>150</width>
371 <height>30</height>
372 <uuid>{feb05e56-b1b1-4494-8c71-ce9e40994fb9}</uuid>
373 <visible>true</visible>
374 <midichan>0</midichan>
375 <midicc>0</midicc>
376 <label>Loop Beginning 1 (i-rate)</label>
377 <alignment>left</alignment>
378 <font>Liberation Sans</font>
379 <fontsize>10</fontsize>
380 <precision>3</precision>
381 <color>
382 <r>0</r>
383 <g>0</g>
384 <b>0</b>
385 </color>
386 <bgcolor mode="nobackground">
387 <r>255</r>
388 <g>255</g>
389 <b>255</b>
390 </bgcolor>
391 <bordermode>noborder</bordermode>
392 <borderradius>1</borderradius>
393 <borderwidth>1</borderwidth>
394 </bsbObject>
395 <bsbObject version="2" type="BSBHSlider">
396 <objectName>LoopBeg1</objectName>
397 <x>8</x>
398 <y>46</y>
399 <width>500</width>
400 <height>27</height>
401 <uuid>{88f53f0d-44d4-4847-8885-c15e934a8109}</uuid>
402 <visible>true</visible>
403 <midichan>0</midichan>
404 <midicc>0</midicc>
405 <minimum>0.00000000</minimum>
406 <maximum>1.00000000</maximum>
407 <value>0.37000000</value>
408 <mode>lin</mode>
409 <mouseControl act="jump">continuous</mouseControl>
410 <resolution>-1.00000000</resolution>
411 <randomizable group="0">false</randomizable>
412 </bsbObject>
413 <bsbObject version="2" type="BSBDisplay">
414 <objectName>LoopBeg1</objectName>
415 <x>448</x>
416 <y>63</y>
417 <width>60</width>
418 <height>30</height>
419 <uuid>{dd0574f3-9876-4c0e-b747-f61dee837c94}</uuid>
420 <visible>true</visible>
421 <midichan>0</midichan>
422 <midicc>0</midicc>
423 <label>0.370</label>
424 <alignment>right</alignment>
425 <font>Liberation Sans</font>
426 <fontsize>9</fontsize>
427 <precision>3</precision>
428 <color>
429 <r>0</r>
430 <g>0</g>
431 <b>0</b>
432 </color>
433 <bgcolor mode="nobackground">
434 <r>255</r>
435 <g>255</g>
436 <b>255</b>
437 </bgcolor>
438 <bordermode>noborder</bordermode>
439 <borderradius>1</borderradius>
440 <borderwidth>1</borderwidth>
441 </bsbObject>
442 <bsbObject version="2" type="BSBLabel">
443 <objectName/>
444 <x>8</x>
445 <y>110</y>
446 <width>150</width>
447 <height>30</height>
448 <uuid>{bf3e8a57-4a8a-4a9d-b67d-9521542ae93d}</uuid>
449 <visible>true</visible>
450 <midichan>0</midichan>
451 <midicc>0</midicc>
452 <label>Loop End 1 (i-rate)</label>
453 <alignment>left</alignment>
454 <font>Liberation Sans</font>
455 <fontsize>10</fontsize>
456 <precision>3</precision>
457 <color>
458 <r>0</r>
459 <g>0</g>
460 <b>0</b>
461 </color>
462 <bgcolor mode="nobackground">
463 <r>255</r>
464 <g>255</g>
465 <b>255</b>
466 </bgcolor>
467 <bordermode>noborder</bordermode>
468 <borderradius>1</borderradius>
469 <borderwidth>1</borderwidth>
470 </bsbObject>
471 <bsbObject version="2" type="BSBHSlider">
472 <objectName>LoopEnd1</objectName>
473 <x>8</x>
474 <y>93</y>
475 <width>500</width>
476 <height>27</height>
477 <uuid>{8ff8f945-02c5-4ac9-a2e7-f20a8a28a2a5}</uuid>
478 <visible>true</visible>
479 <midichan>0</midichan>
480 <midicc>0</midicc>
481 <minimum>0.00000000</minimum>
482 <maximum>1.00000000</maximum>
483 <value>0.41999999</value>
484 <mode>lin</mode>
485 <mouseControl act="jump">continuous</mouseControl>
486 <resolution>-1.00000000</resolution>
487 <randomizable group="0">false</randomizable>
488 </bsbObject>
489 <bsbObject version="2" type="BSBDisplay">
490 <objectName>LoopEnd1</objectName>
491 <x>448</x>
492 <y>110</y>
493 <width>60</width>
494 <height>30</height>
495 <uuid>{4b684f89-629e-4f7a-974d-7dd7165f85a7}</uuid>
496 <visible>true</visible>
497 <midichan>0</midichan>
498 <midicc>0</midicc>
499 <label>0.420</label>
500 <alignment>right</alignment>
501 <font>Liberation Sans</font>
502 <fontsize>9</fontsize>
503 <precision>3</precision>
504 <color>
505 <r>0</r>
506 <g>0</g>
507 <b>0</b>
508 </color>
509 <bgcolor mode="nobackground">
510 <r>255</r>
511 <g>255</g>
512 <b>255</b>
513 </bgcolor>
514 <bordermode>noborder</bordermode>
515 <borderradius>1</borderradius>
516 <borderwidth>1</borderwidth>
517 </bsbObject>
518 <bsbObject version="2" type="BSBLineEdit">
519 <objectName>_Browse</objectName>
520 <x>180</x>
521 <y>459</y>
522 <width>326</width>
523 <height>28</height>
524 <uuid>{15a8ec14-710f-43e6-be9e-f5dc8c8786cb}</uuid>
525 <visible>true</visible>
526 <midichan>0</midichan>
527 <midicc>0</midicc>
528 <label>808loopMono.wav</label>
529 <alignment>left</alignment>
530 <font>Liberation Sans</font>
531 <fontsize>10</fontsize>
532 <precision>3</precision>
533 <color>
534 <r>0</r>
535 <g>0</g>
536 <b>0</b>
537 </color>
538 <bgcolor mode="nobackground">
539 <r>229</r>
540 <g>229</g>
541 <b>229</b>
542 </bgcolor>
543 <background>nobackground</background>
544 </bsbObject>
545 <bsbObject version="2" type="BSBLabel">
546 <objectName/>
547 <x>8</x>
548 <y>298</y>
549 <width>100</width>
550 <height>30</height>
551 <uuid>{e13ea2b5-66c3-4eae-9c6c-91d9e035400b}</uuid>
552 <visible>true</visible>
553 <midichan>0</midichan>
554 <midicc>0</midicc>
555 <label>Release Time</label>
556 <alignment>left</alignment>
557 <font>Liberation Sans</font>
558 <fontsize>10</fontsize>
559 <precision>3</precision>
560 <color>
561 <r>0</r>
562 <g>0</g>
563 <b>0</b>
564 </color>
565 <bgcolor mode="nobackground">
566 <r>255</r>
567 <g>255</g>
568 <b>255</b>
569 </bgcolor>
570 <bordermode>noborder</bordermode>
571 <borderradius>1</borderradius>
572 <borderwidth>1</borderwidth>
573 </bsbObject>
574 <bsbObject version="2" type="BSBHSlider">
575 <objectName>Release</objectName>
576 <x>8</x>
577 <y>281</y>
578 <width>500</width>
579 <height>27</height>
580 <uuid>{0460f13f-efd6-4403-bc20-c0d21302e628}</uuid>
581 <visible>true</visible>
582 <midichan>0</midichan>
583 <midicc>0</midicc>
584 <minimum>0.00100000</minimum>
585 <maximum>15.00000000</maximum>
586 <value>10.00000000</value>
587 <mode>lin</mode>
588 <mouseControl act="jump">continuous</mouseControl>
589 <resolution>-1.00000000</resolution>
590 <randomizable group="0">false</randomizable>
591 </bsbObject>
592 <bsbObject version="2" type="BSBDisplay">
593 <objectName>Release</objectName>
594 <x>448</x>
595 <y>298</y>
596 <width>60</width>
597 <height>30</height>
598 <uuid>{7d2a46b9-3d13-4fc4-8081-50dbb35f8ff4}</uuid>
599 <visible>true</visible>
600 <midichan>0</midichan>
601 <midicc>0</midicc>
602 <label>10.000</label>
603 <alignment>right</alignment>
604 <font>Liberation Sans</font>
605 <fontsize>9</fontsize>
606 <precision>3</precision>
607 <color>
608 <r>0</r>
609 <g>0</g>
610 <b>0</b>
611 </color>
612 <bgcolor mode="nobackground">
613 <r>255</r>
614 <g>255</g>
615 <b>255</b>
616 </bgcolor>
617 <bordermode>noborder</bordermode>
618 <borderradius>1</borderradius>
619 <borderwidth>1</borderwidth>
620 </bsbObject>
621 <bsbObject version="2" type="BSBLabel">
622 <objectName/>
623 <x>8</x>
624 <y>251</y>
625 <width>150</width>
626 <height>30</height>
627 <uuid>{a842add9-35e8-4567-92ab-8061be1c10f7}</uuid>
628 <visible>true</visible>
629 <midichan>0</midichan>
630 <midicc>0</midicc>
631 <label>Speed</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>Speed</objectName>
652 <x>8</x>
653 <y>234</y>
654 <width>500</width>
655 <height>27</height>
656 <uuid>{67d5f50b-6ff1-43e9-90bc-2a4968903ba7}</uuid>
657 <visible>true</visible>
658 <midichan>0</midichan>
659 <midicc>0</midicc>
660 <minimum>0.00000000</minimum>
661 <maximum>2.00000000</maximum>
662 <value>1.00000000</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>Speed</objectName>
670 <x>448</x>
671 <y>251</y>
672 <width>60</width>
673 <height>30</height>
674 <uuid>{8caaf76d-57ae-4684-8b3a-76e073bfd7d0}</uuid>
675 <visible>true</visible>
676 <midichan>0</midichan>
677 <midicc>0</midicc>
678 <label>1.000</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>8</x>
700 <y>438</y>
701 <width>100</width>
702 <height>30</height>
703 <uuid>{8de3ea13-9050-4b9d-8b34-9fec61fe4e48}</uuid>
704 <visible>true</visible>
705 <midichan>0</midichan>
706 <midicc>0</midicc>
707 <label>Input :</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="BSBButton">
727 <objectName>_Browse</objectName>
728 <x>8</x>
729 <y>459</y>
730 <width>170</width>
731 <height>30</height>
732 <uuid>{8c630a69-dc58-46a0-a696-60bc59cec1d6}</uuid>
733 <visible>true</visible>
734 <midichan>0</midichan>
735 <midicc>0</midicc>
736 <type>value</type>
737 <pressedValue>1.00000000</pressedValue>
738 <stringvalue>808loopMono.wav</stringvalue>
739 <text>Browse Audio File</text>
740 <image>/</image>
741 <eventLine/>
742 <latch>false</latch>
743 <latched>false</latched>
744 </bsbObject>
745 <bsbObject version="2" type="BSBLabel">
746 <objectName/>
747 <x>8</x>
748 <y>409</y>
749 <width>100</width>
750 <height>30</height>
751 <uuid>{ed7ec62d-067d-496b-9d76-51fc0bbe0bee}</uuid>
752 <visible>true</visible>
753 <midichan>0</midichan>
754 <midicc>0</midicc>
755 <label>Gain</label>
756 <alignment>left</alignment>
757 <font>Liberation Sans</font>
758 <fontsize>10</fontsize>
759 <precision>3</precision>
760 <color>
761 <r>0</r>
762 <g>0</g>
763 <b>0</b>
764 </color>
765 <bgcolor mode="nobackground">
766 <r>255</r>
767 <g>255</g>
768 <b>255</b>
769 </bgcolor>
770 <bordermode>noborder</bordermode>
771 <borderradius>1</borderradius>
772 <borderwidth>1</borderwidth>
773 </bsbObject>
774 <bsbObject version="2" type="BSBHSlider">
775 <objectName>Gain</objectName>
776 <x>8</x>
777 <y>392</y>
778 <width>500</width>
779 <height>27</height>
780 <uuid>{7204111b-1356-4951-96a9-0dd786b34c6b}</uuid>
781 <visible>true</visible>
782 <midichan>0</midichan>
783 <midicc>0</midicc>
784 <minimum>0.00000000</minimum>
785 <maximum>1.00000000</maximum>
786 <value>0.69999999</value>
787 <mode>lin</mode>
788 <mouseControl act="jump">continuous</mouseControl>
789 <resolution>-1.00000000</resolution>
790 <randomizable group="0">false</randomizable>
791 </bsbObject>
792 <bsbObject version="2" type="BSBDisplay">
793 <objectName>Gain</objectName>
794 <x>448</x>
795 <y>409</y>
796 <width>60</width>
797 <height>30</height>
798 <uuid>{0f7069a0-4c67-4cd1-8c7f-a6dabdc90c23}</uuid>
799 <visible>true</visible>
800 <midichan>0</midichan>
801 <midicc>0</midicc>
802 <label>0.700</label>
803 <alignment>right</alignment>
804 <font>Liberation Sans</font>
805 <fontsize>9</fontsize>
806 <precision>3</precision>
807 <color>
808 <r>0</r>
809 <g>0</g>
810 <b>0</b>
811 </color>
812 <bgcolor mode="nobackground">
813 <r>255</r>
814 <g>255</g>
815 <b>255</b>
816 </bgcolor>
817 <bordermode>noborder</bordermode>
818 <borderradius>1</borderradius>
819 <borderwidth>1</borderwidth>
820 </bsbObject>
821 <bsbObject version="2" type="BSBLabel">
822 <objectName/>
823 <x>180</x>
824 <y>327</y>
825 <width>100</width>
826 <height>30</height>
827 <uuid>{b57be1dd-771a-4401-af3f-c41b69f33392}</uuid>
828 <visible>true</visible>
829 <midichan>0</midichan>
830 <midicc>0</midicc>
831 <label>Release Loop :</label>
832 <alignment>left</alignment>
833 <font>Liberation Sans</font>
834 <fontsize>10</fontsize>
835 <precision>3</precision>
836 <color>
837 <r>0</r>
838 <g>0</g>
839 <b>0</b>
840 </color>
841 <bgcolor mode="nobackground">
842 <r>255</r>
843 <g>255</g>
844 <b>255</b>
845 </bgcolor>
846 <bordermode>noborder</bordermode>
847 <borderradius>1</borderradius>
848 <borderwidth>1</borderwidth>
849 </bsbObject>
850 <bsbObject version="2" type="BSBDropdown">
851 <objectName>RelLoop</objectName>
852 <x>180</x>
853 <y>346</y>
854 <width>150</width>
855 <height>30</height>
856 <uuid>{5f758ab2-3d96-4ae6-b147-e6fa03240962}</uuid>
857 <visible>true</visible>
858 <midichan>0</midichan>
859 <midicc>0</midicc>
860 <bsbDropdownItemList>
861 <bsbDropdownItem>
862 <name>No Looping</name>
863 <value>0</value>
864 <stringvalue/>
865 </bsbDropdownItem>
866 <bsbDropdownItem>
867 <name>Fwd Looping</name>
868 <value>1</value>
869 <stringvalue/>
870 </bsbDropdownItem>
871 <bsbDropdownItem>
872 <name>Fwd-Bwd Looping</name>
873 <value>2</value>
874 <stringvalue/>
875 </bsbDropdownItem>
876 </bsbDropdownItemList>
877 <selectedIndex>2</selectedIndex>
878 <randomizable group="0">false</randomizable>
879 </bsbObject>
880 <bsbObject version="2" type="BSBLabel">
881 <objectName/>
882 <x>343</x>
883 <y>327</y>
884 <width>100</width>
885 <height>30</height>
886 <uuid>{15137bc2-52c6-4983-82ea-a224c3576267}</uuid>
887 <visible>true</visible>
888 <midichan>0</midichan>
889 <midicc>0</midicc>
890 <label>Oscil Type :</label>
891 <alignment>left</alignment>
892 <font>Liberation Sans</font>
893 <fontsize>10</fontsize>
894 <precision>3</precision>
895 <color>
896 <r>0</r>
897 <g>0</g>
898 <b>0</b>
899 </color>
900 <bgcolor mode="nobackground">
901 <r>255</r>
902 <g>255</g>
903 <b>255</b>
904 </bgcolor>
905 <bordermode>noborder</bordermode>
906 <borderradius>1</borderradius>
907 <borderwidth>1</borderwidth>
908 </bsbObject>
909 <bsbObject version="2" type="BSBDropdown">
910 <objectName>OscType</objectName>
911 <x>343</x>
912 <y>346</y>
913 <width>150</width>
914 <height>30</height>
915 <uuid>{e9e2c36c-6e52-43fb-9475-8791a4778423}</uuid>
916 <visible>true</visible>
917 <midichan>0</midichan>
918 <midicc>0</midicc>
919 <bsbDropdownItemList>
920 <bsbDropdownItem>
921 <name>loscil</name>
922 <value>0</value>
923 <stringvalue/>
924 </bsbDropdownItem>
925 <bsbDropdownItem>
926 <name>loscil3</name>
927 <value>1</value>
928 <stringvalue/>
929 </bsbDropdownItem>
930 </bsbDropdownItemList>
931 <selectedIndex>0</selectedIndex>
932 <randomizable group="0">false</randomizable>
933 </bsbObject>
934 <bsbObject version="2" type="BSBLabel">
935 <objectName/>
936 <x>16</x>
937 <y>327</y>
938 <width>100</width>
939 <height>30</height>
940 <uuid>{fd7776d2-44a3-4a50-9845-38865d795343}</uuid>
941 <visible>true</visible>
942 <midichan>0</midichan>
943 <midicc>0</midicc>
944 <label>Sustain Loop :</label>
945 <alignment>left</alignment>
946 <font>Liberation Sans</font>
947 <fontsize>10</fontsize>
948 <precision>3</precision>
949 <color>
950 <r>0</r>
951 <g>0</g>
952 <b>0</b>
953 </color>
954 <bgcolor mode="nobackground">
955 <r>255</r>
956 <g>255</g>
957 <b>255</b>
958 </bgcolor>
959 <bordermode>noborder</bordermode>
960 <borderradius>1</borderradius>
961 <borderwidth>1</borderwidth>
962 </bsbObject>
963 <bsbObject version="2" type="BSBDropdown">
964 <objectName>SusLoop</objectName>
965 <x>16</x>
966 <y>346</y>
967 <width>150</width>
968 <height>30</height>
969 <uuid>{fb5cadd5-8ae2-48a2-beab-2093685702a0}</uuid>
970 <visible>true</visible>
971 <midichan>0</midichan>
972 <midicc>0</midicc>
973 <bsbDropdownItemList>
974 <bsbDropdownItem>
975 <name>No Looping</name>
976 <value>0</value>
977 <stringvalue/>
978 </bsbDropdownItem>
979 <bsbDropdownItem>
980 <name>Fwd Looping</name>
981 <value>1</value>
982 <stringvalue/>
983 </bsbDropdownItem>
984 <bsbDropdownItem>
985 <name>Fwd-Bwd Looping</name>
986 <value>2</value>
987 <stringvalue/>
988 </bsbDropdownItem>
989 </bsbDropdownItemList>
990 <selectedIndex>1</selectedIndex>
991 <randomizable group="0">false</randomizable>
992 </bsbObject>
993 </bsbPanel>
994 <bsbPresets>
995 </bsbPresets>