Debian Codegraph @

src/Examples/McCurdy Collection/GranularSynthesis/MorphingPresets.csd

raw
1 ;Written by Iain McCurdy, 2008
2
3 ;Modified for QuteCsound by René, October 2010, updated Feb 2011
4 ;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817
5
6 ;Notes on modifications from original csd:
7 ; Add table(s) for exp slider
8 ; Add Browser for audio files and power of two tables for grain3 opcode, accept mono or stereo wav files
9 ; Removed "Instructions and Info Panel" for the gui to fit in a 1200x800 screen
10
11 ; Morphing Presets
12 ; ---------------------------------------------------------------------------------------------------------------------------------
13 ; This example is based on the example 'grain3.csd' so I would recommend investigating that example first.
14 ; The innovation that this example introduces is the use of an X-Y 'joy' panel to allow the user to 2-dimensionally morph between
15 ; 4 presets.
16 ; The quickest way to see what this does is first to select a valid stereo audio file, then activate the on-screen 'On/Off' button,
17 ; then click on the 'Load' button (ensure that the files 'Preset1.txt', 'Preset2.txt', 'Preset3.txt' and 'Preset4.txt' are in the
18 ; same directory as this file), and to then drag the cross-hairs of the joy panel.
19 ; Four distinct presets are referenced to the four corners of the X-Y panel. Dragging the cross-hairs to locations other than these
20 ; four corners creates a morph, or interpolation, between the four presets, the influence of each preset on the resultant preset is
21 ; relative to its closeness to the current location of the cross-hairs.
22 ; You will notice that only parameters whose slider labels have been suffixed with an asterisk ('*') are influenced by the presets.
23 ; The sliders can of course be modified individually. A preset or snapshot can then be stored by clicking on one of the blue
24 ; boxes at each corner of the X-Y panel. All four presets can be stored permanantly a set of four text files by clicking on the red
25 ; 'save' button. These four text files, and consequently the four presets, can be re-loaded in a later Csound session by clicking
26 ; on the green 'load' button. The mechanism by which this is achieved is explained in detail in example 'ftsave_ftload.csd'.
27 ; More parameters can easily be included in a preset by making a small modification to the code.
28
29
30 ;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
31 <CsoundSynthesizer>
32 <CsOptions>
33 --env:SSDIR+=../../SourceMaterials
34 </CsOptions>
35 <CsInstruments>
36 sr = 44100 ;SAMPLE RATE
37 ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
38 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
39 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
40
41
42 ;FUNCTION TABLE USED TO STORE DATA FOR PRESET 1 to 4; NOTE THAT FUNCTION TABLES WILL NEED TO BE ENLARGED IF MORE THAT 8 PARAMETERS ARE TO BE INCLUDED IN THE PRESETS
43 gipfn1 ftgen 1, 0, 8, -2, 0
44 gipfn2 ftgen 2, 0, 8, -2, 0
45 gipfn3 ftgen 3, 0, 8, -2, 0
46 gipfn4 ftgen 4, 0, 8, -2, 0
47
48 ;;GRAIN ENVELOPE WINDOW FUNCTION TABLES:
49 giwfn1 ftgen 0, 0, 512, 20, 2 ; HANNING WINDOW
50 giwfn2 ftgen 0, 0, 512, 7, 0, 12, 1, 500, 0 ; PERCUSSIVE - STRAIGHT SEGMENTS
51 giwfn3 ftgen 0, 0, 512, 5, 0.00001, 12, 1, 500, 0.00001 ; PERCUSSIVE - EXPONENTIAL SEGMENTS
52 giwfn4 ftgen 0, 0, 512, 7, 0, 6, 1, 500, 1, 6, 0 ; GATE - WITH ANTI-CLICK RAMP UP AND RAMP DOWN SEGMENTS
53 giwfn5 ftgen 0, 0, 512, 7, 0, 500, 1, 12, 0 ; REVERSE PERCUSSIVE - STRAIGHT SEGMENTS
54 ;giwfn6 ftgen 0, 0, 512, 5, 0.001, 500, 1, 12, 0.001 ; REVERSE PERCUSSIVE - EXPONENTIAL SEGMENTS
55 giwfn6 ftgen 0, 0, 131072, 5, 0.00001, 131072-1024, 1, 1024, 0.00001 ; REVERSE PERCUSSIVE - EXPONENTIAL SEGMENTS
56
57 ;TABLE FOR EXP SLIDER
58 giExp16 ftgen 0, 0, 129, -25, 0, 0.016125, 128, 16.0
59
60
61 instr 10 ;GUI
62 ktrig metro 10
63 if (ktrig == 1) then
64 gkSyncCPS invalue "SyncCPS"
65 gkIntegerLoc invalue "IntegerLoc"
66 gkLessZero invalue "LessZero"
67 gkInterp invalue "Interp"
68 gkNoInterp invalue "NoInterp"
69 gkFreqCont invalue "FreqCont"
70 gkSkipInit invalue "SkipInit"
71 gkmode = gkSyncCPS + gkIntegerLoc + gkLessZero + gkInterp + gkNoInterp + gkFreqCont + gkFreqCont + gkSkipInit
72
73 gkamp invalue "Amplitude"
74 gkdur invalue "Grain_Duration" ;* saved in file preset
75 kpch invalue "Pitch" ;* saved in file preset
76 gkpch tablei kpch, giExp16, 1
77 outvalue "Pitch_Value", gkpch
78 gkfmd invalue "Pitch_Offset" ;* saved in file preset
79 gkdens invalue "Density" ;* saved in file preset
80 gkphs invalue "Grain_Phase" ;* saved in file preset
81 gkpmd invalue "Grain_Phase_Rnd_Offset" ;* saved in file preset
82 gkfrpow invalue "Dist_Rnd_Freq_Var"
83 gkprpow invalue "Dist_Rnd_Phase_Var"
84 gkseedL invalue "Seed_Value_L"
85 gkseedR invalue "Seed_Value_R"
86 gkDensRnd invalue "Density_Rnd_Amount"
87
88 gkmaxolap invalue "Maximum_Overlaps"
89 gkwfn invalue "Grain_Envelope"
90
91 ;AUDIO FILE CHANGE / LOAD IN POWER OF 2 TABLES **********************************************************************************************
92 ;Have put all this stuff in instr 10 to reduce the respons time when playing with midi
93
94 Sfile_new strcpy "" ;INIT TO EMPTY STRING
95
96 Sfile invalue "_Browse"
97 Sfile_old strcpyk Sfile_new
98 Sfile_new strcpyk Sfile
99 kfile strcmpk Sfile_new, Sfile_old
100
101 gkfile_new init 0
102 if kfile != 0 then ;IF A BANG HAD BEEN GENERATED IN THE LINE ABOVE
103 gkfile_new = 1 ;Flag to inform instr 1 that a new file is loaded
104 reinit NEW_FILE ;REINITIALIZE FROM LABEL 'NEW_FILE'
105 endif
106 NEW_FILE:
107 ;grain3 accept only power of 2 table size
108 ifnTemp ftgentmp 0, 0, 0, 1, Sfile, 0, 0, 1 ;Temporary table to get the audio file size
109 iftlen = ftlen(ifnTemp) ;file size
110 iftlen2 pow 2, ceil(log(iftlen)/log(2)) ;high nearest power of two table size
111
112 ;FUNCTION TABLES NUMBERS OF THE SOUND FILE THAT WILL BE GRANULATED
113 ichn filenchnls Sfile
114 if ichn == 1 then
115 giFileL ftgentmp 0, 0, iftlen2, 1, Sfile, 0, 0, 1 ;READ MONO AUDIO FILE CHANNEL 1
116 giFileR = giFileL
117 else
118 giFileL ftgentmp 0, 0, iftlen2, 1, Sfile, 0, 0, 1 ;READ STEREO AUDIO FILE CHANNEL 1
119 giFileR ftgentmp 0, 0, iftlen2, 1, Sfile, 0, 0, 2 ;READ STEREO AUDIO FILE CHANNEL 2
120 endif
121
122 ;*******************************************************************************************************************************************
123 endif
124 endin
125
126 instr 1 ;GRAIN3 INSTRUMENT
127 if gkfile_new = 1 then ;test if a new file is loaded by instr 10
128 gkfile_new = 0 ;flag to zero for next file change
129 reinit START ;REINITIALIZE FROM LABEL 'NEW_FILE1'
130 endif
131
132 kSwitch changed gkmaxolap, gkseedL, gkseedR, gkmode, gkwfn
133 if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
134 reinit START ;BEGIN A REINITIALISATION PASS FROM LABEL 'START'
135 endif
136
137 START:
138 imode = i(gkmode) ;SUM THE MODE BUTTON OUTPUTS
139 imaxovr = i(gkmaxolap) ;MAXIMUM NUMBER OF OVERLAPS
140 iwfn = giwfn1 + i(gkwfn)
141 kpitch = (sr*gkpch)/ftlen(giFileL) ;MATHEMATICALLY REINTERPRET USER INPUTTED PITCH RATIO VALUE INTO A FORMAT THAT IS USABLE AS AN INPUT ARGUMENT BY THE grain3 OPCODE - ftlen(x) FUNCTION RETURNS THE LENGTH OF A FUNCTION TABLE (no. x), REFER TO MANUAL FOR MORE INFO.
142 kphs = gkphs*(nsamp(giFileL)/ftlen(giFileL)) ;MATHREMATICALLY REINTERPRET USER INPUTTED PHASE VALUE INTO A FORMAT THAT IS USABLE AS AN INPUT ARGUMENT BY THE grain3 OPCODE
143 kDensRnd exprand gkDensRnd ;CREATE A RANDOM OFFSET FACTOR THAT WILL BE APPLIED TO FOR DENSITY
144 kdens = gkdens * (1 + kDensRnd) ;DENSITY VALUE IS OFFSET BY RANDOM FACTOR
145
146 aSigL grain3 kpitch, kphs, gkfmd, gkpmd, gkdur, kdens, imaxovr, giFileL, iwfn, gkfrpow, gkprpow , i(gkseedL), imode
147 aSigR grain3 kpitch, kphs, gkfmd, gkpmd, gkdur, kdens, imaxovr, giFileL, iwfn, gkfrpow, gkprpow , i(gkseedR), imode
148 rireturn ;RETURN TO PERFORMANCE TIME PASSES
149 outs aSigL * gkamp, aSigR * gkamp ;SEND AUDIO TO OUTPUTS
150
151 kx invalue "Morph_X"
152 ky invalue "Morph_Y"
153
154 ktrigger changed kx, ky
155 if ktrigger!=1 kgoto SKIP
156
157 ;A TEXT MACRO IS DEFINED THAT PROVIDES THE CODE THAT WILL BE USED TO DERIVE A VALUE FOR EACH PARAMETER GOVERNED BY THE PRESETS
158 ;THIS CODE WILL BE REPEATED FOR EACH PARAMETER SO TO USE A MACRO GREATLY REDUCES THE AMOUNT OF CODE NEEDED, PARTICULARLY IF A LARGE NUMBER OF PARAMETERS ARE NEEDED
159 ;START OF TEXT MACRO
160 #define MORPH(VAR'WIDGET'NDX) #
161 k$VAR1 table $NDX, 1 ;DERIVE PARAMETER FOR PRESET 1 (UPPER LEFT CORNER)
162 k$VAR2 table $NDX, 2 ;DERIVE PARAMETER FOR PRESET 2 (UPPER RIGHT CORNER)
163 k$VAR3 table $NDX, 3 ;DERIVE PARAMETER FOR PRESET 3 (BOTTOM LEFT CORNER)
164 k$VAR4 table $NDX, 4 ;DERIVE PARAMETER FOR PRESET 4 (BOTTOM RIGHT CORNER)
165 k$VARXTop ntrpol k$VAR1,k$VAR2,kx ;CREATE AN INTERIM VARIABLE INTERPOLATED BETWEEN PRESET 1 AND PRESET 2 (UPPER EDGE OF GUI panel)
166 k$VARXBot ntrpol k$VAR3,k$VAR4,kx ;CREATE AN INTERIM VARIABLE INTERPOLATED BETWEEN PRESET 3 AND PRESET 4 (BOTTOM EDGE OF GUI panel)
167 k$VARi ntrpol k$VARXBot,k$VARXTop,ky ;DERIVE THE FINAL VALUE FOR THE REQUIRED PARAMETER BY INTERPOLATING BETWEEN UPPER EDGE VARIABLE AND BOTTOM EDGE VARIABLE
168 outvalue "$WIDGET", k$VARi ;UPDATE SLIDER APPEARANCE FOR RELEVANT PARAMETER
169 #
170 ;END OF TEXT MACRO
171
172 ;CREATE AN ITERATION OF THE 'MORPH' CODE MACRO
173 $MORPH(dens'Density'0)
174 $MORPH(dur'Grain_Duration'1)
175 $MORPH(pch'Pitch'2)
176 $MORPH(fmd'Pitch_Offset'3)
177 $MORPH(phs'Grain_Phase'4)
178 $MORPH(pmd'Grain_Phase_Rnd_Offset'5)
179 SKIP:
180 endin
181
182 instr 11 ;SAVE DATA TO A FUNCTION TABLE, THIS INSTRUMENT IS ACTIVATED EACH TIME A CORNER BUTTON IS PRESSED
183 ;PARAMETER VALUE IS WRITTEN TO ITS OWN UNIQUE LOCATION IN THE FUNCTION TABLE FOR THAT PRESET
184 tableiw i(gkdens), 0, p4
185 tableiw i(gkdur), 1, p4
186 tableiw i(gkpch), 2, p4
187 tableiw i(gkfmd), 3, p4
188 tableiw i(gkphs), 4, p4
189 tableiw i(gkpmd), 5, p4
190 endin
191
192 instr 21 ;LOAD DATA FROM STORED TEXT FILES, THIS INSTRUMENT IS ACTIVATED BRIEFLY WHENEVER THE 'Load' BUTTON IS PRESSED
193 ;LOAD FILE TO FUNCTION TABLE
194 ftload "Preset1.txt", 1, 1
195 ftload "Preset2.txt", 1, 2
196 ftload "Preset3.txt", 1, 3
197 ftload "Preset4.txt", 1, 4
198 endin
199
200 instr 31 ;SAVE DATA TO TEXT FILES STORED ON DISK, THIS INSTRUMENT IS ACTIVATED BRIEFLY WHENEVER THE 'Save' BUTTON IS PRESSED
201 ;FUNCTION TABLE IS SAVED AS A TEXT FILE (FILE EXTENSION COULD BE ANYTHING OR NOTHING BUT MAKING IT A TEXT FILE MAKES IT EASY TO OPEN AND EXAMINE AND POSSIBLY ALTER - FOR THIS, DATA TYPE FLAG SHOULD BE NON-ZERO)
202 ftsave "Preset1.txt", 1, 1
203 ftsave "Preset2.txt", 1, 2
204 ftsave "Preset3.txt", 1, 3
205 ftsave "Preset4.txt", 1, 4
206 endin
207 </CsInstruments>
208 <CsScore>
209 ;INSTR | START | DURATION
210 i 10 0 3600 ;GUI
211 i 21 1 0.1
212 </CsScore>
213 </CsoundSynthesizer>
214
215 <bsbPanel>
216 <label>Widgets</label>
217 <objectName/>
218 <x>240</x>
219 <y>298</y>
220 <width>1125</width>
221 <height>388</height>
222 <visible>true</visible>
223 <uuid/>
224 <bgcolor mode="background">
225 <r>241</r>
226 <g>226</g>
227 <b>185</b>
228 </bgcolor>
229 <bsbObject version="2" type="BSBLabel">
230 <objectName/>
231 <x>2</x>
232 <y>2</y>
233 <width>1123</width>
234 <height>386</height>
235 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
236 <visible>true</visible>
237 <midichan>0</midichan>
238 <midicc>0</midicc>
239 <label>Morphing Presets</label>
240 <alignment>center</alignment>
241 <font>Liberation Sans</font>
242 <fontsize>18</fontsize>
243 <precision>3</precision>
244 <color>
245 <r>255</r>
246 <g>255</g>
247 <b>255</b>
248 </color>
249 <bgcolor mode="background">
250 <r>0</r>
251 <g>85</g>
252 <b>0</b>
253 </bgcolor>
254 <bordermode>border</bordermode>
255 <borderradius>5</borderradius>
256 <borderwidth>2</borderwidth>
257 </bsbObject>
258 <bsbObject version="2" type="BSBButton">
259 <objectName/>
260 <x>8</x>
261 <y>8</y>
262 <width>120</width>
263 <height>30</height>
264 <uuid>{55273d97-d39a-441c-8da6-87ea139493b6}</uuid>
265 <visible>true</visible>
266 <midichan>0</midichan>
267 <midicc>0</midicc>
268 <type>event</type>
269 <pressedValue>1.00000000</pressedValue>
270 <stringvalue/>
271 <text> On / Off</text>
272 <image>/</image>
273 <eventLine>i1 0 -1</eventLine>
274 <latch>true</latch>
275 <latched>false</latched>
276 </bsbObject>
277 <bsbObject version="2" type="BSBLabel">
278 <objectName/>
279 <x>8</x>
280 <y>148</y>
281 <width>180</width>
282 <height>30</height>
283 <uuid>{8d67138b-037d-461e-8a25-108f849b03c2}</uuid>
284 <visible>true</visible>
285 <midichan>0</midichan>
286 <midicc>0</midicc>
287 <label>Pitch *</label>
288 <alignment>left</alignment>
289 <font>Liberation Sans</font>
290 <fontsize>10</fontsize>
291 <precision>3</precision>
292 <color>
293 <r>255</r>
294 <g>255</g>
295 <b>255</b>
296 </color>
297 <bgcolor mode="nobackground">
298 <r>255</r>
299 <g>255</g>
300 <b>255</b>
301 </bgcolor>
302 <bordermode>noborder</bordermode>
303 <borderradius>1</borderradius>
304 <borderwidth>1</borderwidth>
305 </bsbObject>
306 <bsbObject version="2" type="BSBHSlider">
307 <objectName>Pitch</objectName>
308 <x>8</x>
309 <y>125</y>
310 <width>350</width>
311 <height>27</height>
312 <uuid>{273087bd-e04a-4975-a3bd-5b0a8b5fd40a}</uuid>
313 <visible>true</visible>
314 <midichan>0</midichan>
315 <midicc>0</midicc>
316 <minimum>0.00000000</minimum>
317 <maximum>1.00000000</maximum>
318 <value>0.62557477</value>
319 <mode>lin</mode>
320 <mouseControl act="jump">continuous</mouseControl>
321 <resolution>-1.00000000</resolution>
322 <randomizable group="0">false</randomizable>
323 </bsbObject>
324 <bsbObject version="2" type="BSBDisplay">
325 <objectName>Pitch_Value</objectName>
326 <x>298</x>
327 <y>148</y>
328 <width>60</width>
329 <height>30</height>
330 <uuid>{04617e86-7abe-4120-bb9b-1d6ccd2f0983}</uuid>
331 <visible>true</visible>
332 <midichan>0</midichan>
333 <midicc>0</midicc>
334 <label>1.208</label>
335 <alignment>right</alignment>
336 <font>Liberation Sans</font>
337 <fontsize>9</fontsize>
338 <precision>3</precision>
339 <color>
340 <r>255</r>
341 <g>255</g>
342 <b>255</b>
343 </color>
344 <bgcolor mode="nobackground">
345 <r>255</r>
346 <g>255</g>
347 <b>255</b>
348 </bgcolor>
349 <bordermode>noborder</bordermode>
350 <borderradius>1</borderradius>
351 <borderwidth>1</borderwidth>
352 </bsbObject>
353 <bsbObject version="2" type="BSBLabel">
354 <objectName/>
355 <x>578</x>
356 <y>49</y>
357 <width>120</width>
358 <height>30</height>
359 <uuid>{2c02703f-de38-40de-bc69-7c787c5a13b3}</uuid>
360 <visible>true</visible>
361 <midichan>0</midichan>
362 <midicc>0</midicc>
363 <label>Seed Value L</label>
364 <alignment>left</alignment>
365 <font>Liberation Sans</font>
366 <fontsize>10</fontsize>
367 <precision>3</precision>
368 <color>
369 <r>255</r>
370 <g>255</g>
371 <b>255</b>
372 </color>
373 <bgcolor mode="nobackground">
374 <r>255</r>
375 <g>255</g>
376 <b>255</b>
377 </bgcolor>
378 <bordermode>noborder</bordermode>
379 <borderradius>1</borderradius>
380 <borderwidth>1</borderwidth>
381 </bsbObject>
382 <bsbObject version="2" type="BSBLabel">
383 <objectName/>
384 <x>702</x>
385 <y>49</y>
386 <width>120</width>
387 <height>30</height>
388 <uuid>{4e98b9a0-55c5-4aef-b473-1d0b761def5d}</uuid>
389 <visible>true</visible>
390 <midichan>0</midichan>
391 <midicc>0</midicc>
392 <label>Seed Value R</label>
393 <alignment>left</alignment>
394 <font>Liberation Sans</font>
395 <fontsize>10</fontsize>
396 <precision>3</precision>
397 <color>
398 <r>255</r>
399 <g>255</g>
400 <b>255</b>
401 </color>
402 <bgcolor mode="nobackground">
403 <r>255</r>
404 <g>255</g>
405 <b>255</b>
406 </bgcolor>
407 <bordermode>noborder</bordermode>
408 <borderradius>1</borderradius>
409 <borderwidth>1</borderwidth>
410 </bsbObject>
411 <bsbObject version="2" type="BSBButton">
412 <objectName>_Browse</objectName>
413 <x>370</x>
414 <y>110</y>
415 <width>170</width>
416 <height>30</height>
417 <uuid>{1757a18f-b418-4ef1-984d-bdee5e985805}</uuid>
418 <visible>true</visible>
419 <midichan>0</midichan>
420 <midicc>0</midicc>
421 <type>value</type>
422 <pressedValue>1.00000000</pressedValue>
423 <stringvalue>ClassicalGuitar.wav</stringvalue>
424 <text>Browse Audio File</text>
425 <image>/</image>
426 <eventLine/>
427 <latch>false</latch>
428 <latched>false</latched>
429 </bsbObject>
430 <bsbObject version="2" type="BSBLineEdit">
431 <objectName>_Browse</objectName>
432 <x>540</x>
433 <y>111</y>
434 <width>282</width>
435 <height>28</height>
436 <uuid>{804f4f24-03f1-4ac2-8ba2-697f15df06cf}</uuid>
437 <visible>true</visible>
438 <midichan>0</midichan>
439 <midicc>0</midicc>
440 <label>ClassicalGuitar.wav</label>
441 <alignment>left</alignment>
442 <font>Liberation Sans</font>
443 <fontsize>10</fontsize>
444 <precision>3</precision>
445 <color>
446 <r>0</r>
447 <g>0</g>
448 <b>0</b>
449 </color>
450 <bgcolor mode="nobackground">
451 <r>229</r>
452 <g>229</g>
453 <b>229</b>
454 </bgcolor>
455 <background>nobackground</background>
456 </bsbObject>
457 <bsbObject version="2" type="BSBLabel">
458 <objectName/>
459 <x>370</x>
460 <y>89</y>
461 <width>120</width>
462 <height>30</height>
463 <uuid>{a918d231-4dd1-4893-81ef-bf453535bda6}</uuid>
464 <visible>true</visible>
465 <midichan>0</midichan>
466 <midicc>0</midicc>
467 <label>Input File</label>
468 <alignment>left</alignment>
469 <font>Liberation Sans</font>
470 <fontsize>10</fontsize>
471 <precision>3</precision>
472 <color>
473 <r>255</r>
474 <g>255</g>
475 <b>255</b>
476 </color>
477 <bgcolor mode="nobackground">
478 <r>255</r>
479 <g>255</g>
480 <b>255</b>
481 </bgcolor>
482 <bordermode>noborder</bordermode>
483 <borderradius>1</borderradius>
484 <borderwidth>1</borderwidth>
485 </bsbObject>
486 <bsbObject version="2" type="BSBLabel">
487 <objectName/>
488 <x>8</x>
489 <y>106</y>
490 <width>180</width>
491 <height>30</height>
492 <uuid>{93f3e274-799d-49e8-9392-4d8c6ad43ae2}</uuid>
493 <visible>true</visible>
494 <midichan>0</midichan>
495 <midicc>0</midicc>
496 <label>Grain Duration (ms) *</label>
497 <alignment>left</alignment>
498 <font>Liberation Sans</font>
499 <fontsize>10</fontsize>
500 <precision>3</precision>
501 <color>
502 <r>255</r>
503 <g>255</g>
504 <b>255</b>
505 </color>
506 <bgcolor mode="nobackground">
507 <r>255</r>
508 <g>255</g>
509 <b>255</b>
510 </bgcolor>
511 <bordermode>noborder</bordermode>
512 <borderradius>1</borderradius>
513 <borderwidth>1</borderwidth>
514 </bsbObject>
515 <bsbObject version="2" type="BSBHSlider">
516 <objectName>Grain_Duration</objectName>
517 <x>8</x>
518 <y>83</y>
519 <width>350</width>
520 <height>27</height>
521 <uuid>{89741b38-8333-4828-b8b8-656cff90d564}</uuid>
522 <visible>true</visible>
523 <midichan>0</midichan>
524 <midicc>0</midicc>
525 <minimum>0.00100000</minimum>
526 <maximum>2.00000000</maximum>
527 <value>0.13841422</value>
528 <mode>lin</mode>
529 <mouseControl act="jump">continuous</mouseControl>
530 <resolution>-1.00000000</resolution>
531 <randomizable group="0">false</randomizable>
532 </bsbObject>
533 <bsbObject version="2" type="BSBDisplay">
534 <objectName>Grain_Duration</objectName>
535 <x>298</x>
536 <y>106</y>
537 <width>60</width>
538 <height>30</height>
539 <uuid>{d1569d45-d5fa-452c-b69f-0b3e0b47cd01}</uuid>
540 <visible>true</visible>
541 <midichan>0</midichan>
542 <midicc>0</midicc>
543 <label>0.138</label>
544 <alignment>right</alignment>
545 <font>Liberation Sans</font>
546 <fontsize>9</fontsize>
547 <precision>3</precision>
548 <color>
549 <r>255</r>
550 <g>255</g>
551 <b>255</b>
552 </color>
553 <bgcolor mode="nobackground">
554 <r>255</r>
555 <g>255</g>
556 <b>255</b>
557 </bgcolor>
558 <bordermode>noborder</bordermode>
559 <borderradius>1</borderradius>
560 <borderwidth>1</borderwidth>
561 </bsbObject>
562 <bsbObject version="2" type="BSBLabel">
563 <objectName/>
564 <x>8</x>
565 <y>190</y>
566 <width>180</width>
567 <height>30</height>
568 <uuid>{9d200fd9-5a42-4f87-89ab-14ef5ac064ba}</uuid>
569 <visible>true</visible>
570 <midichan>0</midichan>
571 <midicc>0</midicc>
572 <label>Pitch Offset *</label>
573 <alignment>left</alignment>
574 <font>Liberation Sans</font>
575 <fontsize>10</fontsize>
576 <precision>3</precision>
577 <color>
578 <r>255</r>
579 <g>255</g>
580 <b>255</b>
581 </color>
582 <bgcolor mode="nobackground">
583 <r>255</r>
584 <g>255</g>
585 <b>255</b>
586 </bgcolor>
587 <bordermode>noborder</bordermode>
588 <borderradius>1</borderradius>
589 <borderwidth>1</borderwidth>
590 </bsbObject>
591 <bsbObject version="2" type="BSBHSlider">
592 <objectName>Pitch_Offset</objectName>
593 <x>8</x>
594 <y>167</y>
595 <width>350</width>
596 <height>27</height>
597 <uuid>{ecd7a8b0-5bb3-4479-b692-e56294223499}</uuid>
598 <visible>true</visible>
599 <midichan>0</midichan>
600 <midicc>0</midicc>
601 <minimum>0.00000000</minimum>
602 <maximum>2.00000000</maximum>
603 <value>0.04441559</value>
604 <mode>lin</mode>
605 <mouseControl act="jump">continuous</mouseControl>
606 <resolution>-1.00000000</resolution>
607 <randomizable group="0">false</randomizable>
608 </bsbObject>
609 <bsbObject version="2" type="BSBDisplay">
610 <objectName>Pitch_Offset</objectName>
611 <x>298</x>
612 <y>190</y>
613 <width>60</width>
614 <height>30</height>
615 <uuid>{f275c8fd-3605-49e8-9090-67ca5f21a9f6}</uuid>
616 <visible>true</visible>
617 <midichan>0</midichan>
618 <midicc>0</midicc>
619 <label>0.044</label>
620 <alignment>right</alignment>
621 <font>Liberation Sans</font>
622 <fontsize>9</fontsize>
623 <precision>3</precision>
624 <color>
625 <r>255</r>
626 <g>255</g>
627 <b>255</b>
628 </color>
629 <bgcolor mode="nobackground">
630 <r>255</r>
631 <g>255</g>
632 <b>255</b>
633 </bgcolor>
634 <bordermode>noborder</bordermode>
635 <borderradius>1</borderradius>
636 <borderwidth>1</borderwidth>
637 </bsbObject>
638 <bsbObject version="2" type="BSBLabel">
639 <objectName/>
640 <x>8</x>
641 <y>64</y>
642 <width>180</width>
643 <height>30</height>
644 <uuid>{5cde19f3-b356-4945-9c8b-43dd67c604dd}</uuid>
645 <visible>true</visible>
646 <midichan>0</midichan>
647 <midicc>0</midicc>
648 <label>Amplitude</label>
649 <alignment>left</alignment>
650 <font>Liberation Sans</font>
651 <fontsize>10</fontsize>
652 <precision>3</precision>
653 <color>
654 <r>255</r>
655 <g>255</g>
656 <b>255</b>
657 </color>
658 <bgcolor mode="nobackground">
659 <r>255</r>
660 <g>255</g>
661 <b>255</b>
662 </bgcolor>
663 <bordermode>noborder</bordermode>
664 <borderradius>1</borderradius>
665 <borderwidth>1</borderwidth>
666 </bsbObject>
667 <bsbObject version="2" type="BSBHSlider">
668 <objectName>Amplitude</objectName>
669 <x>8</x>
670 <y>41</y>
671 <width>350</width>
672 <height>27</height>
673 <uuid>{d6d73a88-8d82-47de-a067-758f1917a3f2}</uuid>
674 <visible>true</visible>
675 <midichan>0</midichan>
676 <midicc>0</midicc>
677 <minimum>0.00000000</minimum>
678 <maximum>1.00000000</maximum>
679 <value>0.20000000</value>
680 <mode>lin</mode>
681 <mouseControl act="jump">continuous</mouseControl>
682 <resolution>-1.00000000</resolution>
683 <randomizable group="0">false</randomizable>
684 </bsbObject>
685 <bsbObject version="2" type="BSBDisplay">
686 <objectName>Amplitude</objectName>
687 <x>298</x>
688 <y>64</y>
689 <width>60</width>
690 <height>30</height>
691 <uuid>{073ad371-9227-46fa-a005-ac10a210db79}</uuid>
692 <visible>true</visible>
693 <midichan>0</midichan>
694 <midicc>0</midicc>
695 <label>0.200</label>
696 <alignment>right</alignment>
697 <font>Liberation Sans</font>
698 <fontsize>9</fontsize>
699 <precision>3</precision>
700 <color>
701 <r>255</r>
702 <g>255</g>
703 <b>255</b>
704 </color>
705 <bgcolor mode="nobackground">
706 <r>255</r>
707 <g>255</g>
708 <b>255</b>
709 </bgcolor>
710 <bordermode>noborder</bordermode>
711 <borderradius>1</borderradius>
712 <borderwidth>1</borderwidth>
713 </bsbObject>
714 <bsbObject version="2" type="BSBLabel">
715 <objectName/>
716 <x>8</x>
717 <y>316</y>
718 <width>180</width>
719 <height>30</height>
720 <uuid>{b6afbe1e-677c-44a6-ba84-4c32dc21b0a7}</uuid>
721 <visible>true</visible>
722 <midichan>0</midichan>
723 <midicc>0</midicc>
724 <label>Grain Phase Random Offset *</label>
725 <alignment>left</alignment>
726 <font>Liberation Sans</font>
727 <fontsize>10</fontsize>
728 <precision>3</precision>
729 <color>
730 <r>255</r>
731 <g>255</g>
732 <b>255</b>
733 </color>
734 <bgcolor mode="nobackground">
735 <r>255</r>
736 <g>255</g>
737 <b>255</b>
738 </bgcolor>
739 <bordermode>noborder</bordermode>
740 <borderradius>1</borderradius>
741 <borderwidth>1</borderwidth>
742 </bsbObject>
743 <bsbObject version="2" type="BSBHSlider">
744 <objectName>Grain_Phase_Rnd_Offset</objectName>
745 <x>8</x>
746 <y>293</y>
747 <width>350</width>
748 <height>27</height>
749 <uuid>{859d1ded-b337-4ee7-ac9b-48a1b5f77d16}</uuid>
750 <visible>true</visible>
751 <midichan>0</midichan>
752 <midicc>0</midicc>
753 <minimum>0.00000000</minimum>
754 <maximum>1.00000000</maximum>
755 <value>0.21667866</value>
756 <mode>lin</mode>
757 <mouseControl act="jump">continuous</mouseControl>
758 <resolution>-1.00000000</resolution>
759 <randomizable group="0">false</randomizable>
760 </bsbObject>
761 <bsbObject version="2" type="BSBDisplay">
762 <objectName>Grain_Phase_Rnd_Offset</objectName>
763 <x>298</x>
764 <y>316</y>
765 <width>60</width>
766 <height>30</height>
767 <uuid>{95f6cb02-77ec-46fe-876b-a93efac3c5e5}</uuid>
768 <visible>true</visible>
769 <midichan>0</midichan>
770 <midicc>0</midicc>
771 <label>0.217</label>
772 <alignment>right</alignment>
773 <font>Liberation Sans</font>
774 <fontsize>9</fontsize>
775 <precision>3</precision>
776 <color>
777 <r>255</r>
778 <g>255</g>
779 <b>255</b>
780 </color>
781 <bgcolor mode="nobackground">
782 <r>255</r>
783 <g>255</g>
784 <b>255</b>
785 </bgcolor>
786 <bordermode>noborder</bordermode>
787 <borderradius>1</borderradius>
788 <borderwidth>1</borderwidth>
789 </bsbObject>
790 <bsbObject version="2" type="BSBLabel">
791 <objectName/>
792 <x>8</x>
793 <y>274</y>
794 <width>180</width>
795 <height>30</height>
796 <uuid>{7fd47947-fd0d-4964-85e5-682fed1916c7}</uuid>
797 <visible>true</visible>
798 <midichan>0</midichan>
799 <midicc>0</midicc>
800 <label>Grain Phase *</label>
801 <alignment>left</alignment>
802 <font>Liberation Sans</font>
803 <fontsize>10</fontsize>
804 <precision>3</precision>
805 <color>
806 <r>255</r>
807 <g>255</g>
808 <b>255</b>
809 </color>
810 <bgcolor mode="nobackground">
811 <r>255</r>
812 <g>255</g>
813 <b>255</b>
814 </bgcolor>
815 <bordermode>noborder</bordermode>
816 <borderradius>1</borderradius>
817 <borderwidth>1</borderwidth>
818 </bsbObject>
819 <bsbObject version="2" type="BSBHSlider">
820 <objectName>Grain_Phase</objectName>
821 <x>8</x>
822 <y>251</y>
823 <width>350</width>
824 <height>27</height>
825 <uuid>{475cdd64-a4ca-4ebc-a000-90448e932478}</uuid>
826 <visible>true</visible>
827 <midichan>0</midichan>
828 <midicc>0</midicc>
829 <minimum>0.00000000</minimum>
830 <maximum>1.00000000</maximum>
831 <value>0.23824507</value>
832 <mode>lin</mode>
833 <mouseControl act="jump">continuous</mouseControl>
834 <resolution>-1.00000000</resolution>
835 <randomizable group="0">false</randomizable>
836 </bsbObject>
837 <bsbObject version="2" type="BSBDisplay">
838 <objectName>Grain_Phase</objectName>
839 <x>298</x>
840 <y>274</y>
841 <width>60</width>
842 <height>30</height>
843 <uuid>{dc75acc2-c015-4b8d-8fb2-467b9fb96d42}</uuid>
844 <visible>true</visible>
845 <midichan>0</midichan>
846 <midicc>0</midicc>
847 <label>0.238</label>
848 <alignment>right</alignment>
849 <font>Liberation Sans</font>
850 <fontsize>9</fontsize>
851 <precision>3</precision>
852 <color>
853 <r>255</r>
854 <g>255</g>
855 <b>255</b>
856 </color>
857 <bgcolor mode="nobackground">
858 <r>255</r>
859 <g>255</g>
860 <b>255</b>
861 </bgcolor>
862 <bordermode>noborder</bordermode>
863 <borderradius>1</borderradius>
864 <borderwidth>1</borderwidth>
865 </bsbObject>
866 <bsbObject version="2" type="BSBLabel">
867 <objectName/>
868 <x>8</x>
869 <y>358</y>
870 <width>250</width>
871 <height>30</height>
872 <uuid>{1b53998a-9e9e-4067-8cee-83fc9f2f657b}</uuid>
873 <visible>true</visible>
874 <midichan>0</midichan>
875 <midicc>0</midicc>
876 <label>Distribution of Random Frequency Variation</label>
877 <alignment>left</alignment>
878 <font>Liberation Sans</font>
879 <fontsize>10</fontsize>
880 <precision>3</precision>
881 <color>
882 <r>255</r>
883 <g>255</g>
884 <b>255</b>
885 </color>
886 <bgcolor mode="nobackground">
887 <r>255</r>
888 <g>255</g>
889 <b>255</b>
890 </bgcolor>
891 <bordermode>noborder</bordermode>
892 <borderradius>1</borderradius>
893 <borderwidth>1</borderwidth>
894 </bsbObject>
895 <bsbObject version="2" type="BSBHSlider">
896 <objectName>Dist_Rnd_Freq_Var</objectName>
897 <x>8</x>
898 <y>335</y>
899 <width>350</width>
900 <height>27</height>
901 <uuid>{4bea56a5-96d7-49d0-90a1-6d1dd17fc584}</uuid>
902 <visible>true</visible>
903 <midichan>0</midichan>
904 <midicc>0</midicc>
905 <minimum>-2.00000000</minimum>
906 <maximum>2.00000000</maximum>
907 <value>0.00000000</value>
908 <mode>lin</mode>
909 <mouseControl act="jump">continuous</mouseControl>
910 <resolution>-1.00000000</resolution>
911 <randomizable group="0">false</randomizable>
912 </bsbObject>
913 <bsbObject version="2" type="BSBDisplay">
914 <objectName>Dist_Rnd_Freq_Var</objectName>
915 <x>298</x>
916 <y>358</y>
917 <width>60</width>
918 <height>30</height>
919 <uuid>{225c97bc-f9f0-4085-94c4-f8de353f00cc}</uuid>
920 <visible>true</visible>
921 <midichan>0</midichan>
922 <midicc>0</midicc>
923 <label>0.000</label>
924 <alignment>right</alignment>
925 <font>Liberation Sans</font>
926 <fontsize>9</fontsize>
927 <precision>3</precision>
928 <color>
929 <r>255</r>
930 <g>255</g>
931 <b>255</b>
932 </color>
933 <bgcolor mode="nobackground">
934 <r>255</r>
935 <g>255</g>
936 <b>255</b>
937 </bgcolor>
938 <bordermode>noborder</bordermode>
939 <borderradius>1</borderradius>
940 <borderwidth>1</borderwidth>
941 </bsbObject>
942 <bsbObject version="2" type="BSBLabel">
943 <objectName/>
944 <x>8</x>
945 <y>232</y>
946 <width>180</width>
947 <height>30</height>
948 <uuid>{3ebc1139-1fdb-48dc-9150-49ee8dfdbd4a}</uuid>
949 <visible>true</visible>
950 <midichan>0</midichan>
951 <midicc>0</midicc>
952 <label>Density *</label>
953 <alignment>left</alignment>
954 <font>Liberation Sans</font>
955 <fontsize>10</fontsize>
956 <precision>3</precision>
957 <color>
958 <r>255</r>
959 <g>255</g>
960 <b>255</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>1</borderwidth>
970 </bsbObject>
971 <bsbObject version="2" type="BSBHSlider">
972 <objectName>Density</objectName>
973 <x>8</x>
974 <y>209</y>
975 <width>350</width>
976 <height>27</height>
977 <uuid>{2cf97843-5b49-438e-8034-62a459597e86}</uuid>
978 <visible>true</visible>
979 <midichan>0</midichan>
980 <midicc>0</midicc>
981 <minimum>1.00000000</minimum>
982 <maximum>500.00000000</maximum>
983 <value>93.28833008</value>
984 <mode>lin</mode>
985 <mouseControl act="jump">continuous</mouseControl>
986 <resolution>-1.00000000</resolution>
987 <randomizable group="0">false</randomizable>
988 </bsbObject>
989 <bsbObject version="2" type="BSBDisplay">
990 <objectName>Density</objectName>
991 <x>298</x>
992 <y>232</y>
993 <width>60</width>
994 <height>30</height>
995 <uuid>{e54486c5-f9aa-4d0e-9a67-6506dae3c790}</uuid>
996 <visible>true</visible>
997 <midichan>0</midichan>
998 <midicc>0</midicc>
999 <label>93.288</label>
1000 <alignment>right</alignment>
1001 <font>Liberation Sans</font>
1002 <fontsize>9</fontsize>
1003 <precision>3</precision>
1004 <color>
1005 <r>255</r>
1006 <g>255</g>
1007 <b>255</b>
1008 </color>
1009 <bgcolor mode="nobackground">
1010 <r>255</r>
1011 <g>255</g>
1012 <b>255</b>
1013 </bgcolor>
1014 <bordermode>noborder</bordermode>
1015 <borderradius>1</borderradius>
1016 <borderwidth>1</borderwidth>
1017 </bsbObject>
1018 <bsbObject version="2" type="BSBLabel">
1019 <objectName/>
1020 <x>370</x>
1021 <y>357</y>
1022 <width>250</width>
1023 <height>30</height>
1024 <uuid>{7fcf32c6-3a0e-4612-954b-4d5058e0c8ea}</uuid>
1025 <visible>true</visible>
1026 <midichan>0</midichan>
1027 <midicc>0</midicc>
1028 <label>Distribution of Random Phase Variation</label>
1029 <alignment>left</alignment>
1030 <font>Liberation Sans</font>
1031 <fontsize>10</fontsize>
1032 <precision>3</precision>
1033 <color>
1034 <r>255</r>
1035 <g>255</g>
1036 <b>255</b>
1037 </color>
1038 <bgcolor mode="nobackground">
1039 <r>255</r>
1040 <g>255</g>
1041 <b>255</b>
1042 </bgcolor>
1043 <bordermode>noborder</bordermode>
1044 <borderradius>1</borderradius>
1045 <borderwidth>1</borderwidth>
1046 </bsbObject>
1047 <bsbObject version="2" type="BSBHSlider">
1048 <objectName>Dist_Rnd_Phase_Var</objectName>
1049 <x>370</x>
1050 <y>334</y>
1051 <width>350</width>
1052 <height>27</height>
1053 <uuid>{c9a337f2-f38b-4b56-8acb-2ee24ea9690d}</uuid>
1054 <visible>true</visible>
1055 <midichan>0</midichan>
1056 <midicc>0</midicc>
1057 <minimum>-2.00000000</minimum>
1058 <maximum>2.00000000</maximum>
1059 <value>0.00000000</value>
1060 <mode>lin</mode>
1061 <mouseControl act="jump">continuous</mouseControl>
1062 <resolution>-1.00000000</resolution>
1063 <randomizable group="0">false</randomizable>
1064 </bsbObject>
1065 <bsbObject version="2" type="BSBDisplay">
1066 <objectName>Dist_Rnd_Phase_Var</objectName>
1067 <x>660</x>
1068 <y>357</y>
1069 <width>60</width>
1070 <height>30</height>
1071 <uuid>{37c96c68-4b39-43be-9026-e1eba2af009e}</uuid>
1072 <visible>true</visible>
1073 <midichan>0</midichan>
1074 <midicc>0</midicc>
1075 <label>0.000</label>
1076 <alignment>right</alignment>
1077 <font>Liberation Sans</font>
1078 <fontsize>9</fontsize>
1079 <precision>3</precision>
1080 <color>
1081 <r>255</r>
1082 <g>255</g>
1083 <b>255</b>
1084 </color>
1085 <bgcolor mode="nobackground">
1086 <r>255</r>
1087 <g>255</g>
1088 <b>255</b>
1089 </bgcolor>
1090 <bordermode>noborder</bordermode>
1091 <borderradius>1</borderradius>
1092 <borderwidth>1</borderwidth>
1093 </bsbObject>
1094 <bsbObject version="2" type="BSBLabel">
1095 <objectName/>
1096 <x>370</x>
1097 <y>316</y>
1098 <width>250</width>
1099 <height>30</height>
1100 <uuid>{5d8814e4-a0fd-40f9-b2da-c13148918037}</uuid>
1101 <visible>true</visible>
1102 <midichan>0</midichan>
1103 <midicc>0</midicc>
1104 <label>Density Randomize Amount</label>
1105 <alignment>left</alignment>
1106 <font>Liberation Sans</font>
1107 <fontsize>10</fontsize>
1108 <precision>3</precision>
1109 <color>
1110 <r>255</r>
1111 <g>255</g>
1112 <b>255</b>
1113 </color>
1114 <bgcolor mode="nobackground">
1115 <r>255</r>
1116 <g>255</g>
1117 <b>255</b>
1118 </bgcolor>
1119 <bordermode>noborder</bordermode>
1120 <borderradius>1</borderradius>
1121 <borderwidth>1</borderwidth>
1122 </bsbObject>
1123 <bsbObject version="2" type="BSBHSlider">
1124 <objectName>Density_Rnd_Amount</objectName>
1125 <x>370</x>
1126 <y>293</y>
1127 <width>350</width>
1128 <height>27</height>
1129 <uuid>{2a3075e3-627c-410d-be6e-1914f6f9aef0}</uuid>
1130 <visible>true</visible>
1131 <midichan>0</midichan>
1132 <midicc>0</midicc>
1133 <minimum>0.00000000</minimum>
1134 <maximum>10.00000000</maximum>
1135 <value>0.00000000</value>
1136 <mode>lin</mode>
1137 <mouseControl act="jump">continuous</mouseControl>
1138 <resolution>-1.00000000</resolution>
1139 <randomizable group="0">false</randomizable>
1140 </bsbObject>
1141 <bsbObject version="2" type="BSBDisplay">
1142 <objectName>Density_Rnd_Amount</objectName>
1143 <x>660</x>
1144 <y>316</y>
1145 <width>60</width>
1146 <height>30</height>
1147 <uuid>{691ed7a3-eb1b-4d80-8163-4b8f218f345c}</uuid>
1148 <visible>true</visible>
1149 <midichan>0</midichan>
1150 <midicc>0</midicc>
1151 <label>0.000</label>
1152 <alignment>right</alignment>
1153 <font>Liberation Sans</font>
1154 <fontsize>9</fontsize>
1155 <precision>3</precision>
1156 <color>
1157 <r>255</r>
1158 <g>255</g>
1159 <b>255</b>
1160 </color>
1161 <bgcolor mode="nobackground">
1162 <r>255</r>
1163 <g>255</g>
1164 <b>255</b>
1165 </bgcolor>
1166 <bordermode>noborder</bordermode>
1167 <borderradius>1</borderradius>
1168 <borderwidth>1</borderwidth>
1169 </bsbObject>
1170 <bsbObject version="2" type="BSBButton">
1171 <objectName>SyncCPS</objectName>
1172 <x>504</x>
1173 <y>158</y>
1174 <width>16</width>
1175 <height>16</height>
1176 <uuid>{418a721f-9fff-4c7e-8843-76bbfeef1c09}</uuid>
1177 <visible>true</visible>
1178 <midichan>0</midichan>
1179 <midicc>0</midicc>
1180 <type>value</type>
1181 <pressedValue>64.00000000</pressedValue>
1182 <stringvalue/>
1183 <text/>
1184 <image>/</image>
1185 <eventLine/>
1186 <latch>true</latch>
1187 <latched>false</latched>
1188 </bsbObject>
1189 <bsbObject version="2" type="BSBButton">
1190 <objectName>IntegerLoc</objectName>
1191 <x>642</x>
1192 <y>158</y>
1193 <width>16</width>
1194 <height>16</height>
1195 <uuid>{b6d59515-e40d-4f73-9f8a-134d81bd0682}</uuid>
1196 <visible>true</visible>
1197 <midichan>0</midichan>
1198 <midicc>0</midicc>
1199 <type>value</type>
1200 <pressedValue>32.00000000</pressedValue>
1201 <stringvalue/>
1202 <text/>
1203 <image>/</image>
1204 <eventLine/>
1205 <latch>true</latch>
1206 <latched>false</latched>
1207 </bsbObject>
1208 <bsbObject version="2" type="BSBLabel">
1209 <objectName/>
1210 <x>535</x>
1211 <y>149</y>
1212 <width>107</width>
1213 <height>34</height>
1214 <uuid>{285d8003-23e9-4481-95c3-771460a2d34d}</uuid>
1215 <visible>true</visible>
1216 <midichan>0</midichan>
1217 <midicc>0</midicc>
1218 <label>Start All Grains at Integer Location</label>
1219 <alignment>right</alignment>
1220 <font>Liberation Sans</font>
1221 <fontsize>10</fontsize>
1222 <precision>3</precision>
1223 <color>
1224 <r>255</r>
1225 <g>255</g>
1226 <b>255</b>
1227 </color>
1228 <bgcolor mode="nobackground">
1229 <r>255</r>
1230 <g>255</g>
1231 <b>255</b>
1232 </bgcolor>
1233 <bordermode>noborder</bordermode>
1234 <borderradius>1</borderradius>
1235 <borderwidth>1</borderwidth>
1236 </bsbObject>
1237 <bsbObject version="2" type="BSBLabel">
1238 <objectName/>
1239 <x>376</x>
1240 <y>149</y>
1241 <width>129</width>
1242 <height>35</height>
1243 <uuid>{d15a7624-b9fa-4559-b56e-d27d103f686f}</uuid>
1244 <visible>true</visible>
1245 <midichan>0</midichan>
1246 <midicc>0</midicc>
1247 <label>Sync Start Phase
1248 to CPS</label>
1249 <alignment>right</alignment>
1250 <font>Liberation Sans</font>
1251 <fontsize>10</fontsize>
1252 <precision>3</precision>
1253 <color>
1254 <r>255</r>
1255 <g>255</g>
1256 <b>255</b>
1257 </color>
1258 <bgcolor mode="nobackground">
1259 <r>255</r>
1260 <g>255</g>
1261 <b>255</b>
1262 </bgcolor>
1263 <bordermode>noborder</bordermode>
1264 <borderradius>1</borderradius>
1265 <borderwidth>1</borderwidth>
1266 </bsbObject>
1267 <bsbObject version="2" type="BSBButton">
1268 <objectName>Interp</objectName>
1269 <x>504</x>
1270 <y>189</y>
1271 <width>16</width>
1272 <height>16</height>
1273 <uuid>{c91fbe77-0e64-47c4-8d0c-8e11c6357c65}</uuid>
1274 <visible>true</visible>
1275 <midichan>0</midichan>
1276 <midicc>0</midicc>
1277 <type>value</type>
1278 <pressedValue>8.00000000</pressedValue>
1279 <stringvalue/>
1280 <text/>
1281 <image>/</image>
1282 <eventLine/>
1283 <latch>true</latch>
1284 <latched>false</latched>
1285 </bsbObject>
1286 <bsbObject version="2" type="BSBButton">
1287 <objectName>NoInterp</objectName>
1288 <x>642</x>
1289 <y>189</y>
1290 <width>16</width>
1291 <height>16</height>
1292 <uuid>{82fb9bb8-870c-4d99-aa2c-e0737632eaaa}</uuid>
1293 <visible>true</visible>
1294 <midichan>0</midichan>
1295 <midicc>0</midicc>
1296 <type>value</type>
1297 <pressedValue>4.00000000</pressedValue>
1298 <stringvalue/>
1299 <text/>
1300 <image>/</image>
1301 <eventLine/>
1302 <latch>true</latch>
1303 <latched>false</latched>
1304 </bsbObject>
1305 <bsbObject version="2" type="BSBLabel">
1306 <objectName/>
1307 <x>534</x>
1308 <y>180</y>
1309 <width>107</width>
1310 <height>35</height>
1311 <uuid>{ce374c64-8397-44a6-994b-4965d6d27f36}</uuid>
1312 <visible>true</visible>
1313 <midichan>0</midichan>
1314 <midicc>0</midicc>
1315 <label>No Interpolate
1316 Waveform</label>
1317 <alignment>right</alignment>
1318 <font>Liberation Sans</font>
1319 <fontsize>10</fontsize>
1320 <precision>3</precision>
1321 <color>
1322 <r>255</r>
1323 <g>255</g>
1324 <b>255</b>
1325 </color>
1326 <bgcolor mode="nobackground">
1327 <r>255</r>
1328 <g>255</g>
1329 <b>255</b>
1330 </bgcolor>
1331 <bordermode>noborder</bordermode>
1332 <borderradius>1</borderradius>
1333 <borderwidth>1</borderwidth>
1334 </bsbObject>
1335 <bsbObject version="2" type="BSBLabel">
1336 <objectName/>
1337 <x>382</x>
1338 <y>184</y>
1339 <width>120</width>
1340 <height>30</height>
1341 <uuid>{56471eb8-6569-46ca-a7e8-e4415bbafdfa}</uuid>
1342 <visible>true</visible>
1343 <midichan>0</midichan>
1344 <midicc>0</midicc>
1345 <label>Interpolate Window</label>
1346 <alignment>right</alignment>
1347 <font>Liberation Sans</font>
1348 <fontsize>10</fontsize>
1349 <precision>3</precision>
1350 <color>
1351 <r>255</r>
1352 <g>255</g>
1353 <b>255</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>1</borderwidth>
1363 </bsbObject>
1364 <bsbObject version="2" type="BSBButton">
1365 <objectName>SkipInit</objectName>
1366 <x>504</x>
1367 <y>220</y>
1368 <width>16</width>
1369 <height>16</height>
1370 <uuid>{a25a48b1-9ba9-49b7-a190-19023a8e37e7}</uuid>
1371 <visible>true</visible>
1372 <midichan>0</midichan>
1373 <midicc>0</midicc>
1374 <type>value</type>
1375 <pressedValue>1.00000000</pressedValue>
1376 <stringvalue/>
1377 <text/>
1378 <image>/</image>
1379 <eventLine/>
1380 <latch>true</latch>
1381 <latched>false</latched>
1382 </bsbObject>
1383 <bsbObject version="2" type="BSBLabel">
1384 <objectName/>
1385 <x>382</x>
1386 <y>216</y>
1387 <width>120</width>
1388 <height>30</height>
1389 <uuid>{cbf5c49d-eea8-45cb-97d8-736f42feddb2}</uuid>
1390 <visible>true</visible>
1391 <midichan>0</midichan>
1392 <midicc>0</midicc>
1393 <label>Skip Initialisation</label>
1394 <alignment>right</alignment>
1395 <font>Liberation Sans</font>
1396 <fontsize>10</fontsize>
1397 <precision>3</precision>
1398 <color>
1399 <r>255</r>
1400 <g>255</g>
1401 <b>255</b>
1402 </color>
1403 <bgcolor mode="nobackground">
1404 <r>255</r>
1405 <g>255</g>
1406 <b>255</b>
1407 </bgcolor>
1408 <bordermode>noborder</bordermode>
1409 <borderradius>1</borderradius>
1410 <borderwidth>1</borderwidth>
1411 </bsbObject>
1412 <bsbObject version="2" type="BSBButton">
1413 <objectName>LessZero</objectName>
1414 <x>780</x>
1415 <y>158</y>
1416 <width>16</width>
1417 <height>16</height>
1418 <uuid>{1a0333ca-ffd3-417c-b1af-bf022458d6aa}</uuid>
1419 <visible>true</visible>
1420 <midichan>0</midichan>
1421 <midicc>0</midicc>
1422 <type>value</type>
1423 <pressedValue>16.00000000</pressedValue>
1424 <stringvalue/>
1425 <text/>
1426 <image>/</image>
1427 <eventLine/>
1428 <latch>true</latch>
1429 <latched>false</latched>
1430 </bsbObject>
1431 <bsbObject version="2" type="BSBLabel">
1432 <objectName/>
1433 <x>660</x>
1434 <y>149</y>
1435 <width>120</width>
1436 <height>35</height>
1437 <uuid>{df9ab6cb-8028-4d98-bfc9-41753c52aee3}</uuid>
1438 <visible>true</visible>
1439 <midichan>0</midichan>
1440 <midicc>0</midicc>
1441 <label>Ignore Grains Starting
1442 at Negative Phase</label>
1443 <alignment>right</alignment>
1444 <font>Liberation Sans</font>
1445 <fontsize>10</fontsize>
1446 <precision>3</precision>
1447 <color>
1448 <r>255</r>
1449 <g>255</g>
1450 <b>255</b>
1451 </color>
1452 <bgcolor mode="nobackground">
1453 <r>255</r>
1454 <g>255</g>
1455 <b>255</b>
1456 </bgcolor>
1457 <bordermode>noborder</bordermode>
1458 <borderradius>1</borderradius>
1459 <borderwidth>1</borderwidth>
1460 </bsbObject>
1461 <bsbObject version="2" type="BSBButton">
1462 <objectName>FreqCont</objectName>
1463 <x>780</x>
1464 <y>189</y>
1465 <width>16</width>
1466 <height>16</height>
1467 <uuid>{f65b4392-389d-48ca-ba17-ab82ffa05bbc}</uuid>
1468 <visible>true</visible>
1469 <midichan>0</midichan>
1470 <midicc>0</midicc>
1471 <type>value</type>
1472 <pressedValue>2.00000000</pressedValue>
1473 <stringvalue/>
1474 <text/>
1475 <image>/</image>
1476 <eventLine/>
1477 <latch>true</latch>
1478 <latched>false</latched>
1479 </bsbObject>
1480 <bsbObject version="2" type="BSBLabel">
1481 <objectName/>
1482 <x>660</x>
1483 <y>180</y>
1484 <width>120</width>
1485 <height>35</height>
1486 <uuid>{d98d1d5d-8b96-4ca5-b011-fbd6e2e8b2f7}</uuid>
1487 <visible>true</visible>
1488 <midichan>0</midichan>
1489 <midicc>0</midicc>
1490 <label>Continual Freq
1491 Modification</label>
1492 <alignment>right</alignment>
1493 <font>Liberation Sans</font>
1494 <fontsize>10</fontsize>
1495 <precision>3</precision>
1496 <color>
1497 <r>255</r>
1498 <g>255</g>
1499 <b>255</b>
1500 </color>
1501 <bgcolor mode="nobackground">
1502 <r>255</r>
1503 <g>255</g>
1504 <b>255</b>
1505 </bgcolor>
1506 <bordermode>noborder</bordermode>
1507 <borderradius>1</borderradius>
1508 <borderwidth>1</borderwidth>
1509 </bsbObject>
1510 <bsbObject version="2" type="BSBLabel">
1511 <objectName/>
1512 <x>719</x>
1513 <y>302</y>
1514 <width>108</width>
1515 <height>42</height>
1516 <uuid>{8322197a-01c9-4350-b669-63dd23fe5fda}</uuid>
1517 <visible>true</visible>
1518 <midichan>0</midichan>
1519 <midicc>0</midicc>
1520 <label>Maximum Overlaps</label>
1521 <alignment>center</alignment>
1522 <font>Liberation Sans</font>
1523 <fontsize>10</fontsize>
1524 <precision>3</precision>
1525 <color>
1526 <r>255</r>
1527 <g>255</g>
1528 <b>255</b>
1529 </color>
1530 <bgcolor mode="nobackground">
1531 <r>255</r>
1532 <g>255</g>
1533 <b>255</b>
1534 </bgcolor>
1535 <bordermode>noborder</bordermode>
1536 <borderradius>1</borderradius>
1537 <borderwidth>1</borderwidth>
1538 </bsbObject>
1539 <bsbObject version="2" type="BSBSpinBox">
1540 <objectName>Maximum_Overlaps</objectName>
1541 <x>743</x>
1542 <y>324</y>
1543 <width>60</width>
1544 <height>25</height>
1545 <uuid>{12cbf581-99ac-47fd-bf47-4ab1d06ec56a}</uuid>
1546 <visible>true</visible>
1547 <midichan>0</midichan>
1548 <midicc>0</midicc>
1549 <alignment>center</alignment>
1550 <font>Liberation Sans</font>
1551 <fontsize>14</fontsize>
1552 <color>
1553 <r>0</r>
1554 <g>0</g>
1555 <b>0</b>
1556 </color>
1557 <bgcolor mode="nobackground">
1558 <r>255</r>
1559 <g>255</g>
1560 <b>255</b>
1561 </bgcolor>
1562 <resolution>1.00000000</resolution>
1563 <minimum>1</minimum>
1564 <maximum>1000</maximum>
1565 <randomizable group="0">false</randomizable>
1566 <value>600</value>
1567 </bsbObject>
1568 <bsbObject version="2" type="BSBDropdown">
1569 <objectName>Grain_Envelope</objectName>
1570 <x>492</x>
1571 <y>252</y>
1572 <width>330</width>
1573 <height>30</height>
1574 <uuid>{1967ceb8-a1c4-4c8f-995e-05391c92b96c}</uuid>
1575 <visible>true</visible>
1576 <midichan>0</midichan>
1577 <midicc>0</midicc>
1578 <bsbDropdownItemList>
1579 <bsbDropdownItem>
1580 <name>Hanning</name>
1581 <value>0</value>
1582 <stringvalue/>
1583 </bsbDropdownItem>
1584 <bsbDropdownItem>
1585 <name>Percussive (straight segments)</name>
1586 <value>1</value>
1587 <stringvalue/>
1588 </bsbDropdownItem>
1589 <bsbDropdownItem>
1590 <name>Percussive (exponential segments)</name>
1591 <value>2</value>
1592 <stringvalue/>
1593 </bsbDropdownItem>
1594 <bsbDropdownItem>
1595 <name>Gate (with anti click ramp up and ramp down)</name>
1596 <value>3</value>
1597 <stringvalue/>
1598 </bsbDropdownItem>
1599 <bsbDropdownItem>
1600 <name>Reverse Percussive (straight segments)</name>
1601 <value>4</value>
1602 <stringvalue/>
1603 </bsbDropdownItem>
1604 <bsbDropdownItem>
1605 <name>Reverse Percussive (exponential segments)</name>
1606 <value>5</value>
1607 <stringvalue/>
1608 </bsbDropdownItem>
1609 </bsbDropdownItemList>
1610 <selectedIndex>0</selectedIndex>
1611 <randomizable group="0">false</randomizable>
1612 </bsbObject>
1613 <bsbObject version="2" type="BSBLabel">
1614 <objectName/>
1615 <x>354</x>
1616 <y>254</y>
1617 <width>137</width>
1618 <height>32</height>
1619 <uuid>{48bd216b-d27b-4396-b997-30ddbe53d173}</uuid>
1620 <visible>true</visible>
1621 <midichan>0</midichan>
1622 <midicc>0</midicc>
1623 <label>Grain Envelope Type</label>
1624 <alignment>right</alignment>
1625 <font>Liberation Sans</font>
1626 <fontsize>10</fontsize>
1627 <precision>3</precision>
1628 <color>
1629 <r>255</r>
1630 <g>255</g>
1631 <b>255</b>
1632 </color>
1633 <bgcolor mode="nobackground">
1634 <r>255</r>
1635 <g>255</g>
1636 <b>255</b>
1637 </bgcolor>
1638 <bordermode>noborder</bordermode>
1639 <borderradius>1</borderradius>
1640 <borderwidth>1</borderwidth>
1641 </bsbObject>
1642 <bsbObject version="2" type="BSBSpinBox">
1643 <objectName>Seed_Value_L</objectName>
1644 <x>578</x>
1645 <y>69</y>
1646 <width>120</width>
1647 <height>30</height>
1648 <uuid>{7ff1d947-e233-4aad-a77c-81f28b30f77d}</uuid>
1649 <visible>true</visible>
1650 <midichan>0</midichan>
1651 <midicc>0</midicc>
1652 <alignment>right</alignment>
1653 <font>Liberation Sans</font>
1654 <fontsize>14</fontsize>
1655 <color>
1656 <r>0</r>
1657 <g>0</g>
1658 <b>0</b>
1659 </color>
1660 <bgcolor mode="nobackground">
1661 <r>255</r>
1662 <g>255</g>
1663 <b>255</b>
1664 </bgcolor>
1665 <resolution>1.00000000</resolution>
1666 <minimum>0</minimum>
1667 <maximum>2.14748e+09</maximum>
1668 <randomizable group="0">false</randomizable>
1669 <value>0</value>
1670 </bsbObject>
1671 <bsbObject version="2" type="BSBSpinBox">
1672 <objectName>Seed_Value_R</objectName>
1673 <x>702</x>
1674 <y>69</y>
1675 <width>120</width>
1676 <height>30</height>
1677 <uuid>{43b6bfc8-a3ea-46d5-87bb-c487380b9a79}</uuid>
1678 <visible>true</visible>
1679 <midichan>0</midichan>
1680 <midicc>0</midicc>
1681 <alignment>right</alignment>
1682 <font>Liberation Sans</font>
1683 <fontsize>14</fontsize>
1684 <color>
1685 <r>0</r>
1686 <g>0</g>
1687 <b>0</b>
1688 </color>
1689 <bgcolor mode="nobackground">
1690 <r>255</r>
1691 <g>255</g>
1692 <b>255</b>
1693 </bgcolor>
1694 <resolution>1.00000000</resolution>
1695 <minimum>0</minimum>
1696 <maximum>2.14748e+09</maximum>
1697 <randomizable group="0">false</randomizable>
1698 <value>0</value>
1699 </bsbObject>
1700 <bsbObject version="2" type="BSBController">
1701 <objectName>Morph_X</objectName>
1702 <x>837</x>
1703 <y>72</y>
1704 <width>280</width>
1705 <height>280</height>
1706 <uuid>{27ca0a87-3ec2-40fe-9804-d743d82ef625}</uuid>
1707 <visible>true</visible>
1708 <midichan>0</midichan>
1709 <midicc>0</midicc>
1710 <objectName2>Morph_Y</objectName2>
1711 <xMin>0.00000000</xMin>
1712 <xMax>1.00000000</xMax>
1713 <yMin>0.00000000</yMin>
1714 <yMax>1.00000000</yMax>
1715 <xValue>0.46785714</xValue>
1716 <yValue>0.73214286</yValue>
1717 <type>crosshair</type>
1718 <pointsize>1</pointsize>
1719 <fadeSpeed>0.00000000</fadeSpeed>
1720 <mouseControl act="press">jump</mouseControl>
1721 <color>
1722 <r>0</r>
1723 <g>234</g>
1724 <b>0</b>
1725 </color>
1726 <randomizable mode="both" group="0">false</randomizable>
1727 <bgcolor>
1728 <r>0</r>
1729 <g>0</g>
1730 <b>0</b>
1731 </bgcolor>
1732 </bsbObject>
1733 <bsbObject version="2" type="BSBButton">
1734 <objectName/>
1735 <x>840</x>
1736 <y>50</y>
1737 <width>16</width>
1738 <height>16</height>
1739 <uuid>{1c7ca574-f5cd-4f44-9074-e185e5c141fc}</uuid>
1740 <visible>true</visible>
1741 <midichan>0</midichan>
1742 <midicc>0</midicc>
1743 <type>event</type>
1744 <pressedValue>1.00000000</pressedValue>
1745 <stringvalue/>
1746 <text/>
1747 <image>/</image>
1748 <eventLine>i11 0 0 1</eventLine>
1749 <latch>false</latch>
1750 <latched>false</latched>
1751 </bsbObject>
1752 <bsbObject version="2" type="BSBButton">
1753 <objectName/>
1754 <x>1098</x>
1755 <y>50</y>
1756 <width>16</width>
1757 <height>16</height>
1758 <uuid>{b9cef5f7-ecfe-4b70-b580-054554776b64}</uuid>
1759 <visible>true</visible>
1760 <midichan>0</midichan>
1761 <midicc>0</midicc>
1762 <type>event</type>
1763 <pressedValue>1.00000000</pressedValue>
1764 <stringvalue/>
1765 <text/>
1766 <image>/</image>
1767 <eventLine>i11 0 0 2</eventLine>
1768 <latch>false</latch>
1769 <latched>false</latched>
1770 </bsbObject>
1771 <bsbObject version="2" type="BSBButton">
1772 <objectName/>
1773 <x>840</x>
1774 <y>358</y>
1775 <width>16</width>
1776 <height>16</height>
1777 <uuid>{af023c8d-89f9-4366-94aa-bb21dbee38b5}</uuid>
1778 <visible>true</visible>
1779 <midichan>0</midichan>
1780 <midicc>0</midicc>
1781 <type>event</type>
1782 <pressedValue>1.00000000</pressedValue>
1783 <stringvalue/>
1784 <text/>
1785 <image>/</image>
1786 <eventLine>i11 0 0 3</eventLine>
1787 <latch>false</latch>
1788 <latched>false</latched>
1789 </bsbObject>
1790 <bsbObject version="2" type="BSBButton">
1791 <objectName/>
1792 <x>1098</x>
1793 <y>358</y>
1794 <width>16</width>
1795 <height>16</height>
1796 <uuid>{0772c173-3025-40dd-ba78-27d8efcd72c1}</uuid>
1797 <visible>true</visible>
1798 <midichan>0</midichan>
1799 <midicc>0</midicc>
1800 <type>event</type>
1801 <pressedValue>1.00000000</pressedValue>
1802 <stringvalue/>
1803 <text/>
1804 <image>/</image>
1805 <eventLine>i11 0 0 4</eventLine>
1806 <latch>false</latch>
1807 <latched>false</latched>
1808 </bsbObject>
1809 <bsbObject version="2" type="BSBButton">
1810 <objectName/>
1811 <x>904</x>
1812 <y>49</y>
1813 <width>70</width>
1814 <height>20</height>
1815 <uuid>{799eb7a3-99b4-467f-9220-341c4d29187d}</uuid>
1816 <visible>true</visible>
1817 <midichan>0</midichan>
1818 <midicc>0</midicc>
1819 <type>event</type>
1820 <pressedValue>1.00000000</pressedValue>
1821 <stringvalue/>
1822 <text>Load</text>
1823 <image>/</image>
1824 <eventLine>i21 0 0</eventLine>
1825 <latch>false</latch>
1826 <latched>false</latched>
1827 </bsbObject>
1828 <bsbObject version="2" type="BSBButton">
1829 <objectName/>
1830 <x>979</x>
1831 <y>49</y>
1832 <width>70</width>
1833 <height>20</height>
1834 <uuid>{e176334e-a812-4e5f-b2e9-b5dbe7961a0c}</uuid>
1835 <visible>true</visible>
1836 <midichan>0</midichan>
1837 <midicc>0</midicc>
1838 <type>event</type>
1839 <pressedValue>1.00000000</pressedValue>
1840 <stringvalue/>
1841 <text>Save</text>
1842 <image>/</image>
1843 <eventLine>i31 0 0</eventLine>
1844 <latch>false</latch>
1845 <latched>false</latched>
1846 </bsbObject>
1847 </bsbPanel>
1848 <bsbPresets>
1849 </bsbPresets>
1850 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="false" loopStart="0" loopEnd="0"> </EventPanel>