Debian Codegraph @

src/Examples/McCurdy Collection/Modulation/PhaseModulationSynthesisMMM_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: 3 parallel modulators-> 1 carrier
13 ;-------------------------------------------------------------
14
15 ; +---------+ +---------+ +---------+
16 ; | MOD. 1 | | MOD. 2 | | MOD. 3 |
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 = 10 ;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 gkindex3 invalue "Modulation_Index_3"
54 gkCarRatio invalue "Carrier_Frequency"
55 gkModRatio1 invalue "Modulator1_Frequency"
56 gkModRatio2 invalue "Modulator2_Frequency"
57 gkModRatio3 invalue "Modulator3_Frequency"
58 gkCarAmp invalue "Carrier_Amplitude"
59 endif
60 endin
61
62 instr 1 ;FM INSTRUMENT
63 if p4!=0 then ;MIDI
64 ioct = p4 ;READ OCT VALUE FROM MIDI INPUT
65 iamp = p5 ;READ midi-velocity-amp FROM MIDI INPUT
66 kCarAmp = iamp * gkCarAmp ;SET AMPLITUDE TO RECEIVED p5 (I.E. MIDI VELOCITY) MULTIPLIED BY SLIDER "Carrier_Amplitude"
67 kindex1 = iamp * gkindex1
68 kindex2 = iamp * gkindex2
69 kindex3 = iamp * gkindex3
70 ;PITCH BEND===========================================================================================================================================================
71 iSemitoneBendRange = 4 ;PITCH BEND RANGE IN SEMITONES
72 imin = 0 ;EQUILIBRIUM POSITION
73 imax = iSemitoneBendRange * .0833333 ;MAX PITCH DISPLACEMENT (IN oct FORMAT)
74 kbend pchbend imin, imax ;PITCH BEND VARIABLE (IN oct FORMAT)
75 kbasefreq = cpsoct(ioct + kbend) ;SET FUNDEMENTAL FROM MIDI
76 ;=====================================================================================================================================================================
77 else ;GUI
78 kbasefreq = gkbasefreq ;SET FUNDEMENTAL FROM GUI SLIDER "Base_Frequency"
79 kCarAmp = gkCarAmp ;SET kamp TO SLIDER VALUE "Carrier_Amplitude"
80 kindex1 = gkindex1
81 kindex2 = gkindex2
82 kindex3 = gkindex3
83 endif
84
85 iporttime = .01 ;PORTAMENTO FUNCTION (WILL BE USED TO SMOOTH PARAMETER MOVED BY WIDGETS)
86 kporttime linseg 0,.001,iporttime,1,iporttime ;PORTAMENTO FUNCTION (WILL BE USED TO SMOOTH PARAMETER MOVED BY WIDGETS)
87
88 kindex1 portk kindex1, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kindex'
89 kindex2 portk kindex2, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kindex'
90 kindex3 portk kindex3, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kindex'
91 kbasefreq portk kbasefreq, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kbasefreq'
92 kCarAmp portk kCarAmp, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'gkCarAmp'
93
94 aModPhase1 phasor kbasefreq * gkModRatio1 ;CREATE A MOVING PHASE VALUE THAT WILL BE USED TO READ CREATE MODULATOR 1
95 aModulator1 tablei aModPhase1,gisine,1,0,1 ;MODULATOR 1 IS CREATED.
96 aModulator1 = aModulator1*kindex1 ;MODULATOR 1 AMPLITUDE RESCALED
97
98 aModPhase2 phasor kbasefreq * gkModRatio2 ;CREATE A MOVING PHASE VALUE THAT WILL BE USED TO READ CREATE MODULATOR 2
99 aModulator2 tablei aModPhase2,gisine,1,0,1 ;MODULATOR 2 IS CREATED
100 aModulator2 = aModulator2 * kindex2 ;MODULATOR 2 AMPLITUDE RESCALED
101
102 aModPhase3 phasor kbasefreq * gkModRatio3 ;CREATE A MOVING PHASE VALUE THAT WILL BE USED TO READ CREATE MODULATOR 3
103 aModulator3 tablei aModPhase3,gisine,1,0,1 ;MODULATOR 3 IS CREATED
104 aModulator3 = aModulator3 * kindex3 ;MODULATOR 3 AMPLITUDE RESCALED
105
106 aCarrPhase phasor kbasefreq * gkCarRatio ;CREATE A MOVING PHASE VALUE THAT WILL BE USED TO CREATE THE CARRIER
107 aCarrPhase = aCarrPhase + aModulator1 + aModulator2 + aModulator3 ;ALL 3 MODULATORS ARE ADDED TO CARRIER PHASE VARIABLE
108 aCarrier tablei aCarrPhase,gisine,1,0,1 ;MODULATOR OSCILLATOR IS CREATED
109 aAntiClick linsegr 0,0.001,1,0.01,0 ;ANTI CLICK ENVELOPE
110 aCarrier = aCarrier*kCarAmp*aAntiClick ;CARRIER AMPLITUDE IS RESCALED
111 outs aCarrier, aCarrier ;SEND THE AUDIO OUTPUT OF THE CARRIER WAVEFORM *ONLY* TO THE OUTPUTS
112 endin
113
114 instr 2 ;INIT
115 outvalue "_SetPresetIndex", 0
116 endin
117 </CsInstruments>
118 <CsScore>
119 ;INSTR | START | DURATION
120 i 10 0 3600 ;GUI
121 i 2 0.1 0 ;INIT
122 </CsScore>
123 </CsoundSynthesizer>
124
125 <bsbPanel>
126 <label>Widgets</label>
127 <objectName/>
128 <x>292</x>
129 <y>159</y>
130 <width>805</width>
131 <height>402</height>
132 <visible>true</visible>
133 <uuid/>
134 <bgcolor mode="background">
135 <r>241</r>
136 <g>226</g>
137 <b>185</b>
138 </bgcolor>
139 <bsbObject version="2" type="BSBLabel">
140 <objectName/>
141 <x>2</x>
142 <y>2</y>
143 <width>513</width>
144 <height>400</height>
145 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
146 <visible>true</visible>
147 <midichan>0</midichan>
148 <midicc>0</midicc>
149 <label/>
150 <alignment>center</alignment>
151 <font>DejaVu Sans</font>
152 <fontsize>18</fontsize>
153 <precision>3</precision>
154 <color>
155 <r>255</r>
156 <g>255</g>
157 <b>255</b>
158 </color>
159 <bgcolor mode="background">
160 <r>5</r>
161 <g>27</g>
162 <b>150</b>
163 </bgcolor>
164 <bordermode>border</bordermode>
165 <borderradius>5</borderradius>
166 <borderwidth>2</borderwidth>
167 </bsbObject>
168 <bsbObject version="2" type="BSBLabel">
169 <objectName/>
170 <x>514</x>
171 <y>2</y>
172 <width>287</width>
173 <height>400</height>
174 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
175 <visible>true</visible>
176 <midichan>0</midichan>
177 <midicc>0</midicc>
178 <label/>
179 <alignment>center</alignment>
180 <font>DejaVu Sans</font>
181 <fontsize>18</fontsize>
182 <precision>3</precision>
183 <color>
184 <r>255</r>
185 <g>255</g>
186 <b>255</b>
187 </color>
188 <bgcolor mode="background">
189 <r>5</r>
190 <g>27</g>
191 <b>150</b>
192 </bgcolor>
193 <bordermode>border</bordermode>
194 <borderradius>5</borderradius>
195 <borderwidth>2</borderwidth>
196 </bsbObject>
197 <bsbObject version="2" type="BSBLabel">
198 <objectName/>
199 <x>524</x>
200 <y>67</y>
201 <width>268</width>
202 <height>236</height>
203 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
204 <visible>true</visible>
205 <midichan>0</midichan>
206 <midicc>0</midicc>
207 <label>--------------------------------------------------------------------
208 An implementation of phase modulation synthesis in which 3 parallel modulators modulate a single carrier.</label>
209 <alignment>left</alignment>
210 <font>Liberation Sans</font>
211 <fontsize>14</fontsize>
212 <precision>3</precision>
213 <color>
214 <r>255</r>
215 <g>255</g>
216 <b>255</b>
217 </color>
218 <bgcolor mode="nobackground">
219 <r>255</r>
220 <g>255</g>
221 <b>255</b>
222 </bgcolor>
223 <bordermode>noborder</bordermode>
224 <borderradius>1</borderradius>
225 <borderwidth>1</borderwidth>
226 </bsbObject>
227 <bsbObject version="2" type="BSBButton">
228 <objectName/>
229 <x>8</x>
230 <y>6</y>
231 <width>124</width>
232 <height>30</height>
233 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
234 <visible>true</visible>
235 <midichan>0</midichan>
236 <midicc>0</midicc>
237 <type>event</type>
238 <pressedValue>1.00000000</pressedValue>
239 <stringvalue/>
240 <text> ON / OFF (MIDI)</text>
241 <image>/</image>
242 <eventLine>i 1 0 -1</eventLine>
243 <latch>true</latch>
244 <latched>false</latched>
245 </bsbObject>
246 <bsbObject version="2" type="BSBDisplay">
247 <objectName>Carrier_Amplitude</objectName>
248 <x>448</x>
249 <y>371</y>
250 <width>60</width>
251 <height>30</height>
252 <uuid>{745d6bee-b951-4a03-9fe8-9e10d5ae4556}</uuid>
253 <visible>true</visible>
254 <midichan>0</midichan>
255 <midicc>0</midicc>
256 <label>0.300</label>
257 <alignment>right</alignment>
258 <font>Arial</font>
259 <fontsize>9</fontsize>
260 <precision>3</precision>
261 <color>
262 <r>255</r>
263 <g>255</g>
264 <b>255</b>
265 </color>
266 <bgcolor mode="nobackground">
267 <r>255</r>
268 <g>255</g>
269 <b>255</b>
270 </bgcolor>
271 <bordermode>noborder</bordermode>
272 <borderradius>1</borderradius>
273 <borderwidth>1</borderwidth>
274 </bsbObject>
275 <bsbObject version="2" type="BSBHSlider">
276 <objectName>Carrier_Amplitude</objectName>
277 <x>8</x>
278 <y>348</y>
279 <width>500</width>
280 <height>27</height>
281 <uuid>{06814721-6151-4baa-84e2-8f39843b07a4}</uuid>
282 <visible>true</visible>
283 <midichan>0</midichan>
284 <midicc>0</midicc>
285 <minimum>0.00000000</minimum>
286 <maximum>1.00000000</maximum>
287 <value>0.30000001</value>
288 <mode>lin</mode>
289 <mouseControl act="jump">continuous</mouseControl>
290 <resolution>-1.00000000</resolution>
291 <randomizable group="0">false</randomizable>
292 </bsbObject>
293 <bsbObject version="2" type="BSBLabel">
294 <objectName/>
295 <x>8</x>
296 <y>371</y>
297 <width>180</width>
298 <height>30</height>
299 <uuid>{c6d7165c-6730-426f-b293-52b411bc73cf}</uuid>
300 <visible>true</visible>
301 <midichan>0</midichan>
302 <midicc>0</midicc>
303 <label>Carrier Amplitude</label>
304 <alignment>left</alignment>
305 <font>Arial</font>
306 <fontsize>10</fontsize>
307 <precision>3</precision>
308 <color>
309 <r>255</r>
310 <g>255</g>
311 <b>255</b>
312 </color>
313 <bgcolor mode="nobackground">
314 <r>255</r>
315 <g>255</g>
316 <b>255</b>
317 </bgcolor>
318 <bordermode>noborder</bordermode>
319 <borderradius>1</borderradius>
320 <borderwidth>1</borderwidth>
321 </bsbObject>
322 <bsbObject version="2" type="BSBLabel">
323 <objectName/>
324 <x>7</x>
325 <y>249</y>
326 <width>502</width>
327 <height>84</height>
328 <uuid>{53a95371-23f7-4d54-a6c6-63bbabdb388d}</uuid>
329 <visible>true</visible>
330 <midichan>0</midichan>
331 <midicc>0</midicc>
332 <label/>
333 <alignment>left</alignment>
334 <font>Liberation Sans</font>
335 <fontsize>10</fontsize>
336 <precision>3</precision>
337 <color>
338 <r>255</r>
339 <g>255</g>
340 <b>255</b>
341 </color>
342 <bgcolor mode="nobackground">
343 <r>255</r>
344 <g>255</g>
345 <b>255</b>
346 </bgcolor>
347 <bordermode>border</bordermode>
348 <borderradius>1</borderradius>
349 <borderwidth>1</borderwidth>
350 </bsbObject>
351 <bsbObject version="2" type="BSBLabel">
352 <objectName/>
353 <x>116</x>
354 <y>251</y>
355 <width>32</width>
356 <height>46</height>
357 <uuid>{81ded06c-d53f-4a6d-a597-5f1b68b18042}</uuid>
358 <visible>true</visible>
359 <midichan>0</midichan>
360 <midicc>0</midicc>
361 <label>:</label>
362 <alignment>center</alignment>
363 <font>DejaVu Sans</font>
364 <fontsize>27</fontsize>
365 <precision>3</precision>
366 <color>
367 <r>255</r>
368 <g>255</g>
369 <b>255</b>
370 </color>
371 <bgcolor mode="nobackground">
372 <r>255</r>
373 <g>255</g>
374 <b>255</b>
375 </bgcolor>
376 <bordermode>noborder</bordermode>
377 <borderradius>1</borderradius>
378 <borderwidth>1</borderwidth>
379 </bsbObject>
380 <bsbObject version="2" type="BSBSpinBox">
381 <objectName>Modulator1_Frequency</objectName>
382 <x>32</x>
383 <y>261</y>
384 <width>80</width>
385 <height>28</height>
386 <uuid>{6f8fc775-201d-40f9-931b-687c9b3ef417}</uuid>
387 <visible>true</visible>
388 <midichan>0</midichan>
389 <midicc>0</midicc>
390 <alignment>left</alignment>
391 <font>Liberation Sans</font>
392 <fontsize>14</fontsize>
393 <color>
394 <r>0</r>
395 <g>0</g>
396 <b>0</b>
397 </color>
398 <bgcolor mode="nobackground">
399 <r>255</r>
400 <g>255</g>
401 <b>255</b>
402 </bgcolor>
403 <resolution>0.00010000</resolution>
404 <minimum>0.125</minimum>
405 <maximum>8</maximum>
406 <randomizable group="0">false</randomizable>
407 <value>0.125</value>
408 </bsbObject>
409 <bsbObject version="2" type="BSBSpinBox">
410 <objectName>Modulator2_Frequency</objectName>
411 <x>155</x>
412 <y>261</y>
413 <width>80</width>
414 <height>28</height>
415 <uuid>{fd4b783c-f008-4a1c-b2e6-50340aad9093}</uuid>
416 <visible>true</visible>
417 <midichan>0</midichan>
418 <midicc>0</midicc>
419 <alignment>left</alignment>
420 <font>Liberation Sans</font>
421 <fontsize>14</fontsize>
422 <color>
423 <r>0</r>
424 <g>0</g>
425 <b>0</b>
426 </color>
427 <bgcolor mode="nobackground">
428 <r>255</r>
429 <g>255</g>
430 <b>255</b>
431 </bgcolor>
432 <resolution>0.00010000</resolution>
433 <minimum>0.125</minimum>
434 <maximum>8</maximum>
435 <randomizable group="0">false</randomizable>
436 <value>0.125</value>
437 </bsbObject>
438 <bsbObject version="2" type="BSBLabel">
439 <objectName/>
440 <x>32</x>
441 <y>289</y>
442 <width>70</width>
443 <height>50</height>
444 <uuid>{d7a84933-3d3a-4adf-8289-84a4413362a7}</uuid>
445 <visible>true</visible>
446 <midichan>0</midichan>
447 <midicc>0</midicc>
448 <label>Modulator 1
449 Frequency</label>
450 <alignment>center</alignment>
451 <font>Liberation Sans</font>
452 <fontsize>10</fontsize>
453 <precision>3</precision>
454 <color>
455 <r>255</r>
456 <g>255</g>
457 <b>255</b>
458 </color>
459 <bgcolor mode="nobackground">
460 <r>255</r>
461 <g>255</g>
462 <b>255</b>
463 </bgcolor>
464 <bordermode>noborder</bordermode>
465 <borderradius>1</borderradius>
466 <borderwidth>1</borderwidth>
467 </bsbObject>
468 <bsbObject version="2" type="BSBLabel">
469 <objectName/>
470 <x>279</x>
471 <y>289</y>
472 <width>70</width>
473 <height>50</height>
474 <uuid>{7723878b-fcac-4444-84a2-a4ba87008431}</uuid>
475 <visible>true</visible>
476 <midichan>0</midichan>
477 <midicc>0</midicc>
478 <label>Modulator 3
479 Frequency</label>
480 <alignment>center</alignment>
481 <font>Liberation Sans</font>
482 <fontsize>10</fontsize>
483 <precision>3</precision>
484 <color>
485 <r>255</r>
486 <g>255</g>
487 <b>255</b>
488 </color>
489 <bgcolor mode="nobackground">
490 <r>255</r>
491 <g>255</g>
492 <b>255</b>
493 </bgcolor>
494 <bordermode>noborder</bordermode>
495 <borderradius>1</borderradius>
496 <borderwidth>1</borderwidth>
497 </bsbObject>
498 <bsbObject version="2" type="BSBLabel">
499 <objectName/>
500 <x>8</x>
501 <y>86</y>
502 <width>180</width>
503 <height>30</height>
504 <uuid>{541ace1b-b1de-4c04-8d84-1de90288dded}</uuid>
505 <visible>true</visible>
506 <midichan>0</midichan>
507 <midicc>0</midicc>
508 <label>Base Frequency</label>
509 <alignment>left</alignment>
510 <font>Liberation Sans</font>
511 <fontsize>10</fontsize>
512 <precision>3</precision>
513 <color>
514 <r>255</r>
515 <g>255</g>
516 <b>255</b>
517 </color>
518 <bgcolor mode="nobackground">
519 <r>255</r>
520 <g>255</g>
521 <b>255</b>
522 </bgcolor>
523 <bordermode>noborder</bordermode>
524 <borderradius>1</borderradius>
525 <borderwidth>1</borderwidth>
526 </bsbObject>
527 <bsbObject version="2" type="BSBHSlider">
528 <objectName>Base_Frequency</objectName>
529 <x>8</x>
530 <y>63</y>
531 <width>500</width>
532 <height>27</height>
533 <uuid>{eac88081-deaa-45c0-b896-32a3ffedc74a}</uuid>
534 <visible>true</visible>
535 <midichan>0</midichan>
536 <midicc>0</midicc>
537 <minimum>0.00000000</minimum>
538 <maximum>1.00000000</maximum>
539 <value>0.23295900</value>
540 <mode>lin</mode>
541 <mouseControl act="jump">continuous</mouseControl>
542 <resolution>-1.00000000</resolution>
543 <randomizable group="0">false</randomizable>
544 </bsbObject>
545 <bsbObject version="2" type="BSBDisplay">
546 <objectName>Base_Frequency_Value</objectName>
547 <x>448</x>
548 <y>86</y>
549 <width>60</width>
550 <height>30</height>
551 <uuid>{3be43919-ad18-4aef-b554-03c4b4d991c3}</uuid>
552 <visible>true</visible>
553 <midichan>0</midichan>
554 <midicc>0</midicc>
555 <label>100.000</label>
556 <alignment>right</alignment>
557 <font>Liberation Sans</font>
558 <fontsize>9</fontsize>
559 <precision>3</precision>
560 <color>
561 <r>255</r>
562 <g>255</g>
563 <b>255</b>
564 </color>
565 <bgcolor mode="nobackground">
566 <r>255</r>
567 <g>255</g>
568 <b>255</b>
569 </bgcolor>
570 <bordermode>noborder</bordermode>
571 <borderradius>1</borderradius>
572 <borderwidth>1</borderwidth>
573 </bsbObject>
574 <bsbObject version="2" type="BSBLabel">
575 <objectName/>
576 <x>8</x>
577 <y>129</y>
578 <width>180</width>
579 <height>30</height>
580 <uuid>{0c691576-66a5-4aa6-a82c-48f930da9708}</uuid>
581 <visible>true</visible>
582 <midichan>0</midichan>
583 <midicc>0</midicc>
584 <label>Modulation Index 1</label>
585 <alignment>left</alignment>
586 <font>Liberation Sans</font>
587 <fontsize>10</fontsize>
588 <precision>3</precision>
589 <color>
590 <r>255</r>
591 <g>255</g>
592 <b>255</b>
593 </color>
594 <bgcolor mode="nobackground">
595 <r>255</r>
596 <g>255</g>
597 <b>255</b>
598 </bgcolor>
599 <bordermode>noborder</bordermode>
600 <borderradius>1</borderradius>
601 <borderwidth>1</borderwidth>
602 </bsbObject>
603 <bsbObject version="2" type="BSBHSlider">
604 <objectName>Modulation_Index_1</objectName>
605 <x>8</x>
606 <y>106</y>
607 <width>500</width>
608 <height>27</height>
609 <uuid>{9cf53cef-488f-4075-b87f-dc2c3e6a21e6}</uuid>
610 <visible>true</visible>
611 <midichan>0</midichan>
612 <midicc>0</midicc>
613 <minimum>0.00000000</minimum>
614 <maximum>5.00000000</maximum>
615 <value>0.50000000</value>
616 <mode>lin</mode>
617 <mouseControl act="jump">continuous</mouseControl>
618 <resolution>-1.00000000</resolution>
619 <randomizable group="0">false</randomizable>
620 </bsbObject>
621 <bsbObject version="2" type="BSBDisplay">
622 <objectName>Modulation_Index_2</objectName>
623 <x>448</x>
624 <y>171</y>
625 <width>60</width>
626 <height>30</height>
627 <uuid>{c03c8ac7-b287-4328-8e07-bbf81f16291a}</uuid>
628 <visible>true</visible>
629 <midichan>0</midichan>
630 <midicc>0</midicc>
631 <label>0.500</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>255</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>Modulation_Index_2</objectName>
652 <x>8</x>
653 <y>148</y>
654 <width>500</width>
655 <height>27</height>
656 <uuid>{9e41022a-6d97-415e-82ef-dafd223f6de8}</uuid>
657 <visible>true</visible>
658 <midichan>0</midichan>
659 <midicc>0</midicc>
660 <minimum>0.00000000</minimum>
661 <maximum>5.00000000</maximum>
662 <value>0.50000000</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>171</y>
672 <width>180</width>
673 <height>30</height>
674 <uuid>{dd30e1bc-c2a4-4d61-8df6-fafe394c7687}</uuid>
675 <visible>true</visible>
676 <midichan>0</midichan>
677 <midicc>0</midicc>
678 <label>Modulation Index 2</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>255</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="BSBLabel">
698 <objectName/>
699 <x>156</x>
700 <y>289</y>
701 <width>70</width>
702 <height>50</height>
703 <uuid>{a41c9bd7-bf11-4aeb-99d0-39e0949d0da0}</uuid>
704 <visible>true</visible>
705 <midichan>0</midichan>
706 <midicc>0</midicc>
707 <label>Modulator 2
708 Frequency</label>
709 <alignment>center</alignment>
710 <font>Liberation Sans</font>
711 <fontsize>10</fontsize>
712 <precision>3</precision>
713 <color>
714 <r>255</r>
715 <g>255</g>
716 <b>255</b>
717 </color>
718 <bgcolor mode="nobackground">
719 <r>255</r>
720 <g>255</g>
721 <b>255</b>
722 </bgcolor>
723 <bordermode>noborder</bordermode>
724 <borderradius>1</borderradius>
725 <borderwidth>1</borderwidth>
726 </bsbObject>
727 <bsbObject version="2" type="BSBSpinBox">
728 <objectName>Modulator3_Frequency</objectName>
729 <x>279</x>
730 <y>261</y>
731 <width>80</width>
732 <height>28</height>
733 <uuid>{4613a393-76fd-495c-8e3b-95f1257e8326}</uuid>
734 <visible>true</visible>
735 <midichan>0</midichan>
736 <midicc>0</midicc>
737 <alignment>left</alignment>
738 <font>Liberation Sans</font>
739 <fontsize>14</fontsize>
740 <color>
741 <r>0</r>
742 <g>0</g>
743 <b>0</b>
744 </color>
745 <bgcolor mode="nobackground">
746 <r>255</r>
747 <g>255</g>
748 <b>255</b>
749 </bgcolor>
750 <resolution>0.00010000</resolution>
751 <minimum>0.125</minimum>
752 <maximum>8</maximum>
753 <randomizable group="0">false</randomizable>
754 <value>0.125</value>
755 </bsbObject>
756 <bsbObject version="2" type="BSBLabel">
757 <objectName/>
758 <x>240</x>
759 <y>251</y>
760 <width>32</width>
761 <height>46</height>
762 <uuid>{42146cc9-014a-446b-94e1-296f9c3f8fdb}</uuid>
763 <visible>true</visible>
764 <midichan>0</midichan>
765 <midicc>0</midicc>
766 <label>:</label>
767 <alignment>center</alignment>
768 <font>DejaVu Sans</font>
769 <fontsize>27</fontsize>
770 <precision>3</precision>
771 <color>
772 <r>255</r>
773 <g>255</g>
774 <b>255</b>
775 </color>
776 <bgcolor mode="nobackground">
777 <r>255</r>
778 <g>255</g>
779 <b>255</b>
780 </bgcolor>
781 <bordermode>noborder</bordermode>
782 <borderradius>1</borderradius>
783 <borderwidth>1</borderwidth>
784 </bsbObject>
785 <bsbObject version="2" type="BSBLabel">
786 <objectName/>
787 <x>155</x>
788 <y>5</y>
789 <width>305</width>
790 <height>35</height>
791 <uuid>{c35c6c13-7799-4395-9775-f3006b3eafcb}</uuid>
792 <visible>true</visible>
793 <midichan>0</midichan>
794 <midicc>0</midicc>
795 <label>Phase Modulation Synthesis</label>
796 <alignment>center</alignment>
797 <font>Liberation Sans</font>
798 <fontsize>18</fontsize>
799 <precision>3</precision>
800 <color>
801 <r>255</r>
802 <g>255</g>
803 <b>255</b>
804 </color>
805 <bgcolor mode="nobackground">
806 <r>255</r>
807 <g>255</g>
808 <b>255</b>
809 </bgcolor>
810 <bordermode>noborder</bordermode>
811 <borderradius>1</borderradius>
812 <borderwidth>1</borderwidth>
813 </bsbObject>
814 <bsbObject version="2" type="BSBLabel">
815 <objectName/>
816 <x>114</x>
817 <y>28</y>
818 <width>387</width>
819 <height>31</height>
820 <uuid>{20b81ac9-e24a-4a60-bdb1-2c3bc2c578cf}</uuid>
821 <visible>true</visible>
822 <midichan>0</midichan>
823 <midicc>0</midicc>
824 <label>3 parallel modulators -> carrier</label>
825 <alignment>center</alignment>
826 <font>Liberation Sans</font>
827 <fontsize>18</fontsize>
828 <precision>3</precision>
829 <color>
830 <r>255</r>
831 <g>255</g>
832 <b>255</b>
833 </color>
834 <bgcolor mode="nobackground">
835 <r>255</r>
836 <g>255</g>
837 <b>255</b>
838 </bgcolor>
839 <bordermode>noborder</bordermode>
840 <borderradius>1</borderradius>
841 <borderwidth>1</borderwidth>
842 </bsbObject>
843 <bsbObject version="2" type="BSBLabel">
844 <objectName/>
845 <x>514</x>
846 <y>28</y>
847 <width>288</width>
848 <height>50</height>
849 <uuid>{dd72e305-5880-4889-b044-bf9d9333880b}</uuid>
850 <visible>true</visible>
851 <midichan>0</midichan>
852 <midicc>0</midicc>
853 <label>3 parallel modulators -> carrier</label>
854 <alignment>center</alignment>
855 <font>Liberation Sans</font>
856 <fontsize>18</fontsize>
857 <precision>3</precision>
858 <color>
859 <r>255</r>
860 <g>255</g>
861 <b>255</b>
862 </color>
863 <bgcolor mode="nobackground">
864 <r>255</r>
865 <g>255</g>
866 <b>255</b>
867 </bgcolor>
868 <bordermode>noborder</bordermode>
869 <borderradius>1</borderradius>
870 <borderwidth>1</borderwidth>
871 </bsbObject>
872 <bsbObject version="2" type="BSBLabel">
873 <objectName/>
874 <x>530</x>
875 <y>5</y>
876 <width>250</width>
877 <height>35</height>
878 <uuid>{28873f9f-f41a-4961-9ae9-c3948ecc50f0}</uuid>
879 <visible>true</visible>
880 <midichan>0</midichan>
881 <midicc>0</midicc>
882 <label>Phase Modulation Synthesis</label>
883 <alignment>center</alignment>
884 <font>Liberation Sans</font>
885 <fontsize>18</fontsize>
886 <precision>3</precision>
887 <color>
888 <r>255</r>
889 <g>255</g>
890 <b>255</b>
891 </color>
892 <bgcolor mode="nobackground">
893 <r>255</r>
894 <g>255</g>
895 <b>255</b>
896 </bgcolor>
897 <bordermode>noborder</bordermode>
898 <borderradius>1</borderradius>
899 <borderwidth>1</borderwidth>
900 </bsbObject>
901 <bsbObject version="2" type="BSBDisplay">
902 <objectName>Modulation_Index_1</objectName>
903 <x>448</x>
904 <y>126</y>
905 <width>60</width>
906 <height>30</height>
907 <uuid>{eb489cb5-93a5-43ca-bd05-14ec2a67e140}</uuid>
908 <visible>true</visible>
909 <midichan>0</midichan>
910 <midicc>0</midicc>
911 <label>0.500</label>
912 <alignment>right</alignment>
913 <font>Liberation Sans</font>
914 <fontsize>9</fontsize>
915 <precision>3</precision>
916 <color>
917 <r>255</r>
918 <g>255</g>
919 <b>255</b>
920 </color>
921 <bgcolor mode="nobackground">
922 <r>255</r>
923 <g>255</g>
924 <b>255</b>
925 </bgcolor>
926 <bordermode>noborder</bordermode>
927 <borderradius>1</borderradius>
928 <borderwidth>1</borderwidth>
929 </bsbObject>
930 <bsbObject version="2" type="BSBLabel">
931 <objectName/>
932 <x>8</x>
933 <y>212</y>
934 <width>180</width>
935 <height>30</height>
936 <uuid>{0899ee2c-5b56-43ac-bdcb-6f7ebf7a3abe}</uuid>
937 <visible>true</visible>
938 <midichan>0</midichan>
939 <midicc>0</midicc>
940 <label>Modulation Index 3</label>
941 <alignment>left</alignment>
942 <font>Liberation Sans</font>
943 <fontsize>10</fontsize>
944 <precision>3</precision>
945 <color>
946 <r>255</r>
947 <g>255</g>
948 <b>255</b>
949 </color>
950 <bgcolor mode="nobackground">
951 <r>255</r>
952 <g>255</g>
953 <b>255</b>
954 </bgcolor>
955 <bordermode>noborder</bordermode>
956 <borderradius>1</borderradius>
957 <borderwidth>1</borderwidth>
958 </bsbObject>
959 <bsbObject version="2" type="BSBHSlider">
960 <objectName>Modulation_Index_3</objectName>
961 <x>8</x>
962 <y>189</y>
963 <width>500</width>
964 <height>27</height>
965 <uuid>{80f132ee-cce7-47ca-9f5a-030fa55d6f87}</uuid>
966 <visible>true</visible>
967 <midichan>0</midichan>
968 <midicc>0</midicc>
969 <minimum>0.00000000</minimum>
970 <maximum>5.00000000</maximum>
971 <value>0.50000000</value>
972 <mode>lin</mode>
973 <mouseControl act="jump">continuous</mouseControl>
974 <resolution>-1.00000000</resolution>
975 <randomizable group="0">false</randomizable>
976 </bsbObject>
977 <bsbObject version="2" type="BSBDisplay">
978 <objectName>Modulation_Index_3</objectName>
979 <x>448</x>
980 <y>212</y>
981 <width>60</width>
982 <height>30</height>
983 <uuid>{0fa343db-ee9a-4b5a-af73-ba0dee89a33c}</uuid>
984 <visible>true</visible>
985 <midichan>0</midichan>
986 <midicc>0</midicc>
987 <label>0.500</label>
988 <alignment>right</alignment>
989 <font>Liberation Sans</font>
990 <fontsize>9</fontsize>
991 <precision>3</precision>
992 <color>
993 <r>255</r>
994 <g>255</g>
995 <b>255</b>
996 </color>
997 <bgcolor mode="nobackground">
998 <r>255</r>
999 <g>255</g>
1000 <b>255</b>
1001 </bgcolor>
1002 <bordermode>noborder</bordermode>
1003 <borderradius>1</borderradius>
1004 <borderwidth>1</borderwidth>
1005 </bsbObject>
1006 <bsbObject version="2" type="BSBLabel">
1007 <objectName/>
1008 <x>364</x>
1009 <y>251</y>
1010 <width>32</width>
1011 <height>46</height>
1012 <uuid>{7d516f26-ae69-4f55-adae-0ab8e333e68b}</uuid>
1013 <visible>true</visible>
1014 <midichan>0</midichan>
1015 <midicc>0</midicc>
1016 <label>:</label>
1017 <alignment>center</alignment>
1018 <font>DejaVu Sans</font>
1019 <fontsize>27</fontsize>
1020 <precision>3</precision>
1021 <color>
1022 <r>255</r>
1023 <g>255</g>
1024 <b>255</b>
1025 </color>
1026 <bgcolor mode="nobackground">
1027 <r>255</r>
1028 <g>255</g>
1029 <b>255</b>
1030 </bgcolor>
1031 <bordermode>noborder</bordermode>
1032 <borderradius>1</borderradius>
1033 <borderwidth>1</borderwidth>
1034 </bsbObject>
1035 <bsbObject version="2" type="BSBSpinBox">
1036 <objectName>Carrier_Frequency</objectName>
1037 <x>403</x>
1038 <y>261</y>
1039 <width>80</width>
1040 <height>28</height>
1041 <uuid>{5e7409be-030e-40d3-9a9e-90578c84350f}</uuid>
1042 <visible>true</visible>
1043 <midichan>0</midichan>
1044 <midicc>0</midicc>
1045 <alignment>left</alignment>
1046 <font>Liberation Sans</font>
1047 <fontsize>14</fontsize>
1048 <color>
1049 <r>0</r>
1050 <g>0</g>
1051 <b>0</b>
1052 </color>
1053 <bgcolor mode="nobackground">
1054 <r>255</r>
1055 <g>255</g>
1056 <b>255</b>
1057 </bgcolor>
1058 <resolution>0.00010000</resolution>
1059 <minimum>0.125</minimum>
1060 <maximum>8</maximum>
1061 <randomizable group="0">false</randomizable>
1062 <value>0.125</value>
1063 </bsbObject>
1064 <bsbObject version="2" type="BSBLabel">
1065 <objectName/>
1066 <x>403</x>
1067 <y>289</y>
1068 <width>70</width>
1069 <height>50</height>
1070 <uuid>{13aa6f54-e000-48e9-b8d6-efc1b3c1ce4c}</uuid>
1071 <visible>true</visible>
1072 <midichan>0</midichan>
1073 <midicc>0</midicc>
1074 <label>Carrier
1075 Frequency</label>
1076 <alignment>center</alignment>
1077 <font>Liberation Sans</font>
1078 <fontsize>10</fontsize>
1079 <precision>3</precision>
1080 <color>
1081 <r>255</r>
1082 <g>255</g>
1083 <b>255</b>
1084 </color>
1085 <bgcolor mode="nobackground">
1086 <r>255</r>
1087 <g>255</g>
1088 <b>255</b>
1089 </bgcolor>
1090 <bordermode>noborder</bordermode>
1091 <borderradius>1</borderradius>
1092 <borderwidth>1</borderwidth>
1093 </bsbObject>
1094 </bsbPanel>
1095 <bsbPresets>
1096 <preset name="Init" number="0" >
1097 <value id="{24979132-c53f-4414-ac6b-6b4f503ecfe8}" mode="1" >0.00000000</value>
1098 <value id="{24979132-c53f-4414-ac6b-6b4f503ecfe8}" mode="4" >0</value>
1099 <value id="{745d6bee-b951-4a03-9fe8-9e10d5ae4556}" mode="1" >0.30000001</value>
1100 <value id="{745d6bee-b951-4a03-9fe8-9e10d5ae4556}" mode="4" >0.300</value>
1101 <value id="{06814721-6151-4baa-84e2-8f39843b07a4}" mode="1" >0.30000001</value>
1102 <value id="{6f8fc775-201d-40f9-931b-687c9b3ef417}" mode="1" >1.00100005</value>
1103 <value id="{fd4b783c-f008-4a1c-b2e6-50340aad9093}" mode="1" >1.00300002</value>
1104 <value id="{eac88081-deaa-45c0-b896-32a3ffedc74a}" mode="1" >0.23295900</value>
1105 <value id="{3be43919-ad18-4aef-b554-03c4b4d991c3}" mode="1" >99.99994659</value>
1106 <value id="{3be43919-ad18-4aef-b554-03c4b4d991c3}" mode="4" >100.000</value>
1107 <value id="{9cf53cef-488f-4075-b87f-dc2c3e6a21e6}" mode="1" >0.50000000</value>
1108 <value id="{c03c8ac7-b287-4328-8e07-bbf81f16291a}" mode="1" >0.50000000</value>
1109 <value id="{c03c8ac7-b287-4328-8e07-bbf81f16291a}" mode="4" >0.500</value>
1110 <value id="{9e41022a-6d97-415e-82ef-dafd223f6de8}" mode="1" >0.50000000</value>
1111 <value id="{4613a393-76fd-495c-8e3b-95f1257e8326}" mode="1" >0.99500000</value>
1112 <value id="{eb489cb5-93a5-43ca-bd05-14ec2a67e140}" mode="1" >0.50000000</value>
1113 <value id="{eb489cb5-93a5-43ca-bd05-14ec2a67e140}" mode="4" >0.500</value>
1114 <value id="{80f132ee-cce7-47ca-9f5a-030fa55d6f87}" mode="1" >0.50000000</value>
1115 <value id="{0fa343db-ee9a-4b5a-af73-ba0dee89a33c}" mode="1" >0.50000000</value>
1116 <value id="{0fa343db-ee9a-4b5a-af73-ba0dee89a33c}" mode="4" >0.500</value>
1117 <value id="{5e7409be-030e-40d3-9a9e-90578c84350f}" mode="1" >1.00000000</value>
1118 </preset>
1119 </bsbPresets>
1120 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>