Debian Codegraph @

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

raw
1 ;Written by Iain McCurdy, 2006
2
3 ;DEMONSTRATION OF THE wgflute OPCODE WHICH IS BASED ON PERRY COOK'S PHYSICAL MODEL OF A FLUTE
4
5 ;THIS OPCODE OFFERS A LOT OF INPUT PARAMETERS
6
7 ;kamp - AMPLITUDE
8
9 ;kfreq - THE FUNDEMENTAL OF THE TONE PRODUCED
10
11 ;KJET - A PARAMETER CONTROLLING THE AIR JET. VALUES SHOULD BE POSITIVE, AND ABOUT 0.3. THE USEFUL RANGE IS APPROXIMATELY 0.08 TO 0.56
12 ;LOW SETTINGS FOR KJET FORCE OVERTONES FROM THE INSTRUMENT
13 ;THIS IS PROBABLY THE MOST INSTERESTING PARAMETER IN THIS OPCODE
14
15 ;iatt/idek - ATTACK AND DECAY TIMES APPARENTLY BUT THEY DON'T SEEM TO DO ANYTHING AT ALL AS FAR AS I CAN SEE!
16
17 ;kngain - AMPLITUDE OF BREATH/WIND NOISE. THE FLUTE SOUND CONSISTS OF 2 MAIN ELEMENTS:
18 ; THE RESONANT TONE AND THE BREATH NOISE.
19 ; THIS PARAMETER CONTROLS THE STRENGTH OF THE BREATH/WIND NOISE.
20 ; A USEFUL RANGE FOR THIS IS ABOUT 0-1
21 ; 0=NO BREATH NOISE, 1=BREATH NOISE ONLY
22
23 ;kvibf/kvibamp - THIS OPCODE IMPLEMENTS VIBRATO THAT GOES BEYOND JUST FREQUENCY MODULATION AND INCLUDES MODULATION
24 ; -UPON SEVERAL OTHER ASPECTS OF THE SOUND INCLUDING AMPLITUDE MODULATION
25 ; A USEFUL RANGE FOR kvibamp (AMPLITUDE OF VIBRATO) IS 0-.25 WHERE 0=NO VIBRATO AND .25=A LOT OF VIBRATO
26 ; kvibf IS USED TO CONTROL VIBRATO FREQUENCY, A NATURAL VIBRATO FREQUENCY IS ABOUT 5 HZ
27
28 ;ifn - A FUNCTION TABLE WAVEFORM MUST BE GIVEN TO DEFINE THE SHAPE OF THE VIBRATO,
29 ; -THIS SHOULD NORMALLY BE A SINE WAVE.
30
31 ;THE OPCODE OFFERS 3 FURTHER *OPTIONAL* PARAMETERS:
32
33 ;iminfreq - A MINIMUM FREQUENCY SETTING GIVEN TO THE ALGORITHM
34 ; - TYPICALLY THIS IS SET TO A VALUE BELOW THE FREQUENCY SETTING GIVEN BY kfreq
35 ; - IF kfreq GOES BELOW iminfreq IS CAN HAVE A STRANGE EFFECT ON THE SOUND AND THE SETTING FOR kfreq NO LONGER
36 ; -REFLECTS THE PITCH THAT IS ACTUALLY HEARD.
37
38 ;ijetrf - AMOUNT OF REFLECTION OF THE BREATH JET. I.E. RESISTANCE OF THE AIR COLUMN ON THE FLUTE (I-RATE ONLY)
39
40 ;iendrf - BREATH JET REFLECTION COEFFICIENT (I-RATE ONLY) THIS CONTROLS HOW THE BREATH JET INTERACTS WITH THE RESONANT SOUND
41 ; - 0=BREATH JET DOMINATES 1=RESONANCE DOMINATES
42
43
44 ;Modified for QuteCsound by René, March 2011
45 ;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817
46
47
48 ;Notes on modifications from original csd:
49 ; Add tables for exp slider
50 ; INIT instrument added
51
52
53 ;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0
54 <CsoundSynthesizer>
55 <CsOptions>
56
57 </CsOptions>
58 <CsInstruments>
59 sr = 44100 ;SAMPLE RATE
60 ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
61 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
62 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
63
64
65 gisine ftgen 0, 0, 131072, 10, 1 ;SINE WAVE (USED FOR VIBRATO)
66 giExp1 ftgen 0, 0, 129, -25, 0, 20.0, 128, 20000.0 ;TABLE FOR EXP SLIDER
67
68
69 instr 2 ;GUI
70 ktrig metro 10
71 if (ktrig == 1) then
72 gkamp invalue "Amp"
73 kfreq invalue "Freq"
74 gkfreq tablei kfreq, giExp1, 1
75 outvalue "Freq_Value", gkfreq
76 gkjet invalue "AirJet"
77 gkatt invalue "Attack"
78 gkdek invalue "Decay"
79 gkngain invalue "AmpNoise"
80 gkvibf invalue "VibFreq"
81 gkvibamp invalue "VibAmp"
82 kminfreq invalue "MinFreq"
83 gkminfreq tablei kminfreq, giExp1, 1
84 outvalue "MinFreq_Value", gkminfreq
85 gkjetrf invalue "AmtRefJet"
86 gkendrf invalue "CoefRefJet"
87 endif
88 endin
89
90 instr 1 ;MIDI ACTIVATED INSTRUMENT
91 ioct octmidi ;READ NOTE VALUES FROM MIDI INPUT IN THE 'OCT' FORMAT
92 iamp ampmidi 1 ;AMPLITUDE IS READ FROM INCOMING MIDI NOTE
93
94 ;PITCH BEND INFORMATION IS READ
95 iSemitoneBendRange= 2 ;PITCH BEND RANGE IN SEMITONES (WILL BE DEFINED FURTHER LATER)
96 imin = 0 ;EQUILIBRIUM POSITION
97 imax = iSemitoneBendRange * .0833333 ;MAX PITCH DISPLACEMENT (IN oct FORMAT)
98 kbend pchbend imin, imax ;PITCH BEND VARIABLE (IN oct FORMAT)
99 kfreq = cpsoct(ioct+ kbend)
100 ifn = 1 ;WAVEFORM FUNCTION TABLE FOR THE SHAPE OF THE VIBRATO - SHOULD NORMALLY JUST BE A SINE WAVE OR SOMETHING SIMILAR
101 kSwitch changed gkminfreq, gkjetrf, gkendrf, gkatt, gkdek ;GENERATE A MOMENTARY '1' VALUE THROUGH VARIABLE kSwitch IF ANY OF ITS INPUT VARIABLE CHANGE
102 if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
103 reinit UPDATE ;BEGIN A REINITIALISATION PASS FROM LABEL 'UPDATE'
104 endif
105 UPDATE:
106 ;AN AUDIO SIGNAL IS CREATED USING THE wgflute OPCODE. NOTE THAT I-RATE VARIABLES MUST BE CONVERTED TO I-RATE FROM K-RATE SLIDERS
107 aflute wgflute gkamp*iamp, kfreq, gkjet, i(gkatt), i(gkdek), gkngain, gkvibf, gkvibamp, gisine, i(gkminfreq), i(gkjetrf), i(gkendrf)
108 rireturn ;RETURN FROM A REINITIALIZATION PASS TO PERFORMANCE TIME PASSES
109 aenv linsegr 1,i(gkdek),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
110 outs aflute * aenv, aflute * aenv ;SEND AUDIO OUTPUTS
111 endin
112
113 instr 3 ;GUI ACTIVATED INSTRUMENT
114 aenv linsegr 1, i(gkdek), 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
115 kSwitch changed gkminfreq, gkjetrf, gkendrf, gkatt, gkdek ;GENERATE A MOMENTARY '1' VALUE THROUGH VARIABLE kSwitch IF ANY OF ITS INPUT VARIABLE CHANGE
116 if kSwitch=1 then ;IF kSwitch=1 THEN...
117 reinit UPDATE ;BEGIN A REINITIALIZATION PASS FROM THE GIVEN LABEL
118 endif ;LABEL
119 UPDATE:
120 ;AN AUDIO SIGNAL IS CREATED USING THE wgflute OPCODE. NOTE THAT I-RATE VARIABLES MUST BE CONVERTED TO I-RATE FROM K-RATE SLIDERS
121 aflute wgflute gkamp, gkfreq, gkjet, i(gkatt), i(gkdek), gkngain, gkvibf, gkvibamp, gisine, i(gkminfreq), i(gkjetrf), i(gkendrf)
122 rireturn ;RETURN FROM A REINITIALIZATION PASS TO PERFORMANCE TIME PASSES
123 outs aflute * aenv, aflute * aenv ;SEND AUDIO OUTPUTS
124 endin
125
126 instr 4 ;INIT
127 outvalue "Amp" , 0.2
128 outvalue "Freq" , 0.524649
129 outvalue "AirJet" , .34
130 outvalue "Attack" , .1
131 outvalue "Decay" , .1
132 outvalue "AmpNoise" , .1
133 outvalue "VibFreq" , 5
134 outvalue "VibAmp" , .1
135 outvalue "MinFreq" , 0.0
136 outvalue "AmtRefJet" , .5
137 outvalue "CoefRefJet" , .5
138 endin
139 </CsInstruments>
140 <CsScore>
141 ;INSTR | START | DURATION
142 i 2 0 3600 ;GUI
143 i 4 0 0.1 ;INIT
144 </CsScore>
145 </CsoundSynthesizer>
146 <bsbPanel>
147 <label>Widgets</label>
148 <objectName/>
149 <x>1164</x>
150 <y>151</y>
151 <width>862</width>
152 <height>558</height>
153 <visible>true</visible>
154 <uuid/>
155 <bgcolor mode="background">
156 <r>241</r>
157 <g>226</g>
158 <b>185</b>
159 </bgcolor>
160 <bsbObject version="2" type="BSBLabel">
161 <objectName/>
162 <x>1</x>
163 <y>2</y>
164 <width>511</width>
165 <height>554</height>
166 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
167 <visible>true</visible>
168 <midichan>0</midichan>
169 <midicc>0</midicc>
170 <label>wgflute</label>
171 <alignment>center</alignment>
172 <font>Liberation Sans</font>
173 <fontsize>18</fontsize>
174 <precision>3</precision>
175 <color>
176 <r>0</r>
177 <g>0</g>
178 <b>0</b>
179 </color>
180 <bgcolor mode="background">
181 <r>147</r>
182 <g>154</g>
183 <b>255</b>
184 </bgcolor>
185 <bordermode>border</bordermode>
186 <borderradius>5</borderradius>
187 <borderwidth>2</borderwidth>
188 </bsbObject>
189 <bsbObject version="2" type="BSBLabel">
190 <objectName/>
191 <x>8</x>
192 <y>76</y>
193 <width>220</width>
194 <height>30</height>
195 <uuid>{640b50b7-7200-4f81-8394-89d9843ae939}</uuid>
196 <visible>true</visible>
197 <midichan>0</midichan>
198 <midicc>0</midicc>
199 <label>Amplitude</label>
200 <alignment>left</alignment>
201 <font>Liberation Sans</font>
202 <fontsize>10</fontsize>
203 <precision>3</precision>
204 <color>
205 <r>0</r>
206 <g>0</g>
207 <b>0</b>
208 </color>
209 <bgcolor mode="nobackground">
210 <r>255</r>
211 <g>255</g>
212 <b>255</b>
213 </bgcolor>
214 <bordermode>noborder</bordermode>
215 <borderradius>1</borderradius>
216 <borderwidth>1</borderwidth>
217 </bsbObject>
218 <bsbObject version="2" type="BSBHSlider">
219 <objectName>Amp</objectName>
220 <x>8</x>
221 <y>54</y>
222 <width>500</width>
223 <height>27</height>
224 <uuid>{5585fa6f-0f63-4ac3-bf1b-809c2b1d9134}</uuid>
225 <visible>true</visible>
226 <midichan>0</midichan>
227 <midicc>0</midicc>
228 <minimum>0.00000000</minimum>
229 <maximum>1.00000000</maximum>
230 <value>0.20000000</value>
231 <mode>lin</mode>
232 <mouseControl act="jump">continuous</mouseControl>
233 <resolution>-1.00000000</resolution>
234 <randomizable group="0">false</randomizable>
235 </bsbObject>
236 <bsbObject version="2" type="BSBDisplay">
237 <objectName>Amp</objectName>
238 <x>448</x>
239 <y>76</y>
240 <width>60</width>
241 <height>30</height>
242 <uuid>{b731b52e-e14a-476a-a583-f3b2bd885539}</uuid>
243 <visible>true</visible>
244 <midichan>0</midichan>
245 <midicc>0</midicc>
246 <label>0.200</label>
247 <alignment>right</alignment>
248 <font>Liberation Sans</font>
249 <fontsize>9</fontsize>
250 <precision>3</precision>
251 <color>
252 <r>0</r>
253 <g>0</g>
254 <b>0</b>
255 </color>
256 <bgcolor mode="nobackground">
257 <r>255</r>
258 <g>255</g>
259 <b>255</b>
260 </bgcolor>
261 <bordermode>noborder</bordermode>
262 <borderradius>1</borderradius>
263 <borderwidth>1</borderwidth>
264 </bsbObject>
265 <bsbObject version="2" type="BSBLabel">
266 <objectName/>
267 <x>515</x>
268 <y>2</y>
269 <width>340</width>
270 <height>554</height>
271 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
272 <visible>true</visible>
273 <midichan>0</midichan>
274 <midicc>0</midicc>
275 <label>wgflute</label>
276 <alignment>center</alignment>
277 <font>Liberation Sans</font>
278 <fontsize>18</fontsize>
279 <precision>3</precision>
280 <color>
281 <r>0</r>
282 <g>0</g>
283 <b>0</b>
284 </color>
285 <bgcolor mode="background">
286 <r>147</r>
287 <g>154</g>
288 <b>255</b>
289 </bgcolor>
290 <bordermode>border</bordermode>
291 <borderradius>5</borderradius>
292 <borderwidth>2</borderwidth>
293 </bsbObject>
294 <bsbObject version="2" type="BSBLabel">
295 <objectName/>
296 <x>517</x>
297 <y>22</y>
298 <width>336</width>
299 <height>530</height>
300 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
301 <visible>true</visible>
302 <midichan>0</midichan>
303 <midicc>0</midicc>
304 <label>---------------------------------------------------------------------------------
305 wgflute is a wave guide physical model of a flute 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. Air jet defines the strength of the air jet blown into the flute and therefore controls the playing of overtones. Values for air jet should be positive and the useful range is approximately 0.08 to 0.56. The author suggests a value of 0.3 as representing an air jet of typical strength. A value of 0.34 seems to provide the most accurate tuning. Amplitude of breath noise 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. Amount of Reflection of Breath Jet (optional, default=0.5) defines the amount of reflection in the breath jet that. powers the flute. Breath Jet Reflection Coefficient (optional, default=0.5) is used in conjunction with the Amount of Reflection of Breath Jet in the calculation of the pressure differential. This example can also be triggered via MIDI. MIDI note number, velocity and pitch bend are interpreted appropriately.</label>
306 <alignment>left</alignment>
307 <font>Liberation Sans</font>
308 <fontsize>14</fontsize>
309 <precision>3</precision>
310 <color>
311 <r>0</r>
312 <g>0</g>
313 <b>0</b>
314 </color>
315 <bgcolor mode="nobackground">
316 <r>255</r>
317 <g>255</g>
318 <b>255</b>
319 </bgcolor>
320 <bordermode>noborder</bordermode>
321 <borderradius>1</borderradius>
322 <borderwidth>1</borderwidth>
323 </bsbObject>
324 <bsbObject version="2" type="BSBButton">
325 <objectName/>
326 <x>8</x>
327 <y>16</y>
328 <width>120</width>
329 <height>30</height>
330 <uuid>{04d44ebe-12eb-4bb0-a3f5-9e4fd3e7830e}</uuid>
331 <visible>true</visible>
332 <midichan>0</midichan>
333 <midicc>0</midicc>
334 <type>event</type>
335 <pressedValue>1.00000000</pressedValue>
336 <stringvalue/>
337 <text> On / Off (MIDI)</text>
338 <image>/</image>
339 <eventLine>i 3 0 -1</eventLine>
340 <latch>true</latch>
341 <latched>false</latched>
342 </bsbObject>
343 <bsbObject version="2" type="BSBLabel">
344 <objectName/>
345 <x>8</x>
346 <y>121</y>
347 <width>220</width>
348 <height>30</height>
349 <uuid>{6e0c35ca-d489-456c-a3c8-7b02cf334c36}</uuid>
350 <visible>true</visible>
351 <midichan>0</midichan>
352 <midicc>0</midicc>
353 <label>Frequency</label>
354 <alignment>left</alignment>
355 <font>Liberation Sans</font>
356 <fontsize>10</fontsize>
357 <precision>3</precision>
358 <color>
359 <r>0</r>
360 <g>0</g>
361 <b>0</b>
362 </color>
363 <bgcolor mode="nobackground">
364 <r>255</r>
365 <g>255</g>
366 <b>255</b>
367 </bgcolor>
368 <bordermode>noborder</bordermode>
369 <borderradius>1</borderradius>
370 <borderwidth>1</borderwidth>
371 </bsbObject>
372 <bsbObject version="2" type="BSBHSlider">
373 <objectName>Freq</objectName>
374 <x>8</x>
375 <y>99</y>
376 <width>500</width>
377 <height>27</height>
378 <uuid>{28514f48-2718-4dab-b43c-78c3cc4fba09}</uuid>
379 <visible>true</visible>
380 <midichan>0</midichan>
381 <midicc>0</midicc>
382 <minimum>0.00000000</minimum>
383 <maximum>1.00000000</maximum>
384 <value>0.52464902</value>
385 <mode>lin</mode>
386 <mouseControl act="jump">continuous</mouseControl>
387 <resolution>-1.00000000</resolution>
388 <randomizable group="0">false</randomizable>
389 </bsbObject>
390 <bsbObject version="2" type="BSBDisplay">
391 <objectName>Freq_Value</objectName>
392 <x>448</x>
393 <y>121</y>
394 <width>60</width>
395 <height>30</height>
396 <uuid>{1ad30bb1-9a2f-461a-bf9e-cc7cc6c9d678}</uuid>
397 <visible>true</visible>
398 <midichan>0</midichan>
399 <midicc>0</midicc>
400 <label>750.000</label>
401 <alignment>right</alignment>
402 <font>Liberation Sans</font>
403 <fontsize>9</fontsize>
404 <precision>3</precision>
405 <color>
406 <r>0</r>
407 <g>0</g>
408 <b>0</b>
409 </color>
410 <bgcolor mode="nobackground">
411 <r>255</r>
412 <g>255</g>
413 <b>255</b>
414 </bgcolor>
415 <bordermode>noborder</bordermode>
416 <borderradius>1</borderradius>
417 <borderwidth>1</borderwidth>
418 </bsbObject>
419 <bsbObject version="2" type="BSBLabel">
420 <objectName/>
421 <x>8</x>
422 <y>166</y>
423 <width>220</width>
424 <height>30</height>
425 <uuid>{b6d928a2-0d92-4eaa-b1e8-9f3091c5794c}</uuid>
426 <visible>true</visible>
427 <midichan>0</midichan>
428 <midicc>0</midicc>
429 <label>Air Jet</label>
430 <alignment>left</alignment>
431 <font>Liberation Sans</font>
432 <fontsize>10</fontsize>
433 <precision>3</precision>
434 <color>
435 <r>0</r>
436 <g>0</g>
437 <b>0</b>
438 </color>
439 <bgcolor mode="nobackground">
440 <r>255</r>
441 <g>255</g>
442 <b>255</b>
443 </bgcolor>
444 <bordermode>noborder</bordermode>
445 <borderradius>1</borderradius>
446 <borderwidth>1</borderwidth>
447 </bsbObject>
448 <bsbObject version="2" type="BSBHSlider">
449 <objectName>AirJet</objectName>
450 <x>8</x>
451 <y>144</y>
452 <width>500</width>
453 <height>27</height>
454 <uuid>{49a6777a-6ac7-430b-b827-547dc2686e49}</uuid>
455 <visible>true</visible>
456 <midichan>0</midichan>
457 <midicc>0</midicc>
458 <minimum>0.02000000</minimum>
459 <maximum>10.00000000</maximum>
460 <value>0.34000000</value>
461 <mode>lin</mode>
462 <mouseControl act="jump">continuous</mouseControl>
463 <resolution>-1.00000000</resolution>
464 <randomizable group="0">false</randomizable>
465 </bsbObject>
466 <bsbObject version="2" type="BSBDisplay">
467 <objectName>AirJet</objectName>
468 <x>448</x>
469 <y>166</y>
470 <width>60</width>
471 <height>30</height>
472 <uuid>{fca8b154-9112-4b23-8054-469dafd66230}</uuid>
473 <visible>true</visible>
474 <midichan>0</midichan>
475 <midicc>0</midicc>
476 <label>0.340</label>
477 <alignment>right</alignment>
478 <font>Liberation Sans</font>
479 <fontsize>9</fontsize>
480 <precision>3</precision>
481 <color>
482 <r>0</r>
483 <g>0</g>
484 <b>0</b>
485 </color>
486 <bgcolor mode="nobackground">
487 <r>255</r>
488 <g>255</g>
489 <b>255</b>
490 </bgcolor>
491 <bordermode>noborder</bordermode>
492 <borderradius>1</borderradius>
493 <borderwidth>1</borderwidth>
494 </bsbObject>
495 <bsbObject version="2" type="BSBLabel">
496 <objectName/>
497 <x>8</x>
498 <y>211</y>
499 <width>220</width>
500 <height>30</height>
501 <uuid>{55089f0d-6978-4aca-b682-ae666b30683e}</uuid>
502 <visible>true</visible>
503 <midichan>0</midichan>
504 <midicc>0</midicc>
505 <label>Attack Time (i-rate in seconds)</label>
506 <alignment>left</alignment>
507 <font>Liberation Sans</font>
508 <fontsize>10</fontsize>
509 <precision>3</precision>
510 <color>
511 <r>0</r>
512 <g>0</g>
513 <b>0</b>
514 </color>
515 <bgcolor mode="nobackground">
516 <r>255</r>
517 <g>255</g>
518 <b>255</b>
519 </bgcolor>
520 <bordermode>noborder</bordermode>
521 <borderradius>1</borderradius>
522 <borderwidth>1</borderwidth>
523 </bsbObject>
524 <bsbObject version="2" type="BSBHSlider">
525 <objectName>Attack</objectName>
526 <x>8</x>
527 <y>189</y>
528 <width>500</width>
529 <height>27</height>
530 <uuid>{3439fd43-d6bf-41ba-88ab-efcbcda0122c}</uuid>
531 <visible>true</visible>
532 <midichan>0</midichan>
533 <midicc>0</midicc>
534 <minimum>0.00000000</minimum>
535 <maximum>1.00000000</maximum>
536 <value>0.10000000</value>
537 <mode>lin</mode>
538 <mouseControl act="jump">continuous</mouseControl>
539 <resolution>-1.00000000</resolution>
540 <randomizable group="0">false</randomizable>
541 </bsbObject>
542 <bsbObject version="2" type="BSBDisplay">
543 <objectName>Attack</objectName>
544 <x>448</x>
545 <y>211</y>
546 <width>60</width>
547 <height>30</height>
548 <uuid>{d78b9853-b96c-4bc2-a2d5-375b6a4869ae}</uuid>
549 <visible>true</visible>
550 <midichan>0</midichan>
551 <midicc>0</midicc>
552 <label>0.100</label>
553 <alignment>right</alignment>
554 <font>Liberation Sans</font>
555 <fontsize>9</fontsize>
556 <precision>3</precision>
557 <color>
558 <r>0</r>
559 <g>0</g>
560 <b>0</b>
561 </color>
562 <bgcolor mode="nobackground">
563 <r>255</r>
564 <g>255</g>
565 <b>255</b>
566 </bgcolor>
567 <bordermode>noborder</bordermode>
568 <borderradius>1</borderradius>
569 <borderwidth>1</borderwidth>
570 </bsbObject>
571 <bsbObject version="2" type="BSBLabel">
572 <objectName/>
573 <x>8</x>
574 <y>256</y>
575 <width>220</width>
576 <height>30</height>
577 <uuid>{d8273459-fbc3-40c2-b202-003f954906f6}</uuid>
578 <visible>true</visible>
579 <midichan>0</midichan>
580 <midicc>0</midicc>
581 <label>Decay Time (i-rate in seconds)</label>
582 <alignment>left</alignment>
583 <font>Liberation Sans</font>
584 <fontsize>10</fontsize>
585 <precision>3</precision>
586 <color>
587 <r>0</r>
588 <g>0</g>
589 <b>0</b>
590 </color>
591 <bgcolor mode="nobackground">
592 <r>255</r>
593 <g>255</g>
594 <b>255</b>
595 </bgcolor>
596 <bordermode>noborder</bordermode>
597 <borderradius>1</borderradius>
598 <borderwidth>1</borderwidth>
599 </bsbObject>
600 <bsbObject version="2" type="BSBHSlider">
601 <objectName>Decay</objectName>
602 <x>8</x>
603 <y>234</y>
604 <width>500</width>
605 <height>27</height>
606 <uuid>{ab819133-79c9-448f-a33b-8cbd65c8d6af}</uuid>
607 <visible>true</visible>
608 <midichan>0</midichan>
609 <midicc>0</midicc>
610 <minimum>0.00000000</minimum>
611 <maximum>1.00000000</maximum>
612 <value>0.10000000</value>
613 <mode>lin</mode>
614 <mouseControl act="jump">continuous</mouseControl>
615 <resolution>-1.00000000</resolution>
616 <randomizable group="0">false</randomizable>
617 </bsbObject>
618 <bsbObject version="2" type="BSBDisplay">
619 <objectName>Decay</objectName>
620 <x>448</x>
621 <y>256</y>
622 <width>60</width>
623 <height>30</height>
624 <uuid>{22ea767e-1d44-46df-a57d-1b39aeeeaa04}</uuid>
625 <visible>true</visible>
626 <midichan>0</midichan>
627 <midicc>0</midicc>
628 <label>0.100</label>
629 <alignment>right</alignment>
630 <font>Liberation Sans</font>
631 <fontsize>9</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="BSBLabel">
648 <objectName/>
649 <x>8</x>
650 <y>301</y>
651 <width>220</width>
652 <height>30</height>
653 <uuid>{eb9ca396-c5b9-439b-a2d6-173005d43519}</uuid>
654 <visible>true</visible>
655 <midichan>0</midichan>
656 <midicc>0</midicc>
657 <label>Amplitude of Breath Noise</label>
658 <alignment>left</alignment>
659 <font>Liberation Sans</font>
660 <fontsize>10</fontsize>
661 <precision>3</precision>
662 <color>
663 <r>0</r>
664 <g>0</g>
665 <b>0</b>
666 </color>
667 <bgcolor mode="nobackground">
668 <r>255</r>
669 <g>255</g>
670 <b>255</b>
671 </bgcolor>
672 <bordermode>noborder</bordermode>
673 <borderradius>1</borderradius>
674 <borderwidth>1</borderwidth>
675 </bsbObject>
676 <bsbObject version="2" type="BSBHSlider">
677 <objectName>AmpNoise</objectName>
678 <x>8</x>
679 <y>279</y>
680 <width>500</width>
681 <height>27</height>
682 <uuid>{8efddf99-5c6c-4272-8941-b63cbfa97d8e}</uuid>
683 <visible>true</visible>
684 <midichan>0</midichan>
685 <midicc>0</midicc>
686 <minimum>0.00000000</minimum>
687 <maximum>1.00000000</maximum>
688 <value>0.10000000</value>
689 <mode>lin</mode>
690 <mouseControl act="jump">continuous</mouseControl>
691 <resolution>-1.00000000</resolution>
692 <randomizable group="0">false</randomizable>
693 </bsbObject>
694 <bsbObject version="2" type="BSBDisplay">
695 <objectName>AmpNoise</objectName>
696 <x>448</x>
697 <y>301</y>
698 <width>60</width>
699 <height>30</height>
700 <uuid>{f23ee963-c062-4762-86c4-6695f28e2b01}</uuid>
701 <visible>true</visible>
702 <midichan>0</midichan>
703 <midicc>0</midicc>
704 <label>0.100</label>
705 <alignment>right</alignment>
706 <font>Liberation Sans</font>
707 <fontsize>9</fontsize>
708 <precision>3</precision>
709 <color>
710 <r>0</r>
711 <g>0</g>
712 <b>0</b>
713 </color>
714 <bgcolor mode="nobackground">
715 <r>255</r>
716 <g>255</g>
717 <b>255</b>
718 </bgcolor>
719 <bordermode>noborder</bordermode>
720 <borderradius>1</borderradius>
721 <borderwidth>1</borderwidth>
722 </bsbObject>
723 <bsbObject version="2" type="BSBLabel">
724 <objectName/>
725 <x>8</x>
726 <y>345</y>
727 <width>220</width>
728 <height>30</height>
729 <uuid>{a749092a-748d-4f5e-b805-f2397e3d8ec9}</uuid>
730 <visible>true</visible>
731 <midichan>0</midichan>
732 <midicc>0</midicc>
733 <label>Vibrato Frequency</label>
734 <alignment>left</alignment>
735 <font>Liberation Sans</font>
736 <fontsize>10</fontsize>
737 <precision>3</precision>
738 <color>
739 <r>0</r>
740 <g>0</g>
741 <b>0</b>
742 </color>
743 <bgcolor mode="nobackground">
744 <r>255</r>
745 <g>255</g>
746 <b>255</b>
747 </bgcolor>
748 <bordermode>noborder</bordermode>
749 <borderradius>1</borderradius>
750 <borderwidth>1</borderwidth>
751 </bsbObject>
752 <bsbObject version="2" type="BSBHSlider">
753 <objectName>VibFreq</objectName>
754 <x>8</x>
755 <y>323</y>
756 <width>500</width>
757 <height>27</height>
758 <uuid>{2dbff1a3-6cbb-402a-adc0-3f5c90b8bab1}</uuid>
759 <visible>true</visible>
760 <midichan>0</midichan>
761 <midicc>0</midicc>
762 <minimum>0.00000000</minimum>
763 <maximum>30.00000000</maximum>
764 <value>5.00000000</value>
765 <mode>lin</mode>
766 <mouseControl act="jump">continuous</mouseControl>
767 <resolution>-1.00000000</resolution>
768 <randomizable group="0">false</randomizable>
769 </bsbObject>
770 <bsbObject version="2" type="BSBDisplay">
771 <objectName>VibFreq</objectName>
772 <x>448</x>
773 <y>345</y>
774 <width>60</width>
775 <height>30</height>
776 <uuid>{358c97c4-62fa-47d1-b74c-38996c4d00f4}</uuid>
777 <visible>true</visible>
778 <midichan>0</midichan>
779 <midicc>0</midicc>
780 <label>5.000</label>
781 <alignment>right</alignment>
782 <font>Liberation Sans</font>
783 <fontsize>9</fontsize>
784 <precision>3</precision>
785 <color>
786 <r>0</r>
787 <g>0</g>
788 <b>0</b>
789 </color>
790 <bgcolor mode="nobackground">
791 <r>255</r>
792 <g>255</g>
793 <b>255</b>
794 </bgcolor>
795 <bordermode>noborder</bordermode>
796 <borderradius>1</borderradius>
797 <borderwidth>1</borderwidth>
798 </bsbObject>
799 <bsbObject version="2" type="BSBLabel">
800 <objectName/>
801 <x>8</x>
802 <y>390</y>
803 <width>220</width>
804 <height>30</height>
805 <uuid>{b4c83057-1e9b-411b-af13-ffd335111370}</uuid>
806 <visible>true</visible>
807 <midichan>0</midichan>
808 <midicc>0</midicc>
809 <label>Vibrato Amplitude</label>
810 <alignment>left</alignment>
811 <font>Liberation Sans</font>
812 <fontsize>10</fontsize>
813 <precision>3</precision>
814 <color>
815 <r>0</r>
816 <g>0</g>
817 <b>0</b>
818 </color>
819 <bgcolor mode="nobackground">
820 <r>255</r>
821 <g>255</g>
822 <b>255</b>
823 </bgcolor>
824 <bordermode>noborder</bordermode>
825 <borderradius>1</borderradius>
826 <borderwidth>1</borderwidth>
827 </bsbObject>
828 <bsbObject version="2" type="BSBHSlider">
829 <objectName>VibAmp</objectName>
830 <x>8</x>
831 <y>368</y>
832 <width>500</width>
833 <height>27</height>
834 <uuid>{0d7af4e5-75ae-4266-ad8f-961bca178e91}</uuid>
835 <visible>true</visible>
836 <midichan>0</midichan>
837 <midicc>0</midicc>
838 <minimum>0.00000000</minimum>
839 <maximum>0.30000000</maximum>
840 <value>0.10000000</value>
841 <mode>lin</mode>
842 <mouseControl act="jump">continuous</mouseControl>
843 <resolution>-1.00000000</resolution>
844 <randomizable group="0">false</randomizable>
845 </bsbObject>
846 <bsbObject version="2" type="BSBDisplay">
847 <objectName>VibAmp</objectName>
848 <x>448</x>
849 <y>390</y>
850 <width>60</width>
851 <height>30</height>
852 <uuid>{8dbc13b7-4506-4e59-8a2c-102bcd73c3cf}</uuid>
853 <visible>true</visible>
854 <midichan>0</midichan>
855 <midicc>0</midicc>
856 <label>0.100</label>
857 <alignment>right</alignment>
858 <font>Liberation Sans</font>
859 <fontsize>9</fontsize>
860 <precision>3</precision>
861 <color>
862 <r>0</r>
863 <g>0</g>
864 <b>0</b>
865 </color>
866 <bgcolor mode="nobackground">
867 <r>255</r>
868 <g>255</g>
869 <b>255</b>
870 </bgcolor>
871 <bordermode>noborder</bordermode>
872 <borderradius>1</borderradius>
873 <borderwidth>1</borderwidth>
874 </bsbObject>
875 <bsbObject version="2" type="BSBLabel">
876 <objectName/>
877 <x>8</x>
878 <y>435</y>
879 <width>220</width>
880 <height>30</height>
881 <uuid>{6f91bfd5-5833-4370-a064-9c699e367c2e}</uuid>
882 <visible>true</visible>
883 <midichan>0</midichan>
884 <midicc>0</midicc>
885 <label>Minimum Frequency (i-rate)</label>
886 <alignment>left</alignment>
887 <font>Liberation Sans</font>
888 <fontsize>10</fontsize>
889 <precision>3</precision>
890 <color>
891 <r>0</r>
892 <g>0</g>
893 <b>0</b>
894 </color>
895 <bgcolor mode="nobackground">
896 <r>255</r>
897 <g>255</g>
898 <b>255</b>
899 </bgcolor>
900 <bordermode>noborder</bordermode>
901 <borderradius>1</borderradius>
902 <borderwidth>1</borderwidth>
903 </bsbObject>
904 <bsbObject version="2" type="BSBHSlider">
905 <objectName>MinFreq</objectName>
906 <x>8</x>
907 <y>413</y>
908 <width>500</width>
909 <height>27</height>
910 <uuid>{d9213109-8987-4c5f-87b1-1aea6078283d}</uuid>
911 <visible>true</visible>
912 <midichan>0</midichan>
913 <midicc>0</midicc>
914 <minimum>0.00000000</minimum>
915 <maximum>1.00000000</maximum>
916 <value>0.00000000</value>
917 <mode>lin</mode>
918 <mouseControl act="jump">continuous</mouseControl>
919 <resolution>-1.00000000</resolution>
920 <randomizable group="0">false</randomizable>
921 </bsbObject>
922 <bsbObject version="2" type="BSBDisplay">
923 <objectName>MinFreq_Value</objectName>
924 <x>448</x>
925 <y>435</y>
926 <width>60</width>
927 <height>30</height>
928 <uuid>{5c6e9bdc-a611-4f91-997f-b9ebf24f6f17}</uuid>
929 <visible>true</visible>
930 <midichan>0</midichan>
931 <midicc>0</midicc>
932 <label>20.000</label>
933 <alignment>right</alignment>
934 <font>Liberation Sans</font>
935 <fontsize>9</fontsize>
936 <precision>3</precision>
937 <color>
938 <r>0</r>
939 <g>0</g>
940 <b>0</b>
941 </color>
942 <bgcolor mode="nobackground">
943 <r>255</r>
944 <g>255</g>
945 <b>255</b>
946 </bgcolor>
947 <bordermode>noborder</bordermode>
948 <borderradius>1</borderradius>
949 <borderwidth>1</borderwidth>
950 </bsbObject>
951 <bsbObject version="2" type="BSBLabel">
952 <objectName/>
953 <x>8</x>
954 <y>479</y>
955 <width>250</width>
956 <height>30</height>
957 <uuid>{316b00d5-3798-4f12-bb9e-0effe5d06d07}</uuid>
958 <visible>true</visible>
959 <midichan>0</midichan>
960 <midicc>0</midicc>
961 <label>Amount of Reflection of Breath Jet (i-rate)</label>
962 <alignment>left</alignment>
963 <font>Liberation Sans</font>
964 <fontsize>10</fontsize>
965 <precision>3</precision>
966 <color>
967 <r>0</r>
968 <g>0</g>
969 <b>0</b>
970 </color>
971 <bgcolor mode="nobackground">
972 <r>255</r>
973 <g>255</g>
974 <b>255</b>
975 </bgcolor>
976 <bordermode>noborder</bordermode>
977 <borderradius>1</borderradius>
978 <borderwidth>1</borderwidth>
979 </bsbObject>
980 <bsbObject version="2" type="BSBHSlider">
981 <objectName>AmtRefJet</objectName>
982 <x>8</x>
983 <y>457</y>
984 <width>500</width>
985 <height>27</height>
986 <uuid>{1c528095-f7f2-44fa-8f42-bee1f3c31d8c}</uuid>
987 <visible>true</visible>
988 <midichan>0</midichan>
989 <midicc>0</midicc>
990 <minimum>0.00000000</minimum>
991 <maximum>1.00000000</maximum>
992 <value>0.50000000</value>
993 <mode>lin</mode>
994 <mouseControl act="jump">continuous</mouseControl>
995 <resolution>-1.00000000</resolution>
996 <randomizable group="0">false</randomizable>
997 </bsbObject>
998 <bsbObject version="2" type="BSBDisplay">
999 <objectName>AmtRefJet</objectName>
1000 <x>448</x>
1001 <y>479</y>
1002 <width>60</width>
1003 <height>30</height>
1004 <uuid>{d6d41382-7902-4209-bcff-5d41af983a6f}</uuid>
1005 <visible>true</visible>
1006 <midichan>0</midichan>
1007 <midicc>0</midicc>
1008 <label>0.500</label>
1009 <alignment>right</alignment>
1010 <font>Liberation Sans</font>
1011 <fontsize>9</fontsize>
1012 <precision>3</precision>
1013 <color>
1014 <r>0</r>
1015 <g>0</g>
1016 <b>0</b>
1017 </color>
1018 <bgcolor mode="nobackground">
1019 <r>255</r>
1020 <g>255</g>
1021 <b>255</b>
1022 </bgcolor>
1023 <bordermode>noborder</bordermode>
1024 <borderradius>1</borderradius>
1025 <borderwidth>1</borderwidth>
1026 </bsbObject>
1027 <bsbObject version="2" type="BSBLabel">
1028 <objectName/>
1029 <x>8</x>
1030 <y>524</y>
1031 <width>250</width>
1032 <height>30</height>
1033 <uuid>{8704e564-9d17-40d1-994b-0d313b6f4440}</uuid>
1034 <visible>true</visible>
1035 <midichan>0</midichan>
1036 <midicc>0</midicc>
1037 <label>Breath Jet Reflection Coefficient (i-rate)</label>
1038 <alignment>left</alignment>
1039 <font>Liberation Sans</font>
1040 <fontsize>10</fontsize>
1041 <precision>3</precision>
1042 <color>
1043 <r>0</r>
1044 <g>0</g>
1045 <b>0</b>
1046 </color>
1047 <bgcolor mode="nobackground">
1048 <r>255</r>
1049 <g>255</g>
1050 <b>255</b>
1051 </bgcolor>
1052 <bordermode>noborder</bordermode>
1053 <borderradius>1</borderradius>
1054 <borderwidth>1</borderwidth>
1055 </bsbObject>
1056 <bsbObject version="2" type="BSBHSlider">
1057 <objectName>CoefRefJet</objectName>
1058 <x>8</x>
1059 <y>502</y>
1060 <width>500</width>
1061 <height>27</height>
1062 <uuid>{3ef92ec5-2d44-47fe-8194-da6f7856f29a}</uuid>
1063 <visible>true</visible>
1064 <midichan>0</midichan>
1065 <midicc>0</midicc>
1066 <minimum>0.00000000</minimum>
1067 <maximum>1.00000000</maximum>
1068 <value>0.50000000</value>
1069 <mode>lin</mode>
1070 <mouseControl act="jump">continuous</mouseControl>
1071 <resolution>-1.00000000</resolution>
1072 <randomizable group="0">false</randomizable>
1073 </bsbObject>
1074 <bsbObject version="2" type="BSBDisplay">
1075 <objectName>CoefRefJet</objectName>
1076 <x>448</x>
1077 <y>524</y>
1078 <width>60</width>
1079 <height>30</height>
1080 <uuid>{fcb424ee-0159-49f1-8d5a-c3680660b2a6}</uuid>
1081 <visible>true</visible>
1082 <midichan>0</midichan>
1083 <midicc>0</midicc>
1084 <label>0.500</label>
1085 <alignment>right</alignment>
1086 <font>Liberation Sans</font>
1087 <fontsize>9</fontsize>
1088 <precision>3</precision>
1089 <color>
1090 <r>0</r>
1091 <g>0</g>
1092 <b>0</b>
1093 </color>
1094 <bgcolor mode="nobackground">
1095 <r>255</r>
1096 <g>255</g>
1097 <b>255</b>
1098 </bgcolor>
1099 <bordermode>noborder</bordermode>
1100 <borderradius>1</borderradius>
1101 <borderwidth>1</borderwidth>
1102 </bsbObject>
1103 </bsbPanel>
1104 <bsbPresets>
1105 </bsbPresets>
1106 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>