Debian Codegraph @

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

raw
1 ;Written by Iain McCurdy, 2006
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 tables for exp slider
8 ; INIT instrument added
9
10
11 ;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0
12 <CsoundSynthesizer>
13 <CsOptions>
14
15 </CsOptions>
16 <CsInstruments>
17 sr = 44100 ;SAMPLE RATE
18 ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL
19 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
20 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
21
22
23 giExp1 ftgen 0, 0, 129, -25, 0, 1.0, 128, 20000.0 ;TABLE FOR EXP SLIDER
24
25
26 instr 10 ;GUI and SYNCHRONIZE MIDI MOD. WHEEL AND GUI 'Vibrato Amplitude' SLIDER
27 ktrig metro 10
28 if (ktrig == 1) then
29 gkamp invalue "Amplitude"
30 kcps invalue "Frequency"
31 gkcps tablei kcps, giExp1, 1
32 outvalue "Frequency_Value", gkcps
33 kantcps invalue "FreqBuffer"
34 gkantcps tablei kantcps, giExp1, 1
35 outvalue "FreqBuffer_Value", gkantcps
36 gkparm1 invalue "Parameter1"
37 gkparm2 invalue "Parameter2"
38 kmeth invalue "DecayType"
39 gkmeth = kmeth + 1
40 gkfn invalue "InitBuffer"
41 endif
42 endin
43
44 instr 1 ;MIDI ACTIVATED INSTRUMENT
45 ioct octmidi ;READ NOTE VALUES FROM MIDI INPUT IN THE 'OCT' FORMAT
46 ;PITCH BEND INFORMATION IS READ
47 iSemitoneBendRange = 2 ;PITCH BEND RANGE IN SEMITONES (WILL BE DEFINED FURTHER LATER)
48 imin = 0 ;EQUILIBRIUM POSITION
49 imax = iSemitoneBendRange * .0833333 ;MAX PITCH DISPLACEMENT (IN oct FORMAT)
50 kbend pchbend imin, imax ;PITCH BEND VARIABLE (IN oct FORMAT)
51 kcps = cpsoct(ioct + kbend)
52 aenv linsegr 1,3600,1,0.01,0 ;ANTI-CLICK ENVELOPE
53 ivel veloc 0, 1 ;DERIVE A MIDI VELOCITY VALUE WITHIN THE RANGE 0-1
54 asig pluck gkamp*ivel, kcps, i(gkantcps), i(gkfn), i(gkmeth), i(gkparm1), i(gkparm2)
55 outs asig*aenv, asig*aenv ;SEND AUDIO TO OUTPUTS
56 endin
57
58 instr 2
59 asig pluck gkamp, gkcps, i(gkantcps), i(gkfn), i(gkmeth), i(gkparm1), i(gkparm2)
60 outs asig, asig
61 endin
62
63 instr 3 ;INIT
64 outvalue "Amplitude" , 0.2
65 outvalue "Frequency" , 0.605
66 outvalue "FreqBuffer" , 0.605
67 outvalue "Parameter1" , 0
68 outvalue "Parameter2" , 0
69 outvalue "DecayType" , 0
70 outvalue "InitBuffer" , 0
71 endin
72 </CsInstruments>
73 <CsScore>
74 f 1 0 4096 7 1 4096 1 ;A WIDE FLAT PULSE WAVEFORM
75
76 ;INSTR | START | DURATION
77 i 10 0 3600 ;GUI
78
79 i 3 0 0.1 ;INIT
80 </CsScore>
81 </CsoundSynthesizer>
82 <bsbPanel>
83 <label>Widgets</label>
84 <objectName/>
85 <x>389</x>
86 <y>204</y>
87 <width>1032</width>
88 <height>495</height>
89 <visible>true</visible>
90 <uuid/>
91 <bgcolor mode="background">
92 <r>241</r>
93 <g>226</g>
94 <b>185</b>
95 </bgcolor>
96 <bsbObject version="2" type="BSBLabel">
97 <objectName/>
98 <x>2</x>
99 <y>2</y>
100 <width>1025</width>
101 <height>490</height>
102 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
103 <visible>true</visible>
104 <midichan>0</midichan>
105 <midicc>0</midicc>
106 <label>pluck</label>
107 <alignment>center</alignment>
108 <font>Liberation Sans</font>
109 <fontsize>18</fontsize>
110 <precision>3</precision>
111 <color>
112 <r>0</r>
113 <g>0</g>
114 <b>0</b>
115 </color>
116 <bgcolor mode="background">
117 <r>147</r>
118 <g>154</g>
119 <b>255</b>
120 </bgcolor>
121 <bordermode>border</bordermode>
122 <borderradius>5</borderradius>
123 <borderwidth>2</borderwidth>
124 </bsbObject>
125 <bsbObject version="2" type="BSBLabel">
126 <objectName/>
127 <x>8</x>
128 <y>111</y>
129 <width>220</width>
130 <height>30</height>
131 <uuid>{640b50b7-7200-4f81-8394-89d9843ae939}</uuid>
132 <visible>true</visible>
133 <midichan>0</midichan>
134 <midicc>0</midicc>
135 <label>Amplitude</label>
136 <alignment>left</alignment>
137 <font>Liberation Sans</font>
138 <fontsize>10</fontsize>
139 <precision>3</precision>
140 <color>
141 <r>0</r>
142 <g>0</g>
143 <b>0</b>
144 </color>
145 <bgcolor mode="nobackground">
146 <r>255</r>
147 <g>255</g>
148 <b>255</b>
149 </bgcolor>
150 <bordermode>noborder</bordermode>
151 <borderradius>1</borderradius>
152 <borderwidth>1</borderwidth>
153 </bsbObject>
154 <bsbObject version="2" type="BSBHSlider">
155 <objectName>Amplitude</objectName>
156 <x>8</x>
157 <y>90</y>
158 <width>500</width>
159 <height>27</height>
160 <uuid>{5585fa6f-0f63-4ac3-bf1b-809c2b1d9134}</uuid>
161 <visible>true</visible>
162 <midichan>0</midichan>
163 <midicc>0</midicc>
164 <minimum>0.00000000</minimum>
165 <maximum>1.00000000</maximum>
166 <value>0.20000000</value>
167 <mode>lin</mode>
168 <mouseControl act="jump">continuous</mouseControl>
169 <resolution>-1.00000000</resolution>
170 <randomizable group="0">false</randomizable>
171 </bsbObject>
172 <bsbObject version="2" type="BSBDisplay">
173 <objectName>Amplitude</objectName>
174 <x>448</x>
175 <y>111</y>
176 <width>60</width>
177 <height>30</height>
178 <uuid>{b731b52e-e14a-476a-a583-f3b2bd885539}</uuid>
179 <visible>true</visible>
180 <midichan>0</midichan>
181 <midicc>0</midicc>
182 <label>0.200</label>
183 <alignment>right</alignment>
184 <font>Liberation Sans</font>
185 <fontsize>9</fontsize>
186 <precision>3</precision>
187 <color>
188 <r>0</r>
189 <g>0</g>
190 <b>0</b>
191 </color>
192 <bgcolor mode="nobackground">
193 <r>255</r>
194 <g>255</g>
195 <b>255</b>
196 </bgcolor>
197 <bordermode>noborder</bordermode>
198 <borderradius>1</borderradius>
199 <borderwidth>1</borderwidth>
200 </bsbObject>
201 <bsbObject version="2" type="BSBLabel">
202 <objectName/>
203 <x>4</x>
204 <y>186</y>
205 <width>1020</width>
206 <height>305</height>
207 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
208 <visible>true</visible>
209 <midichan>0</midichan>
210 <midicc>0</midicc>
211 <label>------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
212 pluck is an implementation of the Karplus-Strong algorithm for spectrally decaying plucked string and drum sounds. The main frequency control ('kcps' in the manual) controls the pitch of the sound (in the case of a resonant plucked string sound) and the timbre of the sound (in the case of an unpitched snare drum-like sound). The other frequency argument ('icps' in the manual) defines the frequency at which a buffer is updated. In audible terms this amounts to how quickly the sound spectrum decays, i.e. damping. A specific stored function can be used to initially fill the cyclic buffer used by the algorithm of the algorithm can be instructed to fill it with random values therefore resulting in initial wideband noise. In this example the user can choose between random noise and a flat source (wide pulse). When using 1, 2, 5 or 6 for 'Decay Type', random noise is recommended and when using 3 or 4 for 'Decay Type' the flat pulse setting is recommended.
213 The functioning of the two decay parameter variables is dependent upon which decay method has been chosen. (def.=0) Six decay methods are offered and are as follows:
214 1. simple averaging. A simple smoothing process, uninfluenced by parameter values.
215 2. stretched averaging. As above, but with smoothing time stretched by a factor of iparm1 (iparm1 must=1).
216 3. simple drum. The range from pitch to noise is controlled by a 'roughness factor' in iparm1 (0 to 1). Zero gives the plucked string effect, while 1 reverses the polarity of every sample (octave down, odd harmonics). The setting .5 gives an optimum snare drum.
217 4. stretched drum. Combines both roughness and stretch factors. iparm1 is roughness (0 to 1), and iparm2 the stretch factor (iparm2 must=1).
218 5. weighted averaging. As method 1, with iparm1 weighting the current sample (the status quo) and iparm2 weighting the previous adjacent one. (iparm1 + iparm2) must be lower or equal to 1.
219 6. 1st order recursive filter, with coefs .5. Unaffected by parameter values.
220 This instrument can also be activated via MIDI. It will be velocity sensitive and will respond to pitch bend information.</label>
221 <alignment>left</alignment>
222 <font>Liberation Sans</font>
223 <fontsize>14</fontsize>
224 <precision>3</precision>
225 <color>
226 <r>0</r>
227 <g>0</g>
228 <b>0</b>
229 </color>
230 <bgcolor mode="nobackground">
231 <r>255</r>
232 <g>255</g>
233 <b>255</b>
234 </bgcolor>
235 <bordermode>noborder</bordermode>
236 <borderradius>1</borderradius>
237 <borderwidth>1</borderwidth>
238 </bsbObject>
239 <bsbObject version="2" type="BSBButton">
240 <objectName/>
241 <x>8</x>
242 <y>15</y>
243 <width>120</width>
244 <height>30</height>
245 <uuid>{04d44ebe-12eb-4bb0-a3f5-9e4fd3e7830e}</uuid>
246 <visible>true</visible>
247 <midichan>0</midichan>
248 <midicc>0</midicc>
249 <type>event</type>
250 <pressedValue>1.00000000</pressedValue>
251 <stringvalue/>
252 <text>Pluck !</text>
253 <image>/</image>
254 <eventLine>i 2 0 -1</eventLine>
255 <latch>false</latch>
256 <latched>false</latched>
257 </bsbObject>
258 <bsbObject version="2" type="BSBLabel">
259 <objectName/>
260 <x>8</x>
261 <y>157</y>
262 <width>220</width>
263 <height>30</height>
264 <uuid>{1fee3c20-99d2-4c60-baa7-669d23492f06}</uuid>
265 <visible>true</visible>
266 <midichan>0</midichan>
267 <midicc>0</midicc>
268 <label>Frequency</label>
269 <alignment>left</alignment>
270 <font>Liberation Sans</font>
271 <fontsize>10</fontsize>
272 <precision>3</precision>
273 <color>
274 <r>0</r>
275 <g>0</g>
276 <b>0</b>
277 </color>
278 <bgcolor mode="nobackground">
279 <r>255</r>
280 <g>255</g>
281 <b>255</b>
282 </bgcolor>
283 <bordermode>noborder</bordermode>
284 <borderradius>1</borderradius>
285 <borderwidth>1</borderwidth>
286 </bsbObject>
287 <bsbObject version="2" type="BSBHSlider">
288 <objectName>Frequency</objectName>
289 <x>8</x>
290 <y>136</y>
291 <width>500</width>
292 <height>27</height>
293 <uuid>{f5ebacc2-9a31-48e3-adb0-3cb090aec444}</uuid>
294 <visible>true</visible>
295 <midichan>0</midichan>
296 <midicc>0</midicc>
297 <minimum>0.00000000</minimum>
298 <maximum>1.00000000</maximum>
299 <value>0.60500002</value>
300 <mode>lin</mode>
301 <mouseControl act="jump">continuous</mouseControl>
302 <resolution>-1.00000000</resolution>
303 <randomizable group="0">false</randomizable>
304 </bsbObject>
305 <bsbObject version="2" type="BSBDisplay">
306 <objectName>Frequency_Value</objectName>
307 <x>448</x>
308 <y>157</y>
309 <width>60</width>
310 <height>30</height>
311 <uuid>{221d17eb-f6ee-4286-a97f-e6bc5c0a1749}</uuid>
312 <visible>true</visible>
313 <midichan>0</midichan>
314 <midicc>0</midicc>
315 <label>400.353</label>
316 <alignment>right</alignment>
317 <font>Liberation Sans</font>
318 <fontsize>9</fontsize>
319 <precision>3</precision>
320 <color>
321 <r>0</r>
322 <g>0</g>
323 <b>0</b>
324 </color>
325 <bgcolor mode="nobackground">
326 <r>255</r>
327 <g>255</g>
328 <b>255</b>
329 </bgcolor>
330 <bordermode>noborder</bordermode>
331 <borderradius>1</borderradius>
332 <borderwidth>1</borderwidth>
333 </bsbObject>
334 <bsbObject version="2" type="BSBLabel">
335 <objectName/>
336 <x>519</x>
337 <y>64</y>
338 <width>220</width>
339 <height>30</height>
340 <uuid>{bce7cccd-a303-4a57-af94-fd50cf914991}</uuid>
341 <visible>true</visible>
342 <midichan>0</midichan>
343 <midicc>0</midicc>
344 <label>Frequency (Buffer) (i-rate)</label>
345 <alignment>left</alignment>
346 <font>Liberation Sans</font>
347 <fontsize>10</fontsize>
348 <precision>3</precision>
349 <color>
350 <r>0</r>
351 <g>0</g>
352 <b>0</b>
353 </color>
354 <bgcolor mode="nobackground">
355 <r>255</r>
356 <g>255</g>
357 <b>255</b>
358 </bgcolor>
359 <bordermode>noborder</bordermode>
360 <borderradius>1</borderradius>
361 <borderwidth>1</borderwidth>
362 </bsbObject>
363 <bsbObject version="2" type="BSBHSlider">
364 <objectName>FreqBuffer</objectName>
365 <x>519</x>
366 <y>43</y>
367 <width>500</width>
368 <height>27</height>
369 <uuid>{aaf82558-9229-4d61-8190-0286f3764e87}</uuid>
370 <visible>true</visible>
371 <midichan>0</midichan>
372 <midicc>0</midicc>
373 <minimum>0.00000000</minimum>
374 <maximum>1.00000000</maximum>
375 <value>0.60500002</value>
376 <mode>lin</mode>
377 <mouseControl act="jump">continuous</mouseControl>
378 <resolution>-1.00000000</resolution>
379 <randomizable group="0">false</randomizable>
380 </bsbObject>
381 <bsbObject version="2" type="BSBDisplay">
382 <objectName>FreqBuffer_Value</objectName>
383 <x>959</x>
384 <y>64</y>
385 <width>60</width>
386 <height>30</height>
387 <uuid>{1cd1723d-bcd9-44df-9f08-9d8191f03601}</uuid>
388 <visible>true</visible>
389 <midichan>0</midichan>
390 <midicc>0</midicc>
391 <label>400.353</label>
392 <alignment>right</alignment>
393 <font>Liberation Sans</font>
394 <fontsize>9</fontsize>
395 <precision>3</precision>
396 <color>
397 <r>0</r>
398 <g>0</g>
399 <b>0</b>
400 </color>
401 <bgcolor mode="nobackground">
402 <r>255</r>
403 <g>255</g>
404 <b>255</b>
405 </bgcolor>
406 <bordermode>noborder</bordermode>
407 <borderradius>1</borderradius>
408 <borderwidth>1</borderwidth>
409 </bsbObject>
410 <bsbObject version="2" type="BSBLabel">
411 <objectName/>
412 <x>519</x>
413 <y>110</y>
414 <width>220</width>
415 <height>30</height>
416 <uuid>{0f0e06ef-104c-459c-8a8b-3bf531321341}</uuid>
417 <visible>true</visible>
418 <midichan>0</midichan>
419 <midicc>0</midicc>
420 <label>Smoothing Parameter 1</label>
421 <alignment>left</alignment>
422 <font>Liberation Sans</font>
423 <fontsize>10</fontsize>
424 <precision>3</precision>
425 <color>
426 <r>0</r>
427 <g>0</g>
428 <b>0</b>
429 </color>
430 <bgcolor mode="nobackground">
431 <r>255</r>
432 <g>255</g>
433 <b>255</b>
434 </bgcolor>
435 <bordermode>noborder</bordermode>
436 <borderradius>1</borderradius>
437 <borderwidth>1</borderwidth>
438 </bsbObject>
439 <bsbObject version="2" type="BSBHSlider">
440 <objectName>Parameter1</objectName>
441 <x>519</x>
442 <y>89</y>
443 <width>500</width>
444 <height>27</height>
445 <uuid>{4a2f399c-8a7b-40cf-84ab-839e1d7012f5}</uuid>
446 <visible>true</visible>
447 <midichan>0</midichan>
448 <midicc>0</midicc>
449 <minimum>0.00000000</minimum>
450 <maximum>1.00000000</maximum>
451 <value>0.00000000</value>
452 <mode>lin</mode>
453 <mouseControl act="jump">continuous</mouseControl>
454 <resolution>-1.00000000</resolution>
455 <randomizable group="0">false</randomizable>
456 </bsbObject>
457 <bsbObject version="2" type="BSBDisplay">
458 <objectName>Parameter1</objectName>
459 <x>959</x>
460 <y>110</y>
461 <width>60</width>
462 <height>30</height>
463 <uuid>{62bd5b38-121f-4382-8c01-02c75edf2237}</uuid>
464 <visible>true</visible>
465 <midichan>0</midichan>
466 <midicc>0</midicc>
467 <label>0.000</label>
468 <alignment>right</alignment>
469 <font>Liberation Sans</font>
470 <fontsize>9</fontsize>
471 <precision>3</precision>
472 <color>
473 <r>0</r>
474 <g>0</g>
475 <b>0</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>519</x>
489 <y>156</y>
490 <width>220</width>
491 <height>30</height>
492 <uuid>{3967c371-a6b0-46ca-a51c-5a44bcad618d}</uuid>
493 <visible>true</visible>
494 <midichan>0</midichan>
495 <midicc>0</midicc>
496 <label>Smoothing Parameter 2</label>
497 <alignment>left</alignment>
498 <font>Liberation Sans</font>
499 <fontsize>10</fontsize>
500 <precision>3</precision>
501 <color>
502 <r>0</r>
503 <g>0</g>
504 <b>0</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>Parameter2</objectName>
517 <x>519</x>
518 <y>135</y>
519 <width>500</width>
520 <height>27</height>
521 <uuid>{fa94c4bb-3469-4fbf-9096-f6f7c115eb69}</uuid>
522 <visible>true</visible>
523 <midichan>0</midichan>
524 <midicc>0</midicc>
525 <minimum>0.00000000</minimum>
526 <maximum>1.00000000</maximum>
527 <value>0.00000000</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>Parameter2</objectName>
535 <x>959</x>
536 <y>156</y>
537 <width>60</width>
538 <height>30</height>
539 <uuid>{1f01b045-b441-4f44-8dfe-884fb64aba2a}</uuid>
540 <visible>true</visible>
541 <midichan>0</midichan>
542 <midicc>0</midicc>
543 <label>0.000</label>
544 <alignment>right</alignment>
545 <font>Liberation Sans</font>
546 <fontsize>9</fontsize>
547 <precision>3</precision>
548 <color>
549 <r>0</r>
550 <g>0</g>
551 <b>0</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>7</x>
565 <y>53</y>
566 <width>99</width>
567 <height>40</height>
568 <uuid>{a7659823-fc33-43c8-a408-afd29bfd16c9}</uuid>
569 <visible>true</visible>
570 <midichan>0</midichan>
571 <midicc>0</midicc>
572 <label>Decay Type
573 (i-rate)</label>
574 <alignment>right</alignment>
575 <font>Liberation Sans</font>
576 <fontsize>10</fontsize>
577 <precision>3</precision>
578 <color>
579 <r>0</r>
580 <g>0</g>
581 <b>0</b>
582 </color>
583 <bgcolor mode="nobackground">
584 <r>255</r>
585 <g>255</g>
586 <b>255</b>
587 </bgcolor>
588 <bordermode>noborder</bordermode>
589 <borderradius>1</borderradius>
590 <borderwidth>1</borderwidth>
591 </bsbObject>
592 <bsbObject version="2" type="BSBDropdown">
593 <objectName>InitBuffer</objectName>
594 <x>349</x>
595 <y>51</y>
596 <width>130</width>
597 <height>30</height>
598 <uuid>{83bc3a2e-75dd-4acc-bb05-fb9d5c32748a}</uuid>
599 <visible>true</visible>
600 <midichan>0</midichan>
601 <midicc>0</midicc>
602 <bsbDropdownItemList>
603 <bsbDropdownItem>
604 <name>Random Noise</name>
605 <value>0</value>
606 <stringvalue/>
607 </bsbDropdownItem>
608 <bsbDropdownItem>
609 <name>Flat Pulse</name>
610 <value>1</value>
611 <stringvalue/>
612 </bsbDropdownItem>
613 </bsbDropdownItemList>
614 <selectedIndex>0</selectedIndex>
615 <randomizable group="0">false</randomizable>
616 </bsbObject>
617 <bsbObject version="2" type="BSBLabel">
618 <objectName/>
619 <x>249</x>
620 <y>51</y>
621 <width>100</width>
622 <height>40</height>
623 <uuid>{af44c209-7da2-4e40-892e-3243f4eab94e}</uuid>
624 <visible>true</visible>
625 <midichan>0</midichan>
626 <midicc>0</midicc>
627 <label>Initial
628 Buffer</label>
629 <alignment>right</alignment>
630 <font>Liberation Sans</font>
631 <fontsize>10</fontsize>
632 <precision>3</precision>
633 <color>
634 <r>0</r>
635 <g>0</g>
636 <b>0</b>
637 </color>
638 <bgcolor mode="nobackground">
639 <r>255</r>
640 <g>255</g>
641 <b>255</b>
642 </bgcolor>
643 <bordermode>noborder</bordermode>
644 <borderradius>1</borderradius>
645 <borderwidth>1</borderwidth>
646 </bsbObject>
647 <bsbObject version="2" type="BSBDropdown">
648 <objectName>DecayType</objectName>
649 <x>105</x>
650 <y>51</y>
651 <width>180</width>
652 <height>30</height>
653 <uuid>{9a41a81a-5c63-42cb-b5ec-ae4e8f586d62}</uuid>
654 <visible>true</visible>
655 <midichan>0</midichan>
656 <midicc>0</midicc>
657 <bsbDropdownItemList>
658 <bsbDropdownItem>
659 <name>Simple Averaging</name>
660 <value>0</value>
661 <stringvalue/>
662 </bsbDropdownItem>
663 <bsbDropdownItem>
664 <name>Stretched Averaging</name>
665 <value>1</value>
666 <stringvalue/>
667 </bsbDropdownItem>
668 <bsbDropdownItem>
669 <name>Simple Drum</name>
670 <value>2</value>
671 <stringvalue/>
672 </bsbDropdownItem>
673 <bsbDropdownItem>
674 <name>Stretched drum</name>
675 <value>3</value>
676 <stringvalue/>
677 </bsbDropdownItem>
678 <bsbDropdownItem>
679 <name>Weighted Averaging</name>
680 <value>4</value>
681 <stringvalue/>
682 </bsbDropdownItem>
683 <bsbDropdownItem>
684 <name>Recursive Filter</name>
685 <value>5</value>
686 <stringvalue/>
687 </bsbDropdownItem>
688 </bsbDropdownItemList>
689 <selectedIndex>0</selectedIndex>
690 <randomizable group="0">false</randomizable>
691 </bsbObject>
692 </bsbPanel>
693 <bsbPresets>
694 </bsbPresets>
695 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>