Debian Codegraph @

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

raw
1 ;Written by Iain McCurdy, 2010
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 Pulse Width widget control by CC#1
11 ; Add vco2init for user defined waveform
12
13
14 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0
15 <CsoundSynthesizer>
16 <CsOptions>
17
18 </CsOptions>
19 <CsInstruments>
20 sr = 44100 ;SAMPLE RATE
21 ksmps = 64 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
22 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
23 0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH
24
25
26 gisine ftgen 0,0,4096,10,1 ;TABLE THAT STORES A SINGLE CYCLE OF A SINE WAVE
27 giExp1 ftgen 0, 0, 129, -25, 0, 2.0, 128, 10000.0 ;TABLE FOR EXP SLIDER
28
29
30 ; user defined waveform -1: trapezoid wave with default parameters
31 itmp ftgen 1, 0, 16384, 7, 0, 2048, 1, 4096, 1, 4096, -1, 4096, -1, 2048, 0
32 ift vco2init -1, 10000, 0, 0, 0, 1
33
34
35 instr 10 ;GUI
36 ktrig metro 10
37 if (ktrig == 1) then
38 ;SWITCHES
39 gkKPhs invalue "Phase"
40 kmode invalue "Waveform"
41 ;SLIDERS
42 gkamp invalue "Amplitude"
43 kcps invalue "Frequency"
44 gkcps tablei kcps, giExp1, 1
45 outvalue "Frequency_Value", gkcps
46 gknyx invalue "Harmonics"
47 gkpw invalue "PW"
48 gkphs invalue "InitPhase"
49 gkphsDep invalue "PhaseDepth"
50 gkphsRte invalue "PhaseRate"
51
52 gkmode = (kmode*2)+ gkKPhs
53 endif
54 endin
55
56 instr 11 ;INIT
57 outvalue "Amplitude" , 0.1
58 outvalue "Frequency" , 0.45927
59 outvalue "Harmonics" , 0.25
60 outvalue "PW" , 0.5
61 outvalue "InitPhase" , 0.0
62 outvalue "PhaseDepth" , 0.0
63 outvalue "PhaseRate" , 0.001
64 endin
65
66 instr 1 ;MIDI INPUT INSTRUMENT
67 icps cpsmidi ;READ CYCLES PER SECOND VALUE FROM MIDI INPUT
68 iamp ampmidi 1 ;READ IN A NOTE VELOCITY VALUE FROM THE MIDI INPUT
69
70 ;PITCH BEND===========================================================================================================================================================
71 iSemitoneBendRange= 2 ;PITCH BEND RANGE IN SEMITONES
72 imin = 0 ;EQUILIBRIUM POSITION
73 imax = iSemitoneBendRange / 12 ;MAX PITCH DISPLACEMENT (IN oct FORMAT)
74 kbend pchbend imin, imax ;PITCH BEND VARIABLE (IN oct FORMAT)
75 ioct = octcps(icps)
76 kcps = cpsoct(ioct + kbend)
77 ;=====================================================================================================================================================================
78
79 iporttime = 0.05 ;PORTAMENTO TIME VARIABLE
80 kporttime linseg 0,0.001,iporttime ;CREATE A RAMPING UP FUNCTION TO REPRESENT PORTAMENTO TIME
81 kpw portk gkpw, kporttime ;APPLY PORTAMENTO SMOOTHING
82 kenv linsegr 0,0.01,1,0.01,0 ;ANTI-CLICK ENVELOPE
83 if gkmode=2 then ;IF 'SAWTOOTH/TRIANGLE/RAMP' HAS BEEN SELECTED...
84 gkpw limit gkpw, 0.01, 0.99 ;LIMIT PULSE WIDTH TO BE BETWEEN 0.01 AND 0.99
85 endif ;END OF CONDITIONAL BRANCH
86 kSwitch changed gknyx, gkmode
87 if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
88 reinit UPDATE ;BEGIN A REINITIALISATION PASS FROM LABEL 'UPDATE'
89 endif
90 UPDATE:
91 if i(gkKPhs)=0 then
92 kphs = gkphs ;INITIAL PHASE SLIDER USED
93 else
94 kphs poscil gkphsDep*0.5,gkphsRte,gisine ;PHASE MODULATION
95 kphs = kphs + 0.5 ;PHASE DEPTH
96 endif
97 asig vco2 kenv*iamp*gkamp, kcps, i(gkmode), kpw, kphs, i(gknyx) ;CREATE vco2 OSCILLATOR
98 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
99 outs asig, asig ;SEND AUDIO TO OUTPUTS
100 endin
101
102 instr 2 ;VCO2 INSTRUMENT
103 iporttime = 0.05 ;PORTAMENTO TIME VARIABLE
104 kporttime linseg 0, 0.001, iporttime ;CREATE A RAMPING UP FUNCTION TO REPRESENT PORTAMENTO TIME
105
106 kcps portk gkcps, kporttime ;SET FUNDEMENTAL TO GUI SLIDER gkcps and APPLY PORTAMENTO SMOOTHING
107 kpw portk gkpw, kporttime ;APPLY PORTAMENTO SMOOTHING
108 kenv linsegr 0,0.01,1,0.01,0 ;ANTI-CLICK ENVELOPE
109 if gkmode=2 then ;IF 'SAWTOOTH/TRIANGLE/RAMP' HAS BEEN SELECTED...
110 gkpw limit gkpw, 0.01, 0.99 ;LIMIT PULSE WIDTH TO BE BETWEEN 0.01 AND 0.99
111 endif ;END OF CONDITIONAL BRANCH
112 kSwitch changed gknyx, gkmode
113 if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
114 reinit UPDATE ;BEGIN A REINITIALISATION PASS FROM LABEL 'UPDATE'
115 endif
116 UPDATE:
117 if i(gkKPhs)=0 then
118 kphs = gkphs ;INITIAL PHASE SLIDER USED
119 else
120 kphs poscil gkphsDep*0.5,gkphsRte,gisine ;PHASE MODULATION
121 kphs = kphs + 0.5 ;PHASE DEPTH
122 endif
123 asig vco2 kenv*gkamp, kcps, i(gkmode), kpw, kphs, i(gknyx) ;CREATE vco2 OSCILLATOR
124 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
125 outs asig, asig ;SEND AUDIO TO OUTPUTS
126 endin
127 </CsInstruments>
128 <CsScore>
129 ;INSTR | START | DURATION
130 i 10 0.0 3600 ;GUI
131 i 11 0.0 0.01 ;INIT
132 </CsScore>
133 </CsoundSynthesizer>
134 <bsbPanel>
135 <label>Widgets</label>
136 <objectName/>
137 <x>275</x>
138 <y>313</y>
139 <width>400</width>
140 <height>200</height>
141 <visible>true</visible>
142 <uuid/>
143 <bgcolor mode="background">
144 <r>241</r>
145 <g>226</g>
146 <b>185</b>
147 </bgcolor>
148 <bsbObject version="2" type="BSBLabel">
149 <objectName/>
150 <x>0</x>
151 <y>2</y>
152 <width>512</width>
153 <height>450</height>
154 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
155 <visible>true</visible>
156 <midichan>0</midichan>
157 <midicc>0</midicc>
158 <label>vco2 </label>
159 <alignment>center</alignment>
160 <font>Liberation Sans</font>
161 <fontsize>18</fontsize>
162 <precision>3</precision>
163 <color>
164 <r>255</r>
165 <g>255</g>
166 <b>0</b>
167 </color>
168 <bgcolor mode="background">
169 <r>106</r>
170 <g>117</g>
171 <b>150</b>
172 </bgcolor>
173 <bordermode>border</bordermode>
174 <borderradius>5</borderradius>
175 <borderwidth>2</borderwidth>
176 </bsbObject>
177 <bsbObject version="2" type="BSBLabel">
178 <objectName/>
179 <x>8</x>
180 <y>270</y>
181 <width>160</width>
182 <height>30</height>
183 <uuid>{b066c36d-a132-4a1a-aee4-e421b02bca48}</uuid>
184 <visible>true</visible>
185 <midichan>0</midichan>
186 <midicc>0</midicc>
187 <label>Pulse Width (CC#1)</label>
188 <alignment>left</alignment>
189 <font>Liberation Sans</font>
190 <fontsize>10</fontsize>
191 <precision>3</precision>
192 <color>
193 <r>255</r>
194 <g>255</g>
195 <b>0</b>
196 </color>
197 <bgcolor mode="nobackground">
198 <r>255</r>
199 <g>255</g>
200 <b>255</b>
201 </bgcolor>
202 <bordermode>noborder</bordermode>
203 <borderradius>1</borderradius>
204 <borderwidth>1</borderwidth>
205 </bsbObject>
206 <bsbObject version="2" type="BSBDisplay">
207 <objectName>PW</objectName>
208 <x>448</x>
209 <y>270</y>
210 <width>60</width>
211 <height>30</height>
212 <uuid>{262729b5-3e13-43d4-af01-99d1e8aabf34}</uuid>
213 <visible>true</visible>
214 <midichan>0</midichan>
215 <midicc>0</midicc>
216 <label>0.500</label>
217 <alignment>right</alignment>
218 <font>Liberation Sans</font>
219 <fontsize>9</fontsize>
220 <precision>3</precision>
221 <color>
222 <r>255</r>
223 <g>255</g>
224 <b>0</b>
225 </color>
226 <bgcolor mode="nobackground">
227 <r>255</r>
228 <g>255</g>
229 <b>255</b>
230 </bgcolor>
231 <bordermode>noborder</bordermode>
232 <borderradius>1</borderradius>
233 <borderwidth>1</borderwidth>
234 </bsbObject>
235 <bsbObject version="2" type="BSBHSlider">
236 <objectName>PW</objectName>
237 <x>8</x>
238 <y>254</y>
239 <width>500</width>
240 <height>27</height>
241 <uuid>{f4910f7d-2341-46e1-aa20-a4d3db351c24}</uuid>
242 <visible>true</visible>
243 <midichan>1</midichan>
244 <midicc>1</midicc>
245 <minimum>0.00000000</minimum>
246 <maximum>1.00000000</maximum>
247 <value>0.50000000</value>
248 <mode>lin</mode>
249 <mouseControl act="jump">continuous</mouseControl>
250 <resolution>-1.00000000</resolution>
251 <randomizable group="0">false</randomizable>
252 </bsbObject>
253 <bsbObject version="2" type="BSBLabel">
254 <objectName/>
255 <x>8</x>
256 <y>308</y>
257 <width>160</width>
258 <height>30</height>
259 <uuid>{5a8c0afb-17da-4ca7-a331-f3ef38db1431}</uuid>
260 <visible>true</visible>
261 <midichan>0</midichan>
262 <midicc>0</midicc>
263 <label>Initial Phase</label>
264 <alignment>left</alignment>
265 <font>Liberation Sans</font>
266 <fontsize>10</fontsize>
267 <precision>3</precision>
268 <color>
269 <r>255</r>
270 <g>255</g>
271 <b>0</b>
272 </color>
273 <bgcolor mode="nobackground">
274 <r>255</r>
275 <g>255</g>
276 <b>255</b>
277 </bgcolor>
278 <bordermode>noborder</bordermode>
279 <borderradius>1</borderradius>
280 <borderwidth>1</borderwidth>
281 </bsbObject>
282 <bsbObject version="2" type="BSBDisplay">
283 <objectName>InitPhase</objectName>
284 <x>448</x>
285 <y>308</y>
286 <width>60</width>
287 <height>30</height>
288 <uuid>{12d2c823-daba-4a56-9f0c-462a6c951992}</uuid>
289 <visible>true</visible>
290 <midichan>0</midichan>
291 <midicc>0</midicc>
292 <label>0.000</label>
293 <alignment>right</alignment>
294 <font>Liberation Sans</font>
295 <fontsize>9</fontsize>
296 <precision>3</precision>
297 <color>
298 <r>255</r>
299 <g>255</g>
300 <b>0</b>
301 </color>
302 <bgcolor mode="nobackground">
303 <r>255</r>
304 <g>255</g>
305 <b>255</b>
306 </bgcolor>
307 <bordermode>noborder</bordermode>
308 <borderradius>1</borderradius>
309 <borderwidth>1</borderwidth>
310 </bsbObject>
311 <bsbObject version="2" type="BSBHSlider">
312 <objectName>InitPhase</objectName>
313 <x>8</x>
314 <y>292</y>
315 <width>500</width>
316 <height>27</height>
317 <uuid>{5442ecac-367f-413c-a49e-5f42a2727519}</uuid>
318 <visible>true</visible>
319 <midichan>0</midichan>
320 <midicc>0</midicc>
321 <minimum>0.00000000</minimum>
322 <maximum>1.00000000</maximum>
323 <value>0.00000000</value>
324 <mode>lin</mode>
325 <mouseControl act="jump">continuous</mouseControl>
326 <resolution>-1.00000000</resolution>
327 <randomizable group="0">false</randomizable>
328 </bsbObject>
329 <bsbObject version="2" type="BSBLabel">
330 <objectName/>
331 <x>8</x>
332 <y>347</y>
333 <width>220</width>
334 <height>30</height>
335 <uuid>{d1ad1809-ed86-4ecd-b6c9-15b4c9686e35}</uuid>
336 <visible>true</visible>
337 <midichan>0</midichan>
338 <midicc>0</midicc>
339 <label>Phase Mod. Depth</label>
340 <alignment>left</alignment>
341 <font>Liberation Sans</font>
342 <fontsize>10</fontsize>
343 <precision>3</precision>
344 <color>
345 <r>255</r>
346 <g>255</g>
347 <b>0</b>
348 </color>
349 <bgcolor mode="nobackground">
350 <r>255</r>
351 <g>255</g>
352 <b>255</b>
353 </bgcolor>
354 <bordermode>noborder</bordermode>
355 <borderradius>1</borderradius>
356 <borderwidth>1</borderwidth>
357 </bsbObject>
358 <bsbObject version="2" type="BSBDisplay">
359 <objectName>PhaseDepth</objectName>
360 <x>448</x>
361 <y>347</y>
362 <width>60</width>
363 <height>30</height>
364 <uuid>{39d4f770-c1eb-4c2d-9b6d-41b78e8955f0}</uuid>
365 <visible>true</visible>
366 <midichan>0</midichan>
367 <midicc>0</midicc>
368 <label>0.000</label>
369 <alignment>right</alignment>
370 <font>Liberation Sans</font>
371 <fontsize>9</fontsize>
372 <precision>3</precision>
373 <color>
374 <r>255</r>
375 <g>255</g>
376 <b>0</b>
377 </color>
378 <bgcolor mode="nobackground">
379 <r>255</r>
380 <g>255</g>
381 <b>255</b>
382 </bgcolor>
383 <bordermode>noborder</bordermode>
384 <borderradius>1</borderradius>
385 <borderwidth>1</borderwidth>
386 </bsbObject>
387 <bsbObject version="2" type="BSBHSlider">
388 <objectName>PhaseDepth</objectName>
389 <x>8</x>
390 <y>331</y>
391 <width>500</width>
392 <height>27</height>
393 <uuid>{37911dd5-758c-4ec8-9871-ce3f5cd67670}</uuid>
394 <visible>true</visible>
395 <midichan>0</midichan>
396 <midicc>0</midicc>
397 <minimum>0.00000000</minimum>
398 <maximum>1.00000000</maximum>
399 <value>0.00000000</value>
400 <mode>lin</mode>
401 <mouseControl act="jump">continuous</mouseControl>
402 <resolution>-1.00000000</resolution>
403 <randomizable group="0">false</randomizable>
404 </bsbObject>
405 <bsbObject version="2" type="BSBDropdown">
406 <objectName>Waveform</objectName>
407 <x>226</x>
408 <y>68</y>
409 <width>280</width>
410 <height>26</height>
411 <uuid>{fd321c7c-a7e3-49dd-9c35-b4d1a0054c73}</uuid>
412 <visible>true</visible>
413 <midichan>0</midichan>
414 <midicc>0</midicc>
415 <bsbDropdownItemList>
416 <bsbDropdownItem>
417 <name>Sawtooth</name>
418 <value>0</value>
419 <stringvalue/>
420 </bsbDropdownItem>
421 <bsbDropdownItem>
422 <name>Square / PWM</name>
423 <value>1</value>
424 <stringvalue/>
425 </bsbDropdownItem>
426 <bsbDropdownItem>
427 <name> Sawtooth / Triangle / Ramp</name>
428 <value>2</value>
429 <stringvalue/>
430 </bsbDropdownItem>
431 <bsbDropdownItem>
432 <name>Pulse</name>
433 <value>3</value>
434 <stringvalue/>
435 </bsbDropdownItem>
436 <bsbDropdownItem>
437 <name>4 * x * (1 - x) (i.e. integrated sawtooth)</name>
438 <value>4</value>
439 <stringvalue/>
440 </bsbDropdownItem>
441 <bsbDropdownItem>
442 <name>Square Wave (no PWM - faster)</name>
443 <value>5</value>
444 <stringvalue/>
445 </bsbDropdownItem>
446 <bsbDropdownItem>
447 <name>Triangle (no ramp - faster) </name>
448 <value>6</value>
449 <stringvalue/>
450 </bsbDropdownItem>
451 <bsbDropdownItem>
452 <name>User Defined Waveform</name>
453 <value>7</value>
454 <stringvalue/>
455 </bsbDropdownItem>
456 </bsbDropdownItemList>
457 <selectedIndex>1</selectedIndex>
458 <randomizable group="0">false</randomizable>
459 </bsbObject>
460 <bsbObject version="2" type="BSBButton">
461 <objectName/>
462 <x>10</x>
463 <y>16</y>
464 <width>120</width>
465 <height>26</height>
466 <uuid>{c4c1aae5-edb9-47d9-94a7-8d15578e0bf2}</uuid>
467 <visible>true</visible>
468 <midichan>0</midichan>
469 <midicc>0</midicc>
470 <type>event</type>
471 <pressedValue>1.00000000</pressedValue>
472 <stringvalue/>
473 <text> On / Off - MIDI</text>
474 <image>/</image>
475 <eventLine>i 2 0 -1</eventLine>
476 <latch>true</latch>
477 <latched>false</latched>
478 </bsbObject>
479 <bsbObject version="2" type="BSBLabel">
480 <objectName/>
481 <x>146</x>
482 <y>68</y>
483 <width>80</width>
484 <height>26</height>
485 <uuid>{e192d1b0-4e18-4b7a-97cb-800767992d7e}</uuid>
486 <visible>true</visible>
487 <midichan>0</midichan>
488 <midicc>0</midicc>
489 <label>Waveform :</label>
490 <alignment>right</alignment>
491 <font>Liberation Sans</font>
492 <fontsize>10</fontsize>
493 <precision>3</precision>
494 <color>
495 <r>255</r>
496 <g>255</g>
497 <b>0</b>
498 </color>
499 <bgcolor mode="nobackground">
500 <r>255</r>
501 <g>255</g>
502 <b>255</b>
503 </bgcolor>
504 <bordermode>noborder</bordermode>
505 <borderradius>1</borderradius>
506 <borderwidth>1</borderwidth>
507 </bsbObject>
508 <bsbObject version="2" type="BSBLabel">
509 <objectName/>
510 <x>516</x>
511 <y>2</y>
512 <width>620</width>
513 <height>450</height>
514 <uuid>{9798823d-b60e-424f-a3c4-1a43d5e0312d}</uuid>
515 <visible>true</visible>
516 <midichan>0</midichan>
517 <midicc>0</midicc>
518 <label>Miscellaneous Waveforms
519 vco2 </label>
520 <alignment>center</alignment>
521 <font>Liberation Sans</font>
522 <fontsize>18</fontsize>
523 <precision>3</precision>
524 <color>
525 <r>255</r>
526 <g>255</g>
527 <b>0</b>
528 </color>
529 <bgcolor mode="background">
530 <r>106</r>
531 <g>117</g>
532 <b>150</b>
533 </bgcolor>
534 <bordermode>border</bordermode>
535 <borderradius>5</borderradius>
536 <borderwidth>2</borderwidth>
537 </bsbObject>
538 <bsbObject version="2" type="BSBLabel">
539 <objectName/>
540 <x>520</x>
541 <y>47</y>
542 <width>613</width>
543 <height>400</height>
544 <uuid>{66493881-548a-48d2-bdb6-08aad6d0fe91}</uuid>
545 <visible>true</visible>
546 <midichan>0</midichan>
547 <midicc>0</midicc>
548 <label>------------------------------------------------------------------------------------------------------------------------------------------------------
549 vco2 is similar to vco in that it models a variety of waveforms based on the integration of band-limited impulses. A key difference with vco2 is that it precalculates the tables that it will use and therefore requires less realtime computation. It will however require additional RAM for the storage of these precalculated tables. Optional use of the vco2init will allow stored tables to be shared between instruments and voices therefore saving RAM and computation of the tables each time the opcode is initialized - this might prove useful where a high level of polyphony and instrument reiteraction is required. vco2 offers more waveforms than vco and higher quality waveforms. vco2 also allows k-rate modulation of phase which vco does not. This example can be manipulated entirely using the GUI widgets or it can be partially controlled using a MIDI keyboard in which case it will respond to MIDI note numbers, key velocity and pitch bend. Modulation wheel (controller 1) can be used to manipulate pulse width. Some of vco2's waveform options offer improved efficiency by removing options which might not be needed such as pulse width modulation. Waveform options that offer multiple types (such as options 2 and 3) can morph between the waveforms offered by modulating 'Pulse Width'. Choosing the 'User Defined Opcode' option requires the use of the 'vco2init' opcode.
550 There are additional advantages to using vco2init, even when using vco2's other waveforms:
551 * Waveforms are loaded at the beginning of the performance as opposed to when the opcode is initialized. This might offer realtime performance adavantages.
552 * Waveforms can be shared between instances of vco2. This will provide an efficiency advantage if multiple instances of vco2 are begin used.
553 * By using vco2init we can access vco2's internal waveforms from other opcodes.
554 The appropriate table numbers can be derived by using the vco2ft opcode. If 'k-rate phase' has been activated, phase is modulated by a sine wave LFO, the depth and rate of which can be changed by the user using the two short sliders at the bottom of the GUI. If 'k-rate phase' is not activated, initial phase is set using the 'Initial Phase' slider. It will be heard that phase modulation is heard as a modulation of pitch.</label>
555 <alignment>left</alignment>
556 <font>Liberation Sans</font>
557 <fontsize>12</fontsize>
558 <precision>3</precision>
559 <color>
560 <r>255</r>
561 <g>255</g>
562 <b>0</b>
563 </color>
564 <bgcolor mode="nobackground">
565 <r>255</r>
566 <g>255</g>
567 <b>255</b>
568 </bgcolor>
569 <bordermode>noborder</bordermode>
570 <borderradius>2</borderradius>
571 <borderwidth>1</borderwidth>
572 </bsbObject>
573 <bsbObject version="2" type="BSBButton">
574 <objectName>Phase</objectName>
575 <x>10</x>
576 <y>68</y>
577 <width>120</width>
578 <height>26</height>
579 <uuid>{d7e69bb1-02fe-42ed-a9db-a578ece9b691}</uuid>
580 <visible>true</visible>
581 <midichan>0</midichan>
582 <midicc>0</midicc>
583 <type>value</type>
584 <pressedValue>16.00000000</pressedValue>
585 <stringvalue/>
586 <text> k-rate Phase</text>
587 <image>/</image>
588 <eventLine/>
589 <latch>true</latch>
590 <latched>false</latched>
591 </bsbObject>
592 <bsbObject version="2" type="BSBLabel">
593 <objectName/>
594 <x>8</x>
595 <y>155</y>
596 <width>160</width>
597 <height>30</height>
598 <uuid>{6089425b-bdef-4a75-9cf7-e1f298ad9d5b}</uuid>
599 <visible>true</visible>
600 <midichan>0</midichan>
601 <midicc>0</midicc>
602 <label>Amplitude</label>
603 <alignment>left</alignment>
604 <font>Liberation Sans</font>
605 <fontsize>10</fontsize>
606 <precision>3</precision>
607 <color>
608 <r>255</r>
609 <g>255</g>
610 <b>0</b>
611 </color>
612 <bgcolor mode="nobackground">
613 <r>255</r>
614 <g>255</g>
615 <b>255</b>
616 </bgcolor>
617 <bordermode>noborder</bordermode>
618 <borderradius>1</borderradius>
619 <borderwidth>1</borderwidth>
620 </bsbObject>
621 <bsbObject version="2" type="BSBDisplay">
622 <objectName>Amplitude</objectName>
623 <x>448</x>
624 <y>155</y>
625 <width>60</width>
626 <height>30</height>
627 <uuid>{1d38ea29-bbe3-45e2-b37c-02af9787d0e7}</uuid>
628 <visible>true</visible>
629 <midichan>0</midichan>
630 <midicc>0</midicc>
631 <label>0.100</label>
632 <alignment>right</alignment>
633 <font>Liberation Sans</font>
634 <fontsize>9</fontsize>
635 <precision>3</precision>
636 <color>
637 <r>255</r>
638 <g>255</g>
639 <b>0</b>
640 </color>
641 <bgcolor mode="nobackground">
642 <r>255</r>
643 <g>255</g>
644 <b>255</b>
645 </bgcolor>
646 <bordermode>noborder</bordermode>
647 <borderradius>1</borderradius>
648 <borderwidth>1</borderwidth>
649 </bsbObject>
650 <bsbObject version="2" type="BSBHSlider">
651 <objectName>Amplitude</objectName>
652 <x>8</x>
653 <y>139</y>
654 <width>500</width>
655 <height>27</height>
656 <uuid>{dd3dce47-c107-46e8-90ae-f06422cb97cf}</uuid>
657 <visible>true</visible>
658 <midichan>0</midichan>
659 <midicc>0</midicc>
660 <minimum>0.00000000</minimum>
661 <maximum>1.00000000</maximum>
662 <value>0.10000000</value>
663 <mode>lin</mode>
664 <mouseControl act="jump">continuous</mouseControl>
665 <resolution>-1.00000000</resolution>
666 <randomizable group="0">false</randomizable>
667 </bsbObject>
668 <bsbObject version="2" type="BSBLabel">
669 <objectName/>
670 <x>8</x>
671 <y>193</y>
672 <width>160</width>
673 <height>30</height>
674 <uuid>{07bf36b2-367f-4332-8200-0b6d7017afe1}</uuid>
675 <visible>true</visible>
676 <midichan>0</midichan>
677 <midicc>0</midicc>
678 <label>Frequency (Hertz)</label>
679 <alignment>left</alignment>
680 <font>Liberation Sans</font>
681 <fontsize>10</fontsize>
682 <precision>3</precision>
683 <color>
684 <r>255</r>
685 <g>255</g>
686 <b>0</b>
687 </color>
688 <bgcolor mode="nobackground">
689 <r>255</r>
690 <g>255</g>
691 <b>255</b>
692 </bgcolor>
693 <bordermode>noborder</bordermode>
694 <borderradius>1</borderradius>
695 <borderwidth>1</borderwidth>
696 </bsbObject>
697 <bsbObject version="2" type="BSBDisplay">
698 <objectName>Frequency_Value</objectName>
699 <x>448</x>
700 <y>193</y>
701 <width>60</width>
702 <height>30</height>
703 <uuid>{600f5f27-7f32-4cbc-9402-6bbb7415c568}</uuid>
704 <visible>true</visible>
705 <midichan>0</midichan>
706 <midicc>0</midicc>
707 <label>100.004</label>
708 <alignment>right</alignment>
709 <font>Liberation Sans</font>
710 <fontsize>9</fontsize>
711 <precision>3</precision>
712 <color>
713 <r>255</r>
714 <g>255</g>
715 <b>0</b>
716 </color>
717 <bgcolor mode="nobackground">
718 <r>255</r>
719 <g>255</g>
720 <b>255</b>
721 </bgcolor>
722 <bordermode>noborder</bordermode>
723 <borderradius>1</borderradius>
724 <borderwidth>1</borderwidth>
725 </bsbObject>
726 <bsbObject version="2" type="BSBHSlider">
727 <objectName>Frequency</objectName>
728 <x>8</x>
729 <y>177</y>
730 <width>500</width>
731 <height>27</height>
732 <uuid>{859b8f24-fbc4-4127-9432-95e0e467cbab}</uuid>
733 <visible>true</visible>
734 <midichan>0</midichan>
735 <midicc>0</midicc>
736 <minimum>0.00000000</minimum>
737 <maximum>1.00000000</maximum>
738 <value>0.45927000</value>
739 <mode>lin</mode>
740 <mouseControl act="jump">continuous</mouseControl>
741 <resolution>-1.00000000</resolution>
742 <randomizable group="0">false</randomizable>
743 </bsbObject>
744 <bsbObject version="2" type="BSBLabel">
745 <objectName/>
746 <x>8</x>
747 <y>232</y>
748 <width>220</width>
749 <height>30</height>
750 <uuid>{739c0de4-0e99-4a68-9011-c90835b376ed}</uuid>
751 <visible>true</visible>
752 <midichan>0</midichan>
753 <midicc>0</midicc>
754 <label>Number of Harmonics</label>
755 <alignment>left</alignment>
756 <font>Liberation Sans</font>
757 <fontsize>10</fontsize>
758 <precision>3</precision>
759 <color>
760 <r>255</r>
761 <g>255</g>
762 <b>0</b>
763 </color>
764 <bgcolor mode="nobackground">
765 <r>255</r>
766 <g>255</g>
767 <b>255</b>
768 </bgcolor>
769 <bordermode>noborder</bordermode>
770 <borderradius>1</borderradius>
771 <borderwidth>1</borderwidth>
772 </bsbObject>
773 <bsbObject version="2" type="BSBDisplay">
774 <objectName>Harmonics</objectName>
775 <x>448</x>
776 <y>232</y>
777 <width>60</width>
778 <height>30</height>
779 <uuid>{01641a65-23d8-4e33-932e-417c9b9dbe6c}</uuid>
780 <visible>true</visible>
781 <midichan>0</midichan>
782 <midicc>0</midicc>
783 <label>0.250</label>
784 <alignment>right</alignment>
785 <font>Liberation Sans</font>
786 <fontsize>9</fontsize>
787 <precision>3</precision>
788 <color>
789 <r>255</r>
790 <g>255</g>
791 <b>0</b>
792 </color>
793 <bgcolor mode="nobackground">
794 <r>255</r>
795 <g>255</g>
796 <b>255</b>
797 </bgcolor>
798 <bordermode>noborder</bordermode>
799 <borderradius>1</borderradius>
800 <borderwidth>1</borderwidth>
801 </bsbObject>
802 <bsbObject version="2" type="BSBHSlider">
803 <objectName>Harmonics</objectName>
804 <x>8</x>
805 <y>216</y>
806 <width>500</width>
807 <height>27</height>
808 <uuid>{e251ff65-9564-4e72-aa03-739f0cc74de4}</uuid>
809 <visible>true</visible>
810 <midichan>0</midichan>
811 <midicc>0</midicc>
812 <minimum>0.00000000</minimum>
813 <maximum>0.50000000</maximum>
814 <value>0.25000000</value>
815 <mode>lin</mode>
816 <mouseControl act="jump">continuous</mouseControl>
817 <resolution>-1.00000000</resolution>
818 <randomizable group="0">false</randomizable>
819 </bsbObject>
820 <bsbObject version="2" type="BSBLabel">
821 <objectName/>
822 <x>8</x>
823 <y>385</y>
824 <width>160</width>
825 <height>30</height>
826 <uuid>{1338d825-15af-4e81-80f6-f224913a4ac9}</uuid>
827 <visible>true</visible>
828 <midichan>0</midichan>
829 <midicc>0</midicc>
830 <label>Phase Mod. Rate</label>
831 <alignment>left</alignment>
832 <font>Liberation Sans</font>
833 <fontsize>10</fontsize>
834 <precision>3</precision>
835 <color>
836 <r>255</r>
837 <g>255</g>
838 <b>0</b>
839 </color>
840 <bgcolor mode="nobackground">
841 <r>255</r>
842 <g>255</g>
843 <b>255</b>
844 </bgcolor>
845 <bordermode>noborder</bordermode>
846 <borderradius>1</borderradius>
847 <borderwidth>1</borderwidth>
848 </bsbObject>
849 <bsbObject version="2" type="BSBDisplay">
850 <objectName>PhaseRate</objectName>
851 <x>448</x>
852 <y>385</y>
853 <width>60</width>
854 <height>30</height>
855 <uuid>{08fe63ca-841f-46f6-97dc-f5f82273211e}</uuid>
856 <visible>true</visible>
857 <midichan>0</midichan>
858 <midicc>0</midicc>
859 <label>0.001</label>
860 <alignment>right</alignment>
861 <font>Liberation Sans</font>
862 <fontsize>9</fontsize>
863 <precision>3</precision>
864 <color>
865 <r>255</r>
866 <g>255</g>
867 <b>0</b>
868 </color>
869 <bgcolor mode="nobackground">
870 <r>255</r>
871 <g>255</g>
872 <b>255</b>
873 </bgcolor>
874 <bordermode>noborder</bordermode>
875 <borderradius>1</borderradius>
876 <borderwidth>1</borderwidth>
877 </bsbObject>
878 <bsbObject version="2" type="BSBHSlider">
879 <objectName>PhaseRate</objectName>
880 <x>8</x>
881 <y>369</y>
882 <width>500</width>
883 <height>27</height>
884 <uuid>{c18eed49-061a-498b-a0b1-6e38ba9a1975}</uuid>
885 <visible>true</visible>
886 <midichan>0</midichan>
887 <midicc>0</midicc>
888 <minimum>0.00100000</minimum>
889 <maximum>50.00000000</maximum>
890 <value>0.00100000</value>
891 <mode>lin</mode>
892 <mouseControl act="jump">continuous</mouseControl>
893 <resolution>-1.00000000</resolution>
894 <randomizable group="0">false</randomizable>
895 </bsbObject>
896 </bsbPanel>
897 <bsbPresets>
898 </bsbPresets>