Debian Codegraph @

src/Examples/McCurdy Collection/Modulation/PhaseModulationSynthesisMM_C.csd

raw
1 ;Written by Iain McCurdy, 2009
2
3
4 ; Modified for QuteCsound by René, November 2010
5 ; Tested on Ubuntu 10.04 with csound-double cvs August 2010 and QuteCsound svn rev 733
6
7 ;Notes on modifications from original csd:
8 ; Add table(s) for exp slider
9 ; Instrument 1 is activated by MIDI and by the GUI
10 ; Cannot display more than one space in Label, so can't display the schematic shown below:
11
12 ;Phase Modulation Synthesis: 2 parallel modulators -> carrier
13 ;-------------------------------------------------------------
14
15 ; +---------+ +---------+
16 ; | MOD. 1 | | MOD. 2 |
17 ; +----+----+ +----+----+
18 ; | |
19 ; +----------+----------+
20 ; |
21 ; +----+----+
22 ; | CARRIER |
23 ; +----+----+
24 ; |
25 ; V
26 ; OUT
27
28
29 ;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0 --midi-key-oct=4 --midi-velocity-amp=5
30 <CsoundSynthesizer>
31 <CsOptions>
32
33 </CsOptions>
34 <CsInstruments>
35 sr = 44100 ;SAMPLE RATE
36 ksmps = 1 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
37 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
38 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
39
40
41 gisine ftgen 0,0,65537,10,1 ;A SINE WAVE THAT CAN BE REFERENCED BY THE GLOBAL VARIABLE 'gisine'
42 giExp20000 ftgen 0, 0, 129, -25, 0, 20.0, 128, 20000.0 ;TABLES FOR EXP SLIDER
43
44
45 instr 10 ;GUI
46 ktrig metro 10
47 if (ktrig == 1) then
48 kbasefreq invalue "Base_Frequency"
49 gkbasefreq tablei kbasefreq, giExp20000, 1
50 outvalue "Base_Frequency_Value", gkbasefreq
51 gkindex1 invalue "Modulation_Index_1"
52 gkindex2 invalue "Modulation_Index_2"
53 gkCarRatio invalue "Carrier_Frequency"
54 gkModRatio1 invalue "Modulator1_Frequency"
55 gkModRatio2 invalue "Modulator2_Frequency"
56 gkCarAmp invalue "Carrier_Amplitude"
57 endif
58 endin
59
60 instr 1 ;FM INSTRUMENT
61 if p4!=0 then ;MIDI
62 ioct = p4 ;READ OCT VALUE FROM MIDI INPUT
63 iamp = p5 ;READ midi-velocity-amp FROM MIDI INPUT
64 kCarAmp = iamp * gkCarAmp ;SET AMPLITUDE TO RECEIVED p5 (I.E. MIDI VELOCITY) MULTIPLIED BY SLIDER "Carrier_Amplitude"
65 kindex1 = iamp * gkindex1
66 kindex2 = iamp * gkindex2
67 ;PITCH BEND===========================================================================================================================================================
68 iSemitoneBendRange = 4 ;PITCH BEND RANGE IN SEMITONES
69 imin = 0 ;EQUILIBRIUM POSITION
70 imax = iSemitoneBendRange * .0833333 ;MAX PITCH DISPLACEMENT (IN oct FORMAT)
71 kbend pchbend imin, imax ;PITCH BEND VARIABLE (IN oct FORMAT)
72 kbasefreq = cpsoct(ioct + kbend) ;SET FUNDEMENTAL FROM MIDI
73 ;=====================================================================================================================================================================
74 else ;GUI
75 kbasefreq = gkbasefreq ;SET FUNDEMENTAL FROM GUI SLIDER "Base_Frequency"
76 kCarAmp = gkCarAmp ;SET kamp TO SLIDER VALUE "Carrier_Amplitude"
77 kindex1 = gkindex1
78 kindex2 = gkindex2
79 endif
80
81 iporttime = .025 ;PORTAMENTO FUNCTION (WILL BE USED TO SMOOTH PARAMETER MOVED BY WIDGETS)
82 kporttime linseg 0,.001,iporttime,1,iporttime ;PORTAMENTO FUNCTION (WILL BE USED TO SMOOTH PARAMETER MOVED BY WIDGETS)
83
84 kindex1 portk kindex1, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kindex'
85 kindex2 portk kindex2, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kindex'
86 kbasefreq portk kbasefreq, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kbasefreq'
87 kCarAmp portk kCarAmp, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kCarAmp'
88
89 aModPhase1 phasor kbasefreq * gkModRatio1 ;CREATE A MOVING PHASE VALUE THAT WILL BE USED TO CREATE MODULATOR 1
90 aModulator1 tablei aModPhase1,gisine,1,0,1 ;MODULATOR OSCILLATOR IS CREATED.
91 aModulator1 = aModulator1*kindex1 ;MODULATOR AMPLITUDE RESCALED
92
93 aModPhase2 phasor kbasefreq * gkModRatio2 ;CREATE A MOVING PHASE VALUE THAT WILL BE USED TO CREATE MODULATOR 2
94 aModulator2 tablei aModPhase2,gisine,1,0,1 ;MODULATOR OSCILLATOR IS CREATED.
95 aModulator2 = aModulator2 * kindex2 ;MODULATOR AMPLITUDE RESCALED
96
97 aCarrPhase phasor kbasefreq * gkCarRatio ;CREATE A MOVING PHASE VALUE THAT WILL BE USED TO READ CREATE THE CARRIER
98 aCarrPhase = aCarrPhase + aModulator1 +aModulator2 ;MODULATORS 1 & 2 ARE ADDED TO CARRIER PHASE VARIABLE
99 aCarrier tablei aCarrPhase,gisine,1,0,1 ;CARRIER OSCILLATOR IS CREATED.
100 aAntiClick linsegr 0,0.001,1,0.01,0 ;ANTI CLICK ENVELOPE
101 aCarrier = aCarrier*kCarAmp*aAntiClick ;CARRIER AMPLITUDE IS RESCALED
102 outs aCarrier, aCarrier ;SEND THE AUDIO OUTPUT OF THE CARRIER WAVEFORM *ONLY* TO THE OUTPUTS
103 endin
104 </CsInstruments>
105 <CsScore>
106 ;INSTR | START | DURATION
107 i 10 0 3600 ;GUI
108 </CsScore>
109 </CsoundSynthesizer>
110
111 <bsbPanel>
112 <label>Widgets</label>
113 <objectName/>
114 <x>330</x>
115 <y>280</y>
116 <width>808</width>
117 <height>364</height>
118 <visible>true</visible>
119 <uuid/>
120 <bgcolor mode="background">
121 <r>241</r>
122 <g>226</g>
123 <b>185</b>
124 </bgcolor>
125 <bsbObject version="2" type="BSBLabel">
126 <objectName/>
127 <x>2</x>
128 <y>2</y>
129 <width>513</width>
130 <height>360</height>
131 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
132 <visible>true</visible>
133 <midichan>0</midichan>
134 <midicc>0</midicc>
135 <label/>
136 <alignment>center</alignment>
137 <font>DejaVu Sans</font>
138 <fontsize>18</fontsize>
139 <precision>3</precision>
140 <color>
141 <r>255</r>
142 <g>255</g>
143 <b>255</b>
144 </color>
145 <bgcolor mode="background">
146 <r>5</r>
147 <g>27</g>
148 <b>150</b>
149 </bgcolor>
150 <bordermode>border</bordermode>
151 <borderradius>5</borderradius>
152 <borderwidth>2</borderwidth>
153 </bsbObject>
154 <bsbObject version="2" type="BSBLabel">
155 <objectName/>
156 <x>514</x>
157 <y>2</y>
158 <width>287</width>
159 <height>360</height>
160 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
161 <visible>true</visible>
162 <midichan>0</midichan>
163 <midicc>0</midicc>
164 <label/>
165 <alignment>center</alignment>
166 <font>DejaVu Sans</font>
167 <fontsize>18</fontsize>
168 <precision>3</precision>
169 <color>
170 <r>255</r>
171 <g>255</g>
172 <b>255</b>
173 </color>
174 <bgcolor mode="background">
175 <r>5</r>
176 <g>27</g>
177 <b>150</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>524</x>
186 <y>67</y>
187 <width>268</width>
188 <height>236</height>
189 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
190 <visible>true</visible>
191 <midichan>0</midichan>
192 <midicc>0</midicc>
193 <label>--------------------------------------------------------------------
194 An implementation of phase modulation synthesis with two parallel modulators modulating a single carrier.
195 </label>
196 <alignment>left</alignment>
197 <font>Liberation Sans</font>
198 <fontsize>14</fontsize>
199 <precision>3</precision>
200 <color>
201 <r>255</r>
202 <g>255</g>
203 <b>255</b>
204 </color>
205 <bgcolor mode="nobackground">
206 <r>255</r>
207 <g>255</g>
208 <b>255</b>
209 </bgcolor>
210 <bordermode>noborder</bordermode>
211 <borderradius>1</borderradius>
212 <borderwidth>1</borderwidth>
213 </bsbObject>
214 <bsbObject version="2" type="BSBButton">
215 <objectName/>
216 <x>8</x>
217 <y>6</y>
218 <width>124</width>
219 <height>30</height>
220 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
221 <visible>true</visible>
222 <midichan>0</midichan>
223 <midicc>0</midicc>
224 <type>event</type>
225 <pressedValue>1.00000000</pressedValue>
226 <stringvalue/>
227 <text> ON / OFF (MIDI)</text>
228 <image>/</image>
229 <eventLine>i 1 0 -1</eventLine>
230 <latch>true</latch>
231 <latched>false</latched>
232 </bsbObject>
233 <bsbObject version="2" type="BSBDisplay">
234 <objectName>Carrier_Amplitude</objectName>
235 <x>448</x>
236 <y>328</y>
237 <width>60</width>
238 <height>30</height>
239 <uuid>{745d6bee-b951-4a03-9fe8-9e10d5ae4556}</uuid>
240 <visible>true</visible>
241 <midichan>0</midichan>
242 <midicc>0</midicc>
243 <label>0.408</label>
244 <alignment>right</alignment>
245 <font>Arial</font>
246 <fontsize>9</fontsize>
247 <precision>3</precision>
248 <color>
249 <r>255</r>
250 <g>255</g>
251 <b>255</b>
252 </color>
253 <bgcolor mode="nobackground">
254 <r>255</r>
255 <g>255</g>
256 <b>255</b>
257 </bgcolor>
258 <bordermode>noborder</bordermode>
259 <borderradius>1</borderradius>
260 <borderwidth>1</borderwidth>
261 </bsbObject>
262 <bsbObject version="2" type="BSBHSlider">
263 <objectName>Carrier_Amplitude</objectName>
264 <x>8</x>
265 <y>305</y>
266 <width>500</width>
267 <height>27</height>
268 <uuid>{06814721-6151-4baa-84e2-8f39843b07a4}</uuid>
269 <visible>true</visible>
270 <midichan>0</midichan>
271 <midicc>0</midicc>
272 <minimum>0.00000000</minimum>
273 <maximum>1.00000000</maximum>
274 <value>0.40800000</value>
275 <mode>lin</mode>
276 <mouseControl act="jump">continuous</mouseControl>
277 <resolution>-1.00000000</resolution>
278 <randomizable group="0">false</randomizable>
279 </bsbObject>
280 <bsbObject version="2" type="BSBLabel">
281 <objectName/>
282 <x>8</x>
283 <y>328</y>
284 <width>180</width>
285 <height>30</height>
286 <uuid>{c6d7165c-6730-426f-b293-52b411bc73cf}</uuid>
287 <visible>true</visible>
288 <midichan>0</midichan>
289 <midicc>0</midicc>
290 <label>Carrier Amplitude</label>
291 <alignment>left</alignment>
292 <font>Arial</font>
293 <fontsize>10</fontsize>
294 <precision>3</precision>
295 <color>
296 <r>255</r>
297 <g>255</g>
298 <b>255</b>
299 </color>
300 <bgcolor mode="nobackground">
301 <r>255</r>
302 <g>255</g>
303 <b>255</b>
304 </bgcolor>
305 <bordermode>noborder</bordermode>
306 <borderradius>1</borderradius>
307 <borderwidth>1</borderwidth>
308 </bsbObject>
309 <bsbObject version="2" type="BSBLabel">
310 <objectName/>
311 <x>73</x>
312 <y>201</y>
313 <width>358</width>
314 <height>83</height>
315 <uuid>{53a95371-23f7-4d54-a6c6-63bbabdb388d}</uuid>
316 <visible>true</visible>
317 <midichan>0</midichan>
318 <midicc>0</midicc>
319 <label/>
320 <alignment>left</alignment>
321 <font>Arial</font>
322 <fontsize>10</fontsize>
323 <precision>3</precision>
324 <color>
325 <r>255</r>
326 <g>255</g>
327 <b>255</b>
328 </color>
329 <bgcolor mode="nobackground">
330 <r>255</r>
331 <g>255</g>
332 <b>255</b>
333 </bgcolor>
334 <bordermode>border</bordermode>
335 <borderradius>1</borderradius>
336 <borderwidth>1</borderwidth>
337 </bsbObject>
338 <bsbObject version="2" type="BSBLabel">
339 <objectName/>
340 <x>173</x>
341 <y>203</y>
342 <width>32</width>
343 <height>46</height>
344 <uuid>{81ded06c-d53f-4a6d-a597-5f1b68b18042}</uuid>
345 <visible>true</visible>
346 <midichan>0</midichan>
347 <midicc>0</midicc>
348 <label>:</label>
349 <alignment>center</alignment>
350 <font>DejaVu Sans</font>
351 <fontsize>27</fontsize>
352 <precision>3</precision>
353 <color>
354 <r>255</r>
355 <g>255</g>
356 <b>255</b>
357 </color>
358 <bgcolor mode="nobackground">
359 <r>255</r>
360 <g>255</g>
361 <b>255</b>
362 </bgcolor>
363 <bordermode>noborder</bordermode>
364 <borderradius>1</borderradius>
365 <borderwidth>1</borderwidth>
366 </bsbObject>
367 <bsbObject version="2" type="BSBSpinBox">
368 <objectName>Modulator1_Frequency</objectName>
369 <x>89</x>
370 <y>213</y>
371 <width>80</width>
372 <height>28</height>
373 <uuid>{6f8fc775-201d-40f9-931b-687c9b3ef417}</uuid>
374 <visible>true</visible>
375 <midichan>0</midichan>
376 <midicc>0</midicc>
377 <alignment>left</alignment>
378 <font>Liberation Sans</font>
379 <fontsize>14</fontsize>
380 <color>
381 <r>0</r>
382 <g>0</g>
383 <b>0</b>
384 </color>
385 <bgcolor mode="nobackground">
386 <r>255</r>
387 <g>255</g>
388 <b>255</b>
389 </bgcolor>
390 <resolution>0.00010000</resolution>
391 <minimum>0.125</minimum>
392 <maximum>8</maximum>
393 <randomizable group="0">false</randomizable>
394 <value>0.125</value>
395 </bsbObject>
396 <bsbObject version="2" type="BSBSpinBox">
397 <objectName>Modulator2_Frequency</objectName>
398 <x>212</x>
399 <y>213</y>
400 <width>80</width>
401 <height>28</height>
402 <uuid>{fd4b783c-f008-4a1c-b2e6-50340aad9093}</uuid>
403 <visible>true</visible>
404 <midichan>0</midichan>
405 <midicc>0</midicc>
406 <alignment>left</alignment>
407 <font>Liberation Sans</font>
408 <fontsize>14</fontsize>
409 <color>
410 <r>0</r>
411 <g>0</g>
412 <b>0</b>
413 </color>
414 <bgcolor mode="nobackground">
415 <r>255</r>
416 <g>255</g>
417 <b>255</b>
418 </bgcolor>
419 <resolution>0.00010000</resolution>
420 <minimum>0.125</minimum>
421 <maximum>8</maximum>
422 <randomizable group="0">false</randomizable>
423 <value>0.125</value>
424 </bsbObject>
425 <bsbObject version="2" type="BSBLabel">
426 <objectName/>
427 <x>89</x>
428 <y>241</y>
429 <width>70</width>
430 <height>50</height>
431 <uuid>{d7a84933-3d3a-4adf-8289-84a4413362a7}</uuid>
432 <visible>true</visible>
433 <midichan>0</midichan>
434 <midicc>0</midicc>
435 <label>Modulator 1
436 Frequency</label>
437 <alignment>center</alignment>
438 <font>Liberation Sans</font>
439 <fontsize>10</fontsize>
440 <precision>3</precision>
441 <color>
442 <r>255</r>
443 <g>255</g>
444 <b>255</b>
445 </color>
446 <bgcolor mode="nobackground">
447 <r>255</r>
448 <g>255</g>
449 <b>255</b>
450 </bgcolor>
451 <bordermode>noborder</bordermode>
452 <borderradius>1</borderradius>
453 <borderwidth>1</borderwidth>
454 </bsbObject>
455 <bsbObject version="2" type="BSBLabel">
456 <objectName/>
457 <x>336</x>
458 <y>241</y>
459 <width>70</width>
460 <height>50</height>
461 <uuid>{7723878b-fcac-4444-84a2-a4ba87008431}</uuid>
462 <visible>true</visible>
463 <midichan>0</midichan>
464 <midicc>0</midicc>
465 <label>Carrier
466 Frequency</label>
467 <alignment>center</alignment>
468 <font>Liberation Sans</font>
469 <fontsize>10</fontsize>
470 <precision>3</precision>
471 <color>
472 <r>255</r>
473 <g>255</g>
474 <b>255</b>
475 </color>
476 <bgcolor mode="nobackground">
477 <r>255</r>
478 <g>255</g>
479 <b>255</b>
480 </bgcolor>
481 <bordermode>noborder</bordermode>
482 <borderradius>1</borderradius>
483 <borderwidth>1</borderwidth>
484 </bsbObject>
485 <bsbObject version="2" type="BSBLabel">
486 <objectName/>
487 <x>8</x>
488 <y>86</y>
489 <width>180</width>
490 <height>30</height>
491 <uuid>{541ace1b-b1de-4c04-8d84-1de90288dded}</uuid>
492 <visible>true</visible>
493 <midichan>0</midichan>
494 <midicc>0</midicc>
495 <label>Base Frequency</label>
496 <alignment>left</alignment>
497 <font>Liberation Sans</font>
498 <fontsize>10</fontsize>
499 <precision>3</precision>
500 <color>
501 <r>255</r>
502 <g>255</g>
503 <b>255</b>
504 </color>
505 <bgcolor mode="nobackground">
506 <r>255</r>
507 <g>255</g>
508 <b>255</b>
509 </bgcolor>
510 <bordermode>noborder</bordermode>
511 <borderradius>1</borderradius>
512 <borderwidth>1</borderwidth>
513 </bsbObject>
514 <bsbObject version="2" type="BSBHSlider">
515 <objectName>Base_Frequency</objectName>
516 <x>8</x>
517 <y>63</y>
518 <width>500</width>
519 <height>27</height>
520 <uuid>{eac88081-deaa-45c0-b896-32a3ffedc74a}</uuid>
521 <visible>true</visible>
522 <midichan>0</midichan>
523 <midicc>0</midicc>
524 <minimum>0.00000000</minimum>
525 <maximum>1.00000000</maximum>
526 <value>0.23295900</value>
527 <mode>lin</mode>
528 <mouseControl act="jump">continuous</mouseControl>
529 <resolution>-1.00000000</resolution>
530 <randomizable group="0">false</randomizable>
531 </bsbObject>
532 <bsbObject version="2" type="BSBDisplay">
533 <objectName>Base_Frequency_Value</objectName>
534 <x>448</x>
535 <y>86</y>
536 <width>60</width>
537 <height>30</height>
538 <uuid>{3be43919-ad18-4aef-b554-03c4b4d991c3}</uuid>
539 <visible>true</visible>
540 <midichan>0</midichan>
541 <midicc>0</midicc>
542 <label>100.000</label>
543 <alignment>right</alignment>
544 <font>Liberation Sans</font>
545 <fontsize>9</fontsize>
546 <precision>3</precision>
547 <color>
548 <r>255</r>
549 <g>255</g>
550 <b>255</b>
551 </color>
552 <bgcolor mode="nobackground">
553 <r>255</r>
554 <g>255</g>
555 <b>255</b>
556 </bgcolor>
557 <bordermode>noborder</bordermode>
558 <borderradius>1</borderradius>
559 <borderwidth>1</borderwidth>
560 </bsbObject>
561 <bsbObject version="2" type="BSBLabel">
562 <objectName/>
563 <x>8</x>
564 <y>129</y>
565 <width>180</width>
566 <height>30</height>
567 <uuid>{0c691576-66a5-4aa6-a82c-48f930da9708}</uuid>
568 <visible>true</visible>
569 <midichan>0</midichan>
570 <midicc>0</midicc>
571 <label>Modulation Index 1</label>
572 <alignment>left</alignment>
573 <font>Liberation Sans</font>
574 <fontsize>10</fontsize>
575 <precision>3</precision>
576 <color>
577 <r>255</r>
578 <g>255</g>
579 <b>255</b>
580 </color>
581 <bgcolor mode="nobackground">
582 <r>255</r>
583 <g>255</g>
584 <b>255</b>
585 </bgcolor>
586 <bordermode>noborder</bordermode>
587 <borderradius>1</borderradius>
588 <borderwidth>1</borderwidth>
589 </bsbObject>
590 <bsbObject version="2" type="BSBHSlider">
591 <objectName>Modulation_Index_1</objectName>
592 <x>8</x>
593 <y>106</y>
594 <width>500</width>
595 <height>27</height>
596 <uuid>{9cf53cef-488f-4075-b87f-dc2c3e6a21e6}</uuid>
597 <visible>true</visible>
598 <midichan>0</midichan>
599 <midicc>0</midicc>
600 <minimum>0.00000000</minimum>
601 <maximum>5.00000000</maximum>
602 <value>1.00000000</value>
603 <mode>lin</mode>
604 <mouseControl act="jump">continuous</mouseControl>
605 <resolution>-1.00000000</resolution>
606 <randomizable group="0">false</randomizable>
607 </bsbObject>
608 <bsbObject version="2" type="BSBDisplay">
609 <objectName>Modulation_Index_2</objectName>
610 <x>448</x>
611 <y>171</y>
612 <width>60</width>
613 <height>30</height>
614 <uuid>{c03c8ac7-b287-4328-8e07-bbf81f16291a}</uuid>
615 <visible>true</visible>
616 <midichan>0</midichan>
617 <midicc>0</midicc>
618 <label>1.000</label>
619 <alignment>right</alignment>
620 <font>Liberation Sans</font>
621 <fontsize>9</fontsize>
622 <precision>3</precision>
623 <color>
624 <r>255</r>
625 <g>255</g>
626 <b>255</b>
627 </color>
628 <bgcolor mode="nobackground">
629 <r>255</r>
630 <g>255</g>
631 <b>255</b>
632 </bgcolor>
633 <bordermode>noborder</bordermode>
634 <borderradius>1</borderradius>
635 <borderwidth>1</borderwidth>
636 </bsbObject>
637 <bsbObject version="2" type="BSBHSlider">
638 <objectName>Modulation_Index_2</objectName>
639 <x>8</x>
640 <y>148</y>
641 <width>500</width>
642 <height>27</height>
643 <uuid>{9e41022a-6d97-415e-82ef-dafd223f6de8}</uuid>
644 <visible>true</visible>
645 <midichan>0</midichan>
646 <midicc>0</midicc>
647 <minimum>0.00000000</minimum>
648 <maximum>5.00000000</maximum>
649 <value>1.00000000</value>
650 <mode>lin</mode>
651 <mouseControl act="jump">continuous</mouseControl>
652 <resolution>-1.00000000</resolution>
653 <randomizable group="0">false</randomizable>
654 </bsbObject>
655 <bsbObject version="2" type="BSBLabel">
656 <objectName/>
657 <x>8</x>
658 <y>171</y>
659 <width>180</width>
660 <height>30</height>
661 <uuid>{dd30e1bc-c2a4-4d61-8df6-fafe394c7687}</uuid>
662 <visible>true</visible>
663 <midichan>0</midichan>
664 <midicc>0</midicc>
665 <label>Modulation Index 2</label>
666 <alignment>left</alignment>
667 <font>Liberation Sans</font>
668 <fontsize>10</fontsize>
669 <precision>3</precision>
670 <color>
671 <r>255</r>
672 <g>255</g>
673 <b>255</b>
674 </color>
675 <bgcolor mode="nobackground">
676 <r>255</r>
677 <g>255</g>
678 <b>255</b>
679 </bgcolor>
680 <bordermode>noborder</bordermode>
681 <borderradius>1</borderradius>
682 <borderwidth>1</borderwidth>
683 </bsbObject>
684 <bsbObject version="2" type="BSBLabel">
685 <objectName/>
686 <x>213</x>
687 <y>241</y>
688 <width>70</width>
689 <height>50</height>
690 <uuid>{a41c9bd7-bf11-4aeb-99d0-39e0949d0da0}</uuid>
691 <visible>true</visible>
692 <midichan>0</midichan>
693 <midicc>0</midicc>
694 <label>Modulator 2
695 Frequency</label>
696 <alignment>center</alignment>
697 <font>Liberation Sans</font>
698 <fontsize>10</fontsize>
699 <precision>3</precision>
700 <color>
701 <r>255</r>
702 <g>255</g>
703 <b>255</b>
704 </color>
705 <bgcolor mode="nobackground">
706 <r>255</r>
707 <g>255</g>
708 <b>255</b>
709 </bgcolor>
710 <bordermode>noborder</bordermode>
711 <borderradius>1</borderradius>
712 <borderwidth>1</borderwidth>
713 </bsbObject>
714 <bsbObject version="2" type="BSBSpinBox">
715 <objectName>Carrier_Frequency</objectName>
716 <x>336</x>
717 <y>213</y>
718 <width>80</width>
719 <height>28</height>
720 <uuid>{4613a393-76fd-495c-8e3b-95f1257e8326}</uuid>
721 <visible>true</visible>
722 <midichan>0</midichan>
723 <midicc>0</midicc>
724 <alignment>left</alignment>
725 <font>Liberation Sans</font>
726 <fontsize>14</fontsize>
727 <color>
728 <r>0</r>
729 <g>0</g>
730 <b>0</b>
731 </color>
732 <bgcolor mode="nobackground">
733 <r>255</r>
734 <g>255</g>
735 <b>255</b>
736 </bgcolor>
737 <resolution>0.00010000</resolution>
738 <minimum>0.125</minimum>
739 <maximum>8</maximum>
740 <randomizable group="0">false</randomizable>
741 <value>0.125</value>
742 </bsbObject>
743 <bsbObject version="2" type="BSBLabel">
744 <objectName/>
745 <x>297</x>
746 <y>203</y>
747 <width>32</width>
748 <height>46</height>
749 <uuid>{42146cc9-014a-446b-94e1-296f9c3f8fdb}</uuid>
750 <visible>true</visible>
751 <midichan>0</midichan>
752 <midicc>0</midicc>
753 <label>:</label>
754 <alignment>center</alignment>
755 <font>DejaVu Sans</font>
756 <fontsize>27</fontsize>
757 <precision>3</precision>
758 <color>
759 <r>255</r>
760 <g>255</g>
761 <b>255</b>
762 </color>
763 <bgcolor mode="nobackground">
764 <r>255</r>
765 <g>255</g>
766 <b>255</b>
767 </bgcolor>
768 <bordermode>noborder</bordermode>
769 <borderradius>1</borderradius>
770 <borderwidth>1</borderwidth>
771 </bsbObject>
772 <bsbObject version="2" type="BSBLabel">
773 <objectName/>
774 <x>155</x>
775 <y>5</y>
776 <width>305</width>
777 <height>35</height>
778 <uuid>{c35c6c13-7799-4395-9775-f3006b3eafcb}</uuid>
779 <visible>true</visible>
780 <midichan>0</midichan>
781 <midicc>0</midicc>
782 <label>Phase Modulation Synthesis</label>
783 <alignment>center</alignment>
784 <font>Liberation Sans</font>
785 <fontsize>18</fontsize>
786 <precision>3</precision>
787 <color>
788 <r>255</r>
789 <g>255</g>
790 <b>255</b>
791 </color>
792 <bgcolor mode="nobackground">
793 <r>255</r>
794 <g>255</g>
795 <b>255</b>
796 </bgcolor>
797 <bordermode>noborder</bordermode>
798 <borderradius>1</borderradius>
799 <borderwidth>1</borderwidth>
800 </bsbObject>
801 <bsbObject version="2" type="BSBLabel">
802 <objectName/>
803 <x>114</x>
804 <y>28</y>
805 <width>387</width>
806 <height>31</height>
807 <uuid>{20b81ac9-e24a-4a60-bdb1-2c3bc2c578cf}</uuid>
808 <visible>true</visible>
809 <midichan>0</midichan>
810 <midicc>0</midicc>
811 <label>2 parallel modulators -> carrier</label>
812 <alignment>center</alignment>
813 <font>Liberation Sans</font>
814 <fontsize>18</fontsize>
815 <precision>3</precision>
816 <color>
817 <r>255</r>
818 <g>255</g>
819 <b>255</b>
820 </color>
821 <bgcolor mode="nobackground">
822 <r>255</r>
823 <g>255</g>
824 <b>255</b>
825 </bgcolor>
826 <bordermode>noborder</bordermode>
827 <borderradius>1</borderradius>
828 <borderwidth>1</borderwidth>
829 </bsbObject>
830 <bsbObject version="2" type="BSBLabel">
831 <objectName/>
832 <x>514</x>
833 <y>28</y>
834 <width>288</width>
835 <height>50</height>
836 <uuid>{dd72e305-5880-4889-b044-bf9d9333880b}</uuid>
837 <visible>true</visible>
838 <midichan>0</midichan>
839 <midicc>0</midicc>
840 <label>2 parallel modulators -> carrier</label>
841 <alignment>center</alignment>
842 <font>Liberation Sans</font>
843 <fontsize>18</fontsize>
844 <precision>3</precision>
845 <color>
846 <r>255</r>
847 <g>255</g>
848 <b>255</b>
849 </color>
850 <bgcolor mode="nobackground">
851 <r>255</r>
852 <g>255</g>
853 <b>255</b>
854 </bgcolor>
855 <bordermode>noborder</bordermode>
856 <borderradius>1</borderradius>
857 <borderwidth>1</borderwidth>
858 </bsbObject>
859 <bsbObject version="2" type="BSBLabel">
860 <objectName/>
861 <x>530</x>
862 <y>5</y>
863 <width>250</width>
864 <height>35</height>
865 <uuid>{28873f9f-f41a-4961-9ae9-c3948ecc50f0}</uuid>
866 <visible>true</visible>
867 <midichan>0</midichan>
868 <midicc>0</midicc>
869 <label>Phase Modulation Synthesis</label>
870 <alignment>center</alignment>
871 <font>Liberation Sans</font>
872 <fontsize>18</fontsize>
873 <precision>3</precision>
874 <color>
875 <r>255</r>
876 <g>255</g>
877 <b>255</b>
878 </color>
879 <bgcolor mode="nobackground">
880 <r>255</r>
881 <g>255</g>
882 <b>255</b>
883 </bgcolor>
884 <bordermode>noborder</bordermode>
885 <borderradius>1</borderradius>
886 <borderwidth>1</borderwidth>
887 </bsbObject>
888 <bsbObject version="2" type="BSBDisplay">
889 <objectName>Modulation_Index_1</objectName>
890 <x>448</x>
891 <y>126</y>
892 <width>60</width>
893 <height>30</height>
894 <uuid>{eb489cb5-93a5-43ca-bd05-14ec2a67e140}</uuid>
895 <visible>true</visible>
896 <midichan>0</midichan>
897 <midicc>0</midicc>
898 <label>1.000</label>
899 <alignment>right</alignment>
900 <font>Liberation Sans</font>
901 <fontsize>9</fontsize>
902 <precision>3</precision>
903 <color>
904 <r>255</r>
905 <g>255</g>
906 <b>255</b>
907 </color>
908 <bgcolor mode="nobackground">
909 <r>255</r>
910 <g>255</g>
911 <b>255</b>
912 </bgcolor>
913 <bordermode>noborder</bordermode>
914 <borderradius>1</borderradius>
915 <borderwidth>1</borderwidth>
916 </bsbObject>
917 </bsbPanel>
918 <bsbPresets>
919 </bsbPresets>
920 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>