Debian Codegraph @

src/Examples/McCurdy Collection/SoundGenerators/vco_with_PWM_LFO_and_LPF.csd

raw
1 ;Written by Iain McCurdy, 2006
2
3
4 ;Modified for QuteCsound by René, April 2011
5 ;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817
6
7 ;Notes on modifications from original csd:
8 ; Add table for exp slider
9 ; Add INIT instrument
10 ; Use of QuteCsound internal midi for Moog VCF Cutoff Frequency widget control by CC#1
11
12
13 ;my flags on Ubuntu: -iadc -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 SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH
23
24
25 gisine ftgen 0,0,131072,10,1 ;TABLE THAT STORES A SINGLE CYCLE OF A SINE WAVE
26 giExp1 ftgen 0, 0, 129, -25, 0, 2.0, 128, 10000.0 ;TABLE FOR EXP SLIDER
27
28
29 instr 10 ;GUI
30 ktrig metro 10
31 if (ktrig == 1) then
32 ;MENU
33 gkwave invalue "Waveform"
34 gkPWMwave invalue "PWMWave"
35 ;SLIDERS
36 kcps invalue "Frequency"
37 gkcps tablei kcps, giExp1, 1
38 outvalue "Frequency_Value", gkcps
39 gkleak invalue "Leak"
40 gknyx invalue "Harmonics"
41 gkpw invalue "PW"
42 gkPWMamt invalue "PWMAmount"
43 gkPWMspd invalue "PWMSpeed"
44 gkMVCFcf invalue "MVCFCutoff"
45 gkMVCFres invalue "MVCFReso"
46 gkgain invalue "Gain"
47 endif
48 endin
49
50 instr 11 ;INIT
51 outvalue "Waveform" , 2
52 outvalue "Frequency" , 0.45927
53 outvalue "Leak" , 0.0
54 outvalue "Harmonics" , 0.5
55 outvalue "PW" , 0.5
56 outvalue "PWMAmount" , 1.0
57 outvalue "PWMSpeed" , 0.15
58 outvalue "MVCFCutoff" , 12
59 outvalue "MVCFReso" , 0.4
60 outvalue "Gain" , 0.5
61 endin
62
63 instr 1 ;MIDI INPUT INSTRUMENT
64 icps cpsmidi ;READ CYCLES PER SECOND VALUE FROM MIDI INPUT
65 iamp ampmidi 1 ;READ IN A NOTE VELOCITY VALUE FROM THE MIDI INPUT
66
67 ;PITCH BEND===========================================================================================================================================================
68 iSemitoneBendRange= 2 ;PITCH BEND RANGE IN SEMITONES
69 imin = 0 ;EQUILIBRIUM POSITION
70 imax = iSemitoneBendRange / 12 ;MAX PITCH DISPLACEMENT (IN oct FORMAT)
71 kbend pchbend imin, imax ;PITCH BEND VARIABLE (IN oct FORMAT)
72 koct = octcps(icps)
73 kcps = cpsoct(koct + kbend)
74 ;=====================================================================================================================================================================
75
76 iporttime = 0.03
77 kporttime linseg 0.0, 0.001, iporttime, 1.0, iporttime
78
79 kpw portk gkpw, kporttime
80 kMVCFcf portk gkMVCFcf, kporttime
81
82 imaxd = 1
83
84 kSwitch changed gkleak, gknyx, gkwave, gkPWMwave
85 if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
86 reinit UPDATE ;BEGIN A REINITIALISATION PASS FROM LABEL 'UPDATE'
87 endif
88 UPDATE:
89 kPWMmod lfo gkPWMamt, gkPWMspd, i(gkPWMwave)
90 kpw mirror kpw+((kPWMmod+gkPWMamt)*.5), 0, 1 ;REFLECT OUT OF RANGE VALUES
91 aenv linsegr 0,0.01,1,0.01,0 ;ANTI-CLICK ENVELOPE
92 asig vco iamp*gkgain*aenv, kcps, i(gkwave)+1, kpw, gisine, imaxd, i(gkleak), i(gknyx);, 0, 0
93 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
94 iscale = 1
95 asig moogvcf asig, cpsoct(kMVCFcf), gkMVCFres, iscale
96 outs asig, asig
97 endin
98
99 instr 2 ;VCO / MOOG INSTRUMENT
100 iporttime = 0.03
101 kporttime linseg 0.0, 0.001, iporttime, 1.0, iporttime
102
103 kpw portk gkpw, kporttime
104 kcps portk gkcps, kporttime
105 kMVCFcf portk gkMVCFcf, kporttime
106
107 imaxd = 1
108
109 kSwitch changed gkleak, gknyx, gkwave, gkPWMwave
110 if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
111 reinit UPDATE ;BEGIN A REINITIALISATION PASS FROM LABEL 'UPDATE'
112 endif
113 UPDATE:
114 kPWMmod lfo gkPWMamt, gkPWMspd, i(gkPWMwave)
115 kpw mirror kpw+((kPWMmod+gkPWMamt)*.5), 0, 1 ;REFLECT OUT OF RANGE VALUES
116 aenv linsegr 0,0.01,1,0.01,0 ;ANTI-CLICK ENVELOPE
117 asig vco gkgain*aenv, kcps, i(gkwave)+1, kpw, gisine, imaxd, i(gkleak), i(gknyx);, 0, 0
118 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
119 iscale = 1
120 asig moogvcf asig, cpsoct(kMVCFcf), gkMVCFres, iscale
121 outs asig, asig
122 endin
123 </CsInstruments>
124 <CsScore>
125 ;INSTR | START | DURATION
126 i 10 0.0 3600 ;GUI
127 i 11 0.0 0.01 ;INIT
128 </CsScore>
129 </CsoundSynthesizer>
130 <bsbPanel>
131 <label>Widgets</label>
132 <objectName/>
133 <x>653</x>
134 <y>191</y>
135 <width>832</width>
136 <height>467</height>
137 <visible>true</visible>
138 <uuid/>
139 <bgcolor mode="background">
140 <r>241</r>
141 <g>226</g>
142 <b>185</b>
143 </bgcolor>
144 <bsbObject version="2" type="BSBLabel">
145 <objectName/>
146 <x>2</x>
147 <y>2</y>
148 <width>512</width>
149 <height>465</height>
150 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
151 <visible>true</visible>
152 <midichan>0</midichan>
153 <midicc>0</midicc>
154 <label> VCO / PWM LFO / Moog LPF</label>
155 <alignment>center</alignment>
156 <font>Liberation Sans</font>
157 <fontsize>18</fontsize>
158 <precision>3</precision>
159 <color>
160 <r>255</r>
161 <g>255</g>
162 <b>0</b>
163 </color>
164 <bgcolor mode="background">
165 <r>106</r>
166 <g>117</g>
167 <b>150</b>
168 </bgcolor>
169 <bordermode>border</bordermode>
170 <borderradius>5</borderradius>
171 <borderwidth>2</borderwidth>
172 </bsbObject>
173 <bsbObject version="2" type="BSBLabel">
174 <objectName/>
175 <x>8</x>
176 <y>205</y>
177 <width>160</width>
178 <height>30</height>
179 <uuid>{b066c36d-a132-4a1a-aee4-e421b02bca48}</uuid>
180 <visible>true</visible>
181 <midichan>0</midichan>
182 <midicc>0</midicc>
183 <label>Number of Harmonics</label>
184 <alignment>left</alignment>
185 <font>Liberation Sans</font>
186 <fontsize>10</fontsize>
187 <precision>3</precision>
188 <color>
189 <r>255</r>
190 <g>255</g>
191 <b>0</b>
192 </color>
193 <bgcolor mode="nobackground">
194 <r>255</r>
195 <g>255</g>
196 <b>255</b>
197 </bgcolor>
198 <bordermode>noborder</bordermode>
199 <borderradius>1</borderradius>
200 <borderwidth>1</borderwidth>
201 </bsbObject>
202 <bsbObject version="2" type="BSBDisplay">
203 <objectName>Harmonics</objectName>
204 <x>448</x>
205 <y>205</y>
206 <width>60</width>
207 <height>30</height>
208 <uuid>{262729b5-3e13-43d4-af01-99d1e8aabf34}</uuid>
209 <visible>true</visible>
210 <midichan>0</midichan>
211 <midicc>0</midicc>
212 <label>0.500</label>
213 <alignment>right</alignment>
214 <font>Liberation Sans</font>
215 <fontsize>9</fontsize>
216 <precision>3</precision>
217 <color>
218 <r>255</r>
219 <g>255</g>
220 <b>0</b>
221 </color>
222 <bgcolor mode="nobackground">
223 <r>255</r>
224 <g>255</g>
225 <b>255</b>
226 </bgcolor>
227 <bordermode>noborder</bordermode>
228 <borderradius>1</borderradius>
229 <borderwidth>1</borderwidth>
230 </bsbObject>
231 <bsbObject version="2" type="BSBHSlider">
232 <objectName>Harmonics</objectName>
233 <x>8</x>
234 <y>189</y>
235 <width>500</width>
236 <height>27</height>
237 <uuid>{f4910f7d-2341-46e1-aa20-a4d3db351c24}</uuid>
238 <visible>true</visible>
239 <midichan>0</midichan>
240 <midicc>0</midicc>
241 <minimum>0.00000000</minimum>
242 <maximum>0.50000000</maximum>
243 <value>0.50000000</value>
244 <mode>lin</mode>
245 <mouseControl act="jump">continuous</mouseControl>
246 <resolution>-1.00000000</resolution>
247 <randomizable group="0">false</randomizable>
248 </bsbObject>
249 <bsbObject version="2" type="BSBLabel">
250 <objectName/>
251 <x>8</x>
252 <y>243</y>
253 <width>160</width>
254 <height>30</height>
255 <uuid>{5a8c0afb-17da-4ca7-a331-f3ef38db1431}</uuid>
256 <visible>true</visible>
257 <midichan>0</midichan>
258 <midicc>0</midicc>
259 <label>Pulse Width</label>
260 <alignment>left</alignment>
261 <font>Liberation Sans</font>
262 <fontsize>10</fontsize>
263 <precision>3</precision>
264 <color>
265 <r>255</r>
266 <g>255</g>
267 <b>0</b>
268 </color>
269 <bgcolor mode="nobackground">
270 <r>255</r>
271 <g>255</g>
272 <b>255</b>
273 </bgcolor>
274 <bordermode>noborder</bordermode>
275 <borderradius>1</borderradius>
276 <borderwidth>1</borderwidth>
277 </bsbObject>
278 <bsbObject version="2" type="BSBDisplay">
279 <objectName>PW</objectName>
280 <x>448</x>
281 <y>243</y>
282 <width>60</width>
283 <height>30</height>
284 <uuid>{12d2c823-daba-4a56-9f0c-462a6c951992}</uuid>
285 <visible>true</visible>
286 <midichan>0</midichan>
287 <midicc>0</midicc>
288 <label>0.500</label>
289 <alignment>right</alignment>
290 <font>Liberation Sans</font>
291 <fontsize>9</fontsize>
292 <precision>3</precision>
293 <color>
294 <r>255</r>
295 <g>255</g>
296 <b>0</b>
297 </color>
298 <bgcolor mode="nobackground">
299 <r>255</r>
300 <g>255</g>
301 <b>255</b>
302 </bgcolor>
303 <bordermode>noborder</bordermode>
304 <borderradius>1</borderradius>
305 <borderwidth>1</borderwidth>
306 </bsbObject>
307 <bsbObject version="2" type="BSBHSlider">
308 <objectName>PW</objectName>
309 <x>8</x>
310 <y>227</y>
311 <width>500</width>
312 <height>27</height>
313 <uuid>{5442ecac-367f-413c-a49e-5f42a2727519}</uuid>
314 <visible>true</visible>
315 <midichan>0</midichan>
316 <midicc>0</midicc>
317 <minimum>0.00000000</minimum>
318 <maximum>1.00000000</maximum>
319 <value>0.50000000</value>
320 <mode>lin</mode>
321 <mouseControl act="jump">continuous</mouseControl>
322 <resolution>-1.00000000</resolution>
323 <randomizable group="0">false</randomizable>
324 </bsbObject>
325 <bsbObject version="2" type="BSBLabel">
326 <objectName/>
327 <x>8</x>
328 <y>282</y>
329 <width>220</width>
330 <height>30</height>
331 <uuid>{d1ad1809-ed86-4ecd-b6c9-15b4c9686e35}</uuid>
332 <visible>true</visible>
333 <midichan>0</midichan>
334 <midicc>0</midicc>
335 <label>PWM Amount</label>
336 <alignment>left</alignment>
337 <font>Liberation Sans</font>
338 <fontsize>10</fontsize>
339 <precision>3</precision>
340 <color>
341 <r>255</r>
342 <g>255</g>
343 <b>0</b>
344 </color>
345 <bgcolor mode="nobackground">
346 <r>255</r>
347 <g>255</g>
348 <b>255</b>
349 </bgcolor>
350 <bordermode>noborder</bordermode>
351 <borderradius>1</borderradius>
352 <borderwidth>1</borderwidth>
353 </bsbObject>
354 <bsbObject version="2" type="BSBDisplay">
355 <objectName>PWMAmount</objectName>
356 <x>448</x>
357 <y>282</y>
358 <width>60</width>
359 <height>30</height>
360 <uuid>{39d4f770-c1eb-4c2d-9b6d-41b78e8955f0}</uuid>
361 <visible>true</visible>
362 <midichan>0</midichan>
363 <midicc>0</midicc>
364 <label>1.000</label>
365 <alignment>right</alignment>
366 <font>Liberation Sans</font>
367 <fontsize>9</fontsize>
368 <precision>3</precision>
369 <color>
370 <r>255</r>
371 <g>255</g>
372 <b>0</b>
373 </color>
374 <bgcolor mode="nobackground">
375 <r>255</r>
376 <g>255</g>
377 <b>255</b>
378 </bgcolor>
379 <bordermode>noborder</bordermode>
380 <borderradius>1</borderradius>
381 <borderwidth>1</borderwidth>
382 </bsbObject>
383 <bsbObject version="2" type="BSBHSlider">
384 <objectName>PWMAmount</objectName>
385 <x>8</x>
386 <y>266</y>
387 <width>500</width>
388 <height>27</height>
389 <uuid>{37911dd5-758c-4ec8-9871-ce3f5cd67670}</uuid>
390 <visible>true</visible>
391 <midichan>0</midichan>
392 <midicc>0</midicc>
393 <minimum>0.00000000</minimum>
394 <maximum>1.00000000</maximum>
395 <value>1.00000000</value>
396 <mode>lin</mode>
397 <mouseControl act="jump">continuous</mouseControl>
398 <resolution>-1.00000000</resolution>
399 <randomizable group="0">false</randomizable>
400 </bsbObject>
401 <bsbObject version="2" type="BSBDropdown">
402 <objectName>PWMWave</objectName>
403 <x>333</x>
404 <y>68</y>
405 <width>160</width>
406 <height>26</height>
407 <uuid>{fd321c7c-a7e3-49dd-9c35-b4d1a0054c73}</uuid>
408 <visible>true</visible>
409 <midichan>0</midichan>
410 <midicc>0</midicc>
411 <bsbDropdownItemList>
412 <bsbDropdownItem>
413 <name>Sine</name>
414 <value>0</value>
415 <stringvalue/>
416 </bsbDropdownItem>
417 <bsbDropdownItem>
418 <name>Triangles</name>
419 <value>1</value>
420 <stringvalue/>
421 </bsbDropdownItem>
422 <bsbDropdownItem>
423 <name>Square (bipolar)</name>
424 <value>2</value>
425 <stringvalue/>
426 </bsbDropdownItem>
427 <bsbDropdownItem>
428 <name>Square (unipolar)</name>
429 <value>3</value>
430 <stringvalue/>
431 </bsbDropdownItem>
432 <bsbDropdownItem>
433 <name>Saw-tooth</name>
434 <value>4</value>
435 <stringvalue/>
436 </bsbDropdownItem>
437 <bsbDropdownItem>
438 <name>Saw-tooth(down)</name>
439 <value>5</value>
440 <stringvalue/>
441 </bsbDropdownItem>
442 </bsbDropdownItemList>
443 <selectedIndex>0</selectedIndex>
444 <randomizable group="0">false</randomizable>
445 </bsbObject>
446 <bsbObject version="2" type="BSBButton">
447 <objectName/>
448 <x>10</x>
449 <y>16</y>
450 <width>120</width>
451 <height>26</height>
452 <uuid>{c4c1aae5-edb9-47d9-94a7-8d15578e0bf2}</uuid>
453 <visible>true</visible>
454 <midichan>0</midichan>
455 <midicc>0</midicc>
456 <type>event</type>
457 <pressedValue>1.00000000</pressedValue>
458 <stringvalue/>
459 <text> On / Off - MIDI</text>
460 <image>/</image>
461 <eventLine>i 2 0 -1</eventLine>
462 <latch>true</latch>
463 <latched>false</latched>
464 </bsbObject>
465 <bsbObject version="2" type="BSBLabel">
466 <objectName/>
467 <x>260</x>
468 <y>64</y>
469 <width>80</width>
470 <height>40</height>
471 <uuid>{e192d1b0-4e18-4b7a-97cb-800767992d7e}</uuid>
472 <visible>true</visible>
473 <midichan>0</midichan>
474 <midicc>0</midicc>
475 <label>PWM LFO
476 Waveform :</label>
477 <alignment>center</alignment>
478 <font>Liberation Sans</font>
479 <fontsize>10</fontsize>
480 <precision>3</precision>
481 <color>
482 <r>255</r>
483 <g>255</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>516</x>
498 <y>2</y>
499 <width>312</width>
500 <height>465</height>
501 <uuid>{9798823d-b60e-424f-a3c4-1a43d5e0312d}</uuid>
502 <visible>true</visible>
503 <midichan>0</midichan>
504 <midicc>0</midicc>
505 <label>VCO
506 with PWM LFO
507 and Moog Low Pass Filter</label>
508 <alignment>center</alignment>
509 <font>Liberation Sans</font>
510 <fontsize>18</fontsize>
511 <precision>3</precision>
512 <color>
513 <r>255</r>
514 <g>255</g>
515 <b>0</b>
516 </color>
517 <bgcolor mode="background">
518 <r>106</r>
519 <g>117</g>
520 <b>150</b>
521 </bgcolor>
522 <bordermode>border</bordermode>
523 <borderradius>5</borderradius>
524 <borderwidth>2</borderwidth>
525 </bsbObject>
526 <bsbObject version="2" type="BSBLabel">
527 <objectName/>
528 <x>520</x>
529 <y>75</y>
530 <width>305</width>
531 <height>361</height>
532 <uuid>{66493881-548a-48d2-bdb6-08aad6d0fe91}</uuid>
533 <visible>true</visible>
534 <midichan>0</midichan>
535 <midicc>0</midicc>
536 <label>-------------------------------------------------------------------------
537 This example adds a number of features onto a basic VCO audio oscillator. For an explanation of the 'vco' opcode please look at the previous example.
538 As well as being able to modulate the pulse width manually with a single slider, an LFO (low frequency oscillator) has added which allows this task to be automated. This is a common arrangement on analogue synthesizers.
539 A Moog-style resonant lowpass filter has also been added to allow the user to explore the timbral possibilities from the vco opcode.
540 This example can also be played from an external MIDI keyboard. Pitch, note velocity and pitch bend and represented appropriately. MIDI controller 1 (the modulation wheel) can be used to modulate 'Moog VCF Cutoff Frequency'.</label>
541 <alignment>left</alignment>
542 <font>Liberation Sans</font>
543 <fontsize>14</fontsize>
544 <precision>3</precision>
545 <color>
546 <r>255</r>
547 <g>255</g>
548 <b>0</b>
549 </color>
550 <bgcolor mode="nobackground">
551 <r>255</r>
552 <g>255</g>
553 <b>255</b>
554 </bgcolor>
555 <bordermode>noborder</bordermode>
556 <borderradius>2</borderradius>
557 <borderwidth>1</borderwidth>
558 </bsbObject>
559 <bsbObject version="2" type="BSBLabel">
560 <objectName/>
561 <x>8</x>
562 <y>128</y>
563 <width>160</width>
564 <height>30</height>
565 <uuid>{07bf36b2-367f-4332-8200-0b6d7017afe1}</uuid>
566 <visible>true</visible>
567 <midichan>0</midichan>
568 <midicc>0</midicc>
569 <label>Frequency (Hertz)</label>
570 <alignment>left</alignment>
571 <font>Liberation Sans</font>
572 <fontsize>10</fontsize>
573 <precision>3</precision>
574 <color>
575 <r>255</r>
576 <g>255</g>
577 <b>0</b>
578 </color>
579 <bgcolor mode="nobackground">
580 <r>255</r>
581 <g>255</g>
582 <b>255</b>
583 </bgcolor>
584 <bordermode>noborder</bordermode>
585 <borderradius>1</borderradius>
586 <borderwidth>1</borderwidth>
587 </bsbObject>
588 <bsbObject version="2" type="BSBDisplay">
589 <objectName>Frequency_Value</objectName>
590 <x>448</x>
591 <y>128</y>
592 <width>60</width>
593 <height>30</height>
594 <uuid>{600f5f27-7f32-4cbc-9402-6bbb7415c568}</uuid>
595 <visible>true</visible>
596 <midichan>0</midichan>
597 <midicc>0</midicc>
598 <label>100.004</label>
599 <alignment>right</alignment>
600 <font>Liberation Sans</font>
601 <fontsize>9</fontsize>
602 <precision>3</precision>
603 <color>
604 <r>255</r>
605 <g>255</g>
606 <b>0</b>
607 </color>
608 <bgcolor mode="nobackground">
609 <r>255</r>
610 <g>255</g>
611 <b>255</b>
612 </bgcolor>
613 <bordermode>noborder</bordermode>
614 <borderradius>1</borderradius>
615 <borderwidth>1</borderwidth>
616 </bsbObject>
617 <bsbObject version="2" type="BSBHSlider">
618 <objectName>Frequency</objectName>
619 <x>8</x>
620 <y>112</y>
621 <width>500</width>
622 <height>27</height>
623 <uuid>{859b8f24-fbc4-4127-9432-95e0e467cbab}</uuid>
624 <visible>true</visible>
625 <midichan>0</midichan>
626 <midicc>0</midicc>
627 <minimum>0.00000000</minimum>
628 <maximum>1.00000000</maximum>
629 <value>0.45927000</value>
630 <mode>lin</mode>
631 <mouseControl act="jump">continuous</mouseControl>
632 <resolution>-1.00000000</resolution>
633 <randomizable group="0">false</randomizable>
634 </bsbObject>
635 <bsbObject version="2" type="BSBLabel">
636 <objectName/>
637 <x>8</x>
638 <y>167</y>
639 <width>220</width>
640 <height>30</height>
641 <uuid>{739c0de4-0e99-4a68-9011-c90835b376ed}</uuid>
642 <visible>true</visible>
643 <midichan>0</midichan>
644 <midicc>0</midicc>
645 <label>Integrator Leak</label>
646 <alignment>left</alignment>
647 <font>Liberation Sans</font>
648 <fontsize>10</fontsize>
649 <precision>3</precision>
650 <color>
651 <r>255</r>
652 <g>255</g>
653 <b>0</b>
654 </color>
655 <bgcolor mode="nobackground">
656 <r>255</r>
657 <g>255</g>
658 <b>255</b>
659 </bgcolor>
660 <bordermode>noborder</bordermode>
661 <borderradius>1</borderradius>
662 <borderwidth>1</borderwidth>
663 </bsbObject>
664 <bsbObject version="2" type="BSBDisplay">
665 <objectName>Leak</objectName>
666 <x>448</x>
667 <y>167</y>
668 <width>60</width>
669 <height>30</height>
670 <uuid>{01641a65-23d8-4e33-932e-417c9b9dbe6c}</uuid>
671 <visible>true</visible>
672 <midichan>0</midichan>
673 <midicc>0</midicc>
674 <label>0.000</label>
675 <alignment>right</alignment>
676 <font>Liberation Sans</font>
677 <fontsize>9</fontsize>
678 <precision>3</precision>
679 <color>
680 <r>255</r>
681 <g>255</g>
682 <b>0</b>
683 </color>
684 <bgcolor mode="nobackground">
685 <r>255</r>
686 <g>255</g>
687 <b>255</b>
688 </bgcolor>
689 <bordermode>noborder</bordermode>
690 <borderradius>1</borderradius>
691 <borderwidth>1</borderwidth>
692 </bsbObject>
693 <bsbObject version="2" type="BSBHSlider">
694 <objectName>Leak</objectName>
695 <x>8</x>
696 <y>151</y>
697 <width>500</width>
698 <height>27</height>
699 <uuid>{e251ff65-9564-4e72-aa03-739f0cc74de4}</uuid>
700 <visible>true</visible>
701 <midichan>0</midichan>
702 <midicc>0</midicc>
703 <minimum>0.00000000</minimum>
704 <maximum>1.00000000</maximum>
705 <value>0.00000000</value>
706 <mode>lin</mode>
707 <mouseControl act="jump">continuous</mouseControl>
708 <resolution>-1.00000000</resolution>
709 <randomizable group="0">false</randomizable>
710 </bsbObject>
711 <bsbObject version="2" type="BSBLabel">
712 <objectName/>
713 <x>8</x>
714 <y>320</y>
715 <width>160</width>
716 <height>30</height>
717 <uuid>{1338d825-15af-4e81-80f6-f224913a4ac9}</uuid>
718 <visible>true</visible>
719 <midichan>0</midichan>
720 <midicc>0</midicc>
721 <label>PWM Speed</label>
722 <alignment>left</alignment>
723 <font>Liberation Sans</font>
724 <fontsize>10</fontsize>
725 <precision>3</precision>
726 <color>
727 <r>255</r>
728 <g>255</g>
729 <b>0</b>
730 </color>
731 <bgcolor mode="nobackground">
732 <r>255</r>
733 <g>255</g>
734 <b>255</b>
735 </bgcolor>
736 <bordermode>noborder</bordermode>
737 <borderradius>1</borderradius>
738 <borderwidth>1</borderwidth>
739 </bsbObject>
740 <bsbObject version="2" type="BSBDisplay">
741 <objectName>PWMSpeed</objectName>
742 <x>448</x>
743 <y>320</y>
744 <width>60</width>
745 <height>30</height>
746 <uuid>{08fe63ca-841f-46f6-97dc-f5f82273211e}</uuid>
747 <visible>true</visible>
748 <midichan>0</midichan>
749 <midicc>0</midicc>
750 <label>0.150</label>
751 <alignment>right</alignment>
752 <font>Liberation Sans</font>
753 <fontsize>9</fontsize>
754 <precision>3</precision>
755 <color>
756 <r>255</r>
757 <g>255</g>
758 <b>0</b>
759 </color>
760 <bgcolor mode="nobackground">
761 <r>255</r>
762 <g>255</g>
763 <b>255</b>
764 </bgcolor>
765 <bordermode>noborder</bordermode>
766 <borderradius>1</borderradius>
767 <borderwidth>1</borderwidth>
768 </bsbObject>
769 <bsbObject version="2" type="BSBHSlider">
770 <objectName>PWMSpeed</objectName>
771 <x>8</x>
772 <y>304</y>
773 <width>500</width>
774 <height>27</height>
775 <uuid>{c18eed49-061a-498b-a0b1-6e38ba9a1975}</uuid>
776 <visible>true</visible>
777 <midichan>0</midichan>
778 <midicc>0</midicc>
779 <minimum>0.00100000</minimum>
780 <maximum>10.00000000</maximum>
781 <value>0.15000001</value>
782 <mode>lin</mode>
783 <mouseControl act="jump">continuous</mouseControl>
784 <resolution>-1.00000000</resolution>
785 <randomizable group="0">false</randomizable>
786 </bsbObject>
787 <bsbObject version="2" type="BSBLabel">
788 <objectName/>
789 <x>8</x>
790 <y>358</y>
791 <width>220</width>
792 <height>30</height>
793 <uuid>{04d9e0f7-58ab-4af0-8267-92b4922619a7}</uuid>
794 <visible>true</visible>
795 <midichan>0</midichan>
796 <midicc>0</midicc>
797 <label>Moog VCF Cutoff Frequency (CC#1)</label>
798 <alignment>left</alignment>
799 <font>Liberation Sans</font>
800 <fontsize>10</fontsize>
801 <precision>3</precision>
802 <color>
803 <r>255</r>
804 <g>255</g>
805 <b>0</b>
806 </color>
807 <bgcolor mode="nobackground">
808 <r>255</r>
809 <g>255</g>
810 <b>255</b>
811 </bgcolor>
812 <bordermode>noborder</bordermode>
813 <borderradius>1</borderradius>
814 <borderwidth>1</borderwidth>
815 </bsbObject>
816 <bsbObject version="2" type="BSBDisplay">
817 <objectName>MVCFCutoff</objectName>
818 <x>448</x>
819 <y>358</y>
820 <width>60</width>
821 <height>30</height>
822 <uuid>{6d879deb-352e-4458-9783-81884627def2}</uuid>
823 <visible>true</visible>
824 <midichan>0</midichan>
825 <midicc>0</midicc>
826 <label>12.000</label>
827 <alignment>right</alignment>
828 <font>Liberation Sans</font>
829 <fontsize>9</fontsize>
830 <precision>3</precision>
831 <color>
832 <r>255</r>
833 <g>255</g>
834 <b>0</b>
835 </color>
836 <bgcolor mode="nobackground">
837 <r>255</r>
838 <g>255</g>
839 <b>255</b>
840 </bgcolor>
841 <bordermode>noborder</bordermode>
842 <borderradius>1</borderradius>
843 <borderwidth>1</borderwidth>
844 </bsbObject>
845 <bsbObject version="2" type="BSBHSlider">
846 <objectName>MVCFCutoff</objectName>
847 <x>8</x>
848 <y>342</y>
849 <width>500</width>
850 <height>27</height>
851 <uuid>{3b04b295-5d52-48c3-ab5d-8f8da2afa7ce}</uuid>
852 <visible>true</visible>
853 <midichan>1</midichan>
854 <midicc>1</midicc>
855 <minimum>4.00000000</minimum>
856 <maximum>14.00000000</maximum>
857 <value>12.00000000</value>
858 <mode>lin</mode>
859 <mouseControl act="jump">continuous</mouseControl>
860 <resolution>-1.00000000</resolution>
861 <randomizable group="0">false</randomizable>
862 </bsbObject>
863 <bsbObject version="2" type="BSBLabel">
864 <objectName/>
865 <x>8</x>
866 <y>396</y>
867 <width>160</width>
868 <height>30</height>
869 <uuid>{73cbf806-44f0-4750-a00b-139fd173c2f6}</uuid>
870 <visible>true</visible>
871 <midichan>0</midichan>
872 <midicc>0</midicc>
873 <label>Moog VCF Resonance</label>
874 <alignment>left</alignment>
875 <font>Liberation Sans</font>
876 <fontsize>10</fontsize>
877 <precision>3</precision>
878 <color>
879 <r>255</r>
880 <g>255</g>
881 <b>0</b>
882 </color>
883 <bgcolor mode="nobackground">
884 <r>255</r>
885 <g>255</g>
886 <b>255</b>
887 </bgcolor>
888 <bordermode>noborder</bordermode>
889 <borderradius>1</borderradius>
890 <borderwidth>1</borderwidth>
891 </bsbObject>
892 <bsbObject version="2" type="BSBDisplay">
893 <objectName>MVCFReso</objectName>
894 <x>448</x>
895 <y>396</y>
896 <width>60</width>
897 <height>30</height>
898 <uuid>{6a6f420f-68a2-4b0c-979b-ba24bb241a13}</uuid>
899 <visible>true</visible>
900 <midichan>0</midichan>
901 <midicc>0</midicc>
902 <label>0.400</label>
903 <alignment>right</alignment>
904 <font>Liberation Sans</font>
905 <fontsize>9</fontsize>
906 <precision>3</precision>
907 <color>
908 <r>255</r>
909 <g>255</g>
910 <b>0</b>
911 </color>
912 <bgcolor mode="nobackground">
913 <r>255</r>
914 <g>255</g>
915 <b>255</b>
916 </bgcolor>
917 <bordermode>noborder</bordermode>
918 <borderradius>1</borderradius>
919 <borderwidth>1</borderwidth>
920 </bsbObject>
921 <bsbObject version="2" type="BSBHSlider">
922 <objectName>MVCFReso</objectName>
923 <x>8</x>
924 <y>380</y>
925 <width>500</width>
926 <height>27</height>
927 <uuid>{3d876341-31c0-4af4-b025-1b120a80c9b7}</uuid>
928 <visible>true</visible>
929 <midichan>0</midichan>
930 <midicc>0</midicc>
931 <minimum>0.00000000</minimum>
932 <maximum>0.90000000</maximum>
933 <value>0.40000001</value>
934 <mode>lin</mode>
935 <mouseControl act="jump">continuous</mouseControl>
936 <resolution>-1.00000000</resolution>
937 <randomizable group="0">false</randomizable>
938 </bsbObject>
939 <bsbObject version="2" type="BSBDropdown">
940 <objectName>Waveform</objectName>
941 <x>89</x>
942 <y>68</y>
943 <width>160</width>
944 <height>26</height>
945 <uuid>{7f0b4d30-7423-49e5-86de-d2a9162f0c4f}</uuid>
946 <visible>true</visible>
947 <midichan>0</midichan>
948 <midicc>0</midicc>
949 <bsbDropdownItemList>
950 <bsbDropdownItem>
951 <name>Saw</name>
952 <value>0</value>
953 <stringvalue/>
954 </bsbDropdownItem>
955 <bsbDropdownItem>
956 <name>Square/PWM</name>
957 <value>1</value>
958 <stringvalue/>
959 </bsbDropdownItem>
960 <bsbDropdownItem>
961 <name>Triangle/Saw/Ramp</name>
962 <value>2</value>
963 <stringvalue/>
964 </bsbDropdownItem>
965 </bsbDropdownItemList>
966 <selectedIndex>2</selectedIndex>
967 <randomizable group="0">false</randomizable>
968 </bsbObject>
969 <bsbObject version="2" type="BSBLabel">
970 <objectName/>
971 <x>9</x>
972 <y>68</y>
973 <width>80</width>
974 <height>26</height>
975 <uuid>{220ff60e-e729-49e2-9a0b-ea344a07a2a8}</uuid>
976 <visible>true</visible>
977 <midichan>0</midichan>
978 <midicc>0</midicc>
979 <label>Waveform :</label>
980 <alignment>right</alignment>
981 <font>Liberation Sans</font>
982 <fontsize>10</fontsize>
983 <precision>3</precision>
984 <color>
985 <r>255</r>
986 <g>255</g>
987 <b>0</b>
988 </color>
989 <bgcolor mode="nobackground">
990 <r>255</r>
991 <g>255</g>
992 <b>255</b>
993 </bgcolor>
994 <bordermode>noborder</bordermode>
995 <borderradius>1</borderradius>
996 <borderwidth>1</borderwidth>
997 </bsbObject>
998 <bsbObject version="2" type="BSBLabel">
999 <objectName/>
1000 <x>8</x>
1001 <y>435</y>
1002 <width>160</width>
1003 <height>30</height>
1004 <uuid>{7bf8767c-e0a1-4279-bcc5-bf59f12c5e58}</uuid>
1005 <visible>true</visible>
1006 <midichan>0</midichan>
1007 <midicc>0</midicc>
1008 <label>Output Gain</label>
1009 <alignment>left</alignment>
1010 <font>Liberation Sans</font>
1011 <fontsize>10</fontsize>
1012 <precision>3</precision>
1013 <color>
1014 <r>255</r>
1015 <g>255</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="BSBDisplay">
1028 <objectName>Gain</objectName>
1029 <x>448</x>
1030 <y>435</y>
1031 <width>60</width>
1032 <height>30</height>
1033 <uuid>{3223fffc-2bcf-4455-9a09-593bb0e81d1b}</uuid>
1034 <visible>true</visible>
1035 <midichan>0</midichan>
1036 <midicc>0</midicc>
1037 <label>0.500</label>
1038 <alignment>right</alignment>
1039 <font>Liberation Sans</font>
1040 <fontsize>9</fontsize>
1041 <precision>3</precision>
1042 <color>
1043 <r>255</r>
1044 <g>255</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>Gain</objectName>
1058 <x>8</x>
1059 <y>419</y>
1060 <width>500</width>
1061 <height>27</height>
1062 <uuid>{aeaf8835-81fa-4da8-861b-bcd8d72e0369}</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 </bsbPanel>
1075 <bsbPresets>
1076 </bsbPresets>