Debian Codegraph @

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

raw
1 ;Written by Iain McCurdy, 2006
2
3 ;DEMONSTRATION OF THE wgclar OPCODE. THIS IS A PHYSICALLY MODELLED CLARINET - SOUNDS MORE LIKE PAN PIPES AT TIMES... YUCK!
4 ; - THE ALGORITHM USED IS SIMILAR TO THAT USED BY THE wgflute OPCODE
5
6 ;kamp - AMPLITUDE
7
8 ;kfreq - THE FUNDEMENTAL OF THE TONE PRODUCED
9
10 ;kstiff - THE STIFFNESS OF THE REED - BUT I CAN'T GET IT TO DO ANYTHING! CAN YOU PROVE ME WRONG?
11
12 ;iatt/idek - ATTACK AND DECAY TIMES.
13 ; NOTE THAT THESE CONTROLS WILL IMPLEMENT AN ATTACK AND DECAY CHARACTERISTIC THAT IS MORE ELABORATE
14 ; -THAN JUST AN AMPLITUDE ENVELOPE STYLE ATTACK AND DECAY
15 ; IN ORDER FOR THE DECAY TIME PARAMETER TO WORK PROPERLY NOTE DURATION MUST BE EXTENDED.
16 ; IN A MIDI SITUATION THIS COULD BE DONE USING linenr, linsegr OR expsegr.
17
18 ;kngain - AMPLITUDE OF BREATH/WIND NOISE. THE FLUTE SOUND CONSISTS OF 2 MAIN ELEMENTS:
19 ; THE RESONANT TONE AND THE BREATH NOISE.
20 ; THIS PARAMETER CONTROLS THE STRENGTH OF THE BREATH/WIND NOISE.
21 ; A USEFUL RANGE FOR THIS IS ABOUT 0-1
22 ; 0=NO BREATH NOISE, 1=BREATH NOISE ONLY
23
24 ;kvibf/kvibamp - THIS OPCODE IMPLEMENTS VIBRATO THAT GOES BEYOND JUST FREQUENCY MODULATION AND INCLUDES MODULATION
25 ; -UPON SEVERAL OTHER ASPECTS OF THE SOUND INCLUDING AMPLITUDE MODULATION
26 ; A USEFUL RANGE FOR kvibamp (AMPLITUDE OF VIBRATO) IS 0-.25 WHERE 0=NO VIBRATO AND .25=A LOT OF VIBRATO
27 ; kvibf IS USED TO CONTROL VIBRATO FREQUENCY, A NATURAL VIBRATO FREQUENCY IS ABOUT 5 HZ
28
29 ;ifn - A FUNCTION TABLE WAVEFORM MUST BE GIVEN TO DEFINE THE SHAPE OF THE VIBRATO,
30 ; -THIS SHOULD NORMALLY BE A SINE WAVE.
31
32 ;THE OPCODE OFFERS 3 FURTHER *OPTIONAL* PARAMETERS:
33
34 ;iminfreq - A MINIMUM FREQUENCY SETTING GIVEN TO THE ALGORITHM
35 ; - TYPICALLY THIS IS SET TO A VALUE BELOW THE FREQUENCY SETTING GIVEN BY kfreq
36 ; - IF kfreq GOES BELOW iminfreq IS CAN HAVE A STRANGE EFFECT ON THE SOUND AND THE SETTING FOR kfreq NO LONGER
37 ; -REFLECTS THE PITCH THAT IS ACTUALLY HEARD.
38
39
40 ;Modified for QuteCsound by René, March 2011
41 ;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817
42
43
44 ;Notes on modifications from original csd:
45 ; Add tables for exp slider
46 ; INIT instrument added
47
48
49 ;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0
50 <CsoundSynthesizer>
51 <CsOptions>
52
53 </CsOptions>
54 <CsInstruments>
55 sr = 44100 ;SAMPLE RATE
56 ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
57 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
58 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
59
60
61 giExp1 ftgen 0, 0, 129, -25, 0, 20.0, 128, 20000.0 ;TABLE FOR EXP SLIDER
62
63
64 instr 2 ;GUI
65 ktrig metro 10
66 if (ktrig == 1) then
67 gkamp invalue "Amp"
68 kfreq invalue "Freq"
69 gkfreq tablei kfreq, giExp1, 1
70 outvalue "Freq_Value", gkfreq
71 gkstiff invalue "Stiff"
72 gkngain invalue "NoiseGain"
73 gkatt invalue "Attack"
74 gkdetk invalue "Decay"
75 gkvibf invalue "VibFreq"
76 gkvibamp invalue "VibAmp"
77 kminfreq invalue "MinFreq"
78 gkminfreq tablei kminfreq, giExp1, 1
79 outvalue "MinFreq_Value", gkminfreq
80 endif
81 endin
82
83 instr 1 ;MIDI ACTIVATED INSTRUMENT
84 ioct octmidi ;READ NOTE VALUES FROM MIDI INPUT IN THE 'OCT' FORMAT
85 iamp ampmidi 1 ;AMPLITUDE IS READ FROM INCOMING MIDI NOTE
86
87 ;PITCH BEND INFORMATION IS READ
88 iSemitoneBendRange = 2 ;PITCH BEND RANGE IN SEMITONES (WILL BE DEFINED FURTHER LATER)
89 imin = 0 ;EQUILIBRIUM POSITION
90 imax = iSemitoneBendRange * .0833333 ;MAX PITCH DISPLACEMENT (IN oct FORMAT)
91 kbend pchbend imin, imax ;PITCH BEND VARIABLE (IN oct FORMAT)
92 kfreq = cpsoct(ioct+ kbend)
93 aenv linsegr 1, 3600, 1, i(gkdetk), 0 ;THIS ENVELOPE, ALTHOUGH NOT USED AS A CONTROL SIGNAL FOR ANYTHING, SERVES TO KEEP THE INSTRUMENT RUNNING AFTER A NOTE OF HAS BEEN RECEIVED TO FACILITATE THE DECCAY TIME FOR wgclar
94 ifn = 1 ;WAVEFORM FUNCTION TABLE FOR THE SHAPE OF THE VIBRATO - SHOULD NORMALLY JUST BE A SINE WAVE OR SOMETHING SIMILAR
95 kSwitch changed gkminfreq, gkatt, gkdetk
96 if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
97 reinit UPDATE ;BEGIN A REINITIALISATION PASS FROM LABEL 'UPDATE'
98 endif
99 UPDATE:
100 ;AN AUDIO SIGNAL IS CREATED USING THE wgclar OPCODE. NOTE THAT I-RATE VARIABLES MUST BE CONVERTED FROM K-RATE TO I-RATE SLIDERS
101 aclarinet wgclar gkamp*iamp, kfreq, gkstiff, i(gkatt), i(gkdetk), gkngain,gkvibf, gkvibamp, ifn, i(gkminfreq)
102 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
103 outs aclarinet * aenv, aclarinet * aenv
104 endin
105
106 instr 3 ;GUI TRIGGERED INSTRUMENT
107 kSwitch changed gkminfreq, gkatt, gkdetk
108 if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
109 reinit UPDATE ;BEGIN A REINITIALISATION PASS FROM LABEL 'UPDATE'
110 endif
111 UPDATE:
112 aenv linsegr 1, 3600, 1, i(gkdetk), 0 ;THIS ENVELOPE, ALTHOUGH NOT USED AS A CONTROL SIGNAL FOR ANYTHING, SERVES TO KEEP THE INSTRUMENT RUNNING AFTER A NOTE OF HAS BEEN RECEIVED TO FACILITATE THE DECCAY TIME FOR wgclar
113 ifn = 1 ;WAVEFORM FUNCTION TABLE FOR THE SHAPE OF THE VIBRATO - SHOULD NORMALLY JUST BE A SINE WAVE OR SOMETHING SIMILAR
114 ;AN AUDIO SIGNAL IS CREATED USING THE wgclar OPCODE. NOTE THAT I-RATE VARIABLES MUST BE CONVERTED FROM K-RATE TO I-RATE SLIDERS
115 aclarinet wgclar gkamp, gkfreq, gkstiff, i(gkatt), i(gkdetk), gkngain,gkvibf, gkvibamp, ifn, i(gkminfreq)
116 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
117 outs aclarinet * aenv, aclarinet * aenv
118 endin
119
120 instr 4 ;INIT
121 outvalue "Amp" , 0.3
122 outvalue "Freq" , 0.525
123 outvalue "Stiff" , .3
124 outvalue "NoiseGain" , .1
125 outvalue "Attack" , .03
126 outvalue "Decay" , .03
127 outvalue "VibFreq" , 5.0
128 outvalue "VibAmp" , .1
129 outvalue "MinFreq" , 0.0
130 endin
131 </CsInstruments>
132 <CsScore>
133 f 1 0 131072 10 1 ;SINE WAVE (USED FOR VIBRATO)
134
135 ;INSTR | START | DURATION
136 i 2 0 3600 ;GUI
137 i 4 0 0.1 ;INIT
138 </CsScore>
139 </CsoundSynthesizer>
140 <bsbPanel>
141 <label>Widgets</label>
142 <objectName/>
143 <x>758</x>
144 <y>231</y>
145 <width>824</width>
146 <height>472</height>
147 <visible>true</visible>
148 <uuid/>
149 <bgcolor mode="background">
150 <r>241</r>
151 <g>226</g>
152 <b>185</b>
153 </bgcolor>
154 <bsbObject version="2" type="BSBLabel">
155 <objectName/>
156 <x>2</x>
157 <y>2</y>
158 <width>511</width>
159 <height>466</height>
160 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
161 <visible>true</visible>
162 <midichan>0</midichan>
163 <midicc>0</midicc>
164 <label>wgclar</label>
165 <alignment>center</alignment>
166 <font>Liberation Sans</font>
167 <fontsize>18</fontsize>
168 <precision>3</precision>
169 <color>
170 <r>0</r>
171 <g>0</g>
172 <b>0</b>
173 </color>
174 <bgcolor mode="background">
175 <r>147</r>
176 <g>154</g>
177 <b>255</b>
178 </bgcolor>
179 <bordermode>border</bordermode>
180 <borderradius>5</borderradius>
181 <borderwidth>2</borderwidth>
182 </bsbObject>
183 <bsbObject version="2" type="BSBLabel">
184 <objectName/>
185 <x>8</x>
186 <y>76</y>
187 <width>220</width>
188 <height>30</height>
189 <uuid>{640b50b7-7200-4f81-8394-89d9843ae939}</uuid>
190 <visible>true</visible>
191 <midichan>0</midichan>
192 <midicc>0</midicc>
193 <label>Amplitude</label>
194 <alignment>left</alignment>
195 <font>Liberation Sans</font>
196 <fontsize>10</fontsize>
197 <precision>3</precision>
198 <color>
199 <r>0</r>
200 <g>0</g>
201 <b>0</b>
202 </color>
203 <bgcolor mode="nobackground">
204 <r>255</r>
205 <g>255</g>
206 <b>255</b>
207 </bgcolor>
208 <bordermode>noborder</bordermode>
209 <borderradius>1</borderradius>
210 <borderwidth>1</borderwidth>
211 </bsbObject>
212 <bsbObject version="2" type="BSBHSlider">
213 <objectName>Amp</objectName>
214 <x>8</x>
215 <y>54</y>
216 <width>500</width>
217 <height>27</height>
218 <uuid>{5585fa6f-0f63-4ac3-bf1b-809c2b1d9134}</uuid>
219 <visible>true</visible>
220 <midichan>0</midichan>
221 <midicc>0</midicc>
222 <minimum>0.00000000</minimum>
223 <maximum>1.00000000</maximum>
224 <value>0.30000001</value>
225 <mode>lin</mode>
226 <mouseControl act="jump">continuous</mouseControl>
227 <resolution>-1.00000000</resolution>
228 <randomizable group="0">false</randomizable>
229 </bsbObject>
230 <bsbObject version="2" type="BSBDisplay">
231 <objectName>Amp</objectName>
232 <x>448</x>
233 <y>76</y>
234 <width>60</width>
235 <height>30</height>
236 <uuid>{b731b52e-e14a-476a-a583-f3b2bd885539}</uuid>
237 <visible>true</visible>
238 <midichan>0</midichan>
239 <midicc>0</midicc>
240 <label>0.300</label>
241 <alignment>right</alignment>
242 <font>Liberation Sans</font>
243 <fontsize>9</fontsize>
244 <precision>3</precision>
245 <color>
246 <r>0</r>
247 <g>0</g>
248 <b>0</b>
249 </color>
250 <bgcolor mode="nobackground">
251 <r>255</r>
252 <g>255</g>
253 <b>255</b>
254 </bgcolor>
255 <bordermode>noborder</bordermode>
256 <borderradius>1</borderradius>
257 <borderwidth>1</borderwidth>
258 </bsbObject>
259 <bsbObject version="2" type="BSBLabel">
260 <objectName/>
261 <x>515</x>
262 <y>2</y>
263 <width>300</width>
264 <height>466</height>
265 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
266 <visible>true</visible>
267 <midichan>0</midichan>
268 <midicc>0</midicc>
269 <label>wgclar</label>
270 <alignment>center</alignment>
271 <font>Liberation Sans</font>
272 <fontsize>18</fontsize>
273 <precision>3</precision>
274 <color>
275 <r>0</r>
276 <g>0</g>
277 <b>0</b>
278 </color>
279 <bgcolor mode="background">
280 <r>147</r>
281 <g>154</g>
282 <b>255</b>
283 </bgcolor>
284 <bordermode>border</bordermode>
285 <borderradius>5</borderradius>
286 <borderwidth>2</borderwidth>
287 </bsbObject>
288 <bsbObject version="2" type="BSBLabel">
289 <objectName/>
290 <x>517</x>
291 <y>24</y>
292 <width>295</width>
293 <height>441</height>
294 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
295 <visible>true</visible>
296 <midichan>0</midichan>
297 <midicc>0</midicc>
298 <label>------------------------------------------------------------------------
299 wgclar is a wave guide physical model of a clarinet based on work by Perry Cook but re-coded for Csound by John ffitch. Attack time is the time taken to reach full blowing pressure. The author suggests that 0.1 corresponds to normal playing. Decay time is the time taken for the system to stop producing sound after blowing has stopped. The author suggests that 0.1 produces a smooth natural sounding end to a note. Values for reed stiffness should be negative. The useful range is approximately -0.44 to -0.18. The author suggests a value of -0.3 as representing normal reed stiffness. Noise gain controls the amount of simulated wind noise in the composite tone produced. The suggested range is 0 to 0.5. Vibrato is implemented within the opcode and does not need to be applied separately to the frequency parameter. Natural vibrato occurs at about 5 hertz. Minimum frequency (optional) defines the lowest frequency at which the model will play. This example can also be triggered via MIDI. MIDI note number, velocity and pitch bend are interpreted appropriately.</label>
300 <alignment>left</alignment>
301 <font>Liberation Sans</font>
302 <fontsize>14</fontsize>
303 <precision>3</precision>
304 <color>
305 <r>0</r>
306 <g>0</g>
307 <b>0</b>
308 </color>
309 <bgcolor mode="nobackground">
310 <r>255</r>
311 <g>255</g>
312 <b>255</b>
313 </bgcolor>
314 <bordermode>noborder</bordermode>
315 <borderradius>1</borderradius>
316 <borderwidth>1</borderwidth>
317 </bsbObject>
318 <bsbObject version="2" type="BSBButton">
319 <objectName/>
320 <x>8</x>
321 <y>16</y>
322 <width>120</width>
323 <height>30</height>
324 <uuid>{04d44ebe-12eb-4bb0-a3f5-9e4fd3e7830e}</uuid>
325 <visible>true</visible>
326 <midichan>0</midichan>
327 <midicc>0</midicc>
328 <type>event</type>
329 <pressedValue>1.00000000</pressedValue>
330 <stringvalue/>
331 <text> On / Off</text>
332 <image>/</image>
333 <eventLine>i 3 0 -1</eventLine>
334 <latch>true</latch>
335 <latched>false</latched>
336 </bsbObject>
337 <bsbObject version="2" type="BSBLabel">
338 <objectName/>
339 <x>8</x>
340 <y>121</y>
341 <width>220</width>
342 <height>30</height>
343 <uuid>{6e0c35ca-d489-456c-a3c8-7b02cf334c36}</uuid>
344 <visible>true</visible>
345 <midichan>0</midichan>
346 <midicc>0</midicc>
347 <label>Frequency</label>
348 <alignment>left</alignment>
349 <font>Liberation Sans</font>
350 <fontsize>10</fontsize>
351 <precision>3</precision>
352 <color>
353 <r>0</r>
354 <g>0</g>
355 <b>0</b>
356 </color>
357 <bgcolor mode="nobackground">
358 <r>255</r>
359 <g>255</g>
360 <b>255</b>
361 </bgcolor>
362 <bordermode>noborder</bordermode>
363 <borderradius>1</borderradius>
364 <borderwidth>1</borderwidth>
365 </bsbObject>
366 <bsbObject version="2" type="BSBHSlider">
367 <objectName>Freq</objectName>
368 <x>8</x>
369 <y>99</y>
370 <width>500</width>
371 <height>27</height>
372 <uuid>{28514f48-2718-4dab-b43c-78c3cc4fba09}</uuid>
373 <visible>true</visible>
374 <midichan>0</midichan>
375 <midicc>0</midicc>
376 <minimum>0.00000000</minimum>
377 <maximum>1.00000000</maximum>
378 <value>0.52499998</value>
379 <mode>lin</mode>
380 <mouseControl act="jump">continuous</mouseControl>
381 <resolution>-1.00000000</resolution>
382 <randomizable group="0">false</randomizable>
383 </bsbObject>
384 <bsbObject version="2" type="BSBDisplay">
385 <objectName>Freq_Value</objectName>
386 <x>448</x>
387 <y>121</y>
388 <width>60</width>
389 <height>30</height>
390 <uuid>{1ad30bb1-9a2f-461a-bf9e-cc7cc6c9d678}</uuid>
391 <visible>true</visible>
392 <midichan>0</midichan>
393 <midicc>0</midicc>
394 <label>751.852</label>
395 <alignment>right</alignment>
396 <font>Liberation Sans</font>
397 <fontsize>9</fontsize>
398 <precision>3</precision>
399 <color>
400 <r>0</r>
401 <g>0</g>
402 <b>0</b>
403 </color>
404 <bgcolor mode="nobackground">
405 <r>255</r>
406 <g>255</g>
407 <b>255</b>
408 </bgcolor>
409 <bordermode>noborder</bordermode>
410 <borderradius>1</borderradius>
411 <borderwidth>1</borderwidth>
412 </bsbObject>
413 <bsbObject version="2" type="BSBLabel">
414 <objectName/>
415 <x>8</x>
416 <y>166</y>
417 <width>220</width>
418 <height>30</height>
419 <uuid>{b6d928a2-0d92-4eaa-b1e8-9f3091c5794c}</uuid>
420 <visible>true</visible>
421 <midichan>0</midichan>
422 <midicc>0</midicc>
423 <label>Reed Stiffness</label>
424 <alignment>left</alignment>
425 <font>Liberation Sans</font>
426 <fontsize>10</fontsize>
427 <precision>3</precision>
428 <color>
429 <r>0</r>
430 <g>0</g>
431 <b>0</b>
432 </color>
433 <bgcolor mode="nobackground">
434 <r>255</r>
435 <g>255</g>
436 <b>255</b>
437 </bgcolor>
438 <bordermode>noborder</bordermode>
439 <borderradius>1</borderradius>
440 <borderwidth>1</borderwidth>
441 </bsbObject>
442 <bsbObject version="2" type="BSBHSlider">
443 <objectName>Stiff</objectName>
444 <x>8</x>
445 <y>144</y>
446 <width>500</width>
447 <height>27</height>
448 <uuid>{49a6777a-6ac7-430b-b827-547dc2686e49}</uuid>
449 <visible>true</visible>
450 <midichan>0</midichan>
451 <midicc>0</midicc>
452 <minimum>-0.44000000</minimum>
453 <maximum>-0.18000000</maximum>
454 <value>-0.18000000</value>
455 <mode>lin</mode>
456 <mouseControl act="jump">continuous</mouseControl>
457 <resolution>-1.00000000</resolution>
458 <randomizable group="0">false</randomizable>
459 </bsbObject>
460 <bsbObject version="2" type="BSBDisplay">
461 <objectName>Stiff</objectName>
462 <x>448</x>
463 <y>166</y>
464 <width>60</width>
465 <height>30</height>
466 <uuid>{fca8b154-9112-4b23-8054-469dafd66230}</uuid>
467 <visible>true</visible>
468 <midichan>0</midichan>
469 <midicc>0</midicc>
470 <label>0.300</label>
471 <alignment>right</alignment>
472 <font>Liberation Sans</font>
473 <fontsize>9</fontsize>
474 <precision>3</precision>
475 <color>
476 <r>0</r>
477 <g>0</g>
478 <b>0</b>
479 </color>
480 <bgcolor mode="nobackground">
481 <r>255</r>
482 <g>255</g>
483 <b>255</b>
484 </bgcolor>
485 <bordermode>noborder</bordermode>
486 <borderradius>1</borderradius>
487 <borderwidth>1</borderwidth>
488 </bsbObject>
489 <bsbObject version="2" type="BSBLabel">
490 <objectName/>
491 <x>8</x>
492 <y>211</y>
493 <width>220</width>
494 <height>30</height>
495 <uuid>{55089f0d-6978-4aca-b682-ae666b30683e}</uuid>
496 <visible>true</visible>
497 <midichan>0</midichan>
498 <midicc>0</midicc>
499 <label>Noise Gain</label>
500 <alignment>left</alignment>
501 <font>Liberation Sans</font>
502 <fontsize>10</fontsize>
503 <precision>3</precision>
504 <color>
505 <r>0</r>
506 <g>0</g>
507 <b>0</b>
508 </color>
509 <bgcolor mode="nobackground">
510 <r>255</r>
511 <g>255</g>
512 <b>255</b>
513 </bgcolor>
514 <bordermode>noborder</bordermode>
515 <borderradius>1</borderradius>
516 <borderwidth>1</borderwidth>
517 </bsbObject>
518 <bsbObject version="2" type="BSBHSlider">
519 <objectName>NoiseGain</objectName>
520 <x>8</x>
521 <y>189</y>
522 <width>500</width>
523 <height>27</height>
524 <uuid>{3439fd43-d6bf-41ba-88ab-efcbcda0122c}</uuid>
525 <visible>true</visible>
526 <midichan>0</midichan>
527 <midicc>0</midicc>
528 <minimum>0.00000000</minimum>
529 <maximum>5.00000000</maximum>
530 <value>0.10000000</value>
531 <mode>lin</mode>
532 <mouseControl act="jump">continuous</mouseControl>
533 <resolution>-1.00000000</resolution>
534 <randomizable group="0">false</randomizable>
535 </bsbObject>
536 <bsbObject version="2" type="BSBDisplay">
537 <objectName>NoiseGain</objectName>
538 <x>448</x>
539 <y>211</y>
540 <width>60</width>
541 <height>30</height>
542 <uuid>{d78b9853-b96c-4bc2-a2d5-375b6a4869ae}</uuid>
543 <visible>true</visible>
544 <midichan>0</midichan>
545 <midicc>0</midicc>
546 <label>0.100</label>
547 <alignment>right</alignment>
548 <font>Liberation Sans</font>
549 <fontsize>9</fontsize>
550 <precision>3</precision>
551 <color>
552 <r>0</r>
553 <g>0</g>
554 <b>0</b>
555 </color>
556 <bgcolor mode="nobackground">
557 <r>255</r>
558 <g>255</g>
559 <b>255</b>
560 </bgcolor>
561 <bordermode>noborder</bordermode>
562 <borderradius>1</borderradius>
563 <borderwidth>1</borderwidth>
564 </bsbObject>
565 <bsbObject version="2" type="BSBLabel">
566 <objectName/>
567 <x>8</x>
568 <y>256</y>
569 <width>220</width>
570 <height>30</height>
571 <uuid>{d8273459-fbc3-40c2-b202-003f954906f6}</uuid>
572 <visible>true</visible>
573 <midichan>0</midichan>
574 <midicc>0</midicc>
575 <label>Attack Time (i-rate in seconds)</label>
576 <alignment>left</alignment>
577 <font>Liberation Sans</font>
578 <fontsize>10</fontsize>
579 <precision>3</precision>
580 <color>
581 <r>0</r>
582 <g>0</g>
583 <b>0</b>
584 </color>
585 <bgcolor mode="nobackground">
586 <r>255</r>
587 <g>255</g>
588 <b>255</b>
589 </bgcolor>
590 <bordermode>noborder</bordermode>
591 <borderradius>1</borderradius>
592 <borderwidth>1</borderwidth>
593 </bsbObject>
594 <bsbObject version="2" type="BSBHSlider">
595 <objectName>Attack</objectName>
596 <x>8</x>
597 <y>234</y>
598 <width>500</width>
599 <height>27</height>
600 <uuid>{ab819133-79c9-448f-a33b-8cbd65c8d6af}</uuid>
601 <visible>true</visible>
602 <midichan>0</midichan>
603 <midicc>0</midicc>
604 <minimum>0.00000000</minimum>
605 <maximum>1.00000000</maximum>
606 <value>0.03000000</value>
607 <mode>lin</mode>
608 <mouseControl act="jump">continuous</mouseControl>
609 <resolution>-1.00000000</resolution>
610 <randomizable group="0">false</randomizable>
611 </bsbObject>
612 <bsbObject version="2" type="BSBDisplay">
613 <objectName>Attack</objectName>
614 <x>448</x>
615 <y>256</y>
616 <width>60</width>
617 <height>30</height>
618 <uuid>{22ea767e-1d44-46df-a57d-1b39aeeeaa04}</uuid>
619 <visible>true</visible>
620 <midichan>0</midichan>
621 <midicc>0</midicc>
622 <label>0.030</label>
623 <alignment>right</alignment>
624 <font>Liberation Sans</font>
625 <fontsize>9</fontsize>
626 <precision>3</precision>
627 <color>
628 <r>0</r>
629 <g>0</g>
630 <b>0</b>
631 </color>
632 <bgcolor mode="nobackground">
633 <r>255</r>
634 <g>255</g>
635 <b>255</b>
636 </bgcolor>
637 <bordermode>noborder</bordermode>
638 <borderradius>1</borderradius>
639 <borderwidth>1</borderwidth>
640 </bsbObject>
641 <bsbObject version="2" type="BSBLabel">
642 <objectName/>
643 <x>8</x>
644 <y>301</y>
645 <width>220</width>
646 <height>30</height>
647 <uuid>{eb9ca396-c5b9-439b-a2d6-173005d43519}</uuid>
648 <visible>true</visible>
649 <midichan>0</midichan>
650 <midicc>0</midicc>
651 <label>Decay Time (i-rate in seconds)</label>
652 <alignment>left</alignment>
653 <font>Liberation Sans</font>
654 <fontsize>10</fontsize>
655 <precision>3</precision>
656 <color>
657 <r>0</r>
658 <g>0</g>
659 <b>0</b>
660 </color>
661 <bgcolor mode="nobackground">
662 <r>255</r>
663 <g>255</g>
664 <b>255</b>
665 </bgcolor>
666 <bordermode>noborder</bordermode>
667 <borderradius>1</borderradius>
668 <borderwidth>1</borderwidth>
669 </bsbObject>
670 <bsbObject version="2" type="BSBHSlider">
671 <objectName>Decay</objectName>
672 <x>8</x>
673 <y>279</y>
674 <width>500</width>
675 <height>27</height>
676 <uuid>{8efddf99-5c6c-4272-8941-b63cbfa97d8e}</uuid>
677 <visible>true</visible>
678 <midichan>0</midichan>
679 <midicc>0</midicc>
680 <minimum>0.00000000</minimum>
681 <maximum>1.00000000</maximum>
682 <value>0.03000000</value>
683 <mode>lin</mode>
684 <mouseControl act="jump">continuous</mouseControl>
685 <resolution>-1.00000000</resolution>
686 <randomizable group="0">false</randomizable>
687 </bsbObject>
688 <bsbObject version="2" type="BSBDisplay">
689 <objectName>Decay</objectName>
690 <x>448</x>
691 <y>301</y>
692 <width>60</width>
693 <height>30</height>
694 <uuid>{f23ee963-c062-4762-86c4-6695f28e2b01}</uuid>
695 <visible>true</visible>
696 <midichan>0</midichan>
697 <midicc>0</midicc>
698 <label>0.030</label>
699 <alignment>right</alignment>
700 <font>Liberation Sans</font>
701 <fontsize>9</fontsize>
702 <precision>3</precision>
703 <color>
704 <r>0</r>
705 <g>0</g>
706 <b>0</b>
707 </color>
708 <bgcolor mode="nobackground">
709 <r>255</r>
710 <g>255</g>
711 <b>255</b>
712 </bgcolor>
713 <bordermode>noborder</bordermode>
714 <borderradius>1</borderradius>
715 <borderwidth>1</borderwidth>
716 </bsbObject>
717 <bsbObject version="2" type="BSBLabel">
718 <objectName/>
719 <x>8</x>
720 <y>345</y>
721 <width>220</width>
722 <height>30</height>
723 <uuid>{a749092a-748d-4f5e-b805-f2397e3d8ec9}</uuid>
724 <visible>true</visible>
725 <midichan>0</midichan>
726 <midicc>0</midicc>
727 <label>Vibrato Frequency</label>
728 <alignment>left</alignment>
729 <font>Liberation Sans</font>
730 <fontsize>10</fontsize>
731 <precision>3</precision>
732 <color>
733 <r>0</r>
734 <g>0</g>
735 <b>0</b>
736 </color>
737 <bgcolor mode="nobackground">
738 <r>255</r>
739 <g>255</g>
740 <b>255</b>
741 </bgcolor>
742 <bordermode>noborder</bordermode>
743 <borderradius>1</borderradius>
744 <borderwidth>1</borderwidth>
745 </bsbObject>
746 <bsbObject version="2" type="BSBHSlider">
747 <objectName>VibFreq</objectName>
748 <x>8</x>
749 <y>323</y>
750 <width>500</width>
751 <height>27</height>
752 <uuid>{2dbff1a3-6cbb-402a-adc0-3f5c90b8bab1}</uuid>
753 <visible>true</visible>
754 <midichan>0</midichan>
755 <midicc>0</midicc>
756 <minimum>0.00000000</minimum>
757 <maximum>30.00000000</maximum>
758 <value>5.00000000</value>
759 <mode>lin</mode>
760 <mouseControl act="jump">continuous</mouseControl>
761 <resolution>-1.00000000</resolution>
762 <randomizable group="0">false</randomizable>
763 </bsbObject>
764 <bsbObject version="2" type="BSBDisplay">
765 <objectName>VibFreq</objectName>
766 <x>448</x>
767 <y>345</y>
768 <width>60</width>
769 <height>30</height>
770 <uuid>{358c97c4-62fa-47d1-b74c-38996c4d00f4}</uuid>
771 <visible>true</visible>
772 <midichan>0</midichan>
773 <midicc>0</midicc>
774 <label>5.000</label>
775 <alignment>right</alignment>
776 <font>Liberation Sans</font>
777 <fontsize>9</fontsize>
778 <precision>3</precision>
779 <color>
780 <r>0</r>
781 <g>0</g>
782 <b>0</b>
783 </color>
784 <bgcolor mode="nobackground">
785 <r>255</r>
786 <g>255</g>
787 <b>255</b>
788 </bgcolor>
789 <bordermode>noborder</bordermode>
790 <borderradius>1</borderradius>
791 <borderwidth>1</borderwidth>
792 </bsbObject>
793 <bsbObject version="2" type="BSBLabel">
794 <objectName/>
795 <x>8</x>
796 <y>390</y>
797 <width>220</width>
798 <height>30</height>
799 <uuid>{b4c83057-1e9b-411b-af13-ffd335111370}</uuid>
800 <visible>true</visible>
801 <midichan>0</midichan>
802 <midicc>0</midicc>
803 <label>Vibrato Amplitude</label>
804 <alignment>left</alignment>
805 <font>Liberation Sans</font>
806 <fontsize>10</fontsize>
807 <precision>3</precision>
808 <color>
809 <r>0</r>
810 <g>0</g>
811 <b>0</b>
812 </color>
813 <bgcolor mode="nobackground">
814 <r>255</r>
815 <g>255</g>
816 <b>255</b>
817 </bgcolor>
818 <bordermode>noborder</bordermode>
819 <borderradius>1</borderradius>
820 <borderwidth>1</borderwidth>
821 </bsbObject>
822 <bsbObject version="2" type="BSBHSlider">
823 <objectName>VibAmp</objectName>
824 <x>8</x>
825 <y>368</y>
826 <width>500</width>
827 <height>27</height>
828 <uuid>{0d7af4e5-75ae-4266-ad8f-961bca178e91}</uuid>
829 <visible>true</visible>
830 <midichan>0</midichan>
831 <midicc>0</midicc>
832 <minimum>0.00000000</minimum>
833 <maximum>0.30000000</maximum>
834 <value>0.10000000</value>
835 <mode>lin</mode>
836 <mouseControl act="jump">continuous</mouseControl>
837 <resolution>-1.00000000</resolution>
838 <randomizable group="0">false</randomizable>
839 </bsbObject>
840 <bsbObject version="2" type="BSBDisplay">
841 <objectName>VibAmp</objectName>
842 <x>448</x>
843 <y>390</y>
844 <width>60</width>
845 <height>30</height>
846 <uuid>{8dbc13b7-4506-4e59-8a2c-102bcd73c3cf}</uuid>
847 <visible>true</visible>
848 <midichan>0</midichan>
849 <midicc>0</midicc>
850 <label>0.100</label>
851 <alignment>right</alignment>
852 <font>Liberation Sans</font>
853 <fontsize>9</fontsize>
854 <precision>3</precision>
855 <color>
856 <r>0</r>
857 <g>0</g>
858 <b>0</b>
859 </color>
860 <bgcolor mode="nobackground">
861 <r>255</r>
862 <g>255</g>
863 <b>255</b>
864 </bgcolor>
865 <bordermode>noborder</bordermode>
866 <borderradius>1</borderradius>
867 <borderwidth>1</borderwidth>
868 </bsbObject>
869 <bsbObject version="2" type="BSBLabel">
870 <objectName/>
871 <x>8</x>
872 <y>435</y>
873 <width>220</width>
874 <height>30</height>
875 <uuid>{6f91bfd5-5833-4370-a064-9c699e367c2e}</uuid>
876 <visible>true</visible>
877 <midichan>0</midichan>
878 <midicc>0</midicc>
879 <label>Minimum Frequency (i-rate)</label>
880 <alignment>left</alignment>
881 <font>Liberation Sans</font>
882 <fontsize>10</fontsize>
883 <precision>3</precision>
884 <color>
885 <r>0</r>
886 <g>0</g>
887 <b>0</b>
888 </color>
889 <bgcolor mode="nobackground">
890 <r>255</r>
891 <g>255</g>
892 <b>255</b>
893 </bgcolor>
894 <bordermode>noborder</bordermode>
895 <borderradius>1</borderradius>
896 <borderwidth>1</borderwidth>
897 </bsbObject>
898 <bsbObject version="2" type="BSBHSlider">
899 <objectName>MinFreq</objectName>
900 <x>8</x>
901 <y>413</y>
902 <width>500</width>
903 <height>27</height>
904 <uuid>{d9213109-8987-4c5f-87b1-1aea6078283d}</uuid>
905 <visible>true</visible>
906 <midichan>0</midichan>
907 <midicc>0</midicc>
908 <minimum>0.00000000</minimum>
909 <maximum>1.00000000</maximum>
910 <value>0.00000000</value>
911 <mode>lin</mode>
912 <mouseControl act="jump">continuous</mouseControl>
913 <resolution>-1.00000000</resolution>
914 <randomizable group="0">false</randomizable>
915 </bsbObject>
916 <bsbObject version="2" type="BSBDisplay">
917 <objectName>MinFreq_Value</objectName>
918 <x>448</x>
919 <y>435</y>
920 <width>60</width>
921 <height>30</height>
922 <uuid>{5c6e9bdc-a611-4f91-997f-b9ebf24f6f17}</uuid>
923 <visible>true</visible>
924 <midichan>0</midichan>
925 <midicc>0</midicc>
926 <label>20.000</label>
927 <alignment>right</alignment>
928 <font>Liberation Sans</font>
929 <fontsize>9</fontsize>
930 <precision>3</precision>
931 <color>
932 <r>0</r>
933 <g>0</g>
934 <b>0</b>
935 </color>
936 <bgcolor mode="nobackground">
937 <r>255</r>
938 <g>255</g>
939 <b>255</b>
940 </bgcolor>
941 <bordermode>noborder</bordermode>
942 <borderradius>1</borderradius>
943 <borderwidth>1</borderwidth>
944 </bsbObject>
945 </bsbPanel>
946 <bsbPresets>
947 </bsbPresets>
948 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="false" loopStart="0" loopEnd="0"> </EventPanel>