Debian Codegraph @

src/Examples/McCurdy Collection/Modulation/PhaseModulationSynthesisMMC.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: modulator->modulator->carrier
13 ;-----------------------------------------------------------
14
15 ; +---------+
16 ; | MOD. 1 |
17 ; +----+----+
18 ; |
19 ; +----+----+
20 ; | MOD. 2 |
21 ; +----+----+
22 ; |
23 ; +----+----+
24 ; | CARRIER |
25 ; +----+----+
26 ; |
27 ; V
28 ; OUT
29
30
31 ;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0 --midi-key-oct=4 --midi-velocity-amp=5
32 <CsoundSynthesizer>
33 <CsOptions>
34
35 </CsOptions>
36 <CsInstruments>
37 sr = 44100 ;SAMPLE RATE
38 ksmps = 16 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
39 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
40 0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH
41
42
43 zakinit 2,2
44
45 gisine ftgen 0,0,65537,10,1 ;A SINE WAVE THAT CAN BE REFERENCED BY THE GLOBAL VARIABLE 'gisine'
46 giExp20000 ftgen 0, 0, 129, -25, 0, 20.0, 128, 20000.0 ;TABLES FOR EXP SLIDER
47
48
49 instr 10 ;GUI
50 ktrig metro 10
51 if (ktrig == 1) then
52 kbasefreq invalue "Base_Frequency"
53 gkbasefreq tablei kbasefreq, giExp20000, 1
54 outvalue "Base_Frequency_Value", gkbasefreq
55 gkindex1 invalue "Modulation_Index_1"
56 gkindex2 invalue "Modulation_Index_2"
57
58 gkCarRatio invalue "Carrier_Frequency"
59 gkModRatio1 invalue "Modulator1_Frequency"
60 gkModRatio2 invalue "Modulator2_Frequency"
61 gkCarAmp invalue "Carrier_Amplitude"
62
63 gkChoDep invalue "Chorus_Depth"
64 gkChoRte invalue "Chorus_Rate"
65 gkChoMix invalue "Chorus_Mix"
66 endif
67 endin
68
69 instr 1 ;FM INSTRUMENT
70 if p4!=0 then ;MIDI
71 ioct = p4 ;READ OCT VALUE FROM MIDI INPUT
72 iamp = p5 ;READ midi-velocity-amp FROM MIDI INPUT
73 kCarAmp = iamp * gkCarAmp ;SET AMPLITUDE TO RECEIVED p5 (I.E. MIDI VELOCITY) MULTIPLIED BY SLIDER "Carrier_Amplitude"
74 kindex1 = iamp * gkindex1
75 kindex2 = iamp * gkindex2
76 ;PITCH BEND===========================================================================================================================================================
77 iSemitoneBendRange = 4 ;PITCH BEND RANGE IN SEMITONES
78 imin = 0 ;EQUILIBRIUM POSITION
79 imax = iSemitoneBendRange * .0833333 ;MAX PITCH DISPLACEMENT (IN oct FORMAT)
80 kbend pchbend imin, imax ;PITCH BEND VARIABLE (IN oct FORMAT)
81 kbasefreq = cpsoct(ioct + kbend) ;SET FUNDEMENTAL FROM MIDI
82 ;=====================================================================================================================================================================
83 else ;GUI
84 kbasefreq = gkbasefreq ;SET FUNDEMENTAL FROM GUI SLIDER "Base_Frequency"
85 kCarAmp = gkCarAmp ;SET kamp TO SLIDER VALUE "Carrier_Amplitude"
86 kindex1 = gkindex1
87 kindex2 = gkindex2
88 endif
89
90 iporttime = .01 ;PORTAMENTO FUNCTION (WILL BE USED TO SMOOTH PARAMETER MOVED BY WIDGETS)
91 kporttime linseg 0,.001,iporttime,1,iporttime ;PORTAMENTO FUNCTION (WILL BE USED TO SMOOTH PARAMETER MOVED BY WIDGETS)
92
93 kindex1 portk kindex1, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kindex1'
94 kindex2 portk kindex2, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kindex2'
95 kbasefreq portk kbasefreq, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kbasefreq'
96 kCarAmp portk kCarAmp, kporttime ;APPLY SMOOTHING PORTAMENTO TO THE VARIABLE 'kCarAmp'
97
98 aModPhase1 phasor kbasefreq * gkModRatio1 ;CREATE A MOVING PHASE VALUE THAT WILL BE USED TO READ CREATE MODULATOR 1
99 aModulator1 tablei aModPhase1,gisine,1,0,1 ;MODULATOR 1 IS CREATED
100 aModulator1 = aModulator1*kindex1 ;MODULATOR 1 AMPLITUDE RESCALED
101
102 aModPhase2 phasor kbasefreq * gkModRatio2 ;CREATE A MOVING PHASE VALUE THAT WILL BE USED TO READ CREATE MODULATOR 2
103 aModPhase2 = aModPhase2 + aModulator1 ;MODULATOR 1 SIGNAL IS ADDED TO MODULATOR 2 PHASE VARIABLE
104 aModulator2 tablei aModPhase2,gisine,1,0,1 ;MODULATOR 2 OSCILLATOR IS CREATED
105 aModulator2 = aModulator2 * kindex2 ;MODULATOR 2 AMPLITUDE RESCALED
106
107 aCarrPhase phasor kbasefreq * gkCarRatio ;CREATE A MOVING PHASE VALUE THAT WILL BE USED TO READ CREATE THE CARRIER
108 aCarrPhase = aCarrPhase + aModulator2 ;MODULATOR 2 SIGNAL IS ADDED TO CARRIER PHASE VARIABLE
109 aCarrier tablei aCarrPhase,gisine,1,0,1 ;MODULATOR OSCILLATOR IS CREATED
110 aAntiClick linsegr 0,0.001,1,0.01,0 ;ANTI CLICK ENVELOPE
111 aCarrier = aCarrier*kCarAmp*aAntiClick ;CARRIER AMPLITUDE IS RESCALED
112 zawm aCarrier, 1 ;MIX PM SYNTHESIZED TONES INTO ZAK AUDIO CHANNEL 1
113 endin
114
115 instr 2 ;INIT
116 outvalue "_SetPresetIndex", 0
117 endin
118
119 instr 3 ;CHORUS
120 iporttime = 0.05 ;DEFINE A RAMPING UP VARIABLE THAT WILL BE USED FOR PORTAMENTO TIME
121 kporttime linseg 0,0.01,iporttime,1,iporttime ;DEFINE A RAMPING UP VARIABLE THAT WILL BE USED FOR PORTAMENTO TIME
122 kChoDep portk gkChoDep, kporttime ;APPLY PORTAMENTO SMOOTHING TO SLIDER VARIABLE gkChoDep
123 ain zar 1 ;READ AUDIO FROM ZAK CHANNEL 1
124 ichooffset init .001 ;OFFSET TIME FOR CHORUSING DELAY
125 achodepth interp kChoDep ;CONVERT kChoDep TO A-RATE
126 kchofrq randomi -gkChoRte, gkChoRte, 1 ;CREATE CHORUS RATE VARIABLE AS RANDOMLY MOVING VARIABLE THE RANGE OF WHICH IS DEFINED BY SLIDER 'Chorus Rate'
127 adlt oscili kChoDep * 0.5, kchofrq*gkChoRte, gisine ;CREATE DELAY TIME VARIABLE
128 adlt = adlt + (achodepth * 0.5) + ichooffset ;OFFSET DELAY TIME VARIABLE
129
130 imaxdlt init 1 ;DEFINE MAXIMUM DELAY TIME
131 abuffer delayr 1 ;SET UP DELAY BUFFER
132 atap deltap3 adlt ;READ A DELAY TAP FROM THE BUFFER
133 delayw ain ;WRITE AUDIO INTO BUFFER
134 zawm atap, 2 ;MIX CHORUSED TONES INTO ZAK CHANNEL 2
135 endin
136
137 instr 4 ;AUDIO OUTPUT
138 adry zar 1 ;READ DRY SIGNAL FROM ZAK CHANNEL 1
139 acho zar 2 ;READ CHORUSED AUDIO FROM ZAK CHANNEL 2
140 amix ntrpol adry, acho, gkChoMix ;MIX DRY AND CHORUSED AND AUDIO
141 outs amix, amix ;SEND AUDIO TO OUTPUTS
142 zacl 0,2 ;CLEAR ZAK VARIABLES
143 endin
144 </CsInstruments>
145 <CsScore>
146 ;INSTR | START | DURATION
147 i 10 0 3600 ;GUI
148
149 i 2 0.1 0 ;INIT
150
151 i 3 0 3600 ;CHORUS VOICES
152 i 3 0 3600 ;CHORUS VOICES
153 i 3 0 3600 ;CHORUS VOICES
154 i 3 0 3600 ;CHORUS VOICES
155 i 3 0 3600 ;CHORUS VOICES
156 i 3 0 3600 ;CHORUS VOICES
157 i 3 0 3600 ;CHORUS VOICES
158 i 3 0 3600 ;CHORUS VOICES
159 i 3 0 3600 ;CHORUS VOICES
160 i 4 0 3600 ;AUDIO OUTPUT
161 </CsScore>
162 </CsoundSynthesizer>
163
164 <bsbPanel>
165 <label>Widgets</label>
166 <objectName/>
167 <x>445</x>
168 <y>282</y>
169 <width>802</width>
170 <height>502</height>
171 <visible>true</visible>
172 <uuid/>
173 <bgcolor mode="background">
174 <r>241</r>
175 <g>226</g>
176 <b>185</b>
177 </bgcolor>
178 <bsbObject version="2" type="BSBLabel">
179 <objectName/>
180 <x>2</x>
181 <y>2</y>
182 <width>513</width>
183 <height>500</height>
184 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
185 <visible>true</visible>
186 <midichan>0</midichan>
187 <midicc>0</midicc>
188 <label/>
189 <alignment>center</alignment>
190 <font>DejaVu Sans</font>
191 <fontsize>18</fontsize>
192 <precision>3</precision>
193 <color>
194 <r>255</r>
195 <g>255</g>
196 <b>255</b>
197 </color>
198 <bgcolor mode="background">
199 <r>5</r>
200 <g>27</g>
201 <b>150</b>
202 </bgcolor>
203 <bordermode>border</bordermode>
204 <borderradius>5</borderradius>
205 <borderwidth>2</borderwidth>
206 </bsbObject>
207 <bsbObject version="2" type="BSBLabel">
208 <objectName/>
209 <x>514</x>
210 <y>2</y>
211 <width>280</width>
212 <height>301</height>
213 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
214 <visible>true</visible>
215 <midichan>0</midichan>
216 <midicc>0</midicc>
217 <label/>
218 <alignment>center</alignment>
219 <font>DejaVu Sans</font>
220 <fontsize>18</fontsize>
221 <precision>3</precision>
222 <color>
223 <r>255</r>
224 <g>255</g>
225 <b>255</b>
226 </color>
227 <bgcolor mode="background">
228 <r>5</r>
229 <g>27</g>
230 <b>150</b>
231 </bgcolor>
232 <bordermode>border</bordermode>
233 <borderradius>5</borderradius>
234 <borderwidth>2</borderwidth>
235 </bsbObject>
236 <bsbObject version="2" type="BSBLabel">
237 <objectName/>
238 <x>524</x>
239 <y>67</y>
240 <width>263</width>
241 <height>205</height>
242 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
243 <visible>true</visible>
244 <midichan>0</midichan>
245 <midicc>0</midicc>
246 <label>--------------------------------------------------------------------
247 An implementation of phase modulation synthesis in which a modulator modulates another modulator which in turn modulates a carrier.
248 Additionally the output of the synthesizer is passed through a chorus effect.
249 To bypass this effect set 'Chorus Dry/Wet Mix' to zero.</label>
250 <alignment>left</alignment>
251 <font>Liberation Sans</font>
252 <fontsize>14</fontsize>
253 <precision>3</precision>
254 <color>
255 <r>255</r>
256 <g>255</g>
257 <b>255</b>
258 </color>
259 <bgcolor mode="nobackground">
260 <r>255</r>
261 <g>255</g>
262 <b>255</b>
263 </bgcolor>
264 <bordermode>noborder</bordermode>
265 <borderradius>1</borderradius>
266 <borderwidth>1</borderwidth>
267 </bsbObject>
268 <bsbObject version="2" type="BSBButton">
269 <objectName/>
270 <x>8</x>
271 <y>6</y>
272 <width>124</width>
273 <height>30</height>
274 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
275 <visible>true</visible>
276 <midichan>0</midichan>
277 <midicc>0</midicc>
278 <type>event</type>
279 <pressedValue>1.00000000</pressedValue>
280 <stringvalue/>
281 <text> ON / OFF (MIDI)</text>
282 <image>/</image>
283 <eventLine>i 1 0 -1</eventLine>
284 <latch>true</latch>
285 <latched>false</latched>
286 </bsbObject>
287 <bsbObject version="2" type="BSBDisplay">
288 <objectName>Carrier_Amplitude</objectName>
289 <x>448</x>
290 <y>328</y>
291 <width>60</width>
292 <height>30</height>
293 <uuid>{745d6bee-b951-4a03-9fe8-9e10d5ae4556}</uuid>
294 <visible>true</visible>
295 <midichan>0</midichan>
296 <midicc>0</midicc>
297 <label>0.200</label>
298 <alignment>right</alignment>
299 <font>Arial</font>
300 <fontsize>9</fontsize>
301 <precision>3</precision>
302 <color>
303 <r>255</r>
304 <g>255</g>
305 <b>255</b>
306 </color>
307 <bgcolor mode="nobackground">
308 <r>255</r>
309 <g>255</g>
310 <b>255</b>
311 </bgcolor>
312 <bordermode>noborder</bordermode>
313 <borderradius>1</borderradius>
314 <borderwidth>1</borderwidth>
315 </bsbObject>
316 <bsbObject version="2" type="BSBHSlider">
317 <objectName>Carrier_Amplitude</objectName>
318 <x>8</x>
319 <y>305</y>
320 <width>500</width>
321 <height>27</height>
322 <uuid>{06814721-6151-4baa-84e2-8f39843b07a4}</uuid>
323 <visible>true</visible>
324 <midichan>0</midichan>
325 <midicc>0</midicc>
326 <minimum>0.00000000</minimum>
327 <maximum>1.00000000</maximum>
328 <value>0.20000000</value>
329 <mode>lin</mode>
330 <mouseControl act="jump">continuous</mouseControl>
331 <resolution>-1.00000000</resolution>
332 <randomizable group="0">false</randomizable>
333 </bsbObject>
334 <bsbObject version="2" type="BSBLabel">
335 <objectName/>
336 <x>8</x>
337 <y>328</y>
338 <width>180</width>
339 <height>30</height>
340 <uuid>{c6d7165c-6730-426f-b293-52b411bc73cf}</uuid>
341 <visible>true</visible>
342 <midichan>0</midichan>
343 <midicc>0</midicc>
344 <label>Carrier Amplitude</label>
345 <alignment>left</alignment>
346 <font>Arial</font>
347 <fontsize>10</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="BSBLabel">
364 <objectName/>
365 <x>73</x>
366 <y>201</y>
367 <width>358</width>
368 <height>83</height>
369 <uuid>{53a95371-23f7-4d54-a6c6-63bbabdb388d}</uuid>
370 <visible>true</visible>
371 <midichan>0</midichan>
372 <midicc>0</midicc>
373 <label/>
374 <alignment>left</alignment>
375 <font>Arial</font>
376 <fontsize>10</fontsize>
377 <precision>3</precision>
378 <color>
379 <r>255</r>
380 <g>255</g>
381 <b>255</b>
382 </color>
383 <bgcolor mode="nobackground">
384 <r>255</r>
385 <g>255</g>
386 <b>255</b>
387 </bgcolor>
388 <bordermode>border</bordermode>
389 <borderradius>1</borderradius>
390 <borderwidth>1</borderwidth>
391 </bsbObject>
392 <bsbObject version="2" type="BSBLabel">
393 <objectName/>
394 <x>173</x>
395 <y>203</y>
396 <width>32</width>
397 <height>46</height>
398 <uuid>{81ded06c-d53f-4a6d-a597-5f1b68b18042}</uuid>
399 <visible>true</visible>
400 <midichan>0</midichan>
401 <midicc>0</midicc>
402 <label>:</label>
403 <alignment>center</alignment>
404 <font>DejaVu Sans</font>
405 <fontsize>27</fontsize>
406 <precision>3</precision>
407 <color>
408 <r>255</r>
409 <g>255</g>
410 <b>255</b>
411 </color>
412 <bgcolor mode="nobackground">
413 <r>255</r>
414 <g>255</g>
415 <b>255</b>
416 </bgcolor>
417 <bordermode>noborder</bordermode>
418 <borderradius>1</borderradius>
419 <borderwidth>1</borderwidth>
420 </bsbObject>
421 <bsbObject version="2" type="BSBSpinBox">
422 <objectName>Modulator1_Frequency</objectName>
423 <x>89</x>
424 <y>213</y>
425 <width>80</width>
426 <height>28</height>
427 <uuid>{6f8fc775-201d-40f9-931b-687c9b3ef417}</uuid>
428 <visible>true</visible>
429 <midichan>0</midichan>
430 <midicc>0</midicc>
431 <alignment>left</alignment>
432 <font>Liberation Sans</font>
433 <fontsize>14</fontsize>
434 <color>
435 <r>0</r>
436 <g>0</g>
437 <b>0</b>
438 </color>
439 <bgcolor mode="nobackground">
440 <r>255</r>
441 <g>255</g>
442 <b>255</b>
443 </bgcolor>
444 <resolution>0.00010000</resolution>
445 <minimum>0.125</minimum>
446 <maximum>8</maximum>
447 <randomizable group="0">false</randomizable>
448 <value>0.125</value>
449 </bsbObject>
450 <bsbObject version="2" type="BSBSpinBox">
451 <objectName>Modulator2_Frequency</objectName>
452 <x>212</x>
453 <y>213</y>
454 <width>80</width>
455 <height>28</height>
456 <uuid>{fd4b783c-f008-4a1c-b2e6-50340aad9093}</uuid>
457 <visible>true</visible>
458 <midichan>0</midichan>
459 <midicc>0</midicc>
460 <alignment>left</alignment>
461 <font>Liberation Sans</font>
462 <fontsize>14</fontsize>
463 <color>
464 <r>0</r>
465 <g>0</g>
466 <b>0</b>
467 </color>
468 <bgcolor mode="nobackground">
469 <r>255</r>
470 <g>255</g>
471 <b>255</b>
472 </bgcolor>
473 <resolution>0.00010000</resolution>
474 <minimum>0.125</minimum>
475 <maximum>8</maximum>
476 <randomizable group="0">false</randomizable>
477 <value>0.125</value>
478 </bsbObject>
479 <bsbObject version="2" type="BSBLabel">
480 <objectName/>
481 <x>89</x>
482 <y>241</y>
483 <width>70</width>
484 <height>50</height>
485 <uuid>{d7a84933-3d3a-4adf-8289-84a4413362a7}</uuid>
486 <visible>true</visible>
487 <midichan>0</midichan>
488 <midicc>0</midicc>
489 <label>Modulator 1
490 Frequency</label>
491 <alignment>center</alignment>
492 <font>Liberation Sans</font>
493 <fontsize>10</fontsize>
494 <precision>3</precision>
495 <color>
496 <r>255</r>
497 <g>255</g>
498 <b>255</b>
499 </color>
500 <bgcolor mode="nobackground">
501 <r>255</r>
502 <g>255</g>
503 <b>255</b>
504 </bgcolor>
505 <bordermode>noborder</bordermode>
506 <borderradius>1</borderradius>
507 <borderwidth>1</borderwidth>
508 </bsbObject>
509 <bsbObject version="2" type="BSBLabel">
510 <objectName/>
511 <x>336</x>
512 <y>241</y>
513 <width>70</width>
514 <height>50</height>
515 <uuid>{7723878b-fcac-4444-84a2-a4ba87008431}</uuid>
516 <visible>true</visible>
517 <midichan>0</midichan>
518 <midicc>0</midicc>
519 <label>Carrier
520 Frequency</label>
521 <alignment>center</alignment>
522 <font>Liberation Sans</font>
523 <fontsize>10</fontsize>
524 <precision>3</precision>
525 <color>
526 <r>255</r>
527 <g>255</g>
528 <b>255</b>
529 </color>
530 <bgcolor mode="nobackground">
531 <r>255</r>
532 <g>255</g>
533 <b>255</b>
534 </bgcolor>
535 <bordermode>noborder</bordermode>
536 <borderradius>1</borderradius>
537 <borderwidth>1</borderwidth>
538 </bsbObject>
539 <bsbObject version="2" type="BSBLabel">
540 <objectName/>
541 <x>8</x>
542 <y>86</y>
543 <width>180</width>
544 <height>30</height>
545 <uuid>{541ace1b-b1de-4c04-8d84-1de90288dded}</uuid>
546 <visible>true</visible>
547 <midichan>0</midichan>
548 <midicc>0</midicc>
549 <label>Base Frequency</label>
550 <alignment>left</alignment>
551 <font>Liberation Sans</font>
552 <fontsize>10</fontsize>
553 <precision>3</precision>
554 <color>
555 <r>255</r>
556 <g>255</g>
557 <b>255</b>
558 </color>
559 <bgcolor mode="nobackground">
560 <r>255</r>
561 <g>255</g>
562 <b>255</b>
563 </bgcolor>
564 <bordermode>noborder</bordermode>
565 <borderradius>1</borderradius>
566 <borderwidth>1</borderwidth>
567 </bsbObject>
568 <bsbObject version="2" type="BSBHSlider">
569 <objectName>Base_Frequency</objectName>
570 <x>8</x>
571 <y>63</y>
572 <width>500</width>
573 <height>27</height>
574 <uuid>{eac88081-deaa-45c0-b896-32a3ffedc74a}</uuid>
575 <visible>true</visible>
576 <midichan>0</midichan>
577 <midicc>0</midicc>
578 <minimum>0.00000000</minimum>
579 <maximum>1.00000000</maximum>
580 <value>0.13400000</value>
581 <mode>lin</mode>
582 <mouseControl act="jump">continuous</mouseControl>
583 <resolution>-1.00000000</resolution>
584 <randomizable group="0">false</randomizable>
585 </bsbObject>
586 <bsbObject version="2" type="BSBDisplay">
587 <objectName>Base_Frequency_Value</objectName>
588 <x>448</x>
589 <y>86</y>
590 <width>60</width>
591 <height>30</height>
592 <uuid>{3be43919-ad18-4aef-b554-03c4b4d991c3}</uuid>
593 <visible>true</visible>
594 <midichan>0</midichan>
595 <midicc>0</midicc>
596 <label>50.479</label>
597 <alignment>right</alignment>
598 <font>Liberation Sans</font>
599 <fontsize>9</fontsize>
600 <precision>3</precision>
601 <color>
602 <r>255</r>
603 <g>255</g>
604 <b>255</b>
605 </color>
606 <bgcolor mode="nobackground">
607 <r>255</r>
608 <g>255</g>
609 <b>255</b>
610 </bgcolor>
611 <bordermode>noborder</bordermode>
612 <borderradius>1</borderradius>
613 <borderwidth>1</borderwidth>
614 </bsbObject>
615 <bsbObject version="2" type="BSBLabel">
616 <objectName/>
617 <x>8</x>
618 <y>129</y>
619 <width>180</width>
620 <height>30</height>
621 <uuid>{0c691576-66a5-4aa6-a82c-48f930da9708}</uuid>
622 <visible>true</visible>
623 <midichan>0</midichan>
624 <midicc>0</midicc>
625 <label>Modulation Index 1</label>
626 <alignment>left</alignment>
627 <font>Liberation Sans</font>
628 <fontsize>10</fontsize>
629 <precision>3</precision>
630 <color>
631 <r>255</r>
632 <g>255</g>
633 <b>255</b>
634 </color>
635 <bgcolor mode="nobackground">
636 <r>255</r>
637 <g>255</g>
638 <b>255</b>
639 </bgcolor>
640 <bordermode>noborder</bordermode>
641 <borderradius>1</borderradius>
642 <borderwidth>1</borderwidth>
643 </bsbObject>
644 <bsbObject version="2" type="BSBHSlider">
645 <objectName>Modulation_Index_1</objectName>
646 <x>8</x>
647 <y>106</y>
648 <width>500</width>
649 <height>27</height>
650 <uuid>{9cf53cef-488f-4075-b87f-dc2c3e6a21e6}</uuid>
651 <visible>true</visible>
652 <midichan>0</midichan>
653 <midicc>0</midicc>
654 <minimum>0.00000000</minimum>
655 <maximum>1.00000000</maximum>
656 <value>0.25000000</value>
657 <mode>lin</mode>
658 <mouseControl act="jump">continuous</mouseControl>
659 <resolution>-1.00000000</resolution>
660 <randomizable group="0">false</randomizable>
661 </bsbObject>
662 <bsbObject version="2" type="BSBDisplay">
663 <objectName>Modulation_Index_2</objectName>
664 <x>448</x>
665 <y>171</y>
666 <width>60</width>
667 <height>30</height>
668 <uuid>{c03c8ac7-b287-4328-8e07-bbf81f16291a}</uuid>
669 <visible>true</visible>
670 <midichan>0</midichan>
671 <midicc>0</midicc>
672 <label>0.250</label>
673 <alignment>right</alignment>
674 <font>Liberation Sans</font>
675 <fontsize>9</fontsize>
676 <precision>3</precision>
677 <color>
678 <r>255</r>
679 <g>255</g>
680 <b>255</b>
681 </color>
682 <bgcolor mode="nobackground">
683 <r>255</r>
684 <g>255</g>
685 <b>255</b>
686 </bgcolor>
687 <bordermode>noborder</bordermode>
688 <borderradius>1</borderradius>
689 <borderwidth>1</borderwidth>
690 </bsbObject>
691 <bsbObject version="2" type="BSBHSlider">
692 <objectName>Modulation_Index_2</objectName>
693 <x>8</x>
694 <y>148</y>
695 <width>500</width>
696 <height>27</height>
697 <uuid>{9e41022a-6d97-415e-82ef-dafd223f6de8}</uuid>
698 <visible>true</visible>
699 <midichan>0</midichan>
700 <midicc>0</midicc>
701 <minimum>0.00000000</minimum>
702 <maximum>1.00000000</maximum>
703 <value>0.25000000</value>
704 <mode>lin</mode>
705 <mouseControl act="jump">continuous</mouseControl>
706 <resolution>-1.00000000</resolution>
707 <randomizable group="0">false</randomizable>
708 </bsbObject>
709 <bsbObject version="2" type="BSBLabel">
710 <objectName/>
711 <x>8</x>
712 <y>171</y>
713 <width>180</width>
714 <height>30</height>
715 <uuid>{dd30e1bc-c2a4-4d61-8df6-fafe394c7687}</uuid>
716 <visible>true</visible>
717 <midichan>0</midichan>
718 <midicc>0</midicc>
719 <label>Modulation Index 2</label>
720 <alignment>left</alignment>
721 <font>Liberation Sans</font>
722 <fontsize>10</fontsize>
723 <precision>3</precision>
724 <color>
725 <r>255</r>
726 <g>255</g>
727 <b>255</b>
728 </color>
729 <bgcolor mode="nobackground">
730 <r>255</r>
731 <g>255</g>
732 <b>255</b>
733 </bgcolor>
734 <bordermode>noborder</bordermode>
735 <borderradius>1</borderradius>
736 <borderwidth>1</borderwidth>
737 </bsbObject>
738 <bsbObject version="2" type="BSBLabel">
739 <objectName/>
740 <x>213</x>
741 <y>241</y>
742 <width>70</width>
743 <height>50</height>
744 <uuid>{a41c9bd7-bf11-4aeb-99d0-39e0949d0da0}</uuid>
745 <visible>true</visible>
746 <midichan>0</midichan>
747 <midicc>0</midicc>
748 <label>Modulator 2
749 Frequency</label>
750 <alignment>center</alignment>
751 <font>Liberation Sans</font>
752 <fontsize>10</fontsize>
753 <precision>3</precision>
754 <color>
755 <r>255</r>
756 <g>255</g>
757 <b>255</b>
758 </color>
759 <bgcolor mode="nobackground">
760 <r>255</r>
761 <g>255</g>
762 <b>255</b>
763 </bgcolor>
764 <bordermode>noborder</bordermode>
765 <borderradius>1</borderradius>
766 <borderwidth>1</borderwidth>
767 </bsbObject>
768 <bsbObject version="2" type="BSBSpinBox">
769 <objectName>Carrier_Frequency</objectName>
770 <x>336</x>
771 <y>213</y>
772 <width>80</width>
773 <height>28</height>
774 <uuid>{4613a393-76fd-495c-8e3b-95f1257e8326}</uuid>
775 <visible>true</visible>
776 <midichan>0</midichan>
777 <midicc>0</midicc>
778 <alignment>left</alignment>
779 <font>Liberation Sans</font>
780 <fontsize>14</fontsize>
781 <color>
782 <r>0</r>
783 <g>0</g>
784 <b>0</b>
785 </color>
786 <bgcolor mode="nobackground">
787 <r>255</r>
788 <g>255</g>
789 <b>255</b>
790 </bgcolor>
791 <resolution>0.00010000</resolution>
792 <minimum>0.125</minimum>
793 <maximum>8</maximum>
794 <randomizable group="0">false</randomizable>
795 <value>0.125</value>
796 </bsbObject>
797 <bsbObject version="2" type="BSBLabel">
798 <objectName/>
799 <x>297</x>
800 <y>203</y>
801 <width>32</width>
802 <height>46</height>
803 <uuid>{42146cc9-014a-446b-94e1-296f9c3f8fdb}</uuid>
804 <visible>true</visible>
805 <midichan>0</midichan>
806 <midicc>0</midicc>
807 <label>:</label>
808 <alignment>center</alignment>
809 <font>DejaVu Sans</font>
810 <fontsize>27</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 <bsbObject version="2" type="BSBLabel">
827 <objectName/>
828 <x>155</x>
829 <y>5</y>
830 <width>305</width>
831 <height>35</height>
832 <uuid>{c35c6c13-7799-4395-9775-f3006b3eafcb}</uuid>
833 <visible>true</visible>
834 <midichan>0</midichan>
835 <midicc>0</midicc>
836 <label>Phase Modulation Synthesis</label>
837 <alignment>center</alignment>
838 <font>Liberation Sans</font>
839 <fontsize>18</fontsize>
840 <precision>3</precision>
841 <color>
842 <r>255</r>
843 <g>255</g>
844 <b>255</b>
845 </color>
846 <bgcolor mode="nobackground">
847 <r>255</r>
848 <g>255</g>
849 <b>255</b>
850 </bgcolor>
851 <bordermode>noborder</bordermode>
852 <borderradius>1</borderradius>
853 <borderwidth>1</borderwidth>
854 </bsbObject>
855 <bsbObject version="2" type="BSBLabel">
856 <objectName/>
857 <x>114</x>
858 <y>28</y>
859 <width>387</width>
860 <height>31</height>
861 <uuid>{20b81ac9-e24a-4a60-bdb1-2c3bc2c578cf}</uuid>
862 <visible>true</visible>
863 <midichan>0</midichan>
864 <midicc>0</midicc>
865 <label>modulator->modulator->carrier</label>
866 <alignment>center</alignment>
867 <font>Liberation Sans</font>
868 <fontsize>18</fontsize>
869 <precision>3</precision>
870 <color>
871 <r>255</r>
872 <g>255</g>
873 <b>255</b>
874 </color>
875 <bgcolor mode="nobackground">
876 <r>255</r>
877 <g>255</g>
878 <b>255</b>
879 </bgcolor>
880 <bordermode>noborder</bordermode>
881 <borderradius>1</borderradius>
882 <borderwidth>1</borderwidth>
883 </bsbObject>
884 <bsbObject version="2" type="BSBLabel">
885 <objectName/>
886 <x>514</x>
887 <y>28</y>
888 <width>288</width>
889 <height>50</height>
890 <uuid>{dd72e305-5880-4889-b044-bf9d9333880b}</uuid>
891 <visible>true</visible>
892 <midichan>0</midichan>
893 <midicc>0</midicc>
894 <label>modulator->modulator->carrier</label>
895 <alignment>center</alignment>
896 <font>Liberation Sans</font>
897 <fontsize>18</fontsize>
898 <precision>3</precision>
899 <color>
900 <r>255</r>
901 <g>255</g>
902 <b>255</b>
903 </color>
904 <bgcolor mode="nobackground">
905 <r>255</r>
906 <g>255</g>
907 <b>255</b>
908 </bgcolor>
909 <bordermode>noborder</bordermode>
910 <borderradius>1</borderradius>
911 <borderwidth>1</borderwidth>
912 </bsbObject>
913 <bsbObject version="2" type="BSBLabel">
914 <objectName/>
915 <x>530</x>
916 <y>5</y>
917 <width>250</width>
918 <height>35</height>
919 <uuid>{28873f9f-f41a-4961-9ae9-c3948ecc50f0}</uuid>
920 <visible>true</visible>
921 <midichan>0</midichan>
922 <midicc>0</midicc>
923 <label>Phase Modulation Synthesis</label>
924 <alignment>center</alignment>
925 <font>Liberation Sans</font>
926 <fontsize>18</fontsize>
927 <precision>3</precision>
928 <color>
929 <r>255</r>
930 <g>255</g>
931 <b>255</b>
932 </color>
933 <bgcolor mode="nobackground">
934 <r>255</r>
935 <g>255</g>
936 <b>255</b>
937 </bgcolor>
938 <bordermode>noborder</bordermode>
939 <borderradius>1</borderradius>
940 <borderwidth>1</borderwidth>
941 </bsbObject>
942 <bsbObject version="2" type="BSBDisplay">
943 <objectName>Modulation_Index_1</objectName>
944 <x>448</x>
945 <y>126</y>
946 <width>60</width>
947 <height>30</height>
948 <uuid>{eb489cb5-93a5-43ca-bd05-14ec2a67e140}</uuid>
949 <visible>true</visible>
950 <midichan>0</midichan>
951 <midicc>0</midicc>
952 <label>0.250</label>
953 <alignment>right</alignment>
954 <font>Liberation Sans</font>
955 <fontsize>9</fontsize>
956 <precision>3</precision>
957 <color>
958 <r>255</r>
959 <g>255</g>
960 <b>255</b>
961 </color>
962 <bgcolor mode="nobackground">
963 <r>255</r>
964 <g>255</g>
965 <b>255</b>
966 </bgcolor>
967 <bordermode>noborder</bordermode>
968 <borderradius>1</borderradius>
969 <borderwidth>1</borderwidth>
970 </bsbObject>
971 <bsbObject version="2" type="BSBLabel">
972 <objectName/>
973 <x>8</x>
974 <y>372</y>
975 <width>180</width>
976 <height>30</height>
977 <uuid>{7ab7dcd1-0b6f-4f11-9b36-c6a2ea0e5a87}</uuid>
978 <visible>true</visible>
979 <midichan>0</midichan>
980 <midicc>0</midicc>
981 <label>Chorus Depth</label>
982 <alignment>left</alignment>
983 <font>Liberation Sans</font>
984 <fontsize>10</fontsize>
985 <precision>3</precision>
986 <color>
987 <r>255</r>
988 <g>255</g>
989 <b>255</b>
990 </color>
991 <bgcolor mode="nobackground">
992 <r>255</r>
993 <g>255</g>
994 <b>255</b>
995 </bgcolor>
996 <bordermode>noborder</bordermode>
997 <borderradius>1</borderradius>
998 <borderwidth>1</borderwidth>
999 </bsbObject>
1000 <bsbObject version="2" type="BSBHSlider">
1001 <objectName>Chorus_Depth</objectName>
1002 <x>8</x>
1003 <y>349</y>
1004 <width>500</width>
1005 <height>27</height>
1006 <uuid>{9d01a407-9af0-4e24-a903-b4f08bce805b}</uuid>
1007 <visible>true</visible>
1008 <midichan>0</midichan>
1009 <midicc>0</midicc>
1010 <minimum>0.00000000</minimum>
1011 <maximum>0.10000000</maximum>
1012 <value>0.03000000</value>
1013 <mode>lin</mode>
1014 <mouseControl act="jump">continuous</mouseControl>
1015 <resolution>-1.00000000</resolution>
1016 <randomizable group="0">false</randomizable>
1017 </bsbObject>
1018 <bsbObject version="2" type="BSBDisplay">
1019 <objectName>Chorus_Depth</objectName>
1020 <x>448</x>
1021 <y>372</y>
1022 <width>60</width>
1023 <height>30</height>
1024 <uuid>{f9c26af6-6311-452e-9cd9-51e286efef9a}</uuid>
1025 <visible>true</visible>
1026 <midichan>0</midichan>
1027 <midicc>0</midicc>
1028 <label>0.030</label>
1029 <alignment>right</alignment>
1030 <font>Liberation Sans</font>
1031 <fontsize>9</fontsize>
1032 <precision>3</precision>
1033 <color>
1034 <r>255</r>
1035 <g>255</g>
1036 <b>255</b>
1037 </color>
1038 <bgcolor mode="nobackground">
1039 <r>255</r>
1040 <g>255</g>
1041 <b>255</b>
1042 </bgcolor>
1043 <bordermode>noborder</bordermode>
1044 <borderradius>1</borderradius>
1045 <borderwidth>1</borderwidth>
1046 </bsbObject>
1047 <bsbObject version="2" type="BSBLabel">
1048 <objectName/>
1049 <x>8</x>
1050 <y>415</y>
1051 <width>180</width>
1052 <height>30</height>
1053 <uuid>{c1848eda-3576-47f9-87b0-7fdfd3708a73}</uuid>
1054 <visible>true</visible>
1055 <midichan>0</midichan>
1056 <midicc>0</midicc>
1057 <label>Chorus Rate</label>
1058 <alignment>left</alignment>
1059 <font>Liberation Sans</font>
1060 <fontsize>10</fontsize>
1061 <precision>3</precision>
1062 <color>
1063 <r>255</r>
1064 <g>255</g>
1065 <b>255</b>
1066 </color>
1067 <bgcolor mode="nobackground">
1068 <r>255</r>
1069 <g>255</g>
1070 <b>255</b>
1071 </bgcolor>
1072 <bordermode>noborder</bordermode>
1073 <borderradius>1</borderradius>
1074 <borderwidth>1</borderwidth>
1075 </bsbObject>
1076 <bsbObject version="2" type="BSBHSlider">
1077 <objectName>Chorus_Rate</objectName>
1078 <x>8</x>
1079 <y>392</y>
1080 <width>500</width>
1081 <height>27</height>
1082 <uuid>{dcfe5f2a-7d7c-4523-a789-ad0183784c14}</uuid>
1083 <visible>true</visible>
1084 <midichan>0</midichan>
1085 <midicc>0</midicc>
1086 <minimum>0.00000000</minimum>
1087 <maximum>10.00000000</maximum>
1088 <value>1.00000000</value>
1089 <mode>lin</mode>
1090 <mouseControl act="jump">continuous</mouseControl>
1091 <resolution>-1.00000000</resolution>
1092 <randomizable group="0">false</randomizable>
1093 </bsbObject>
1094 <bsbObject version="2" type="BSBDisplay">
1095 <objectName>Chorus_Rate</objectName>
1096 <x>448</x>
1097 <y>415</y>
1098 <width>60</width>
1099 <height>30</height>
1100 <uuid>{cb37672a-f349-4dbb-8223-f12d94559811}</uuid>
1101 <visible>true</visible>
1102 <midichan>0</midichan>
1103 <midicc>0</midicc>
1104 <label>1.000</label>
1105 <alignment>right</alignment>
1106 <font>Liberation Sans</font>
1107 <fontsize>9</fontsize>
1108 <precision>3</precision>
1109 <color>
1110 <r>255</r>
1111 <g>255</g>
1112 <b>255</b>
1113 </color>
1114 <bgcolor mode="nobackground">
1115 <r>255</r>
1116 <g>255</g>
1117 <b>255</b>
1118 </bgcolor>
1119 <bordermode>noborder</bordermode>
1120 <borderradius>1</borderradius>
1121 <borderwidth>1</borderwidth>
1122 </bsbObject>
1123 <bsbObject version="2" type="BSBLabel">
1124 <objectName/>
1125 <x>8</x>
1126 <y>458</y>
1127 <width>180</width>
1128 <height>30</height>
1129 <uuid>{ca32d821-6eae-4414-b0f6-678fa719fcd2}</uuid>
1130 <visible>true</visible>
1131 <midichan>0</midichan>
1132 <midicc>0</midicc>
1133 <label>Chorus Dry/Wet Mix</label>
1134 <alignment>left</alignment>
1135 <font>Liberation Sans</font>
1136 <fontsize>10</fontsize>
1137 <precision>3</precision>
1138 <color>
1139 <r>255</r>
1140 <g>255</g>
1141 <b>255</b>
1142 </color>
1143 <bgcolor mode="nobackground">
1144 <r>255</r>
1145 <g>255</g>
1146 <b>255</b>
1147 </bgcolor>
1148 <bordermode>noborder</bordermode>
1149 <borderradius>1</borderradius>
1150 <borderwidth>1</borderwidth>
1151 </bsbObject>
1152 <bsbObject version="2" type="BSBHSlider">
1153 <objectName>Chorus_Mix</objectName>
1154 <x>8</x>
1155 <y>435</y>
1156 <width>500</width>
1157 <height>27</height>
1158 <uuid>{0412e819-ba3c-46f5-8a6f-1e7d1dd51c4c}</uuid>
1159 <visible>true</visible>
1160 <midichan>0</midichan>
1161 <midicc>0</midicc>
1162 <minimum>0.00000000</minimum>
1163 <maximum>1.00000000</maximum>
1164 <value>0.50000000</value>
1165 <mode>lin</mode>
1166 <mouseControl act="jump">continuous</mouseControl>
1167 <resolution>-1.00000000</resolution>
1168 <randomizable group="0">false</randomizable>
1169 </bsbObject>
1170 <bsbObject version="2" type="BSBDisplay">
1171 <objectName>Chorus_Mix</objectName>
1172 <x>448</x>
1173 <y>458</y>
1174 <width>60</width>
1175 <height>30</height>
1176 <uuid>{8ed8cdda-b744-40df-a909-00fa169f66fc}</uuid>
1177 <visible>true</visible>
1178 <midichan>0</midichan>
1179 <midicc>0</midicc>
1180 <label>0.500</label>
1181 <alignment>right</alignment>
1182 <font>Liberation Sans</font>
1183 <fontsize>9</fontsize>
1184 <precision>3</precision>
1185 <color>
1186 <r>255</r>
1187 <g>255</g>
1188 <b>255</b>
1189 </color>
1190 <bgcolor mode="nobackground">
1191 <r>255</r>
1192 <g>255</g>
1193 <b>255</b>
1194 </bgcolor>
1195 <bordermode>noborder</bordermode>
1196 <borderradius>1</borderradius>
1197 <borderwidth>1</borderwidth>
1198 </bsbObject>
1199 </bsbPanel>
1200 <bsbPresets>
1201 <preset name="Init" number="0" >
1202 <value id="{24979132-c53f-4414-ac6b-6b4f503ecfe8}" mode="1" >0.00000000</value>
1203 <value id="{24979132-c53f-4414-ac6b-6b4f503ecfe8}" mode="4" >0</value>
1204 <value id="{745d6bee-b951-4a03-9fe8-9e10d5ae4556}" mode="1" >0.20000000</value>
1205 <value id="{745d6bee-b951-4a03-9fe8-9e10d5ae4556}" mode="4" >0.200</value>
1206 <value id="{06814721-6151-4baa-84e2-8f39843b07a4}" mode="1" >0.20000000</value>
1207 <value id="{6f8fc775-201d-40f9-931b-687c9b3ef417}" mode="1" >3.00099993</value>
1208 <value id="{fd4b783c-f008-4a1c-b2e6-50340aad9093}" mode="1" >5.00099993</value>
1209 <value id="{eac88081-deaa-45c0-b896-32a3ffedc74a}" mode="1" >0.13400000</value>
1210 <value id="{3be43919-ad18-4aef-b554-03c4b4d991c3}" mode="1" >50.47920990</value>
1211 <value id="{3be43919-ad18-4aef-b554-03c4b4d991c3}" mode="4" >50.479</value>
1212 <value id="{9cf53cef-488f-4075-b87f-dc2c3e6a21e6}" mode="1" >0.25000000</value>
1213 <value id="{c03c8ac7-b287-4328-8e07-bbf81f16291a}" mode="1" >0.25000000</value>
1214 <value id="{c03c8ac7-b287-4328-8e07-bbf81f16291a}" mode="4" >0.250</value>
1215 <value id="{9e41022a-6d97-415e-82ef-dafd223f6de8}" mode="1" >0.25000000</value>
1216 <value id="{4613a393-76fd-495c-8e3b-95f1257e8326}" mode="1" >1.00000000</value>
1217 <value id="{eb489cb5-93a5-43ca-bd05-14ec2a67e140}" mode="1" >0.25000000</value>
1218 <value id="{eb489cb5-93a5-43ca-bd05-14ec2a67e140}" mode="4" >0.250</value>
1219 <value id="{9d01a407-9af0-4e24-a903-b4f08bce805b}" mode="1" >0.03000000</value>
1220 <value id="{f9c26af6-6311-452e-9cd9-51e286efef9a}" mode="1" >0.03000000</value>
1221 <value id="{f9c26af6-6311-452e-9cd9-51e286efef9a}" mode="4" >0.030</value>
1222 <value id="{dcfe5f2a-7d7c-4523-a789-ad0183784c14}" mode="1" >1.00000000</value>
1223 <value id="{cb37672a-f349-4dbb-8223-f12d94559811}" mode="1" >1.00000000</value>
1224 <value id="{cb37672a-f349-4dbb-8223-f12d94559811}" mode="4" >1.000</value>
1225 <value id="{0412e819-ba3c-46f5-8a6f-1e7d1dd51c4c}" mode="1" >0.50000000</value>
1226 <value id="{8ed8cdda-b744-40df-a909-00fa169f66fc}" mode="1" >0.50000000</value>
1227 <value id="{8ed8cdda-b744-40df-a909-00fa169f66fc}" mode="4" >0.500</value>
1228 </preset>
1229 </bsbPresets>
1230 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>