Debian Codegraph @

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