Debian Codegraph @

src/Examples/McCurdy Collection/PhysicalModels/marimba.csd

raw
1 ;Written by Iain McCurdy, 2009
2
3 ;Modified for QuteCsound by René, March 2011
4 ;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817
5
6 ;Notes on modifications from original csd:
7 ; Add Browser for impulse file
8 ; INIT instrument added
9 ; Use event_i and instrument 5 to simulate a FLsetVal_i opcode
10 ; Removed subinstr opcode in midi instrument 1 because midi note was played with previous freq and amp values (only with my csd, original FLTK csd is ok)
11
12
13 ;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0
14 <CsoundSynthesizer>
15 <CsOptions>
16
17 </CsOptions>
18 <CsInstruments>
19 sr = 44100 ;SAMPLE RATE
20 ksmps = 16 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
21 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
22 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
23
24
25 givibfn ftgen 0,0,4096,10,1 ;A SINE WAVE
26
27
28 instr 2 ;GUI
29 ktrig metro 10
30 if (ktrig == 1) then
31 gkamp invalue "Amp"
32 gkfreq invalue "Freq"
33 gkhrd invalue "Hardness"
34 gkpos invalue "Position"
35 gkvibf invalue "VibFreq"
36 gkvamp invalue "VibAmp"
37 gkdec invalue "Decay"
38 gkdoubles invalue "Doubles"
39 gktriples invalue "Triples"
40
41 ;AUDIO FILE CHANGE / LOAD IN TABLES ********************************************************************************************************
42 Sfile_new strcpy "" ;INIT TO EMPTY STRING
43 Sfile invalue "_Browse"
44 Sfile_old strcpyk Sfile_new
45 Sfile_new strcpyk Sfile
46 kfile strcmpk Sfile_new, Sfile_old
47
48 if kfile != 0 then ;IF A BANG HAD BEEN GENERATED IN THE LINE ABOVE
49 reinit NEW_FILE ;REINITIALIZE FROM LABEL 'NEW_FILE'
50 endif
51 NEW_FILE:
52 ilen filelen Sfile ;Find length
53 isr filesr Sfile ;Find sample rate
54 isamps = ilen * isr ;Total number of samples
55
56 isize init 1
57 LOOP:
58 isize = isize * 2
59 if (isize < isamps) igoto LOOP ;Loop until isize is greater than number of samples
60
61 gimp ftgen 0, 0, isize, 1, Sfile, 0, 0, 1 ;READ AUDIO FILE CHANNEL 1
62 ;*******************************************************************************************************************************************
63 endif
64 endin
65
66 instr 1 ;MIDI ACTIVATED INSTRUMENT
67 ifreq cpsmidi ;FREQUENCY IS READ FROM INCOMING MIDI NOTE
68 iamp ampmidi 0.3 ;AMPLITUDE IS READ FROM INCOMING MIDI NOTE
69
70 event_i "i", 5, 0, 0.1, iamp, ifreq ;SEND AMPLITUDE VALUE TO AMPLITUDE SLIDER and FREQUENCY VALUE TO FREQUENCY SLIDER
71
72 kSwitch changed gkhrd, gkpos, gkdec, gkdoubles, gktriples ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
73 if kSwitch=1 then
74 reinit UPDATE
75 endif
76 UPDATE:
77 ares marimba iamp, ifreq, i(gkhrd), i(gkpos), gimp, gkvibf, gkvamp, givibfn, i(gkdec), i(gkdoubles), i(gktriples)
78 rireturn
79
80 aenv linsegr 1,3600,1,0.1,0 ;CREATE AN AMPLITUDE ENVELOPE. THIS WILL BE USED TO PREVENT CLICKS.
81 outs ares*aenv, ares*aenv ;SEND AUDIO TO OUTPUTS
82 endin
83
84 instr 3 ;GUI BUTTON ACTIVATED INSTRUMENT
85 kSwitch changed gkhrd, gkpos, gkdec, gkdoubles, gktriples ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
86 if kSwitch=1 then
87 reinit UPDATE
88 endif
89 UPDATE:
90 ares marimba i(gkamp), i(gkfreq), i(gkhrd), i(gkpos), gimp, gkvibf, gkvamp, givibfn, i(gkdec), i(gkdoubles), i(gktriples)
91 rireturn
92 outs ares, ares
93 endin
94
95 instr 4 ;INIT
96 outvalue "Amp" , 0.3
97 outvalue "Freq" , 250
98 outvalue "Hardness" , 0.5
99 outvalue "Position" , 0.4
100 outvalue "VibFreq" , 0.5
101 outvalue "VibAmp" , 0.0
102 outvalue "Decay" , 1.0
103 outvalue "Doubles" , 0.00001
104 outvalue "Triples" , 0.00001
105 endin
106
107 instr 5 ;UPDATE
108 outvalue "Amp", p4 ;SEND AMPLITUDE VALUE TO AMPLITUDE SLIDER
109 outvalue "Freq", p5 ;SEND FREQUENCY VALUE TO FREQUENCY SLIDER
110 endin
111 </CsInstruments>
112 <CsScore>
113 ;INSTR | START | DURATION
114 i 2 0 3600 ;GUI
115 i 4 0 0.1 ;INIT
116 </CsScore>
117 </CsoundSynthesizer>
118 <bsbPanel>
119 <label>Widgets</label>
120 <objectName/>
121 <x>72</x>
122 <y>179</y>
123 <width>400</width>
124 <height>200</height>
125 <visible>true</visible>
126 <uuid/>
127 <bgcolor mode="background">
128 <r>241</r>
129 <g>226</g>
130 <b>185</b>
131 </bgcolor>
132 <bsbObject version="2" type="BSBLabel">
133 <objectName/>
134 <x>2</x>
135 <y>2</y>
136 <width>510</width>
137 <height>450</height>
138 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
139 <visible>true</visible>
140 <midichan>0</midichan>
141 <midicc>0</midicc>
142 <label>marimba</label>
143 <alignment>center</alignment>
144 <font>Liberation Sans</font>
145 <fontsize>18</fontsize>
146 <precision>3</precision>
147 <color>
148 <r>0</r>
149 <g>0</g>
150 <b>0</b>
151 </color>
152 <bgcolor mode="background">
153 <r>147</r>
154 <g>154</g>
155 <b>255</b>
156 </bgcolor>
157 <bordermode>border</bordermode>
158 <borderradius>5</borderradius>
159 <borderwidth>2</borderwidth>
160 </bsbObject>
161 <bsbObject version="2" type="BSBLabel">
162 <objectName/>
163 <x>8</x>
164 <y>128</y>
165 <width>220</width>
166 <height>30</height>
167 <uuid>{640b50b7-7200-4f81-8394-89d9843ae939}</uuid>
168 <visible>true</visible>
169 <midichan>0</midichan>
170 <midicc>0</midicc>
171 <label>Amplitude</label>
172 <alignment>left</alignment>
173 <font>Liberation Sans</font>
174 <fontsize>10</fontsize>
175 <precision>3</precision>
176 <color>
177 <r>0</r>
178 <g>0</g>
179 <b>0</b>
180 </color>
181 <bgcolor mode="nobackground">
182 <r>255</r>
183 <g>255</g>
184 <b>255</b>
185 </bgcolor>
186 <bordermode>noborder</bordermode>
187 <borderradius>1</borderradius>
188 <borderwidth>1</borderwidth>
189 </bsbObject>
190 <bsbObject version="2" type="BSBHSlider">
191 <objectName>Amp</objectName>
192 <x>8</x>
193 <y>111</y>
194 <width>500</width>
195 <height>27</height>
196 <uuid>{5585fa6f-0f63-4ac3-bf1b-809c2b1d9134}</uuid>
197 <visible>true</visible>
198 <midichan>0</midichan>
199 <midicc>0</midicc>
200 <minimum>0.00000000</minimum>
201 <maximum>1.00000000</maximum>
202 <value>0.30000001</value>
203 <mode>lin</mode>
204 <mouseControl act="jump">continuous</mouseControl>
205 <resolution>-1.00000000</resolution>
206 <randomizable group="0">false</randomizable>
207 </bsbObject>
208 <bsbObject version="2" type="BSBDisplay">
209 <objectName>Amp</objectName>
210 <x>448</x>
211 <y>128</y>
212 <width>60</width>
213 <height>30</height>
214 <uuid>{b731b52e-e14a-476a-a583-f3b2bd885539}</uuid>
215 <visible>true</visible>
216 <midichan>0</midichan>
217 <midicc>0</midicc>
218 <label>0.300</label>
219 <alignment>right</alignment>
220 <font>Liberation Sans</font>
221 <fontsize>9</fontsize>
222 <precision>3</precision>
223 <color>
224 <r>0</r>
225 <g>0</g>
226 <b>0</b>
227 </color>
228 <bgcolor mode="nobackground">
229 <r>255</r>
230 <g>255</g>
231 <b>255</b>
232 </bgcolor>
233 <bordermode>noborder</bordermode>
234 <borderradius>1</borderradius>
235 <borderwidth>1</borderwidth>
236 </bsbObject>
237 <bsbObject version="2" type="BSBLabel">
238 <objectName/>
239 <x>8</x>
240 <y>163</y>
241 <width>220</width>
242 <height>30</height>
243 <uuid>{989564b0-b237-4c22-9d10-b76b7c7e4e4c}</uuid>
244 <visible>true</visible>
245 <midichan>0</midichan>
246 <midicc>0</midicc>
247 <label>Frequency</label>
248 <alignment>left</alignment>
249 <font>Liberation Sans</font>
250 <fontsize>10</fontsize>
251 <precision>3</precision>
252 <color>
253 <r>0</r>
254 <g>0</g>
255 <b>0</b>
256 </color>
257 <bgcolor mode="nobackground">
258 <r>255</r>
259 <g>255</g>
260 <b>255</b>
261 </bgcolor>
262 <bordermode>noborder</bordermode>
263 <borderradius>1</borderradius>
264 <borderwidth>1</borderwidth>
265 </bsbObject>
266 <bsbObject version="2" type="BSBHSlider">
267 <objectName>Freq</objectName>
268 <x>8</x>
269 <y>146</y>
270 <width>500</width>
271 <height>27</height>
272 <uuid>{84cd664e-fb67-4dd4-aac3-adbcf2c81fe6}</uuid>
273 <visible>true</visible>
274 <midichan>0</midichan>
275 <midicc>0</midicc>
276 <minimum>20.00000000</minimum>
277 <maximum>2000.00000000</maximum>
278 <value>250.00000000</value>
279 <mode>lin</mode>
280 <mouseControl act="jump">continuous</mouseControl>
281 <resolution>-1.00000000</resolution>
282 <randomizable group="0">false</randomizable>
283 </bsbObject>
284 <bsbObject version="2" type="BSBDisplay">
285 <objectName>Freq</objectName>
286 <x>448</x>
287 <y>163</y>
288 <width>60</width>
289 <height>30</height>
290 <uuid>{ba8682a6-056f-4432-946b-4e3ee82c47a1}</uuid>
291 <visible>true</visible>
292 <midichan>0</midichan>
293 <midicc>0</midicc>
294 <label>250.000</label>
295 <alignment>right</alignment>
296 <font>Liberation Sans</font>
297 <fontsize>9</fontsize>
298 <precision>3</precision>
299 <color>
300 <r>0</r>
301 <g>0</g>
302 <b>0</b>
303 </color>
304 <bgcolor mode="nobackground">
305 <r>255</r>
306 <g>255</g>
307 <b>255</b>
308 </bgcolor>
309 <bordermode>noborder</bordermode>
310 <borderradius>1</borderradius>
311 <borderwidth>1</borderwidth>
312 </bsbObject>
313 <bsbObject version="2" type="BSBLabel">
314 <objectName/>
315 <x>8</x>
316 <y>197</y>
317 <width>200</width>
318 <height>30</height>
319 <uuid>{76044785-79c4-4202-b7ce-07aee4868219}</uuid>
320 <visible>true</visible>
321 <midichan>0</midichan>
322 <midicc>0</midicc>
323 <label>Stick Hardness</label>
324 <alignment>left</alignment>
325 <font>Liberation Sans</font>
326 <fontsize>10</fontsize>
327 <precision>3</precision>
328 <color>
329 <r>0</r>
330 <g>0</g>
331 <b>0</b>
332 </color>
333 <bgcolor mode="nobackground">
334 <r>255</r>
335 <g>255</g>
336 <b>255</b>
337 </bgcolor>
338 <bordermode>noborder</bordermode>
339 <borderradius>1</borderradius>
340 <borderwidth>1</borderwidth>
341 </bsbObject>
342 <bsbObject version="2" type="BSBHSlider">
343 <objectName>Hardness</objectName>
344 <x>8</x>
345 <y>180</y>
346 <width>500</width>
347 <height>27</height>
348 <uuid>{0f952e77-ff9b-4621-b1af-23252bb9c2a6}</uuid>
349 <visible>true</visible>
350 <midichan>0</midichan>
351 <midicc>0</midicc>
352 <minimum>0.00000000</minimum>
353 <maximum>1.00000000</maximum>
354 <value>0.50000000</value>
355 <mode>lin</mode>
356 <mouseControl act="jump">continuous</mouseControl>
357 <resolution>-1.00000000</resolution>
358 <randomizable group="0">false</randomizable>
359 </bsbObject>
360 <bsbObject version="2" type="BSBDisplay">
361 <objectName>Hardness</objectName>
362 <x>448</x>
363 <y>197</y>
364 <width>60</width>
365 <height>30</height>
366 <uuid>{7b92c0ca-2fe8-4b4f-9ed0-f618c1b3cb5c}</uuid>
367 <visible>true</visible>
368 <midichan>0</midichan>
369 <midicc>0</midicc>
370 <label>0.500</label>
371 <alignment>right</alignment>
372 <font>Liberation Sans</font>
373 <fontsize>9</fontsize>
374 <precision>3</precision>
375 <color>
376 <r>0</r>
377 <g>0</g>
378 <b>0</b>
379 </color>
380 <bgcolor mode="nobackground">
381 <r>255</r>
382 <g>255</g>
383 <b>255</b>
384 </bgcolor>
385 <bordermode>noborder</bordermode>
386 <borderradius>1</borderradius>
387 <borderwidth>1</borderwidth>
388 </bsbObject>
389 <bsbObject version="2" type="BSBLabel">
390 <objectName/>
391 <x>8</x>
392 <y>232</y>
393 <width>220</width>
394 <height>30</height>
395 <uuid>{ca41878c-b561-486b-9cf9-d0da6b48448b}</uuid>
396 <visible>true</visible>
397 <midichan>0</midichan>
398 <midicc>0</midicc>
399 <label>Strike Position</label>
400 <alignment>left</alignment>
401 <font>Liberation Sans</font>
402 <fontsize>10</fontsize>
403 <precision>3</precision>
404 <color>
405 <r>0</r>
406 <g>0</g>
407 <b>0</b>
408 </color>
409 <bgcolor mode="nobackground">
410 <r>255</r>
411 <g>255</g>
412 <b>255</b>
413 </bgcolor>
414 <bordermode>noborder</bordermode>
415 <borderradius>1</borderradius>
416 <borderwidth>1</borderwidth>
417 </bsbObject>
418 <bsbObject version="2" type="BSBHSlider">
419 <objectName>Position</objectName>
420 <x>8</x>
421 <y>215</y>
422 <width>500</width>
423 <height>27</height>
424 <uuid>{2800fb88-347a-402c-88ed-fc97af6a36be}</uuid>
425 <visible>true</visible>
426 <midichan>0</midichan>
427 <midicc>0</midicc>
428 <minimum>0.00000000</minimum>
429 <maximum>1.00000000</maximum>
430 <value>0.40000001</value>
431 <mode>lin</mode>
432 <mouseControl act="jump">continuous</mouseControl>
433 <resolution>-1.00000000</resolution>
434 <randomizable group="0">false</randomizable>
435 </bsbObject>
436 <bsbObject version="2" type="BSBDisplay">
437 <objectName>Position</objectName>
438 <x>448</x>
439 <y>232</y>
440 <width>60</width>
441 <height>30</height>
442 <uuid>{5d1ba94c-536a-4178-be6c-c0d9d2f75e3d}</uuid>
443 <visible>true</visible>
444 <midichan>0</midichan>
445 <midicc>0</midicc>
446 <label>0.400</label>
447 <alignment>right</alignment>
448 <font>Liberation Sans</font>
449 <fontsize>9</fontsize>
450 <precision>3</precision>
451 <color>
452 <r>0</r>
453 <g>0</g>
454 <b>0</b>
455 </color>
456 <bgcolor mode="nobackground">
457 <r>255</r>
458 <g>255</g>
459 <b>255</b>
460 </bgcolor>
461 <bordermode>noborder</bordermode>
462 <borderradius>1</borderradius>
463 <borderwidth>1</borderwidth>
464 </bsbObject>
465 <bsbObject version="2" type="BSBLabel">
466 <objectName/>
467 <x>8</x>
468 <y>267</y>
469 <width>220</width>
470 <height>30</height>
471 <uuid>{cdd71125-b224-471a-9c41-9c05d8d28d0c}</uuid>
472 <visible>true</visible>
473 <midichan>0</midichan>
474 <midicc>0</midicc>
475 <label>Vibrato Frequency</label>
476 <alignment>left</alignment>
477 <font>Liberation Sans</font>
478 <fontsize>10</fontsize>
479 <precision>3</precision>
480 <color>
481 <r>0</r>
482 <g>0</g>
483 <b>0</b>
484 </color>
485 <bgcolor mode="nobackground">
486 <r>255</r>
487 <g>255</g>
488 <b>255</b>
489 </bgcolor>
490 <bordermode>noborder</bordermode>
491 <borderradius>1</borderradius>
492 <borderwidth>1</borderwidth>
493 </bsbObject>
494 <bsbObject version="2" type="BSBHSlider">
495 <objectName>VibFreq</objectName>
496 <x>8</x>
497 <y>250</y>
498 <width>500</width>
499 <height>27</height>
500 <uuid>{7a83bb1f-f25d-47e0-bf2d-9c5c86e0756b}</uuid>
501 <visible>true</visible>
502 <midichan>0</midichan>
503 <midicc>0</midicc>
504 <minimum>0.00000000</minimum>
505 <maximum>15.00000000</maximum>
506 <value>0.50000000</value>
507 <mode>lin</mode>
508 <mouseControl act="jump">continuous</mouseControl>
509 <resolution>-1.00000000</resolution>
510 <randomizable group="0">false</randomizable>
511 </bsbObject>
512 <bsbObject version="2" type="BSBDisplay">
513 <objectName>VibFreq</objectName>
514 <x>448</x>
515 <y>267</y>
516 <width>60</width>
517 <height>30</height>
518 <uuid>{7f8d2709-bf8c-46ab-83f0-36fc620b0d56}</uuid>
519 <visible>true</visible>
520 <midichan>0</midichan>
521 <midicc>0</midicc>
522 <label>0.500</label>
523 <alignment>right</alignment>
524 <font>Liberation Sans</font>
525 <fontsize>9</fontsize>
526 <precision>3</precision>
527 <color>
528 <r>0</r>
529 <g>0</g>
530 <b>0</b>
531 </color>
532 <bgcolor mode="nobackground">
533 <r>255</r>
534 <g>255</g>
535 <b>255</b>
536 </bgcolor>
537 <bordermode>noborder</bordermode>
538 <borderradius>1</borderradius>
539 <borderwidth>1</borderwidth>
540 </bsbObject>
541 <bsbObject version="2" type="BSBLabel">
542 <objectName/>
543 <x>515</x>
544 <y>2</y>
545 <width>280</width>
546 <height>450</height>
547 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
548 <visible>true</visible>
549 <midichan>0</midichan>
550 <midicc>0</midicc>
551 <label>marimba</label>
552 <alignment>center</alignment>
553 <font>Liberation Sans</font>
554 <fontsize>18</fontsize>
555 <precision>3</precision>
556 <color>
557 <r>0</r>
558 <g>0</g>
559 <b>0</b>
560 </color>
561 <bgcolor mode="background">
562 <r>147</r>
563 <g>154</g>
564 <b>255</b>
565 </bgcolor>
566 <bordermode>border</bordermode>
567 <borderradius>5</borderradius>
568 <borderwidth>2</borderwidth>
569 </bsbObject>
570 <bsbObject version="2" type="BSBLabel">
571 <objectName/>
572 <x>516</x>
573 <y>25</y>
574 <width>276</width>
575 <height>378</height>
576 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
577 <visible>true</visible>
578 <midichan>0</midichan>
579 <midicc>0</midicc>
580 <label>-------------------------------------------------------------------
581 'marimba' is a physical model of a marimba tone.
582 'Stick Hardness' and 'Strike Position' create some variation in tone but this is quite subtle. 'Decay Time' controls the time before the end of the note when damping is introduced. By replacing the sample suggested for the strike impulse (marmstk1.wav) with a longer sample (Songpan.wav for example), a longer duration tone is possible.
583 'Doubles' and 'Triples' controls the percentage chance of a double or triple strike occurring respectively.
584 This instrument can be triggered either from the GUI button or via a connected MIDI keyboard.</label>
585 <alignment>left</alignment>
586 <font>Liberation Sans</font>
587 <fontsize>14</fontsize>
588 <precision>3</precision>
589 <color>
590 <r>0</r>
591 <g>0</g>
592 <b>0</b>
593 </color>
594 <bgcolor mode="nobackground">
595 <r>255</r>
596 <g>255</g>
597 <b>255</b>
598 </bgcolor>
599 <bordermode>noborder</bordermode>
600 <borderradius>1</borderradius>
601 <borderwidth>1</borderwidth>
602 </bsbObject>
603 <bsbObject version="2" type="BSBButton">
604 <objectName/>
605 <x>8</x>
606 <y>16</y>
607 <width>100</width>
608 <height>30</height>
609 <uuid>{04d44ebe-12eb-4bb0-a3f5-9e4fd3e7830e}</uuid>
610 <visible>true</visible>
611 <midichan>0</midichan>
612 <midicc>0</midicc>
613 <type>event</type>
614 <pressedValue>1.00000000</pressedValue>
615 <stringvalue/>
616 <text>Strike !</text>
617 <image>/</image>
618 <eventLine>i 3 0 -1</eventLine>
619 <latch>false</latch>
620 <latched>false</latched>
621 </bsbObject>
622 <bsbObject version="2" type="BSBLabel">
623 <objectName/>
624 <x>8</x>
625 <y>303</y>
626 <width>220</width>
627 <height>30</height>
628 <uuid>{ca67a321-de0d-4a0f-8efd-864d9a51098c}</uuid>
629 <visible>true</visible>
630 <midichan>0</midichan>
631 <midicc>0</midicc>
632 <label>Vibrato Amplitude</label>
633 <alignment>left</alignment>
634 <font>Liberation Sans</font>
635 <fontsize>10</fontsize>
636 <precision>3</precision>
637 <color>
638 <r>0</r>
639 <g>0</g>
640 <b>0</b>
641 </color>
642 <bgcolor mode="nobackground">
643 <r>255</r>
644 <g>255</g>
645 <b>255</b>
646 </bgcolor>
647 <bordermode>noborder</bordermode>
648 <borderradius>1</borderradius>
649 <borderwidth>1</borderwidth>
650 </bsbObject>
651 <bsbObject version="2" type="BSBHSlider">
652 <objectName>VibAmp</objectName>
653 <x>8</x>
654 <y>286</y>
655 <width>500</width>
656 <height>27</height>
657 <uuid>{0341fedb-6323-4661-b4c3-8207291fcd90}</uuid>
658 <visible>true</visible>
659 <midichan>0</midichan>
660 <midicc>0</midicc>
661 <minimum>0.00000000</minimum>
662 <maximum>1.00000000</maximum>
663 <value>0.00000000</value>
664 <mode>lin</mode>
665 <mouseControl act="jump">continuous</mouseControl>
666 <resolution>-1.00000000</resolution>
667 <randomizable group="0">false</randomizable>
668 </bsbObject>
669 <bsbObject version="2" type="BSBDisplay">
670 <objectName>VibAmp</objectName>
671 <x>448</x>
672 <y>303</y>
673 <width>60</width>
674 <height>30</height>
675 <uuid>{3c428724-1329-4e7c-bdb5-6e1277f3c2ce}</uuid>
676 <visible>true</visible>
677 <midichan>0</midichan>
678 <midicc>0</midicc>
679 <label>0.000</label>
680 <alignment>right</alignment>
681 <font>Liberation Sans</font>
682 <fontsize>9</fontsize>
683 <precision>3</precision>
684 <color>
685 <r>0</r>
686 <g>0</g>
687 <b>0</b>
688 </color>
689 <bgcolor mode="nobackground">
690 <r>255</r>
691 <g>255</g>
692 <b>255</b>
693 </bgcolor>
694 <bordermode>noborder</bordermode>
695 <borderradius>1</borderradius>
696 <borderwidth>1</borderwidth>
697 </bsbObject>
698 <bsbObject version="2" type="BSBLabel">
699 <objectName/>
700 <x>8</x>
701 <y>53</y>
702 <width>97</width>
703 <height>30</height>
704 <uuid>{3c19fbdc-3d2b-4583-8316-52f7a3a433e2}</uuid>
705 <visible>true</visible>
706 <midichan>0</midichan>
707 <midicc>0</midicc>
708 <label>IMPULSE :</label>
709 <alignment>left</alignment>
710 <font>Liberation Sans</font>
711 <fontsize>10</fontsize>
712 <precision>3</precision>
713 <color>
714 <r>0</r>
715 <g>0</g>
716 <b>0</b>
717 </color>
718 <bgcolor mode="nobackground">
719 <r>255</r>
720 <g>255</g>
721 <b>255</b>
722 </bgcolor>
723 <bordermode>noborder</bordermode>
724 <borderradius>1</borderradius>
725 <borderwidth>1</borderwidth>
726 </bsbObject>
727 <bsbObject version="2" type="BSBButton">
728 <objectName>_Browse</objectName>
729 <x>8</x>
730 <y>75</y>
731 <width>170</width>
732 <height>30</height>
733 <uuid>{43341095-bc3a-4607-bd0e-01254da7bc67}</uuid>
734 <visible>true</visible>
735 <midichan>0</midichan>
736 <midicc>0</midicc>
737 <type>value</type>
738 <pressedValue>1.00000000</pressedValue>
739 <stringvalue>marmstk1.wav</stringvalue>
740 <text>Browse Audio File</text>
741 <image>/</image>
742 <eventLine/>
743 <latch>false</latch>
744 <latched>false</latched>
745 </bsbObject>
746 <bsbObject version="2" type="BSBLineEdit">
747 <objectName>_Browse</objectName>
748 <x>177</x>
749 <y>76</y>
750 <width>330</width>
751 <height>28</height>
752 <uuid>{b66f3878-dfd0-4290-9b9d-73be88197222}</uuid>
753 <visible>true</visible>
754 <midichan>0</midichan>
755 <midicc>0</midicc>
756 <label>marmstk1.wav</label>
757 <alignment>left</alignment>
758 <font>Arial</font>
759 <fontsize>10</fontsize>
760 <precision>3</precision>
761 <color>
762 <r>0</r>
763 <g>0</g>
764 <b>0</b>
765 </color>
766 <bgcolor mode="nobackground">
767 <r>240</r>
768 <g>235</g>
769 <b>226</b>
770 </bgcolor>
771 <background>nobackground</background>
772 </bsbObject>
773 <bsbObject version="2" type="BSBLabel">
774 <objectName/>
775 <x>8</x>
776 <y>340</y>
777 <width>220</width>
778 <height>30</height>
779 <uuid>{89d33619-f23a-461d-9e4a-411664bfd7a2}</uuid>
780 <visible>true</visible>
781 <midichan>0</midichan>
782 <midicc>0</midicc>
783 <label>Decay Time</label>
784 <alignment>left</alignment>
785 <font>Liberation Sans</font>
786 <fontsize>10</fontsize>
787 <precision>3</precision>
788 <color>
789 <r>0</r>
790 <g>0</g>
791 <b>0</b>
792 </color>
793 <bgcolor mode="nobackground">
794 <r>255</r>
795 <g>255</g>
796 <b>255</b>
797 </bgcolor>
798 <bordermode>noborder</bordermode>
799 <borderradius>1</borderradius>
800 <borderwidth>1</borderwidth>
801 </bsbObject>
802 <bsbObject version="2" type="BSBHSlider">
803 <objectName>Decay</objectName>
804 <x>8</x>
805 <y>323</y>
806 <width>500</width>
807 <height>27</height>
808 <uuid>{70c1504f-58f9-49a9-84ae-70a3f263a660}</uuid>
809 <visible>true</visible>
810 <midichan>0</midichan>
811 <midicc>0</midicc>
812 <minimum>0.00000000</minimum>
813 <maximum>5.00000000</maximum>
814 <value>1.00000000</value>
815 <mode>lin</mode>
816 <mouseControl act="jump">continuous</mouseControl>
817 <resolution>-1.00000000</resolution>
818 <randomizable group="0">false</randomizable>
819 </bsbObject>
820 <bsbObject version="2" type="BSBDisplay">
821 <objectName>Decay</objectName>
822 <x>448</x>
823 <y>340</y>
824 <width>60</width>
825 <height>30</height>
826 <uuid>{8d08c05b-378b-4ba5-a338-29d9bcc58f65}</uuid>
827 <visible>true</visible>
828 <midichan>0</midichan>
829 <midicc>0</midicc>
830 <label>1.000</label>
831 <alignment>right</alignment>
832 <font>Liberation Sans</font>
833 <fontsize>9</fontsize>
834 <precision>3</precision>
835 <color>
836 <r>0</r>
837 <g>0</g>
838 <b>0</b>
839 </color>
840 <bgcolor mode="nobackground">
841 <r>255</r>
842 <g>255</g>
843 <b>255</b>
844 </bgcolor>
845 <bordermode>noborder</bordermode>
846 <borderradius>1</borderradius>
847 <borderwidth>1</borderwidth>
848 </bsbObject>
849 <bsbObject version="2" type="BSBLabel">
850 <objectName/>
851 <x>8</x>
852 <y>411</y>
853 <width>220</width>
854 <height>30</height>
855 <uuid>{ac3edb2a-0780-4fe3-9930-6333e6d5e32f}</uuid>
856 <visible>true</visible>
857 <midichan>0</midichan>
858 <midicc>0</midicc>
859 <label>Triples (% likelihood)</label>
860 <alignment>left</alignment>
861 <font>Liberation Sans</font>
862 <fontsize>10</fontsize>
863 <precision>3</precision>
864 <color>
865 <r>0</r>
866 <g>0</g>
867 <b>0</b>
868 </color>
869 <bgcolor mode="nobackground">
870 <r>255</r>
871 <g>255</g>
872 <b>255</b>
873 </bgcolor>
874 <bordermode>noborder</bordermode>
875 <borderradius>1</borderradius>
876 <borderwidth>1</borderwidth>
877 </bsbObject>
878 <bsbObject version="2" type="BSBHSlider">
879 <objectName>Triples</objectName>
880 <x>8</x>
881 <y>394</y>
882 <width>500</width>
883 <height>27</height>
884 <uuid>{3b318d67-c510-441a-86f4-6eabaa6b4b19}</uuid>
885 <visible>true</visible>
886 <midichan>0</midichan>
887 <midicc>0</midicc>
888 <minimum>0.00001000</minimum>
889 <maximum>100.00000000</maximum>
890 <value>0.00001000</value>
891 <mode>lin</mode>
892 <mouseControl act="jump">continuous</mouseControl>
893 <resolution>-1.00000000</resolution>
894 <randomizable group="0">false</randomizable>
895 </bsbObject>
896 <bsbObject version="2" type="BSBDisplay">
897 <objectName>Triples</objectName>
898 <x>448</x>
899 <y>411</y>
900 <width>60</width>
901 <height>30</height>
902 <uuid>{ed4faa87-d772-4b8b-9a79-b9ff091a96d4}</uuid>
903 <visible>true</visible>
904 <midichan>0</midichan>
905 <midicc>0</midicc>
906 <label>0.000</label>
907 <alignment>right</alignment>
908 <font>Liberation Sans</font>
909 <fontsize>9</fontsize>
910 <precision>3</precision>
911 <color>
912 <r>0</r>
913 <g>0</g>
914 <b>0</b>
915 </color>
916 <bgcolor mode="nobackground">
917 <r>255</r>
918 <g>255</g>
919 <b>255</b>
920 </bgcolor>
921 <bordermode>noborder</bordermode>
922 <borderradius>1</borderradius>
923 <borderwidth>1</borderwidth>
924 </bsbObject>
925 <bsbObject version="2" type="BSBLabel">
926 <objectName/>
927 <x>8</x>
928 <y>376</y>
929 <width>220</width>
930 <height>30</height>
931 <uuid>{76b2b3d8-d39b-4114-b17d-c76506c9b7b5}</uuid>
932 <visible>true</visible>
933 <midichan>0</midichan>
934 <midicc>0</midicc>
935 <label>Doubles (% likelihood)</label>
936 <alignment>left</alignment>
937 <font>Liberation Sans</font>
938 <fontsize>10</fontsize>
939 <precision>3</precision>
940 <color>
941 <r>0</r>
942 <g>0</g>
943 <b>0</b>
944 </color>
945 <bgcolor mode="nobackground">
946 <r>255</r>
947 <g>255</g>
948 <b>255</b>
949 </bgcolor>
950 <bordermode>noborder</bordermode>
951 <borderradius>1</borderradius>
952 <borderwidth>1</borderwidth>
953 </bsbObject>
954 <bsbObject version="2" type="BSBHSlider">
955 <objectName>Doubles</objectName>
956 <x>8</x>
957 <y>359</y>
958 <width>500</width>
959 <height>27</height>
960 <uuid>{27ff2a67-6440-4b87-a9cb-e8ee695e57cc}</uuid>
961 <visible>true</visible>
962 <midichan>0</midichan>
963 <midicc>0</midicc>
964 <minimum>0.00001000</minimum>
965 <maximum>100.00000000</maximum>
966 <value>0.00001000</value>
967 <mode>lin</mode>
968 <mouseControl act="jump">continuous</mouseControl>
969 <resolution>-1.00000000</resolution>
970 <randomizable group="0">false</randomizable>
971 </bsbObject>
972 <bsbObject version="2" type="BSBDisplay">
973 <objectName>Doubles</objectName>
974 <x>448</x>
975 <y>376</y>
976 <width>60</width>
977 <height>30</height>
978 <uuid>{ed249301-2dd5-4da8-9e23-4808b4b96e64}</uuid>
979 <visible>true</visible>
980 <midichan>0</midichan>
981 <midicc>0</midicc>
982 <label>0.000</label>
983 <alignment>right</alignment>
984 <font>Liberation Sans</font>
985 <fontsize>9</fontsize>
986 <precision>3</precision>
987 <color>
988 <r>0</r>
989 <g>0</g>
990 <b>0</b>
991 </color>
992 <bgcolor mode="nobackground">
993 <r>255</r>
994 <g>255</g>
995 <b>255</b>
996 </bgcolor>
997 <bordermode>noborder</bordermode>
998 <borderradius>1</borderradius>
999 <borderwidth>1</borderwidth>
1000 </bsbObject>
1001 </bsbPanel>
1002 <bsbPresets>
1003 </bsbPresets>
1004 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>