Debian Codegraph @

src/Examples/CsoundQt/Live Collection/Live_Granular.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 -odac
4 </CsOptions>
5 <CsInstruments>
6
7 /*
8
9 LIVE GRANULAR SYNTHESIS
10
11 */
12
13 ;example for CsoundQt
14 ;written by joachim heintz
15 ;jan 2010 / june 2011
16 ;please send bug reports and suggestions
17 ;to jh at joachimheintz.de
18
19 sr = 44100
20 ksmps = 32
21 nchnls = 1
22 0dbfs = 1
23
24 giWin1 ftgen 1, 0, 4096, 20, 1, 1 ; Hamming
25 giWin2 ftgen 2, 0, 4096, 20, 2, 1 ; von Hann
26 giWin3 ftgen 3, 0, 4096, 20, 3, 1 ; Triangle (Bartlett)
27 giWin4 ftgen 4, 0, 4096, 20, 4, 1 ; Blackman (3-term)
28 giWin5 ftgen 5, 0, 4096, 20, 5, 1 ; Blackman-Harris (4-term)
29 giWin6 ftgen 6, 0, 4096, 20, 6, 1 ; Gauss
30 giWin7 ftgen 7, 0, 4096, 20, 7, 1, 6 ; Kaiser
31 giWin8 ftgen 8, 0, 4096, 20, 8, 1 ; Rectangle
32 giWin9 ftgen 9, 0, 4096, 20, 9, 1 ; Sync
33 giLiveBuf ftgen 0, 0, 16384, 2, 0 ; buffer for writing and reading live input
34 giDisttab ftgen 0, 0, 32768, 7, 0, 32768, 1 ; for kdistribution
35 giCosine ftgen 0, 0, 8193, 9, 1, 1, 90 ; cosine
36 giMaxGrLen = 0.1 ; maximaum grain length in seconds
37
38 opcode PartikkelSimpB, a, iakkkkkkkiii
39 /* Simplified Version of the partikkel opcode, with a time pointer input.
40 ifiltab: function table to read
41 apnter: pointer in the function table (0-1)
42 kgrainamp: multiplier of the grain amplitude (the overall amplitude depends also on grainrate and grainsize)
43 kgrainrate: number of grains per seconds
44 kgrainsize: grain duration in ms
45 kdist: 0 = periodic (synchronous), 1 = scattered (asynchronous)
46 kcent: transposition in cent
47 kposrand: random deviation (offset) of the pointer in ms
48 kcentrand: random transposition in cents (up and down)
49 icosintab: function table with cosine (e.g. giCosine ftgen 0, 0, 8193, 9, 1, 1, 90)
50 idisttab: function table with distribution (e.g. giDisttab ftgen 0, 0, 32768, 7, 0, 32768, 1)
51 iwin: function table with window shape (e.g. giWin ftgen 0, 0, 4096, 20, 9, 1)
52 */
53
54 ifiltab, apnter, kgrainamp, kgrainrate, kgrainsize, kdist, kcent, kposrand, kcentrand, icosintab, idisttab, iwin xin
55
56 /*amplitude*/
57 kamp = kgrainamp * 0dbfs
58 /*transposition*/
59 kcentrand rand kcentrand; random transposition
60 iorig = 1 / (ftlen(ifiltab)/sr); original pitch
61 kwavfreq = iorig * cent(kcent + kcentrand)
62 /*pointer*/
63 kposrand = (kposrand/1000) * (sr/ftlen(ifiltab)); random offset converted from ms to phase (0-1)
64 arndpos linrand kposrand; random offset in phase values
65 asamplepos = apnter + arndpos
66 /* other parameters */
67 imax_grains = 1000; maximum number of grains per k-period
68 async = 0; no sync input
69 awavfm = 0; no audio input for fm
70
71 aout partikkel kgrainrate, kdist, idisttab, async, 1, iwin, \
72 -1, -1, 0, 0, kgrainsize, kamp, -1, \
73 kwavfreq, 0, -1, -1, awavfm, \
74 -1, -1, icosintab, kgrainrate, 1, \
75 1, -1, 0, ifiltab, ifiltab, ifiltab, ifiltab, \
76 -1, asamplepos, asamplepos, asamplepos, asamplepos, \
77 1, 1, 1, 1, imax_grains
78 xout aout
79 endop
80
81 opcode ShowLED_a, 0, Sakkk
82 ;shows an audiosignal in an outvalue channel, in dB or raw amplitudes
83 ;Soutchan: string as name of the outvalue channel
84 ;asig: audio signal to be shown
85 ;kdispfreq: refresh frequency of the display (Hz)
86 ;kdb: 1 = show as db, 0 = show as raw amplitudes (both in the range 0-1)
87 ;kdbrange: if idb=1: which dB range is shown
88 Soutchan, asig, ktrig, kdb, kdbrange xin
89 kdispval max_k asig, ktrig, 1
90 if kdb != 0 then
91 kdb = dbfsamp(kdispval)
92 kval = (kdbrange + kdb) / kdbrange
93 else
94 kval = kdispval
95 endif
96 if ktrig == 1 then
97 outvalue Soutchan, kval
98 endif
99 endop
100
101 opcode ShowOver_a, 0, Sakk
102 ;shows if asig has been larger than 1 and stays khold seconds
103 ;Soutchan: string as name of the outvalue channel
104 ;kdispfreq: refresh frequency of the display (Hz)
105 Soutchan, asig, ktrig, khold xin
106 kon init 0
107 ktim times
108 kstart init 0
109 kend init 0
110 khold = (khold < .01 ? .01 : khold); avoiding too short hold times
111 kmax max_k asig, ktrig, 1
112 if kon == 0 && kmax > 1 && ktrig == 1 then
113 kstart = ktim
114 kend = kstart + khold
115 outvalue Soutchan, kmax
116 kon = 1
117 endif
118 if kon == 1 && ktim > kend && ktrig == 1 then
119 outvalue Soutchan, 0
120 kon = 0
121 endif
122 endop
123
124
125 instr 1; master instrument
126 ;;get live input and write to buffer (ftable) giLiveBuf
127 aLiveInPre inch 1
128 kingaindb invalue "ingaindb"
129 kLiveInGain = ampdb(kingaindb)
130 aLiveInPost = aLiveInPre * kLiveInGain
131 iphasfreq = 1 / (ftlen(giLiveBuf) / sr); phasor frequency
132 kfreeze invalue "freeze"; if checked, freeze writing (and reading) of the buffer
133 kphasfreq = (kfreeze == 1 ? 0 : iphasfreq)
134 awritpnt phasor kphasfreq
135 tablew aLiveInPost, awritpnt, giLiveBuf, 1, 0, 1
136
137 ;;create an instrument for a readpointer which is giMaxGrLen seconds later than the writepointer
138 event_i "i", 2, giMaxGrLen, -1, iphasfreq
139
140 ;;show live input
141 gkTrigDisp metro 10
142 gkshowdb invalue "showdb"
143 gkdbrange invalue "dbrange"
144 ShowLED_a "LiveInPre", aLiveInPre, gkTrigDisp, gkshowdb, gkdbrange
145 ShowOver_a "LiveInPreOver", aLiveInPre, gkTrigDisp, 2
146 ShowLED_a "LiveInPost", aLiveInPost, gkTrigDisp, gkshowdb, gkdbrange
147 ShowOver_a "LiveInPostOver", aLiveInPost, gkTrigDisp, 2
148
149 ;;select shape of the grain envelope and show it
150 kwinshape invalue "winshape"; 0=Hamming, 1=von Hann, 2=Bartlett, 3=Triangle, 4=Blackman-Harris,
151 ;5=Gauss, 6=Kaiser, 7=Rectangle, 8=Sync
152 event_i "i", 10, 0, -1, i(kwinshape)+1
153 outvalue "ftab", -(kwinshape+1); graph widget shows selected window shape
154
155 ;;triggers i 10 at the beginning and whenever the grain envelope has changed
156 kchanged changed kwinshape; sends 1 if the windowshape has changed
157 if kchanged == 1 then
158 event "i", -10, 0, -1; turn off previous instance of i10
159 event "i", 10, 0, -1, kwinshape+1; turn on new instance
160 endif
161 endin
162
163 instr 2; creates the pointer for reading the buffer giLiveBuf
164 iphasfreq = p4; usual phasor frequency (calculated and sent by instr 1)
165 kfreeze invalue "freeze"; if checked, freeze reading of the buffer
166 kphasfreq = (kfreeze == 1 ? 0 : iphasfreq); otherwise use kphasfreq
167 areadpnt phasor kphasfreq
168 chnset areadpnt, "readpnt"; sends areadpnt to the channel 'readpnt'
169 endin
170
171 instr 10; performs granular synthesis
172 ;;parameters for the partikkel opcode
173 iwin = p4; shape of the grain window
174 ifiltab = giLiveBuf; buffer to read
175 apnt init 0; initializing the read pointer
176 kgrainrate invalue "grainrate"; grains per second
177 kgrainsize invalue "grainsize"; length of the grains in ms
178 kcent invalue "transp"; pitch transposition in cent
179 kgraindb invalue "outgaindb"; volume
180 kgrainamp = ampdb(kgraindb)
181 kdist invalue "dist"; distribution (0=periodic, 1=scattered)
182 kposrand invalue "posrand"; time position randomness (offset) of the read pointer in ms
183 kcentrand invalue "centrand"; transposition randomness in cents (up and down)
184 icosintab = giCosine; ftable with a cosine waveform
185 idisttab = giDisttab; ftable with values for scattered distribution
186 apnt chnget "readpnt"; pointer generated
187
188 ;;granular synthesis
189 agrain PartikkelSimpB ifiltab, apnt, kgrainamp, kgrainrate, kgrainsize,\
190 kdist, kcent, kposrand, kcentrand, icosintab, idisttab, iwin
191 out agrain
192
193 ;;show output
194 ShowLED_a "out", agrain, gkTrigDisp, gkshowdb, gkdbrange
195 ShowOver_a "outover", agrain, gkTrigDisp, 2
196 endin
197
198
199 </CsInstruments>
200 <CsScore>
201 i 1 0 3600
202 e
203 </CsScore>
204 </CsoundSynthesizer>
205
206
207
208
209
210
211
212
213
214
215 <bsbPanel>
216 <label>Widgets</label>
217 <objectName/>
218 <x>146</x>
219 <y>65</y>
220 <width>903</width>
221 <height>657</height>
222 <visible>true</visible>
223 <uuid/>
224 <bgcolor mode="background">
225 <r>236</r>
226 <g>236</g>
227 <b>236</b>
228 </bgcolor>
229 <bsbObject version="2" type="BSBLabel">
230 <objectName/>
231 <x>9</x>
232 <y>9</y>
233 <width>886</width>
234 <height>44</height>
235 <uuid>{2a56f609-3f3a-49a2-8ef2-04e1041ed49f}</uuid>
236 <visible>true</visible>
237 <midichan>0</midichan>
238 <midicc>-3</midicc>
239 <description/>
240 <label>LIVE GRANULAR SYNTHESIS</label>
241 <alignment>center</alignment>
242 <valignment>top</valignment>
243 <font>Lucida Grande</font>
244 <fontsize>26</fontsize>
245 <precision>3</precision>
246 <color>
247 <r>0</r>
248 <g>0</g>
249 <b>0</b>
250 </color>
251 <bgcolor mode="nobackground">
252 <r>255</r>
253 <g>255</g>
254 <b>255</b>
255 </bgcolor>
256 <bordermode>noborder</bordermode>
257 <borderradius>1</borderradius>
258 <borderwidth>0</borderwidth>
259 </bsbObject>
260 <bsbObject version="2" type="BSBLabel">
261 <objectName/>
262 <x>10</x>
263 <y>58</y>
264 <width>886</width>
265 <height>66</height>
266 <uuid>{49b99e1e-2b4b-4aef-b413-95171c64b350}</uuid>
267 <visible>true</visible>
268 <midichan>0</midichan>
269 <midicc>-3</midicc>
270 <description/>
271 <label>Granulates a (mono) input stream, with optional freezing at a certain point.
272 If you want to reduce the delay of the granulated output, set giMaxGrLen in the orc header to a lower value (the delay also depends on your -B and -b size).
273 </label>
274 <alignment>left</alignment>
275 <valignment>top</valignment>
276 <font>Lucida Grande</font>
277 <fontsize>14</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>0</borderwidth>
292 </bsbObject>
293 <bsbObject version="2" type="BSBLabel">
294 <objectName/>
295 <x>11</x>
296 <y>132</y>
297 <width>484</width>
298 <height>148</height>
299 <uuid>{e39c91d6-a0bd-4681-8dbc-e384493e578c}</uuid>
300 <visible>true</visible>
301 <midichan>0</midichan>
302 <midicc>-3</midicc>
303 <description/>
304 <label> INPUT</label>
305 <alignment>left</alignment>
306 <valignment>top</valignment>
307 <font>Lucida Grande</font>
308 <fontsize>18</fontsize>
309 <precision>3</precision>
310 <color>
311 <r>0</r>
312 <g>0</g>
313 <b>0</b>
314 </color>
315 <bgcolor mode="nobackground">
316 <r>255</r>
317 <g>255</g>
318 <b>255</b>
319 </bgcolor>
320 <bordermode>border</bordermode>
321 <borderradius>1</borderradius>
322 <borderwidth>1</borderwidth>
323 </bsbObject>
324 <bsbObject version="2" type="BSBController">
325 <objectName>LiveInPre</objectName>
326 <x>120</x>
327 <y>164</y>
328 <width>336</width>
329 <height>22</height>
330 <uuid>{7286a833-c0b0-4f55-8ecc-837453106e15}</uuid>
331 <visible>true</visible>
332 <midichan>0</midichan>
333 <midicc>-3</midicc>
334 <description/>
335 <objectName2>out1_post</objectName2>
336 <xMin>0.00000000</xMin>
337 <xMax>1.00000000</xMax>
338 <yMin>0.00000000</yMin>
339 <yMax>1.00000000</yMax>
340 <xValue>0.26302832</xValue>
341 <yValue>0.73076900</yValue>
342 <type>fill</type>
343 <pointsize>1</pointsize>
344 <fadeSpeed>0.00000000</fadeSpeed>
345 <mouseControl act="press">jump</mouseControl>
346 <bordermode>noborder</bordermode>
347 <borderColor>#00FF00</borderColor>
348 <color>
349 <r>0</r>
350 <g>234</g>
351 <b>0</b>
352 </color>
353 <randomizable group="0" mode="both">false</randomizable>
354 <bgcolor>
355 <r>0</r>
356 <g>0</g>
357 <b>0</b>
358 </bgcolor>
359 <bgcolormode>true</bgcolormode>
360 </bsbObject>
361 <bsbObject version="2" type="BSBController">
362 <objectName>LiveInPreOver</objectName>
363 <x>454</x>
364 <y>164</y>
365 <width>27</width>
366 <height>22</height>
367 <uuid>{42e31476-6cb3-42b4-a1fd-8f48e76892ac}</uuid>
368 <visible>true</visible>
369 <midichan>0</midichan>
370 <midicc>-3</midicc>
371 <description/>
372 <objectName2>outLover</objectName2>
373 <xMin>0.00000000</xMin>
374 <xMax>1.00000000</xMax>
375 <yMin>0.00000000</yMin>
376 <yMax>1.00000000</yMax>
377 <xValue>0.00000000</xValue>
378 <yValue>0.00000000</yValue>
379 <type>fill</type>
380 <pointsize>1</pointsize>
381 <fadeSpeed>0.00000000</fadeSpeed>
382 <mouseControl act="press">jump</mouseControl>
383 <bordermode>noborder</bordermode>
384 <borderColor>#00FF00</borderColor>
385 <color>
386 <r>196</r>
387 <g>14</g>
388 <b>12</b>
389 </color>
390 <randomizable group="0" mode="both">false</randomizable>
391 <bgcolor>
392 <r>0</r>
393 <g>0</g>
394 <b>0</b>
395 </bgcolor>
396 <bgcolormode>true</bgcolormode>
397 </bsbObject>
398 <bsbObject version="2" type="BSBController">
399 <objectName>LiveInPost</objectName>
400 <x>116</x>
401 <y>240</y>
402 <width>336</width>
403 <height>22</height>
404 <uuid>{77fcb44e-b9a2-423d-9764-52f01754d96d}</uuid>
405 <visible>true</visible>
406 <midichan>0</midichan>
407 <midicc>-3</midicc>
408 <description/>
409 <objectName2>out2_post</objectName2>
410 <xMin>0.00000000</xMin>
411 <xMax>1.00000000</xMax>
412 <yMin>0.00000000</yMin>
413 <yMax>1.00000000</yMax>
414 <xValue>0.11348984</xValue>
415 <yValue>0.59090900</yValue>
416 <type>fill</type>
417 <pointsize>1</pointsize>
418 <fadeSpeed>0.00000000</fadeSpeed>
419 <mouseControl act="press">jump</mouseControl>
420 <bordermode>noborder</bordermode>
421 <borderColor>#00FF00</borderColor>
422 <color>
423 <r>0</r>
424 <g>234</g>
425 <b>0</b>
426 </color>
427 <randomizable group="0" mode="both">false</randomizable>
428 <bgcolor>
429 <r>0</r>
430 <g>0</g>
431 <b>0</b>
432 </bgcolor>
433 <bgcolormode>true</bgcolormode>
434 </bsbObject>
435 <bsbObject version="2" type="BSBController">
436 <objectName>LiveInPostOver</objectName>
437 <x>450</x>
438 <y>240</y>
439 <width>27</width>
440 <height>22</height>
441 <uuid>{3e4c2001-fd4f-4b10-bd75-1766b5d1bbde}</uuid>
442 <visible>true</visible>
443 <midichan>0</midichan>
444 <midicc>-3</midicc>
445 <description/>
446 <objectName2>outRover</objectName2>
447 <xMin>0.00000000</xMin>
448 <xMax>1.00000000</xMax>
449 <yMin>0.00000000</yMin>
450 <yMax>1.00000000</yMax>
451 <xValue>0.00000000</xValue>
452 <yValue>0.00000000</yValue>
453 <type>fill</type>
454 <pointsize>1</pointsize>
455 <fadeSpeed>0.00000000</fadeSpeed>
456 <mouseControl act="press">jump</mouseControl>
457 <bordermode>noborder</bordermode>
458 <borderColor>#00FF00</borderColor>
459 <color>
460 <r>196</r>
461 <g>14</g>
462 <b>12</b>
463 </color>
464 <randomizable group="0" mode="both">false</randomizable>
465 <bgcolor>
466 <r>0</r>
467 <g>0</g>
468 <b>0</b>
469 </bgcolor>
470 <bgcolormode>true</bgcolormode>
471 </bsbObject>
472 <bsbObject version="2" type="BSBLabel">
473 <objectName/>
474 <x>21</x>
475 <y>164</y>
476 <width>93</width>
477 <height>28</height>
478 <uuid>{9dd7688d-d7d4-4863-bbe8-44c1e622f2bd}</uuid>
479 <visible>true</visible>
480 <midichan>0</midichan>
481 <midicc>-3</midicc>
482 <description/>
483 <label>Live in Pre</label>
484 <alignment>left</alignment>
485 <valignment>top</valignment>
486 <font>Lucida Grande</font>
487 <fontsize>14</fontsize>
488 <precision>3</precision>
489 <color>
490 <r>0</r>
491 <g>0</g>
492 <b>0</b>
493 </color>
494 <bgcolor mode="nobackground">
495 <r>255</r>
496 <g>255</g>
497 <b>255</b>
498 </bgcolor>
499 <bordermode>noborder</bordermode>
500 <borderradius>1</borderradius>
501 <borderwidth>0</borderwidth>
502 </bsbObject>
503 <bsbObject version="2" type="BSBLabel">
504 <objectName/>
505 <x>19</x>
506 <y>240</y>
507 <width>97</width>
508 <height>29</height>
509 <uuid>{a6c9d0da-7821-4528-b193-9ee9af3d441f}</uuid>
510 <visible>true</visible>
511 <midichan>0</midichan>
512 <midicc>-3</midicc>
513 <description/>
514 <label>Live in Post</label>
515 <alignment>left</alignment>
516 <valignment>top</valignment>
517 <font>Lucida Grande</font>
518 <fontsize>14</fontsize>
519 <precision>3</precision>
520 <color>
521 <r>0</r>
522 <g>0</g>
523 <b>0</b>
524 </color>
525 <bgcolor mode="nobackground">
526 <r>255</r>
527 <g>255</g>
528 <b>255</b>
529 </bgcolor>
530 <bordermode>noborder</bordermode>
531 <borderradius>1</borderradius>
532 <borderwidth>0</borderwidth>
533 </bsbObject>
534 <bsbObject version="2" type="BSBLabel">
535 <objectName/>
536 <x>20</x>
537 <y>202</y>
538 <width>93</width>
539 <height>31</height>
540 <uuid>{bdebe2b5-07c1-4f1f-b7cb-d2f29a26a5f8}</uuid>
541 <visible>true</visible>
542 <midichan>0</midichan>
543 <midicc>-3</midicc>
544 <description/>
545 <label>Input Gain</label>
546 <alignment>left</alignment>
547 <valignment>top</valignment>
548 <font>Lucida Grande</font>
549 <fontsize>14</fontsize>
550 <precision>3</precision>
551 <color>
552 <r>0</r>
553 <g>0</g>
554 <b>0</b>
555 </color>
556 <bgcolor mode="nobackground">
557 <r>255</r>
558 <g>255</g>
559 <b>255</b>
560 </bgcolor>
561 <bordermode>noborder</bordermode>
562 <borderradius>1</borderradius>
563 <borderwidth>0</borderwidth>
564 </bsbObject>
565 <bsbObject version="2" type="BSBHSlider">
566 <objectName>ingaindb</objectName>
567 <x>120</x>
568 <y>199</y>
569 <width>260</width>
570 <height>26</height>
571 <uuid>{64de8264-0345-4faf-b16c-4af284a95268}</uuid>
572 <visible>true</visible>
573 <midichan>0</midichan>
574 <midicc>0</midicc>
575 <description/>
576 <minimum>-12.00000000</minimum>
577 <maximum>12.00000000</maximum>
578 <value>-7.47692308</value>
579 <mode>lin</mode>
580 <mouseControl act="jump">continuous</mouseControl>
581 <resolution>-1.00000000</resolution>
582 <randomizable group="0">false</randomizable>
583 </bsbObject>
584 <bsbObject version="2" type="BSBLabel">
585 <objectName/>
586 <x>518</x>
587 <y>131</y>
588 <width>380</width>
589 <height>215</height>
590 <uuid>{e748e0c8-197c-4d4d-b893-9501e50ae02b}</uuid>
591 <visible>true</visible>
592 <midichan>0</midichan>
593 <midicc>-3</midicc>
594 <description/>
595 <label> OUTPUT</label>
596 <alignment>left</alignment>
597 <valignment>top</valignment>
598 <font>Lucida Grande</font>
599 <fontsize>18</fontsize>
600 <precision>3</precision>
601 <color>
602 <r>0</r>
603 <g>0</g>
604 <b>0</b>
605 </color>
606 <bgcolor mode="nobackground">
607 <r>255</r>
608 <g>255</g>
609 <b>255</b>
610 </bgcolor>
611 <bordermode>border</bordermode>
612 <borderradius>1</borderradius>
613 <borderwidth>1</borderwidth>
614 </bsbObject>
615 <bsbObject version="2" type="BSBController">
616 <objectName>out</objectName>
617 <x>528</x>
618 <y>197</y>
619 <width>338</width>
620 <height>24</height>
621 <uuid>{133bd5e9-655f-4ba7-895d-45c9c8e54eb3}</uuid>
622 <visible>true</visible>
623 <midichan>0</midichan>
624 <midicc>-3</midicc>
625 <description/>
626 <objectName2>out</objectName2>
627 <xMin>0.00000000</xMin>
628 <xMax>1.00000000</xMax>
629 <yMin>0.00000000</yMin>
630 <yMax>1.00000000</yMax>
631 <xValue>0.68301880</xValue>
632 <yValue>0.68301880</yValue>
633 <type>fill</type>
634 <pointsize>1</pointsize>
635 <fadeSpeed>0.00000000</fadeSpeed>
636 <mouseControl act="press">jump</mouseControl>
637 <bordermode>noborder</bordermode>
638 <borderColor>#00FF00</borderColor>
639 <color>
640 <r>0</r>
641 <g>234</g>
642 <b>0</b>
643 </color>
644 <randomizable group="0" mode="both">false</randomizable>
645 <bgcolor>
646 <r>0</r>
647 <g>0</g>
648 <b>0</b>
649 </bgcolor>
650 <bgcolormode>true</bgcolormode>
651 </bsbObject>
652 <bsbObject version="2" type="BSBController">
653 <objectName>outover</objectName>
654 <x>863</x>
655 <y>197</y>
656 <width>26</width>
657 <height>24</height>
658 <uuid>{dc5f0c73-a680-4e93-9855-6706fbd5180d}</uuid>
659 <visible>true</visible>
660 <midichan>0</midichan>
661 <midicc>-3</midicc>
662 <description/>
663 <objectName2>outRover</objectName2>
664 <xMin>0.00000000</xMin>
665 <xMax>1.00000000</xMax>
666 <yMin>0.00000000</yMin>
667 <yMax>1.00000000</yMax>
668 <xValue>0.00000000</xValue>
669 <yValue>0.00000000</yValue>
670 <type>fill</type>
671 <pointsize>1</pointsize>
672 <fadeSpeed>0.00000000</fadeSpeed>
673 <mouseControl act="press">jump</mouseControl>
674 <bordermode>noborder</bordermode>
675 <borderColor>#00FF00</borderColor>
676 <color>
677 <r>196</r>
678 <g>14</g>
679 <b>12</b>
680 </color>
681 <randomizable group="0" mode="both">false</randomizable>
682 <bgcolor>
683 <r>0</r>
684 <g>0</g>
685 <b>0</b>
686 </bgcolor>
687 <bgcolormode>true</bgcolormode>
688 </bsbObject>
689 <bsbObject version="2" type="BSBScope">
690 <objectName/>
691 <x>525</x>
692 <y>228</y>
693 <width>368</width>
694 <height>105</height>
695 <uuid>{c385ef49-3efa-4ec3-806a-ff883343cb9c}</uuid>
696 <visible>true</visible>
697 <midichan>0</midichan>
698 <midicc>-3</midicc>
699 <description/>
700 <value>-255.00000000</value>
701 <type>scope</type>
702 <zoomx>2.00000000</zoomx>
703 <zoomy>1.00000000</zoomy>
704 <dispx>1.00000000</dispx>
705 <dispy>1.00000000</dispy>
706 <mode>0.00000000</mode>
707 <triggermode>NoTrigger</triggermode>
708 </bsbObject>
709 <bsbObject version="2" type="BSBLabel">
710 <objectName/>
711 <x>11</x>
712 <y>354</y>
713 <width>882</width>
714 <height>281</height>
715 <uuid>{f470cb16-0510-44e6-b6e0-c532a68e3409}</uuid>
716 <visible>true</visible>
717 <midichan>0</midichan>
718 <midicc>-3</midicc>
719 <description/>
720 <label>GRANULAR</label>
721 <alignment>left</alignment>
722 <valignment>top</valignment>
723 <font>Lucida Grande</font>
724 <fontsize>18</fontsize>
725 <precision>3</precision>
726 <color>
727 <r>0</r>
728 <g>0</g>
729 <b>0</b>
730 </color>
731 <bgcolor mode="nobackground">
732 <r>255</r>
733 <g>255</g>
734 <b>255</b>
735 </bgcolor>
736 <bordermode>border</bordermode>
737 <borderradius>1</borderradius>
738 <borderwidth>1</borderwidth>
739 </bsbObject>
740 <bsbObject version="2" type="BSBLabel">
741 <objectName/>
742 <x>529</x>
743 <y>164</y>
744 <width>95</width>
745 <height>27</height>
746 <uuid>{dcc76929-4dec-4912-b228-fcab4a27e75f}</uuid>
747 <visible>true</visible>
748 <midichan>0</midichan>
749 <midicc>-3</midicc>
750 <description/>
751 <label>Output Gain</label>
752 <alignment>left</alignment>
753 <valignment>top</valignment>
754 <font>Lucida Grande</font>
755 <fontsize>14</fontsize>
756 <precision>3</precision>
757 <color>
758 <r>0</r>
759 <g>0</g>
760 <b>0</b>
761 </color>
762 <bgcolor mode="nobackground">
763 <r>255</r>
764 <g>255</g>
765 <b>255</b>
766 </bgcolor>
767 <bordermode>noborder</bordermode>
768 <borderradius>1</borderradius>
769 <borderwidth>0</borderwidth>
770 </bsbObject>
771 <bsbObject version="2" type="BSBHSlider">
772 <objectName>outgaindb</objectName>
773 <x>625</x>
774 <y>164</y>
775 <width>155</width>
776 <height>24</height>
777 <uuid>{2735c656-a8f6-429d-acc3-2fe0db7e078a}</uuid>
778 <visible>true</visible>
779 <midichan>0</midichan>
780 <midicc>0</midicc>
781 <description/>
782 <minimum>-12.00000000</minimum>
783 <maximum>12.00000000</maximum>
784 <value>-2.55483871</value>
785 <mode>lin</mode>
786 <mouseControl act="jump">continuous</mouseControl>
787 <resolution>-1.00000000</resolution>
788 <randomizable group="0">false</randomizable>
789 </bsbObject>
790 <bsbObject version="2" type="BSBLabel">
791 <objectName/>
792 <x>44</x>
793 <y>390</y>
794 <width>143</width>
795 <height>27</height>
796 <uuid>{d7297eb9-b0d9-43c7-a5cb-5c71793c04d0}</uuid>
797 <visible>true</visible>
798 <midichan>0</midichan>
799 <midicc>-3</midicc>
800 <description/>
801 <label>Grains per Second</label>
802 <alignment>center</alignment>
803 <valignment>top</valignment>
804 <font>Lucida Grande</font>
805 <fontsize>14</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>0</borderwidth>
820 </bsbObject>
821 <bsbObject version="2" type="BSBLabel">
822 <objectName/>
823 <x>17</x>
824 <y>562</y>
825 <width>147</width>
826 <height>25</height>
827 <uuid>{ad4914bd-492d-45c0-bb8c-86e98247e37e}</uuid>
828 <visible>true</visible>
829 <midichan>0</midichan>
830 <midicc>-3</midicc>
831 <description/>
832 <label>Transposition (Cent)</label>
833 <alignment>center</alignment>
834 <valignment>top</valignment>
835 <font>Lucida Grande</font>
836 <fontsize>14</fontsize>
837 <precision>3</precision>
838 <color>
839 <r>0</r>
840 <g>0</g>
841 <b>0</b>
842 </color>
843 <bgcolor mode="nobackground">
844 <r>255</r>
845 <g>255</g>
846 <b>255</b>
847 </bgcolor>
848 <bordermode>noborder</bordermode>
849 <borderradius>1</borderradius>
850 <borderwidth>0</borderwidth>
851 </bsbObject>
852 <bsbObject version="2" type="BSBHSlider">
853 <objectName>transp</objectName>
854 <x>18</x>
855 <y>586</y>
856 <width>222</width>
857 <height>32</height>
858 <uuid>{2a0c5abd-8f05-4f19-8c6e-5ceb8d4572dc}</uuid>
859 <visible>true</visible>
860 <midichan>0</midichan>
861 <midicc>-3</midicc>
862 <description/>
863 <minimum>-1200.00000000</minimum>
864 <maximum>1200.00000000</maximum>
865 <value>0.00000000</value>
866 <mode>lin</mode>
867 <mouseControl act="jump">continuous</mouseControl>
868 <resolution>-1.00000000</resolution>
869 <randomizable group="0">false</randomizable>
870 </bsbObject>
871 <bsbObject version="2" type="BSBLabel">
872 <objectName/>
873 <x>34</x>
874 <y>481</y>
875 <width>101</width>
876 <height>25</height>
877 <uuid>{078aa6dc-ef57-4db7-949b-c11e729c837a}</uuid>
878 <visible>true</visible>
879 <midichan>0</midichan>
880 <midicc>-3</midicc>
881 <description/>
882 <label>Grainsize (ms)</label>
883 <alignment>center</alignment>
884 <valignment>top</valignment>
885 <font>Lucida Grande</font>
886 <fontsize>14</fontsize>
887 <precision>3</precision>
888 <color>
889 <r>0</r>
890 <g>0</g>
891 <b>0</b>
892 </color>
893 <bgcolor mode="nobackground">
894 <r>255</r>
895 <g>255</g>
896 <b>255</b>
897 </bgcolor>
898 <bordermode>noborder</bordermode>
899 <borderradius>1</borderradius>
900 <borderwidth>0</borderwidth>
901 </bsbObject>
902 <bsbObject version="2" type="BSBHSlider">
903 <objectName>grainsize</objectName>
904 <x>31</x>
905 <y>506</y>
906 <width>177</width>
907 <height>26</height>
908 <uuid>{8b59f109-6fc3-4138-bb2e-93113fe13a40}</uuid>
909 <visible>true</visible>
910 <midichan>0</midichan>
911 <midicc>-3</midicc>
912 <description/>
913 <minimum>1.00000000</minimum>
914 <maximum>100.00000000</maximum>
915 <value>1.00000000</value>
916 <mode>lin</mode>
917 <mouseControl act="jump">continuous</mouseControl>
918 <resolution>-1.00000000</resolution>
919 <randomizable group="0">false</randomizable>
920 </bsbObject>
921 <bsbObject version="2" type="BSBHSlider">
922 <objectName>grainrate</objectName>
923 <x>21</x>
924 <y>418</y>
925 <width>252</width>
926 <height>25</height>
927 <uuid>{5df30f9c-f3dd-4ac9-8088-9cf169cd31f5}</uuid>
928 <visible>true</visible>
929 <midichan>0</midichan>
930 <midicc>0</midicc>
931 <description/>
932 <minimum>1.00000000</minimum>
933 <maximum>200.00000000</maximum>
934 <value>1.00000000</value>
935 <mode>lin</mode>
936 <mouseControl act="jump">continuous</mouseControl>
937 <resolution>-1.00000000</resolution>
938 <randomizable group="0">false</randomizable>
939 </bsbObject>
940 <bsbObject version="2" type="BSBLabel">
941 <objectName/>
942 <x>374</x>
943 <y>394</y>
944 <width>143</width>
945 <height>27</height>
946 <uuid>{cc73b249-baad-47fd-9842-b921037d1a6a}</uuid>
947 <visible>true</visible>
948 <midichan>0</midichan>
949 <midicc>-3</midicc>
950 <description/>
951 <label>Distribution</label>
952 <alignment>center</alignment>
953 <valignment>top</valignment>
954 <font>Lucida Grande</font>
955 <fontsize>14</fontsize>
956 <precision>3</precision>
957 <color>
958 <r>0</r>
959 <g>0</g>
960 <b>0</b>
961 </color>
962 <bgcolor mode="nobackground">
963 <r>255</r>
964 <g>255</g>
965 <b>255</b>
966 </bgcolor>
967 <bordermode>noborder</bordermode>
968 <borderradius>1</borderradius>
969 <borderwidth>0</borderwidth>
970 </bsbObject>
971 <bsbObject version="2" type="BSBHSlider">
972 <objectName>dist</objectName>
973 <x>369</x>
974 <y>420</y>
975 <width>152</width>
976 <height>25</height>
977 <uuid>{a142fe2c-da20-4aa8-a13b-0432a4cb6352}</uuid>
978 <visible>true</visible>
979 <midichan>0</midichan>
980 <midicc>-3</midicc>
981 <description/>
982 <minimum>0.00000000</minimum>
983 <maximum>1.00000000</maximum>
984 <value>1.00000000</value>
985 <mode>lin</mode>
986 <mouseControl act="jump">continuous</mouseControl>
987 <resolution>-1.00000000</resolution>
988 <randomizable group="0">false</randomizable>
989 </bsbObject>
990 <bsbObject version="2" type="BSBLabel">
991 <objectName/>
992 <x>238</x>
993 <y>481</y>
994 <width>191</width>
995 <height>27</height>
996 <uuid>{175842e1-79f7-4518-882a-4555834acf3a}</uuid>
997 <visible>true</visible>
998 <midichan>0</midichan>
999 <midicc>-3</midicc>
1000 <description/>
1001 <label>Position Randomness (ms)</label>
1002 <alignment>center</alignment>
1003 <valignment>top</valignment>
1004 <font>Lucida Grande</font>
1005 <fontsize>14</fontsize>
1006 <precision>3</precision>
1007 <color>
1008 <r>0</r>
1009 <g>0</g>
1010 <b>0</b>
1011 </color>
1012 <bgcolor mode="nobackground">
1013 <r>255</r>
1014 <g>255</g>
1015 <b>255</b>
1016 </bgcolor>
1017 <bordermode>noborder</bordermode>
1018 <borderradius>1</borderradius>
1019 <borderwidth>0</borderwidth>
1020 </bsbObject>
1021 <bsbObject version="2" type="BSBHSlider">
1022 <objectName>posrand</objectName>
1023 <x>239</x>
1024 <y>509</y>
1025 <width>265</width>
1026 <height>29</height>
1027 <uuid>{bd0a56e7-6873-484a-be88-67c57c0a66f4}</uuid>
1028 <visible>true</visible>
1029 <midichan>0</midichan>
1030 <midicc>-3</midicc>
1031 <description/>
1032 <minimum>0.00000000</minimum>
1033 <maximum>100.00000000</maximum>
1034 <value>1.88679245</value>
1035 <mode>lin</mode>
1036 <mouseControl act="jump">continuous</mouseControl>
1037 <resolution>-1.00000000</resolution>
1038 <randomizable group="0">false</randomizable>
1039 </bsbObject>
1040 <bsbObject version="2" type="BSBHSlider">
1041 <objectName>centrand</objectName>
1042 <x>275</x>
1043 <y>589</y>
1044 <width>306</width>
1045 <height>28</height>
1046 <uuid>{d2da0179-913a-4308-8b92-65f69293814b}</uuid>
1047 <visible>true</visible>
1048 <midichan>0</midichan>
1049 <midicc>-3</midicc>
1050 <description/>
1051 <minimum>0.00000000</minimum>
1052 <maximum>100.00000000</maximum>
1053 <value>0.00000000</value>
1054 <mode>lin</mode>
1055 <mouseControl act="jump">continuous</mouseControl>
1056 <resolution>-1.00000000</resolution>
1057 <randomizable group="0">false</randomizable>
1058 </bsbObject>
1059 <bsbObject version="2" type="BSBLabel">
1060 <objectName/>
1061 <x>275</x>
1062 <y>562</y>
1063 <width>234</width>
1064 <height>25</height>
1065 <uuid>{558f5942-1622-49a1-aeac-5faede2c8d51}</uuid>
1066 <visible>true</visible>
1067 <midichan>0</midichan>
1068 <midicc>-3</midicc>
1069 <description/>
1070 <label>Transposition Randomness (Cent)</label>
1071 <alignment>center</alignment>
1072 <valignment>top</valignment>
1073 <font>Lucida Grande</font>
1074 <fontsize>14</fontsize>
1075 <precision>3</precision>
1076 <color>
1077 <r>0</r>
1078 <g>0</g>
1079 <b>0</b>
1080 </color>
1081 <bgcolor mode="nobackground">
1082 <r>255</r>
1083 <g>255</g>
1084 <b>255</b>
1085 </bgcolor>
1086 <bordermode>noborder</bordermode>
1087 <borderradius>1</borderradius>
1088 <borderwidth>0</borderwidth>
1089 </bsbObject>
1090 <bsbObject version="2" type="BSBLabel">
1091 <objectName/>
1092 <x>298</x>
1093 <y>419</y>
1094 <width>71</width>
1095 <height>29</height>
1096 <uuid>{ac7d4a98-e00c-4c47-9bb6-9bf8591999ce}</uuid>
1097 <visible>true</visible>
1098 <midichan>0</midichan>
1099 <midicc>0</midicc>
1100 <description/>
1101 <label>periodic</label>
1102 <alignment>right</alignment>
1103 <valignment>top</valignment>
1104 <font>DejaVu Sans</font>
1105 <fontsize>14</fontsize>
1106 <precision>3</precision>
1107 <color>
1108 <r>0</r>
1109 <g>0</g>
1110 <b>0</b>
1111 </color>
1112 <bgcolor mode="nobackground">
1113 <r>255</r>
1114 <g>255</g>
1115 <b>255</b>
1116 </bgcolor>
1117 <bordermode>noborder</bordermode>
1118 <borderradius>1</borderradius>
1119 <borderwidth>0</borderwidth>
1120 </bsbObject>
1121 <bsbObject version="2" type="BSBLabel">
1122 <objectName/>
1123 <x>520</x>
1124 <y>418</y>
1125 <width>90</width>
1126 <height>28</height>
1127 <uuid>{f41b248e-80fb-4cb5-a210-eded60c8c325}</uuid>
1128 <visible>true</visible>
1129 <midichan>0</midichan>
1130 <midicc>0</midicc>
1131 <description/>
1132 <label>scattered</label>
1133 <alignment>left</alignment>
1134 <valignment>top</valignment>
1135 <font>DejaVu Sans</font>
1136 <fontsize>14</fontsize>
1137 <precision>3</precision>
1138 <color>
1139 <r>0</r>
1140 <g>0</g>
1141 <b>0</b>
1142 </color>
1143 <bgcolor mode="nobackground">
1144 <r>255</r>
1145 <g>255</g>
1146 <b>255</b>
1147 </bgcolor>
1148 <bordermode>noborder</bordermode>
1149 <borderradius>1</borderradius>
1150 <borderwidth>0</borderwidth>
1151 </bsbObject>
1152 <bsbObject version="2" type="BSBLabel">
1153 <objectName/>
1154 <x>694</x>
1155 <y>363</y>
1156 <width>115</width>
1157 <height>28</height>
1158 <uuid>{5d0f4113-a2a8-4f15-872d-d10b174dcf71}</uuid>
1159 <visible>true</visible>
1160 <midichan>0</midichan>
1161 <midicc>-3</midicc>
1162 <description/>
1163 <label>Window Shape</label>
1164 <alignment>center</alignment>
1165 <valignment>top</valignment>
1166 <font>Lucida Grande</font>
1167 <fontsize>14</fontsize>
1168 <precision>3</precision>
1169 <color>
1170 <r>0</r>
1171 <g>0</g>
1172 <b>0</b>
1173 </color>
1174 <bgcolor mode="nobackground">
1175 <r>255</r>
1176 <g>255</g>
1177 <b>255</b>
1178 </bgcolor>
1179 <bordermode>noborder</bordermode>
1180 <borderradius>1</borderradius>
1181 <borderwidth>0</borderwidth>
1182 </bsbObject>
1183 <bsbObject version="2" type="BSBDropdown">
1184 <objectName>winshape</objectName>
1185 <x>682</x>
1186 <y>414</y>
1187 <width>140</width>
1188 <height>26</height>
1189 <uuid>{35980021-56da-4027-841b-abf660393ab2}</uuid>
1190 <visible>true</visible>
1191 <midichan>0</midichan>
1192 <midicc>0</midicc>
1193 <description/>
1194 <bsbDropdownItemList>
1195 <bsbDropdownItem>
1196 <name>Hamming</name>
1197 <value>0</value>
1198 <stringvalue/>
1199 </bsbDropdownItem>
1200 <bsbDropdownItem>
1201 <name>von Hann</name>
1202 <value>1</value>
1203 <stringvalue/>
1204 </bsbDropdownItem>
1205 <bsbDropdownItem>
1206 <name>Triangle</name>
1207 <value>2</value>
1208 <stringvalue/>
1209 </bsbDropdownItem>
1210 <bsbDropdownItem>
1211 <name>Blackman</name>
1212 <value>3</value>
1213 <stringvalue/>
1214 </bsbDropdownItem>
1215 <bsbDropdownItem>
1216 <name>Blackman-Harris</name>
1217 <value>4</value>
1218 <stringvalue/>
1219 </bsbDropdownItem>
1220 <bsbDropdownItem>
1221 <name>Gauss</name>
1222 <value>5</value>
1223 <stringvalue/>
1224 </bsbDropdownItem>
1225 <bsbDropdownItem>
1226 <name>Kaiser</name>
1227 <value>6</value>
1228 <stringvalue/>
1229 </bsbDropdownItem>
1230 <bsbDropdownItem>
1231 <name>Rectangle</name>
1232 <value>7</value>
1233 <stringvalue/>
1234 </bsbDropdownItem>
1235 <bsbDropdownItem>
1236 <name>Sync</name>
1237 <value>8</value>
1238 <stringvalue/>
1239 </bsbDropdownItem>
1240 </bsbDropdownItemList>
1241 <selectedIndex>8</selectedIndex>
1242 <randomizable group="0">false</randomizable>
1243 </bsbObject>
1244 <bsbObject version="2" type="BSBGraph">
1245 <objectName>ftab</objectName>
1246 <x>620</x>
1247 <y>476</y>
1248 <width>256</width>
1249 <height>145</height>
1250 <uuid>{dcb84ff3-5289-475e-813f-db94e34bc296}</uuid>
1251 <visible>true</visible>
1252 <midichan>0</midichan>
1253 <midicc>-3</midicc>
1254 <description/>
1255 <value>0</value>
1256 <objectName2/>
1257 <zoomx>1.00000000</zoomx>
1258 <zoomy>1.00000000</zoomy>
1259 <dispx>1.00000000</dispx>
1260 <dispy>1.00000000</dispy>
1261 <modex>auto</modex>
1262 <modey>auto</modey>
1263 <showSelector>true</showSelector>
1264 <showGrid>true</showGrid>
1265 <showTableInfo>true</showTableInfo>
1266 <showScrollbars>true</showScrollbars>
1267 <enableTables>true</enableTables>
1268 <enableDisplays>true</enableDisplays>
1269 <all>true</all>
1270 </bsbObject>
1271 <bsbObject version="2" type="BSBLabel">
1272 <objectName/>
1273 <x>667</x>
1274 <y>451</y>
1275 <width>168</width>
1276 <height>27</height>
1277 <uuid>{2d0fa256-93bd-4690-911d-437222bc7428}</uuid>
1278 <visible>true</visible>
1279 <midichan>0</midichan>
1280 <midicc>-3</midicc>
1281 <description/>
1282 <label>... and see its shape</label>
1283 <alignment>center</alignment>
1284 <valignment>top</valignment>
1285 <font>Lucida Grande</font>
1286 <fontsize>14</fontsize>
1287 <precision>3</precision>
1288 <color>
1289 <r>0</r>
1290 <g>0</g>
1291 <b>0</b>
1292 </color>
1293 <bgcolor mode="nobackground">
1294 <r>255</r>
1295 <g>255</g>
1296 <b>255</b>
1297 </bgcolor>
1298 <bordermode>noborder</bordermode>
1299 <borderradius>1</borderradius>
1300 <borderwidth>0</borderwidth>
1301 </bsbObject>
1302 <bsbObject version="2" type="BSBLabel">
1303 <objectName/>
1304 <x>652</x>
1305 <y>389</y>
1306 <width>185</width>
1307 <height>27</height>
1308 <uuid>{fbbd39e2-e473-4455-8e7c-a57724ae5010}</uuid>
1309 <visible>true</visible>
1310 <midichan>0</midichan>
1311 <midicc>-3</midicc>
1312 <description/>
1313 <label>Select window function ...</label>
1314 <alignment>center</alignment>
1315 <valignment>top</valignment>
1316 <font>Lucida Grande</font>
1317 <fontsize>14</fontsize>
1318 <precision>3</precision>
1319 <color>
1320 <r>0</r>
1321 <g>0</g>
1322 <b>0</b>
1323 </color>
1324 <bgcolor mode="nobackground">
1325 <r>255</r>
1326 <g>255</g>
1327 <b>255</b>
1328 </bgcolor>
1329 <bordermode>noborder</bordermode>
1330 <borderradius>1</borderradius>
1331 <borderwidth>0</borderwidth>
1332 </bsbObject>
1333 <bsbObject version="2" type="BSBLabel">
1334 <objectName/>
1335 <x>458</x>
1336 <y>198</y>
1337 <width>30</width>
1338 <height>31</height>
1339 <uuid>{eecbf48f-983f-4ce5-bdcc-e6b1ae657b20}</uuid>
1340 <visible>true</visible>
1341 <midichan>0</midichan>
1342 <midicc>0</midicc>
1343 <description/>
1344 <label>dB</label>
1345 <alignment>right</alignment>
1346 <valignment>top</valignment>
1347 <font>DejaVu Sans</font>
1348 <fontsize>14</fontsize>
1349 <precision>3</precision>
1350 <color>
1351 <r>0</r>
1352 <g>0</g>
1353 <b>0</b>
1354 </color>
1355 <bgcolor mode="nobackground">
1356 <r>255</r>
1357 <g>255</g>
1358 <b>255</b>
1359 </bgcolor>
1360 <bordermode>noborder</bordermode>
1361 <borderradius>1</borderradius>
1362 <borderwidth>0</borderwidth>
1363 </bsbObject>
1364 <bsbObject version="2" type="BSBSpinBox">
1365 <objectName>ingaindb</objectName>
1366 <x>380</x>
1367 <y>200</y>
1368 <width>76</width>
1369 <height>27</height>
1370 <uuid>{a44b45c8-8c22-4c53-9442-75339608f708}</uuid>
1371 <visible>true</visible>
1372 <midichan>0</midichan>
1373 <midicc>0</midicc>
1374 <description/>
1375 <alignment>left</alignment>
1376 <font>Liberation Sans</font>
1377 <fontsize>14</fontsize>
1378 <color>
1379 <r>0</r>
1380 <g>0</g>
1381 <b>0</b>
1382 </color>
1383 <bgcolor mode="background">
1384 <r>255</r>
1385 <g>255</g>
1386 <b>255</b>
1387 </bgcolor>
1388 <resolution>0.00100000</resolution>
1389 <minimum>-1e+12</minimum>
1390 <maximum>1e+12</maximum>
1391 <randomizable group="0">false</randomizable>
1392 <value>0</value>
1393 </bsbObject>
1394 <bsbObject version="2" type="BSBLabel">
1395 <objectName/>
1396 <x>861</x>
1397 <y>162</y>
1398 <width>30</width>
1399 <height>31</height>
1400 <uuid>{a5947f34-1e11-490f-bd5d-c543d6e4494e}</uuid>
1401 <visible>true</visible>
1402 <midichan>0</midichan>
1403 <midicc>0</midicc>
1404 <description/>
1405 <label>dB</label>
1406 <alignment>right</alignment>
1407 <valignment>top</valignment>
1408 <font>DejaVu Sans</font>
1409 <fontsize>14</fontsize>
1410 <precision>3</precision>
1411 <color>
1412 <r>0</r>
1413 <g>0</g>
1414 <b>0</b>
1415 </color>
1416 <bgcolor mode="nobackground">
1417 <r>255</r>
1418 <g>255</g>
1419 <b>255</b>
1420 </bgcolor>
1421 <bordermode>noborder</bordermode>
1422 <borderradius>1</borderradius>
1423 <borderwidth>0</borderwidth>
1424 </bsbObject>
1425 <bsbObject version="2" type="BSBSpinBox">
1426 <objectName>outgaindb</objectName>
1427 <x>781</x>
1428 <y>163</y>
1429 <width>76</width>
1430 <height>27</height>
1431 <uuid>{52bb78bb-8e63-44a1-a86a-5def867d5311}</uuid>
1432 <visible>true</visible>
1433 <midichan>0</midichan>
1434 <midicc>0</midicc>
1435 <description/>
1436 <alignment>left</alignment>
1437 <font>Liberation Sans</font>
1438 <fontsize>14</fontsize>
1439 <color>
1440 <r>0</r>
1441 <g>0</g>
1442 <b>0</b>
1443 </color>
1444 <bgcolor mode="background">
1445 <r>255</r>
1446 <g>255</g>
1447 <b>255</b>
1448 </bgcolor>
1449 <resolution>0.00100000</resolution>
1450 <minimum>-1e+12</minimum>
1451 <maximum>1e+12</maximum>
1452 <randomizable group="0">false</randomizable>
1453 <value>0</value>
1454 </bsbObject>
1455 <bsbObject version="2" type="BSBSpinBox">
1456 <objectName>grainrate</objectName>
1457 <x>186</x>
1458 <y>390</y>
1459 <width>76</width>
1460 <height>27</height>
1461 <uuid>{c8857f63-c4d2-456d-92df-cf078b7c6525}</uuid>
1462 <visible>true</visible>
1463 <midichan>0</midichan>
1464 <midicc>0</midicc>
1465 <description/>
1466 <alignment>left</alignment>
1467 <font>Liberation Sans</font>
1468 <fontsize>14</fontsize>
1469 <color>
1470 <r>0</r>
1471 <g>0</g>
1472 <b>0</b>
1473 </color>
1474 <bgcolor mode="background">
1475 <r>255</r>
1476 <g>255</g>
1477 <b>255</b>
1478 </bgcolor>
1479 <resolution>1.00000000</resolution>
1480 <minimum>1</minimum>
1481 <maximum>1000</maximum>
1482 <randomizable group="0">false</randomizable>
1483 <value>152</value>
1484 </bsbObject>
1485 <bsbObject version="2" type="BSBButton">
1486 <objectName>freeze</objectName>
1487 <x>513</x>
1488 <y>480</y>
1489 <width>87</width>
1490 <height>59</height>
1491 <uuid>{209e708e-b0c9-4794-b610-fec1096126c8}</uuid>
1492 <visible>true</visible>
1493 <midichan>0</midichan>
1494 <midicc>0</midicc>
1495 <description/>
1496 <type>value</type>
1497 <pressedValue>1.00000000</pressedValue>
1498 <stringvalue/>
1499 <text>Freeze!</text>
1500 <image>/</image>
1501 <eventLine>i1 0 10</eventLine>
1502 <latch>true</latch>
1503 <momentaryMidiButton>false</momentaryMidiButton>
1504 <latched>false</latched>
1505 <fontsize>10</fontsize>
1506 </bsbObject>
1507 <bsbObject version="2" type="BSBSpinBox">
1508 <objectName>grainsize</objectName>
1509 <x>131</x>
1510 <y>481</y>
1511 <width>76</width>
1512 <height>27</height>
1513 <uuid>{9047dd54-fb61-4009-9867-802809da63cd}</uuid>
1514 <visible>true</visible>
1515 <midichan>0</midichan>
1516 <midicc>0</midicc>
1517 <description/>
1518 <alignment>left</alignment>
1519 <font>Liberation Sans</font>
1520 <fontsize>14</fontsize>
1521 <color>
1522 <r>0</r>
1523 <g>0</g>
1524 <b>0</b>
1525 </color>
1526 <bgcolor mode="background">
1527 <r>255</r>
1528 <g>255</g>
1529 <b>255</b>
1530 </bgcolor>
1531 <resolution>1.00000000</resolution>
1532 <minimum>1</minimum>
1533 <maximum>1000</maximum>
1534 <randomizable group="0">false</randomizable>
1535 <value>100</value>
1536 </bsbObject>
1537 <bsbObject version="2" type="BSBSpinBox">
1538 <objectName>posrand</objectName>
1539 <x>429</x>
1540 <y>480</y>
1541 <width>76</width>
1542 <height>27</height>
1543 <uuid>{d9780cbd-e79a-4741-b575-2a2a49790067}</uuid>
1544 <visible>true</visible>
1545 <midichan>0</midichan>
1546 <midicc>0</midicc>
1547 <description/>
1548 <alignment>left</alignment>
1549 <font>Liberation Sans</font>
1550 <fontsize>14</fontsize>
1551 <color>
1552 <r>0</r>
1553 <g>0</g>
1554 <b>0</b>
1555 </color>
1556 <bgcolor mode="background">
1557 <r>255</r>
1558 <g>255</g>
1559 <b>255</b>
1560 </bgcolor>
1561 <resolution>0.00100000</resolution>
1562 <minimum>0</minimum>
1563 <maximum>1000</maximum>
1564 <randomizable group="0">false</randomizable>
1565 <value>0</value>
1566 </bsbObject>
1567 <bsbObject version="2" type="BSBSpinBox">
1568 <objectName>transp</objectName>
1569 <x>164</x>
1570 <y>562</y>
1571 <width>76</width>
1572 <height>27</height>
1573 <uuid>{20a7f015-fe29-40d1-ac20-589371f9685d}</uuid>
1574 <visible>true</visible>
1575 <midichan>0</midichan>
1576 <midicc>0</midicc>
1577 <description/>
1578 <alignment>left</alignment>
1579 <font>Liberation Sans</font>
1580 <fontsize>14</fontsize>
1581 <color>
1582 <r>0</r>
1583 <g>0</g>
1584 <b>0</b>
1585 </color>
1586 <bgcolor mode="background">
1587 <r>255</r>
1588 <g>255</g>
1589 <b>255</b>
1590 </bgcolor>
1591 <resolution>1.00000000</resolution>
1592 <minimum>-10000</minimum>
1593 <maximum>10000</maximum>
1594 <randomizable group="0">false</randomizable>
1595 <value>0</value>
1596 </bsbObject>
1597 <bsbObject version="2" type="BSBSpinBox">
1598 <objectName>centrand</objectName>
1599 <x>506</x>
1600 <y>561</y>
1601 <width>76</width>
1602 <height>27</height>
1603 <uuid>{0cc8b907-1cb3-425d-b6f5-994a39abb647}</uuid>
1604 <visible>true</visible>
1605 <midichan>0</midichan>
1606 <midicc>0</midicc>
1607 <description/>
1608 <alignment>left</alignment>
1609 <font>Liberation Sans</font>
1610 <fontsize>14</fontsize>
1611 <color>
1612 <r>0</r>
1613 <g>0</g>
1614 <b>0</b>
1615 </color>
1616 <bgcolor mode="background">
1617 <r>255</r>
1618 <g>255</g>
1619 <b>255</b>
1620 </bgcolor>
1621 <resolution>1.00000000</resolution>
1622 <minimum>0</minimum>
1623 <maximum>1000</maximum>
1624 <randomizable group="0">false</randomizable>
1625 <value>0</value>
1626 </bsbObject>
1627 <bsbObject version="2" type="BSBSpinBox">
1628 <objectName>dbrange</objectName>
1629 <x>421</x>
1630 <y>289</y>
1631 <width>79</width>
1632 <height>27</height>
1633 <uuid>{81528aba-64e8-4dc7-b127-daa1434195a2}</uuid>
1634 <visible>true</visible>
1635 <midichan>0</midichan>
1636 <midicc>0</midicc>
1637 <description/>
1638 <alignment>left</alignment>
1639 <font>Noto Sans</font>
1640 <fontsize>14</fontsize>
1641 <color>
1642 <r>0</r>
1643 <g>0</g>
1644 <b>0</b>
1645 </color>
1646 <bgcolor mode="background">
1647 <r>255</r>
1648 <g>255</g>
1649 <b>255</b>
1650 </bgcolor>
1651 <resolution>0.10000000</resolution>
1652 <minimum>1</minimum>
1653 <maximum>1e+12</maximum>
1654 <randomizable group="0">false</randomizable>
1655 <value>0</value>
1656 </bsbObject>
1657 <bsbObject version="2" type="BSBLabel">
1658 <objectName/>
1659 <x>334</x>
1660 <y>288</y>
1661 <width>90</width>
1662 <height>29</height>
1663 <uuid>{cc0e0187-e5c9-4b44-b8c0-28d00d45cb89}</uuid>
1664 <visible>true</visible>
1665 <midichan>0</midichan>
1666 <midicc>0</midicc>
1667 <description/>
1668 <label>dB-Range</label>
1669 <alignment>right</alignment>
1670 <valignment>top</valignment>
1671 <font>Nimbus Sans L</font>
1672 <fontsize>14</fontsize>
1673 <precision>3</precision>
1674 <color>
1675 <r>0</r>
1676 <g>0</g>
1677 <b>0</b>
1678 </color>
1679 <bgcolor mode="nobackground">
1680 <r>255</r>
1681 <g>255</g>
1682 <b>255</b>
1683 </bgcolor>
1684 <bordermode>noborder</bordermode>
1685 <borderradius>1</borderradius>
1686 <borderwidth>0</borderwidth>
1687 </bsbObject>
1688 <bsbObject version="2" type="BSBLabel">
1689 <objectName/>
1690 <x>145</x>
1691 <y>289</y>
1692 <width>110</width>
1693 <height>27</height>
1694 <uuid>{df57c2f7-4a74-460f-9f7f-b3efb8106306}</uuid>
1695 <visible>true</visible>
1696 <midichan>0</midichan>
1697 <midicc>0</midicc>
1698 <description/>
1699 <label>Show LED's as</label>
1700 <alignment>right</alignment>
1701 <valignment>top</valignment>
1702 <font>Nimbus Sans L</font>
1703 <fontsize>14</fontsize>
1704 <precision>3</precision>
1705 <color>
1706 <r>0</r>
1707 <g>0</g>
1708 <b>0</b>
1709 </color>
1710 <bgcolor mode="nobackground">
1711 <r>255</r>
1712 <g>255</g>
1713 <b>255</b>
1714 </bgcolor>
1715 <bordermode>noborder</bordermode>
1716 <borderradius>1</borderradius>
1717 <borderwidth>0</borderwidth>
1718 </bsbObject>
1719 <bsbObject version="2" type="BSBDropdown">
1720 <objectName>showdb</objectName>
1721 <x>254</x>
1722 <y>289</y>
1723 <width>80</width>
1724 <height>28</height>
1725 <uuid>{d09ab184-f4b1-4340-8730-e73b870bcf9a}</uuid>
1726 <visible>true</visible>
1727 <midichan>0</midichan>
1728 <midicc>0</midicc>
1729 <description/>
1730 <bsbDropdownItemList>
1731 <bsbDropdownItem>
1732 <name>raw amps</name>
1733 <value>0</value>
1734 <stringvalue/>
1735 </bsbDropdownItem>
1736 <bsbDropdownItem>
1737 <name>dB</name>
1738 <value>1</value>
1739 <stringvalue/>
1740 </bsbDropdownItem>
1741 </bsbDropdownItemList>
1742 <selectedIndex>1</selectedIndex>
1743 <randomizable group="0">false</randomizable>
1744 </bsbObject>
1745 <bsbObject version="2" type="BSBSpinBox">
1746 <objectName>inchnl</objectName>
1747 <x>105</x>
1748 <y>290</y>
1749 <width>47</width>
1750 <height>27</height>
1751 <uuid>{2fce6993-35f8-4dd7-bedd-f809c0803989}</uuid>
1752 <visible>true</visible>
1753 <midichan>0</midichan>
1754 <midicc>0</midicc>
1755 <description/>
1756 <alignment>right</alignment>
1757 <font>DejaVu Sans</font>
1758 <fontsize>14</fontsize>
1759 <color>
1760 <r>0</r>
1761 <g>0</g>
1762 <b>0</b>
1763 </color>
1764 <bgcolor mode="background">
1765 <r>255</r>
1766 <g>255</g>
1767 <b>255</b>
1768 </bgcolor>
1769 <resolution>1.00000000</resolution>
1770 <minimum>1</minimum>
1771 <maximum>1e+12</maximum>
1772 <randomizable group="0">false</randomizable>
1773 <value>1</value>
1774 </bsbObject>
1775 <bsbObject version="2" type="BSBLabel">
1776 <objectName/>
1777 <x>5</x>
1778 <y>289</y>
1779 <width>102</width>
1780 <height>29</height>
1781 <uuid>{df02308f-b978-4275-817e-1ad38c5b30d5}</uuid>
1782 <visible>true</visible>
1783 <midichan>0</midichan>
1784 <midicc>0</midicc>
1785 <description/>
1786 <label>Input Channel</label>
1787 <alignment>right</alignment>
1788 <valignment>top</valignment>
1789 <font>Nimbus Sans L</font>
1790 <fontsize>14</fontsize>
1791 <precision>3</precision>
1792 <color>
1793 <r>0</r>
1794 <g>0</g>
1795 <b>0</b>
1796 </color>
1797 <bgcolor mode="nobackground">
1798 <r>255</r>
1799 <g>255</g>
1800 <b>255</b>
1801 </bgcolor>
1802 <bordermode>noborder</bordermode>
1803 <borderradius>1</borderradius>
1804 <borderwidth>0</borderwidth>
1805 </bsbObject>
1806 </bsbPanel>
1807 <bsbPresets>
1808 </bsbPresets>
1809 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="360" y="248" width="612" height="322" visible="false" loopStart="0" loopEnd="0"> </EventPanel>