Debian Codegraph @

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

raw
1 ;Written by Iain McCurdy, 2008
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: Modulator(with feedback)->Carrier
13 ;-------------------------------------------------------------
14 ; +------+
15 ; V |
16 ; +--+--+ |
17 ; |MOD.1| |(feedback)
18 ; +--+--+ |
19 ; | |
20 ; +------+
21 ; |
22 ; +--+--+
23 ; |CAR.1|
24 ; +--+--+
25 ; |
26 ; V
27 ; OUT
28
29
30 ;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0 --midi-key-oct=4 --midi-velocity-amp=5
31 <CsoundSynthesizer>
32 <CsOptions>
33
34 </CsOptions>
35 <CsInstruments>
36 sr = 44100 ;SAMPLE RATE
37 ksmps = 1 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
38 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
39 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
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 gkindex invalue "Modulation_Index"
52 gkCarAmp invalue "Carrier_Amplitude"
53 gkFBRatio invalue "Feedback_Ratio"
54 gkCarRatio invalue "Carrier_Frequency"
55 gkModRatio invalue "Modulation_Frequency"
56 gkmode invalue "Mode"
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
66 ;PITCH BEND===========================================================================================================================================================
67 iSemitoneBendRange = 4 ;PITCH BEND RANGE IN SEMITONES
68 imin = 0 ;EQUILIBRIUM POSITION
69 imax = iSemitoneBendRange * .0833333 ;MAX PITCH DISPLACEMENT (IN oct FORMAT)
70 kbend pchbend imin, imax ;PITCH BEND VARIABLE (IN oct FORMAT)
71 kbasefreq = cpsoct(ioct + kbend) ;SET FUNDEMENTAL FROM MIDI
72 ;=====================================================================================================================================================================
73 else ;GUI
74 kbasefreq = gkbasefreq ;SET FUNDEMENTAL FROM GUI SLIDER "Base_Frequency"
75 kCarAmp = gkCarAmp ;SET kamp TO SLIDER VALUE "Carrier_Amplitude"
76 endif
77
78 kpeakdeviation = gkbasefreq * gkindex ;CALCUALATE THE PEAK DEVIATION OF THE MODULATOR FROM THE VALUES GIVEN FOR BASE FREQUENCY AND THE INDEX OF MODULATION
79
80 iporttime = .02 ;PORTAMENTO FUNCTION (WILL BE USED TO SMOOTH PARAMETER MOVED BY WIDGETS)
81 kporttime linseg 0,.001,iporttime,1,iporttime ;PORTAMENTO FUNCTION (WILL BE USED TO SMOOTH PARAMETER MOVED BY WIDGETS)
82
83 kpeakdeviation portk kpeakdeviation, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kpeakdeviation'
84 kindex portk gkindex, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kindex'
85 kbasefreq portk kbasefreq, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kbasefreq'
86 kFBRatio portk gkFBRatio, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kFBratio'
87 kCarAmp portk gkCarAmp, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'gkCarAmp'
88
89 aAntiClick linsegr 0,0.001,1,0.01,0 ;ANTI CLICK ENVELOPE
90
91 if gkmode=0 then ;gkmode=0 ZERO SELECTS PHASE MODULATION SYNTHESIS
92 aFB init 0 ;CREATE AN INITIAL VALUE FOR THE FEEDBACK SIGNAL
93 aModPhase phasor kbasefreq * gkModRatio ;CREATE A MOVING PHASE VALUE THAT WILL BE USED TO READ CREATE THE MODULATOR
94 aModulator tablei aModPhase+aFB,gisine,1,0,1 ;MODULATOR OSCILLATOR IS CREATED. NOTE THAT FEEDBACK SIGNAL IS ADDED TO THE POINTER VARIABLE
95 aFB = aModulator * kFBRatio ;FEEDBACK SIGNAL UPDATED FOR THE NEXT PASS
96 aModulator = aModulator * (kindex*.17) ;MODULATOR RESCALED
97 aCarrPhase phasor kbasefreq * gkCarRatio ;CREATE A MOVING PHASE VALUE THAT WILL BE USED TO READ CREATE THE CARRIER
98 aCarrPhase = aCarrPhase + aModulator ;MODULATOR SIGNAL IS ADDED TO CARRIER PHASE VARIABLE
99 aCarrier tablei aCarrPhase,gisine,1,0,1 ;MODULATOR OSCILLATOR IS CREATED. NOTE THAT FEEDBACK SIGNAL IS ADDED TO THE POINTER VARIABLE
100 aCarrier = aCarrier*kCarAmp*aAntiClick ;CARRIER AMPLITUDE IS RESCALED
101 elseif gkmode=1 then ;gkmode=1 ZERO SELECTS FM SYNTHESIS
102 ;OUTPUT OPCODE AMPLITUDE | FREQUENCY | FUNCTION_TABLE
103 aModulator oscili kpeakdeviation, kbasefreq * gkModRatio, gisine ;DEFINE THE MODULATOR WAVEFORM
104 aCarrier oscili kCarAmp*aAntiClick,(kbasefreq * gkCarRatio) + aModulator, gisine ;DEFINE THE CARRIER WAVEFORM (NOTE HOW ITS FREQUENCY IS MODULATED (THROUGH ADDITION) BY THE AUDIO OUTPUT OF THE MODULATOR WAVEFORM)
105 endif
106 outs aCarrier, aCarrier ;SEND THE AUDIO OUTPUT OF THE CARRIER WAVEFORM *ONLY* TO THE OUTPUTS
107
108 ktrig metro 10 ;CREATE A REPEATING TRIGGER SIGNAL
109 if ktrig = 1 then
110 outvalue "Peak_Dev", kpeakdeviation ;UPDATE VALUE BOX Peak_Dev WITH THE VALUE kpeakdeviation WHENEVER A TRIGGER PULSE IS RECEIVED
111 endif
112 endin
113 </CsInstruments>
114 <CsScore>
115 ;INSTR | START | DURATION
116 i 10 0 3600 ;GUI
117 </CsScore>
118 </CsoundSynthesizer>
119
120 <bsbPanel>
121 <label>Widgets</label>
122 <objectName/>
123 <x>341</x>
124 <y>239</y>
125 <width>776</width>
126 <height>384</height>
127 <visible>true</visible>
128 <uuid/>
129 <bgcolor mode="background">
130 <r>241</r>
131 <g>226</g>
132 <b>185</b>
133 </bgcolor>
134 <bsbObject version="2" type="BSBLabel">
135 <objectName/>
136 <x>2</x>
137 <y>2</y>
138 <width>512</width>
139 <height>380</height>
140 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
141 <visible>true</visible>
142 <midichan>0</midichan>
143 <midicc>0</midicc>
144 <label/>
145 <alignment>center</alignment>
146 <font>DejaVu Sans</font>
147 <fontsize>18</fontsize>
148 <precision>3</precision>
149 <color>
150 <r>255</r>
151 <g>255</g>
152 <b>255</b>
153 </color>
154 <bgcolor mode="background">
155 <r>5</r>
156 <g>27</g>
157 <b>150</b>
158 </bgcolor>
159 <bordermode>border</bordermode>
160 <borderradius>5</borderradius>
161 <borderwidth>2</borderwidth>
162 </bsbObject>
163 <bsbObject version="2" type="BSBLabel">
164 <objectName/>
165 <x>515</x>
166 <y>2</y>
167 <width>258</width>
168 <height>380</height>
169 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
170 <visible>true</visible>
171 <midichan>0</midichan>
172 <midicc>0</midicc>
173 <label/>
174 <alignment>center</alignment>
175 <font>DejaVu Sans</font>
176 <fontsize>18</fontsize>
177 <precision>3</precision>
178 <color>
179 <r>255</r>
180 <g>255</g>
181 <b>255</b>
182 </color>
183 <bgcolor mode="background">
184 <r>5</r>
185 <g>27</g>
186 <b>150</b>
187 </bgcolor>
188 <bordermode>border</bordermode>
189 <borderradius>5</borderradius>
190 <borderwidth>2</borderwidth>
191 </bsbObject>
192 <bsbObject version="2" type="BSBLabel">
193 <objectName/>
194 <x>527</x>
195 <y>78</y>
196 <width>234</width>
197 <height>296</height>
198 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
199 <visible>true</visible>
200 <midichan>0</midichan>
201 <midicc>0</midicc>
202 <label>-------------------------------------------------------------------
203 This example implements phase modulation synthesis with a modulator->carrier pairing and with a feedback loop on the modulator.
204 There is a switch that allows the user to switch between FM synthesis and phase modulation synthesis to allow the user to hear the difference between the two techniques. All controls are common to both methods except 'Feedback Ratio' which is not used in the FM synthesis version.</label>
205 <alignment>left</alignment>
206 <font>Liberation Sans</font>
207 <fontsize>14</fontsize>
208 <precision>3</precision>
209 <color>
210 <r>255</r>
211 <g>255</g>
212 <b>255</b>
213 </color>
214 <bgcolor mode="nobackground">
215 <r>255</r>
216 <g>255</g>
217 <b>255</b>
218 </bgcolor>
219 <bordermode>noborder</bordermode>
220 <borderradius>1</borderradius>
221 <borderwidth>1</borderwidth>
222 </bsbObject>
223 <bsbObject version="2" type="BSBButton">
224 <objectName/>
225 <x>8</x>
226 <y>6</y>
227 <width>124</width>
228 <height>30</height>
229 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
230 <visible>true</visible>
231 <midichan>0</midichan>
232 <midicc>0</midicc>
233 <type>event</type>
234 <pressedValue>1.00000000</pressedValue>
235 <stringvalue/>
236 <text> ON / OFF (MIDI)</text>
237 <image>/</image>
238 <eventLine>i 1 0 -1</eventLine>
239 <latch>true</latch>
240 <latched>false</latched>
241 </bsbObject>
242 <bsbObject version="2" type="BSBDisplay">
243 <objectName>Carrier_Amplitude</objectName>
244 <x>448</x>
245 <y>272</y>
246 <width>60</width>
247 <height>30</height>
248 <uuid>{745d6bee-b951-4a03-9fe8-9e10d5ae4556}</uuid>
249 <visible>true</visible>
250 <midichan>0</midichan>
251 <midicc>0</midicc>
252 <label>0.056</label>
253 <alignment>right</alignment>
254 <font>Arial</font>
255 <fontsize>9</fontsize>
256 <precision>3</precision>
257 <color>
258 <r>255</r>
259 <g>255</g>
260 <b>255</b>
261 </color>
262 <bgcolor mode="nobackground">
263 <r>255</r>
264 <g>255</g>
265 <b>255</b>
266 </bgcolor>
267 <bordermode>noborder</bordermode>
268 <borderradius>1</borderradius>
269 <borderwidth>1</borderwidth>
270 </bsbObject>
271 <bsbObject version="2" type="BSBHSlider">
272 <objectName>Carrier_Amplitude</objectName>
273 <x>8</x>
274 <y>249</y>
275 <width>500</width>
276 <height>27</height>
277 <uuid>{06814721-6151-4baa-84e2-8f39843b07a4}</uuid>
278 <visible>true</visible>
279 <midichan>0</midichan>
280 <midicc>0</midicc>
281 <minimum>0.00000000</minimum>
282 <maximum>1.00000000</maximum>
283 <value>0.05600000</value>
284 <mode>lin</mode>
285 <mouseControl act="jump">continuous</mouseControl>
286 <resolution>-1.00000000</resolution>
287 <randomizable group="0">false</randomizable>
288 </bsbObject>
289 <bsbObject version="2" type="BSBLabel">
290 <objectName/>
291 <x>8</x>
292 <y>272</y>
293 <width>180</width>
294 <height>30</height>
295 <uuid>{c6d7165c-6730-426f-b293-52b411bc73cf}</uuid>
296 <visible>true</visible>
297 <midichan>0</midichan>
298 <midicc>0</midicc>
299 <label>Carrier Amplitude</label>
300 <alignment>left</alignment>
301 <font>Arial</font>
302 <fontsize>10</fontsize>
303 <precision>3</precision>
304 <color>
305 <r>255</r>
306 <g>255</g>
307 <b>255</b>
308 </color>
309 <bgcolor mode="nobackground">
310 <r>255</r>
311 <g>255</g>
312 <b>255</b>
313 </bgcolor>
314 <bordermode>noborder</bordermode>
315 <borderradius>1</borderradius>
316 <borderwidth>1</borderwidth>
317 </bsbObject>
318 <bsbObject version="2" type="BSBLabel">
319 <objectName/>
320 <x>79</x>
321 <y>158</y>
322 <width>236</width>
323 <height>84</height>
324 <uuid>{53a95371-23f7-4d54-a6c6-63bbabdb388d}</uuid>
325 <visible>true</visible>
326 <midichan>0</midichan>
327 <midicc>0</midicc>
328 <label/>
329 <alignment>left</alignment>
330 <font>Arial</font>
331 <fontsize>10</fontsize>
332 <precision>3</precision>
333 <color>
334 <r>255</r>
335 <g>255</g>
336 <b>255</b>
337 </color>
338 <bgcolor mode="nobackground">
339 <r>255</r>
340 <g>255</g>
341 <b>255</b>
342 </bgcolor>
343 <bordermode>border</bordermode>
344 <borderradius>1</borderradius>
345 <borderwidth>1</borderwidth>
346 </bsbObject>
347 <bsbObject version="2" type="BSBLabel">
348 <objectName/>
349 <x>179</x>
350 <y>160</y>
351 <width>32</width>
352 <height>46</height>
353 <uuid>{81ded06c-d53f-4a6d-a597-5f1b68b18042}</uuid>
354 <visible>true</visible>
355 <midichan>0</midichan>
356 <midicc>0</midicc>
357 <label>:</label>
358 <alignment>center</alignment>
359 <font>DejaVu Sans</font>
360 <fontsize>27</fontsize>
361 <precision>3</precision>
362 <color>
363 <r>255</r>
364 <g>255</g>
365 <b>255</b>
366 </color>
367 <bgcolor mode="nobackground">
368 <r>255</r>
369 <g>255</g>
370 <b>255</b>
371 </bgcolor>
372 <bordermode>noborder</bordermode>
373 <borderradius>1</borderradius>
374 <borderwidth>1</borderwidth>
375 </bsbObject>
376 <bsbObject version="2" type="BSBSpinBox">
377 <objectName>Carrier_Frequency</objectName>
378 <x>95</x>
379 <y>170</y>
380 <width>80</width>
381 <height>28</height>
382 <uuid>{6f8fc775-201d-40f9-931b-687c9b3ef417}</uuid>
383 <visible>true</visible>
384 <midichan>0</midichan>
385 <midicc>0</midicc>
386 <alignment>left</alignment>
387 <font>Liberation Sans</font>
388 <fontsize>14</fontsize>
389 <color>
390 <r>0</r>
391 <g>0</g>
392 <b>0</b>
393 </color>
394 <bgcolor mode="nobackground">
395 <r>255</r>
396 <g>255</g>
397 <b>255</b>
398 </bgcolor>
399 <resolution>0.00100000</resolution>
400 <minimum>0.125</minimum>
401 <maximum>8</maximum>
402 <randomizable group="0">false</randomizable>
403 <value>0.125</value>
404 </bsbObject>
405 <bsbObject version="2" type="BSBSpinBox">
406 <objectName>Modulation_Frequency</objectName>
407 <x>218</x>
408 <y>170</y>
409 <width>80</width>
410 <height>28</height>
411 <uuid>{fd4b783c-f008-4a1c-b2e6-50340aad9093}</uuid>
412 <visible>true</visible>
413 <midichan>0</midichan>
414 <midicc>0</midicc>
415 <alignment>left</alignment>
416 <font>Liberation Sans</font>
417 <fontsize>14</fontsize>
418 <color>
419 <r>0</r>
420 <g>0</g>
421 <b>0</b>
422 </color>
423 <bgcolor mode="nobackground">
424 <r>255</r>
425 <g>255</g>
426 <b>255</b>
427 </bgcolor>
428 <resolution>0.00100000</resolution>
429 <minimum>0.125</minimum>
430 <maximum>8</maximum>
431 <randomizable group="0">false</randomizable>
432 <value>0.125</value>
433 </bsbObject>
434 <bsbObject version="2" type="BSBLabel">
435 <objectName/>
436 <x>218</x>
437 <y>199</y>
438 <width>70</width>
439 <height>50</height>
440 <uuid>{d7a84933-3d3a-4adf-8289-84a4413362a7}</uuid>
441 <visible>true</visible>
442 <midichan>0</midichan>
443 <midicc>0</midicc>
444 <label>Modulator
445 Frequency</label>
446 <alignment>center</alignment>
447 <font>Liberation Sans</font>
448 <fontsize>10</fontsize>
449 <precision>3</precision>
450 <color>
451 <r>255</r>
452 <g>255</g>
453 <b>255</b>
454 </color>
455 <bgcolor mode="nobackground">
456 <r>255</r>
457 <g>255</g>
458 <b>255</b>
459 </bgcolor>
460 <bordermode>noborder</bordermode>
461 <borderradius>1</borderradius>
462 <borderwidth>1</borderwidth>
463 </bsbObject>
464 <bsbObject version="2" type="BSBLabel">
465 <objectName/>
466 <x>95</x>
467 <y>199</y>
468 <width>70</width>
469 <height>50</height>
470 <uuid>{7723878b-fcac-4444-84a2-a4ba87008431}</uuid>
471 <visible>true</visible>
472 <midichan>0</midichan>
473 <midicc>0</midicc>
474 <label>Carrier
475 Frequency</label>
476 <alignment>center</alignment>
477 <font>Liberation Sans</font>
478 <fontsize>10</fontsize>
479 <precision>3</precision>
480 <color>
481 <r>255</r>
482 <g>255</g>
483 <b>255</b>
484 </color>
485 <bgcolor mode="nobackground">
486 <r>255</r>
487 <g>255</g>
488 <b>255</b>
489 </bgcolor>
490 <bordermode>noborder</bordermode>
491 <borderradius>1</borderradius>
492 <borderwidth>1</borderwidth>
493 </bsbObject>
494 <bsbObject version="2" type="BSBLabel">
495 <objectName/>
496 <x>8</x>
497 <y>86</y>
498 <width>180</width>
499 <height>30</height>
500 <uuid>{541ace1b-b1de-4c04-8d84-1de90288dded}</uuid>
501 <visible>true</visible>
502 <midichan>0</midichan>
503 <midicc>0</midicc>
504 <label>Base Frequency</label>
505 <alignment>left</alignment>
506 <font>Liberation Sans</font>
507 <fontsize>10</fontsize>
508 <precision>3</precision>
509 <color>
510 <r>255</r>
511 <g>255</g>
512 <b>255</b>
513 </color>
514 <bgcolor mode="nobackground">
515 <r>255</r>
516 <g>255</g>
517 <b>255</b>
518 </bgcolor>
519 <bordermode>noborder</bordermode>
520 <borderradius>1</borderradius>
521 <borderwidth>1</borderwidth>
522 </bsbObject>
523 <bsbObject version="2" type="BSBHSlider">
524 <objectName>Base_Frequency</objectName>
525 <x>8</x>
526 <y>63</y>
527 <width>500</width>
528 <height>27</height>
529 <uuid>{eac88081-deaa-45c0-b896-32a3ffedc74a}</uuid>
530 <visible>true</visible>
531 <midichan>0</midichan>
532 <midicc>0</midicc>
533 <minimum>0.00000000</minimum>
534 <maximum>1.00000000</maximum>
535 <value>0.23200000</value>
536 <mode>lin</mode>
537 <mouseControl act="jump">continuous</mouseControl>
538 <resolution>-1.00000000</resolution>
539 <randomizable group="0">false</randomizable>
540 </bsbObject>
541 <bsbObject version="2" type="BSBDisplay">
542 <objectName>Base_Frequency_Value</objectName>
543 <x>448</x>
544 <y>86</y>
545 <width>60</width>
546 <height>30</height>
547 <uuid>{3be43919-ad18-4aef-b554-03c4b4d991c3}</uuid>
548 <visible>true</visible>
549 <midichan>0</midichan>
550 <midicc>0</midicc>
551 <label>99.349</label>
552 <alignment>right</alignment>
553 <font>Liberation Sans</font>
554 <fontsize>9</fontsize>
555 <precision>3</precision>
556 <color>
557 <r>255</r>
558 <g>255</g>
559 <b>255</b>
560 </color>
561 <bgcolor mode="nobackground">
562 <r>255</r>
563 <g>255</g>
564 <b>255</b>
565 </bgcolor>
566 <bordermode>noborder</bordermode>
567 <borderradius>1</borderradius>
568 <borderwidth>1</borderwidth>
569 </bsbObject>
570 <bsbObject version="2" type="BSBLabel">
571 <objectName/>
572 <x>8</x>
573 <y>129</y>
574 <width>180</width>
575 <height>30</height>
576 <uuid>{0c691576-66a5-4aa6-a82c-48f930da9708}</uuid>
577 <visible>true</visible>
578 <midichan>0</midichan>
579 <midicc>0</midicc>
580 <label>Modulation Index</label>
581 <alignment>left</alignment>
582 <font>Liberation Sans</font>
583 <fontsize>10</fontsize>
584 <precision>3</precision>
585 <color>
586 <r>255</r>
587 <g>255</g>
588 <b>255</b>
589 </color>
590 <bgcolor mode="nobackground">
591 <r>255</r>
592 <g>255</g>
593 <b>255</b>
594 </bgcolor>
595 <bordermode>noborder</bordermode>
596 <borderradius>1</borderradius>
597 <borderwidth>1</borderwidth>
598 </bsbObject>
599 <bsbObject version="2" type="BSBHSlider">
600 <objectName>Modulation_Index</objectName>
601 <x>8</x>
602 <y>106</y>
603 <width>500</width>
604 <height>27</height>
605 <uuid>{9cf53cef-488f-4075-b87f-dc2c3e6a21e6}</uuid>
606 <visible>true</visible>
607 <midichan>0</midichan>
608 <midicc>0</midicc>
609 <minimum>0.00000000</minimum>
610 <maximum>100.00000000</maximum>
611 <value>3.40000000</value>
612 <mode>lin</mode>
613 <mouseControl act="jump">continuous</mouseControl>
614 <resolution>-1.00000000</resolution>
615 <randomizable group="0">false</randomizable>
616 </bsbObject>
617 <bsbObject version="2" type="BSBLabel">
618 <objectName/>
619 <x>155</x>
620 <y>5</y>
621 <width>305</width>
622 <height>35</height>
623 <uuid>{c35c6c13-7799-4395-9775-f3006b3eafcb}</uuid>
624 <visible>true</visible>
625 <midichan>0</midichan>
626 <midicc>0</midicc>
627 <label>Phase Modulation Synthesis</label>
628 <alignment>center</alignment>
629 <font>Liberation Sans</font>
630 <fontsize>18</fontsize>
631 <precision>3</precision>
632 <color>
633 <r>255</r>
634 <g>255</g>
635 <b>255</b>
636 </color>
637 <bgcolor mode="nobackground">
638 <r>255</r>
639 <g>255</g>
640 <b>255</b>
641 </bgcolor>
642 <bordermode>noborder</bordermode>
643 <borderradius>1</borderradius>
644 <borderwidth>1</borderwidth>
645 </bsbObject>
646 <bsbObject version="2" type="BSBLabel">
647 <objectName/>
648 <x>114</x>
649 <y>28</y>
650 <width>387</width>
651 <height>31</height>
652 <uuid>{20b81ac9-e24a-4a60-bdb1-2c3bc2c578cf}</uuid>
653 <visible>true</visible>
654 <midichan>0</midichan>
655 <midicc>0</midicc>
656 <label>Simple Carrier->Modulator(with feedback)</label>
657 <alignment>center</alignment>
658 <font>Liberation Sans</font>
659 <fontsize>18</fontsize>
660 <precision>3</precision>
661 <color>
662 <r>255</r>
663 <g>255</g>
664 <b>255</b>
665 </color>
666 <bgcolor mode="nobackground">
667 <r>255</r>
668 <g>255</g>
669 <b>255</b>
670 </bgcolor>
671 <bordermode>noborder</bordermode>
672 <borderradius>1</borderradius>
673 <borderwidth>1</borderwidth>
674 </bsbObject>
675 <bsbObject version="2" type="BSBLabel">
676 <objectName/>
677 <x>517</x>
678 <y>27</y>
679 <width>249</width>
680 <height>71</height>
681 <uuid>{dd72e305-5880-4889-b044-bf9d9333880b}</uuid>
682 <visible>true</visible>
683 <midichan>0</midichan>
684 <midicc>0</midicc>
685 <label>Simple Carrier->Modulator
686 (with feedback)</label>
687 <alignment>center</alignment>
688 <font>Liberation Sans</font>
689 <fontsize>18</fontsize>
690 <precision>3</precision>
691 <color>
692 <r>255</r>
693 <g>255</g>
694 <b>255</b>
695 </color>
696 <bgcolor mode="nobackground">
697 <r>255</r>
698 <g>255</g>
699 <b>255</b>
700 </bgcolor>
701 <bordermode>noborder</bordermode>
702 <borderradius>1</borderradius>
703 <borderwidth>1</borderwidth>
704 </bsbObject>
705 <bsbObject version="2" type="BSBLabel">
706 <objectName/>
707 <x>518</x>
708 <y>4</y>
709 <width>250</width>
710 <height>35</height>
711 <uuid>{28873f9f-f41a-4961-9ae9-c3948ecc50f0}</uuid>
712 <visible>true</visible>
713 <midichan>0</midichan>
714 <midicc>0</midicc>
715 <label>Phase Modulation Synthesis</label>
716 <alignment>center</alignment>
717 <font>Liberation Sans</font>
718 <fontsize>18</fontsize>
719 <precision>3</precision>
720 <color>
721 <r>255</r>
722 <g>255</g>
723 <b>255</b>
724 </color>
725 <bgcolor mode="nobackground">
726 <r>255</r>
727 <g>255</g>
728 <b>255</b>
729 </bgcolor>
730 <bordermode>noborder</bordermode>
731 <borderradius>1</borderradius>
732 <borderwidth>1</borderwidth>
733 </bsbObject>
734 <bsbObject version="2" type="BSBDisplay">
735 <objectName>Peak_Dev</objectName>
736 <x>397</x>
737 <y>170</y>
738 <width>60</width>
739 <height>28</height>
740 <uuid>{bde34782-49c0-47e9-a5bb-1151657e6610}</uuid>
741 <visible>true</visible>
742 <midichan>0</midichan>
743 <midicc>0</midicc>
744 <label>337.786</label>
745 <alignment>center</alignment>
746 <font>Liberation Sans</font>
747 <fontsize>9</fontsize>
748 <precision>3</precision>
749 <color>
750 <r>0</r>
751 <g>0</g>
752 <b>0</b>
753 </color>
754 <bgcolor mode="background">
755 <r>255</r>
756 <g>255</g>
757 <b>255</b>
758 </bgcolor>
759 <bordermode>border</bordermode>
760 <borderradius>1</borderradius>
761 <borderwidth>1</borderwidth>
762 </bsbObject>
763 <bsbObject version="2" type="BSBLabel">
764 <objectName/>
765 <x>328</x>
766 <y>166</y>
767 <width>80</width>
768 <height>38</height>
769 <uuid>{72e281e6-31e1-429b-8e9b-fddb7a4b7809}</uuid>
770 <visible>true</visible>
771 <midichan>0</midichan>
772 <midicc>0</midicc>
773 <label>Peak
774 Deviation</label>
775 <alignment>center</alignment>
776 <font>Liberation Sans</font>
777 <fontsize>10</fontsize>
778 <precision>3</precision>
779 <color>
780 <r>255</r>
781 <g>255</g>
782 <b>255</b>
783 </color>
784 <bgcolor mode="nobackground">
785 <r>255</r>
786 <g>255</g>
787 <b>255</b>
788 </bgcolor>
789 <bordermode>noborder</bordermode>
790 <borderradius>1</borderradius>
791 <borderwidth>1</borderwidth>
792 </bsbObject>
793 <bsbObject version="2" type="BSBDisplay">
794 <objectName>Modulation_Index</objectName>
795 <x>448</x>
796 <y>129</y>
797 <width>60</width>
798 <height>30</height>
799 <uuid>{0365274e-7611-4acf-a238-86002c301cf8}</uuid>
800 <visible>true</visible>
801 <midichan>0</midichan>
802 <midicc>0</midicc>
803 <label>3.400</label>
804 <alignment>right</alignment>
805 <font>Liberation Sans</font>
806 <fontsize>9</fontsize>
807 <precision>3</precision>
808 <color>
809 <r>255</r>
810 <g>255</g>
811 <b>255</b>
812 </color>
813 <bgcolor mode="nobackground">
814 <r>255</r>
815 <g>255</g>
816 <b>255</b>
817 </bgcolor>
818 <bordermode>noborder</bordermode>
819 <borderradius>1</borderradius>
820 <borderwidth>1</borderwidth>
821 </bsbObject>
822 <bsbObject version="2" type="BSBLabel">
823 <objectName/>
824 <x>8</x>
825 <y>317</y>
826 <width>180</width>
827 <height>30</height>
828 <uuid>{a4ff1577-f924-4663-a2b6-454ad56675a2}</uuid>
829 <visible>true</visible>
830 <midichan>0</midichan>
831 <midicc>0</midicc>
832 <label>Feedback Ratio</label>
833 <alignment>left</alignment>
834 <font>Liberation Sans</font>
835 <fontsize>10</fontsize>
836 <precision>3</precision>
837 <color>
838 <r>255</r>
839 <g>255</g>
840 <b>255</b>
841 </color>
842 <bgcolor mode="nobackground">
843 <r>255</r>
844 <g>255</g>
845 <b>255</b>
846 </bgcolor>
847 <bordermode>noborder</bordermode>
848 <borderradius>1</borderradius>
849 <borderwidth>1</borderwidth>
850 </bsbObject>
851 <bsbObject version="2" type="BSBHSlider">
852 <objectName>Feedback_Ratio</objectName>
853 <x>8</x>
854 <y>294</y>
855 <width>500</width>
856 <height>27</height>
857 <uuid>{88dd26a5-845f-4faa-ab42-21f978a83013}</uuid>
858 <visible>true</visible>
859 <midichan>0</midichan>
860 <midicc>0</midicc>
861 <minimum>0.00000000</minimum>
862 <maximum>1.00000000</maximum>
863 <value>0.10400000</value>
864 <mode>lin</mode>
865 <mouseControl act="jump">continuous</mouseControl>
866 <resolution>-1.00000000</resolution>
867 <randomizable group="0">false</randomizable>
868 </bsbObject>
869 <bsbObject version="2" type="BSBDisplay">
870 <objectName>Feedback_Ratio</objectName>
871 <x>448</x>
872 <y>317</y>
873 <width>60</width>
874 <height>30</height>
875 <uuid>{2f291140-79b3-4b2f-b4d7-549ad78efe23}</uuid>
876 <visible>true</visible>
877 <midichan>0</midichan>
878 <midicc>0</midicc>
879 <label>0.104</label>
880 <alignment>right</alignment>
881 <font>Liberation Sans</font>
882 <fontsize>9</fontsize>
883 <precision>3</precision>
884 <color>
885 <r>255</r>
886 <g>255</g>
887 <b>255</b>
888 </color>
889 <bgcolor mode="nobackground">
890 <r>255</r>
891 <g>255</g>
892 <b>255</b>
893 </bgcolor>
894 <bordermode>noborder</bordermode>
895 <borderradius>1</borderradius>
896 <borderwidth>1</borderwidth>
897 </bsbObject>
898 <bsbObject version="2" type="BSBDropdown">
899 <objectName>Mode</objectName>
900 <x>128</x>
901 <y>338</y>
902 <width>120</width>
903 <height>30</height>
904 <uuid>{dbceb954-f9c2-4ff4-a7f7-d31082949b35}</uuid>
905 <visible>true</visible>
906 <midichan>0</midichan>
907 <midicc>0</midicc>
908 <bsbDropdownItemList>
909 <bsbDropdownItem>
910 <name>Phase</name>
911 <value>0</value>
912 <stringvalue/>
913 </bsbDropdownItem>
914 <bsbDropdownItem>
915 <name> Frequency</name>
916 <value>1</value>
917 <stringvalue/>
918 </bsbDropdownItem>
919 </bsbDropdownItemList>
920 <selectedIndex>0</selectedIndex>
921 <randomizable group="0">false</randomizable>
922 </bsbObject>
923 <bsbObject version="2" type="BSBLabel">
924 <objectName/>
925 <x>249</x>
926 <y>339</y>
927 <width>150</width>
928 <height>29</height>
929 <uuid>{3804ed5b-68c5-47a8-b14b-2e4ce7597356}</uuid>
930 <visible>true</visible>
931 <midichan>0</midichan>
932 <midicc>0</midicc>
933 <label>Modulation Synthesis</label>
934 <alignment>left</alignment>
935 <font>Liberation Sans</font>
936 <fontsize>14</fontsize>
937 <precision>3</precision>
938 <color>
939 <r>255</r>
940 <g>255</g>
941 <b>255</b>
942 </color>
943 <bgcolor mode="nobackground">
944 <r>255</r>
945 <g>255</g>
946 <b>255</b>
947 </bgcolor>
948 <bordermode>noborder</bordermode>
949 <borderradius>1</borderradius>
950 <borderwidth>1</borderwidth>
951 </bsbObject>
952 </bsbPanel>
953 <bsbPresets>
954 </bsbPresets>
955 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>