Debian Codegraph @

src/Examples/McCurdy Collection/SoundGenerators/hsboscil.csd

raw
1 ;Written by Iain McCurdy, 2009
2
3
4 ;Modified for QuteCsound by René, April 2011
5 ;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817
6
7 ;Notes on modifications from original csd:
8 ; Use QuteCsound internal midi interface for Brightness (Channel 1, CC#1)
9 ; Removed instr 2
10
11
12 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0
13 <CsoundSynthesizer>
14 <CsOptions>
15
16 </CsOptions>
17 <CsInstruments>
18 sr = 44100 ;SAMPLE RATE
19 ksmps = 16 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
20 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
21 0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH
22
23
24 giwfn ftgen 0, 0, 131072, 10, 1 ;A SINE WAVE
25 gioctfn ftgen 0, 0, 1024, -19, 1, 0.5, 270, 0.5 ;A HANNING-TYPE WINDOW
26
27
28 instr 10 ;GUI
29 ktrig metro 10
30 if (ktrig == 1) then
31 gkoctcnt invalue "BlendRange"
32 gkShepFreq invalue "Rate"
33 gkamp invalue "Amplitude"
34 gktone invalue "Tone"
35 gkbrite invalue "Brightness"
36 gkbasfreq invalue "Frequency"
37 gkphs invalue "Phase"
38 gkMIDI invalue "MIDI"
39 endif
40 endin
41
42 instr 1 ;MIDI ACTIVATED HSBOSCIL INSTRUMENT
43 if gkMIDI!=1 then ;IF SWITCH BANK IS *NOT* 1 THEN...
44 turnoff ;TURN THIS INSTRUMENT OFF
45 endif ;END OF CONDITIONAL BRANCHING
46
47 iporttime = 0.1 ;PORTAMENTO TIME (CONSTANT)
48 kporttime linseg 0,0.001,iporttime,1,iporttime ;PORTAMENTO TIME (AN ENVELOPE FUNCTION THAT RAMPS UP FROM ZERO)
49 kamp portk gkamp, kporttime ;APPLY PORTAMENTO
50 kbrite portk gkbrite, kporttime ;APPLY PORTAMENTO
51 ktone portk gktone, kporttime ;APPLY PORTAMENTO
52 ibasfreq cpsmidi ;READ MIDI NOTE VALUES (IN HERTZ/CPS) FROM MIDI INPUT
53
54 outvalue "Frequency", ibasfreq ;SEND MIDI NOTE VALUES TO 'BASE FREQUENCY' SLIDER
55
56 kSwitch changed gkoctcnt, gkphs ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
57 if kSwitch=1 then
58 reinit START
59 endif
60 START:
61 ares hsboscil kamp, ktone, kbrite, ibasfreq, giwfn, gioctfn, i(gkoctcnt), i(gkphs) ;CREATE AN hsboscil TONE
62 rireturn
63 aenv linsegr 0,0.01,1,3600,1,0.01,0 ;CREATE A BASIC ENVELOPE TO PREVENT CLICKS AT THE START AND ENDS OF NOTES
64 outs ares*aenv, ares*aenv ;SEND AUDIO TO OUTPUTS, APPLY ENVELOPE
65 endin
66
67 instr 3 ;HSBOSCIL INSTRUMENT - SLIDER CONTROLS BASE FREQUENCY
68 iporttime = 0.1 ;PORTAMENTO TIME (CONSTANT)
69 kporttime linseg 0,0.001,iporttime,1,iporttime ;PORTAMENTO TIME (AN ENVELOPE FUNCTION THAT RAMPS UP FROM ZERO)
70 kamp portk gkamp, kporttime ;APPLY PORTAMENTO
71 kbrite portk gkbrite, kporttime ;APPLY PORTAMENTO
72 ktone portk gktone, kporttime ;APPLY PORTAMENTO
73 aenv linsegr 0,0.001,1,3600,1,0.01,0 ;CREATE A BASIC ENVELOPE TO PREVENT CLICKS AT THE START AND ENDS OF NOTES
74 kSwitch changed gkbasfreq, gkoctcnt, gkphs ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
75
76 if kSwitch=1 then
77 reinit START
78 endif
79 START:
80 ares hsboscil kamp, ktone, kbrite, i(gkbasfreq), giwfn, gioctfn, i(gkoctcnt), i(gkphs) ;CREATE AN hsboscil TONE
81 rireturn
82 outs ares*aenv, ares*aenv ;SEND AUDIO TO OUTPUTS, APPLY ENVELOPE
83 endin
84
85 instr 4 ;HSBOSCIL INSTRUMENT - SHEPARD GLISSANDO
86 iporttime = 0.1 ;PORTAMENTO TIME (CONSTANT)
87 kporttime linseg 0,0.001,iporttime,1,iporttime ;PORTAMENTO TIME (AN ENVELOPE FUNCTION THAT RAMPS UP FROM ZERO)
88 kamp portk gkamp, kporttime ;APPLY PORTAMENTO
89 kbrite portk gkbrite, kporttime ;APPLY PORTAMENTO
90 ktone phasor gkShepFreq ;CREATE A MOVING PHASE VALUE THAT WILL BE USED TO MODULATE 'TONE' PARAMETER
91
92 ktrigger metro 10 ;CREATE A METRONIC PULSE OF '1' VALUES. 50 PER SECOND
93 if ktrigger==1 then
94 outvalue "Tone", ktone ;UPDATE 'TONE; SLIDER (THIS WILL BE FOR VISUAL FEEDBACK ONLY)
95 endif
96
97 aenv linsegr 0,0.001,1,3600,1,0.01,0 ;CREATE A BASIC ENVELOPE TO PREVENT CLICKS AT THE START AND ENDS OF NOTES
98 kSwitch changed gkbasfreq, gkoctcnt, gkphs ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
99 if kSwitch=1 then
100 reinit START
101 endif
102 START:
103 ares hsboscil kamp, ktone, kbrite, i(gkbasfreq), giwfn, gioctfn, i(gkoctcnt), i(gkphs) ;CREATE AN hsboscil TONE
104 rireturn
105 outs ares * aenv, ares * aenv ;SEND AUDIO TO OUTPUTS, APPLY ENVELOPE
106 endin
107 </CsInstruments>
108 <CsScore>
109 ;INSTR | START | DURATION
110 i 10 0.0 3600 ;GUI
111 </CsScore>
112 </CsoundSynthesizer>
113 <bsbPanel>
114 <label>Widgets</label>
115 <objectName/>
116 <x>617</x>
117 <y>275</y>
118 <width>1062</width>
119 <height>405</height>
120 <visible>true</visible>
121 <uuid/>
122 <bgcolor mode="background">
123 <r>241</r>
124 <g>226</g>
125 <b>185</b>
126 </bgcolor>
127 <bsbObject version="2" type="BSBLabel">
128 <objectName/>
129 <x>2</x>
130 <y>2</y>
131 <width>512</width>
132 <height>400</height>
133 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
134 <visible>true</visible>
135 <midichan>0</midichan>
136 <midicc>0</midicc>
137 <label>hsboscil</label>
138 <alignment>center</alignment>
139 <font>Liberation Sans</font>
140 <fontsize>18</fontsize>
141 <precision>3</precision>
142 <color>
143 <r>255</r>
144 <g>255</g>
145 <b>0</b>
146 </color>
147 <bgcolor mode="background">
148 <r>106</r>
149 <g>117</g>
150 <b>150</b>
151 </bgcolor>
152 <bordermode>border</bordermode>
153 <borderradius>5</borderradius>
154 <borderwidth>2</borderwidth>
155 </bsbObject>
156 <bsbObject version="2" type="BSBLabel">
157 <objectName/>
158 <x>8</x>
159 <y>129</y>
160 <width>160</width>
161 <height>30</height>
162 <uuid>{0200a063-5db8-4668-bc2d-2d989a083f6e}</uuid>
163 <visible>true</visible>
164 <midichan>0</midichan>
165 <midicc>0</midicc>
166 <label>Shepard Glissando Rate (Hz)</label>
167 <alignment>left</alignment>
168 <font>Liberation Sans</font>
169 <fontsize>10</fontsize>
170 <precision>3</precision>
171 <color>
172 <r>255</r>
173 <g>255</g>
174 <b>0</b>
175 </color>
176 <bgcolor mode="nobackground">
177 <r>255</r>
178 <g>255</g>
179 <b>255</b>
180 </bgcolor>
181 <bordermode>noborder</bordermode>
182 <borderradius>1</borderradius>
183 <borderwidth>1</borderwidth>
184 </bsbObject>
185 <bsbObject version="2" type="BSBDisplay">
186 <objectName>Rate</objectName>
187 <x>448</x>
188 <y>129</y>
189 <width>60</width>
190 <height>30</height>
191 <uuid>{ab191e3a-430d-4f1d-88aa-9840342cd2d3}</uuid>
192 <visible>true</visible>
193 <midichan>0</midichan>
194 <midicc>0</midicc>
195 <label>0.100</label>
196 <alignment>right</alignment>
197 <font>Liberation Sans</font>
198 <fontsize>9</fontsize>
199 <precision>3</precision>
200 <color>
201 <r>255</r>
202 <g>255</g>
203 <b>0</b>
204 </color>
205 <bgcolor mode="nobackground">
206 <r>255</r>
207 <g>255</g>
208 <b>255</b>
209 </bgcolor>
210 <bordermode>noborder</bordermode>
211 <borderradius>1</borderradius>
212 <borderwidth>1</borderwidth>
213 </bsbObject>
214 <bsbObject version="2" type="BSBLabel">
215 <objectName/>
216 <x>517</x>
217 <y>2</y>
218 <width>540</width>
219 <height>400</height>
220 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
221 <visible>true</visible>
222 <midichan>0</midichan>
223 <midicc>0</midicc>
224 <label>hsboscil</label>
225 <alignment>center</alignment>
226 <font>Liberation Sans</font>
227 <fontsize>18</fontsize>
228 <precision>3</precision>
229 <color>
230 <r>255</r>
231 <g>255</g>
232 <b>0</b>
233 </color>
234 <bgcolor mode="background">
235 <r>106</r>
236 <g>117</g>
237 <b>150</b>
238 </bgcolor>
239 <bordermode>border</bordermode>
240 <borderradius>5</borderradius>
241 <borderwidth>2</borderwidth>
242 </bsbObject>
243 <bsbObject version="2" type="BSBLabel">
244 <objectName/>
245 <x>522</x>
246 <y>17</y>
247 <width>533</width>
248 <height>381</height>
249 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
250 <visible>true</visible>
251 <midichan>0</midichan>
252 <midicc>0</midicc>
253 <label>----------------------------------------------------------------------------------------------------------------------------------
254 hsboscil generates a tone composed of partials derived from a stack of octaves. 'Brightness' (gkbrite) controls the weighting of these partials: negative values favouring lower partials, positive values favouring higher partials. 'Blending Range' (ioctcnt) defines the number of partials in the tone. 'Tone' shifts partials up or down in parallel. At the same time the entire spectrum is enveloped according to a windowing function created in a function table. The range of this spectral window is dependent upon the value given for 'Blending Range'. If 'Tone' is modulated such that partials disappear beyond the edge of spectral window they are replaced by new partials at the opposite edge of the window. It is this behaviour that allows us to create the Shepard glissando effect in which a tone appears to simultaneously be constantly rising (or falling) but never actually get any higher (lower) in pitch. A visual analogue is that of the spinning barber-pole. hsboscil's octave spaced partials tends to produce organ-like tones. This example offers three methods of activating hsboscil. Firstly, via MIDI (in which case 'Base Frequency' is determined by the MIDI note number with the 'Base Frequency' slider becoming inoperative). Secondly, without MIDI (slider becomes operative again) and thirdly, a method which produces the Shepard glissando effect by modulating the 'Tone' control using an LFO. In the original Roger Shepard experiment the tones moved stepwise. Jean-Claude Risset introduced the idea of the tone moving smoothly leading to the name Shepard Glissando or Shepard-Risset Glissando. In MIDI mode the modulation wheel can be used to control 'Brightness' This opcode was written by Peter Neubacker who is also the author of the Melodyne software.</label>
255 <alignment>left</alignment>
256 <font>Liberation Sans</font>
257 <fontsize>14</fontsize>
258 <precision>3</precision>
259 <color>
260 <r>255</r>
261 <g>255</g>
262 <b>0</b>
263 </color>
264 <bgcolor mode="nobackground">
265 <r>255</r>
266 <g>255</g>
267 <b>255</b>
268 </bgcolor>
269 <bordermode>noborder</bordermode>
270 <borderradius>1</borderradius>
271 <borderwidth>1</borderwidth>
272 </bsbObject>
273 <bsbObject version="2" type="BSBHSlider">
274 <objectName>Rate</objectName>
275 <x>8</x>
276 <y>113</y>
277 <width>500</width>
278 <height>27</height>
279 <uuid>{2a8dc6e2-12f4-443d-af9b-59e4373cc24b}</uuid>
280 <visible>true</visible>
281 <midichan>0</midichan>
282 <midicc>0</midicc>
283 <minimum>-1.00000000</minimum>
284 <maximum>1.00000000</maximum>
285 <value>0.10000000</value>
286 <mode>lin</mode>
287 <mouseControl act="jump">continuous</mouseControl>
288 <resolution>-1.00000000</resolution>
289 <randomizable group="0">false</randomizable>
290 </bsbObject>
291 <bsbObject version="2" type="BSBLabel">
292 <objectName/>
293 <x>8</x>
294 <y>167</y>
295 <width>150</width>
296 <height>30</height>
297 <uuid>{4fa545c6-e2f1-4387-8c9f-4a9dd388bb42}</uuid>
298 <visible>true</visible>
299 <midichan>0</midichan>
300 <midicc>0</midicc>
301 <label>Amplitude</label>
302 <alignment>left</alignment>
303 <font>Liberation Sans</font>
304 <fontsize>10</fontsize>
305 <precision>3</precision>
306 <color>
307 <r>255</r>
308 <g>255</g>
309 <b>0</b>
310 </color>
311 <bgcolor mode="nobackground">
312 <r>255</r>
313 <g>255</g>
314 <b>255</b>
315 </bgcolor>
316 <bordermode>noborder</bordermode>
317 <borderradius>1</borderradius>
318 <borderwidth>1</borderwidth>
319 </bsbObject>
320 <bsbObject version="2" type="BSBDisplay">
321 <objectName>Amplitude</objectName>
322 <x>448</x>
323 <y>167</y>
324 <width>60</width>
325 <height>30</height>
326 <uuid>{b0ad1916-b43e-44c2-be40-bca29f5cb1f4}</uuid>
327 <visible>true</visible>
328 <midichan>0</midichan>
329 <midicc>0</midicc>
330 <label>0.342</label>
331 <alignment>right</alignment>
332 <font>Liberation Sans</font>
333 <fontsize>9</fontsize>
334 <precision>3</precision>
335 <color>
336 <r>255</r>
337 <g>255</g>
338 <b>0</b>
339 </color>
340 <bgcolor mode="nobackground">
341 <r>255</r>
342 <g>255</g>
343 <b>255</b>
344 </bgcolor>
345 <bordermode>noborder</bordermode>
346 <borderradius>1</borderradius>
347 <borderwidth>1</borderwidth>
348 </bsbObject>
349 <bsbObject version="2" type="BSBHSlider">
350 <objectName>Amplitude</objectName>
351 <x>8</x>
352 <y>151</y>
353 <width>500</width>
354 <height>27</height>
355 <uuid>{9069e547-5638-4568-896f-980087c61de0}</uuid>
356 <visible>true</visible>
357 <midichan>0</midichan>
358 <midicc>0</midicc>
359 <minimum>0.00000000</minimum>
360 <maximum>1.00000000</maximum>
361 <value>0.34200000</value>
362 <mode>lin</mode>
363 <mouseControl act="jump">continuous</mouseControl>
364 <resolution>-1.00000000</resolution>
365 <randomizable group="0">false</randomizable>
366 </bsbObject>
367 <bsbObject version="2" type="BSBLabel">
368 <objectName/>
369 <x>284</x>
370 <y>66</y>
371 <width>169</width>
372 <height>31</height>
373 <uuid>{ada34c8d-83fe-4eae-b207-ac7e38c5251f}</uuid>
374 <visible>true</visible>
375 <midichan>0</midichan>
376 <midicc>0</midicc>
377 <label>Blending Range (octaves) :</label>
378 <alignment>right</alignment>
379 <font>Liberation Sans</font>
380 <fontsize>10</fontsize>
381 <precision>3</precision>
382 <color>
383 <r>255</r>
384 <g>255</g>
385 <b>0</b>
386 </color>
387 <bgcolor mode="nobackground">
388 <r>255</r>
389 <g>255</g>
390 <b>255</b>
391 </bgcolor>
392 <bordermode>noborder</bordermode>
393 <borderradius>1</borderradius>
394 <borderwidth>1</borderwidth>
395 </bsbObject>
396 <bsbObject version="2" type="BSBSpinBox">
397 <objectName>BlendRange</objectName>
398 <x>455</x>
399 <y>63</y>
400 <width>50</width>
401 <height>30</height>
402 <uuid>{c37974b7-7a24-481d-8f02-a116324085e3}</uuid>
403 <visible>true</visible>
404 <midichan>0</midichan>
405 <midicc>0</midicc>
406 <alignment>right</alignment>
407 <font>Liberation Sans</font>
408 <fontsize>16</fontsize>
409 <color>
410 <r>0</r>
411 <g>0</g>
412 <b>0</b>
413 </color>
414 <bgcolor mode="nobackground">
415 <r>255</r>
416 <g>255</g>
417 <b>255</b>
418 </bgcolor>
419 <resolution>1.00000000</resolution>
420 <minimum>2</minimum>
421 <maximum>10</maximum>
422 <randomizable group="0">false</randomizable>
423 <value>10</value>
424 </bsbObject>
425 <bsbObject version="2" type="BSBLabel">
426 <objectName/>
427 <x>8</x>
428 <y>81</y>
429 <width>180</width>
430 <height>31</height>
431 <uuid>{db9a7e63-ac06-40ee-b161-3012d7172005}</uuid>
432 <visible>true</visible>
433 <midichan>0</midichan>
434 <midicc>0</midicc>
435 <label>Shepard Glissando On / Off :</label>
436 <alignment>left</alignment>
437 <font>Liberation Sans</font>
438 <fontsize>10</fontsize>
439 <precision>3</precision>
440 <color>
441 <r>255</r>
442 <g>255</g>
443 <b>0</b>
444 </color>
445 <bgcolor mode="nobackground">
446 <r>255</r>
447 <g>255</g>
448 <b>255</b>
449 </bgcolor>
450 <bordermode>noborder</bordermode>
451 <borderradius>1</borderradius>
452 <borderwidth>1</borderwidth>
453 </bsbObject>
454 <bsbObject version="2" type="BSBButton">
455 <objectName/>
456 <x>163</x>
457 <y>85</y>
458 <width>16</width>
459 <height>16</height>
460 <uuid>{326c4e41-c09d-41ac-98ea-9f603e424058}</uuid>
461 <visible>true</visible>
462 <midichan>0</midichan>
463 <midicc>0</midicc>
464 <type>event</type>
465 <pressedValue>1.00000000</pressedValue>
466 <stringvalue/>
467 <text/>
468 <image>/</image>
469 <eventLine>i 4 0 -1</eventLine>
470 <latch>true</latch>
471 <latched>false</latched>
472 </bsbObject>
473 <bsbObject version="2" type="BSBLabel">
474 <objectName/>
475 <x>8</x>
476 <y>205</y>
477 <width>150</width>
478 <height>30</height>
479 <uuid>{7db371e5-4bd3-46a9-a5e3-0aea92940a6a}</uuid>
480 <visible>true</visible>
481 <midichan>0</midichan>
482 <midicc>0</midicc>
483 <label>Tone</label>
484 <alignment>left</alignment>
485 <font>Liberation Sans</font>
486 <fontsize>10</fontsize>
487 <precision>3</precision>
488 <color>
489 <r>255</r>
490 <g>255</g>
491 <b>0</b>
492 </color>
493 <bgcolor mode="nobackground">
494 <r>255</r>
495 <g>255</g>
496 <b>255</b>
497 </bgcolor>
498 <bordermode>noborder</bordermode>
499 <borderradius>1</borderradius>
500 <borderwidth>1</borderwidth>
501 </bsbObject>
502 <bsbObject version="2" type="BSBDisplay">
503 <objectName>Tone</objectName>
504 <x>448</x>
505 <y>205</y>
506 <width>60</width>
507 <height>30</height>
508 <uuid>{2696e0c6-d92a-4577-9f7a-aef424e70a55}</uuid>
509 <visible>true</visible>
510 <midichan>0</midichan>
511 <midicc>0</midicc>
512 <label>0.070</label>
513 <alignment>right</alignment>
514 <font>Liberation Sans</font>
515 <fontsize>9</fontsize>
516 <precision>3</precision>
517 <color>
518 <r>255</r>
519 <g>255</g>
520 <b>0</b>
521 </color>
522 <bgcolor mode="nobackground">
523 <r>255</r>
524 <g>255</g>
525 <b>255</b>
526 </bgcolor>
527 <bordermode>noborder</bordermode>
528 <borderradius>1</borderradius>
529 <borderwidth>1</borderwidth>
530 </bsbObject>
531 <bsbObject version="2" type="BSBHSlider">
532 <objectName>Tone</objectName>
533 <x>8</x>
534 <y>189</y>
535 <width>500</width>
536 <height>27</height>
537 <uuid>{c22c8f1f-06e2-4f93-90ef-76b20501e47f}</uuid>
538 <visible>true</visible>
539 <midichan>0</midichan>
540 <midicc>0</midicc>
541 <minimum>0.00000000</minimum>
542 <maximum>1.00000000</maximum>
543 <value>0.07002266</value>
544 <mode>lin</mode>
545 <mouseControl act="jump">continuous</mouseControl>
546 <resolution>-1.00000000</resolution>
547 <randomizable group="0">false</randomizable>
548 </bsbObject>
549 <bsbObject version="2" type="BSBLabel">
550 <objectName/>
551 <x>8</x>
552 <y>243</y>
553 <width>150</width>
554 <height>30</height>
555 <uuid>{915965e7-61fd-429c-806c-afc107c02f1d}</uuid>
556 <visible>true</visible>
557 <midichan>0</midichan>
558 <midicc>0</midicc>
559 <label>Brightness (CC#1)</label>
560 <alignment>left</alignment>
561 <font>Liberation Sans</font>
562 <fontsize>10</fontsize>
563 <precision>3</precision>
564 <color>
565 <r>255</r>
566 <g>255</g>
567 <b>0</b>
568 </color>
569 <bgcolor mode="nobackground">
570 <r>255</r>
571 <g>255</g>
572 <b>255</b>
573 </bgcolor>
574 <bordermode>noborder</bordermode>
575 <borderradius>1</borderradius>
576 <borderwidth>1</borderwidth>
577 </bsbObject>
578 <bsbObject version="2" type="BSBDisplay">
579 <objectName>Brightness</objectName>
580 <x>448</x>
581 <y>243</y>
582 <width>60</width>
583 <height>30</height>
584 <uuid>{014166d8-823b-481c-b928-22acb9f85eab}</uuid>
585 <visible>true</visible>
586 <midichan>0</midichan>
587 <midicc>0</midicc>
588 <label>0.000</label>
589 <alignment>right</alignment>
590 <font>Liberation Sans</font>
591 <fontsize>9</fontsize>
592 <precision>3</precision>
593 <color>
594 <r>255</r>
595 <g>255</g>
596 <b>0</b>
597 </color>
598 <bgcolor mode="nobackground">
599 <r>255</r>
600 <g>255</g>
601 <b>255</b>
602 </bgcolor>
603 <bordermode>noborder</bordermode>
604 <borderradius>1</borderradius>
605 <borderwidth>1</borderwidth>
606 </bsbObject>
607 <bsbObject version="2" type="BSBHSlider">
608 <objectName>Brightness</objectName>
609 <x>8</x>
610 <y>227</y>
611 <width>500</width>
612 <height>27</height>
613 <uuid>{2b177c6b-fa1d-4592-845b-18e86d7a09f5}</uuid>
614 <visible>true</visible>
615 <midichan>1</midichan>
616 <midicc>1</midicc>
617 <minimum>-7.00000000</minimum>
618 <maximum>7.00000000</maximum>
619 <value>0.00000000</value>
620 <mode>lin</mode>
621 <mouseControl act="jump">continuous</mouseControl>
622 <resolution>-1.00000000</resolution>
623 <randomizable group="0">false</randomizable>
624 </bsbObject>
625 <bsbObject version="2" type="BSBLabel">
626 <objectName/>
627 <x>8</x>
628 <y>281</y>
629 <width>150</width>
630 <height>30</height>
631 <uuid>{53bda1d9-5ee4-4ca6-a933-8a57351bde90}</uuid>
632 <visible>true</visible>
633 <midichan>0</midichan>
634 <midicc>0</midicc>
635 <label>Base Frequency (i-rate)</label>
636 <alignment>left</alignment>
637 <font>Liberation Sans</font>
638 <fontsize>10</fontsize>
639 <precision>3</precision>
640 <color>
641 <r>255</r>
642 <g>255</g>
643 <b>0</b>
644 </color>
645 <bgcolor mode="nobackground">
646 <r>255</r>
647 <g>255</g>
648 <b>255</b>
649 </bgcolor>
650 <bordermode>noborder</bordermode>
651 <borderradius>1</borderradius>
652 <borderwidth>1</borderwidth>
653 </bsbObject>
654 <bsbObject version="2" type="BSBDisplay">
655 <objectName>Frequency</objectName>
656 <x>448</x>
657 <y>281</y>
658 <width>60</width>
659 <height>30</height>
660 <uuid>{6c54c71b-4092-4ae4-b3e5-8e48e0af32e1}</uuid>
661 <visible>true</visible>
662 <midichan>0</midichan>
663 <midicc>0</midicc>
664 <label>146.828</label>
665 <alignment>right</alignment>
666 <font>Liberation Sans</font>
667 <fontsize>9</fontsize>
668 <precision>3</precision>
669 <color>
670 <r>255</r>
671 <g>255</g>
672 <b>0</b>
673 </color>
674 <bgcolor mode="nobackground">
675 <r>255</r>
676 <g>255</g>
677 <b>255</b>
678 </bgcolor>
679 <bordermode>noborder</bordermode>
680 <borderradius>1</borderradius>
681 <borderwidth>1</borderwidth>
682 </bsbObject>
683 <bsbObject version="2" type="BSBHSlider">
684 <objectName>Frequency</objectName>
685 <x>8</x>
686 <y>265</y>
687 <width>500</width>
688 <height>27</height>
689 <uuid>{11ece0ea-35e7-49e1-a8aa-1cf50108d494}</uuid>
690 <visible>true</visible>
691 <midichan>0</midichan>
692 <midicc>0</midicc>
693 <minimum>20.00000000</minimum>
694 <maximum>2000.00000000</maximum>
695 <value>146.82824707</value>
696 <mode>lin</mode>
697 <mouseControl act="jump">continuous</mouseControl>
698 <resolution>-1.00000000</resolution>
699 <randomizable group="0">false</randomizable>
700 </bsbObject>
701 <bsbObject version="2" type="BSBLabel">
702 <objectName/>
703 <x>8</x>
704 <y>319</y>
705 <width>150</width>
706 <height>30</height>
707 <uuid>{8d94e0bf-d464-4f28-94b3-5883e7fd35a6}</uuid>
708 <visible>true</visible>
709 <midichan>0</midichan>
710 <midicc>0</midicc>
711 <label>Initial Phase (i-rate)</label>
712 <alignment>left</alignment>
713 <font>Liberation Sans</font>
714 <fontsize>10</fontsize>
715 <precision>3</precision>
716 <color>
717 <r>255</r>
718 <g>255</g>
719 <b>0</b>
720 </color>
721 <bgcolor mode="nobackground">
722 <r>255</r>
723 <g>255</g>
724 <b>255</b>
725 </bgcolor>
726 <bordermode>noborder</bordermode>
727 <borderradius>1</borderradius>
728 <borderwidth>1</borderwidth>
729 </bsbObject>
730 <bsbObject version="2" type="BSBDisplay">
731 <objectName>Phase</objectName>
732 <x>448</x>
733 <y>319</y>
734 <width>60</width>
735 <height>30</height>
736 <uuid>{546ac0d3-b04a-4c3d-be2d-5705a566e35b}</uuid>
737 <visible>true</visible>
738 <midichan>0</midichan>
739 <midicc>0</midicc>
740 <label>0.000</label>
741 <alignment>right</alignment>
742 <font>Liberation Sans</font>
743 <fontsize>9</fontsize>
744 <precision>3</precision>
745 <color>
746 <r>255</r>
747 <g>255</g>
748 <b>0</b>
749 </color>
750 <bgcolor mode="nobackground">
751 <r>255</r>
752 <g>255</g>
753 <b>255</b>
754 </bgcolor>
755 <bordermode>noborder</bordermode>
756 <borderradius>1</borderradius>
757 <borderwidth>1</borderwidth>
758 </bsbObject>
759 <bsbObject version="2" type="BSBHSlider">
760 <objectName>Phase</objectName>
761 <x>8</x>
762 <y>303</y>
763 <width>500</width>
764 <height>27</height>
765 <uuid>{075b6c1e-5c9b-4eb9-b058-2bf90b0e7ec8}</uuid>
766 <visible>true</visible>
767 <midichan>0</midichan>
768 <midicc>0</midicc>
769 <minimum>-1.00000000</minimum>
770 <maximum>1.00000000</maximum>
771 <value>0.00000000</value>
772 <mode>lin</mode>
773 <mouseControl act="jump">continuous</mouseControl>
774 <resolution>-1.00000000</resolution>
775 <randomizable group="0">false</randomizable>
776 </bsbObject>
777 <bsbObject version="2" type="BSBLabel">
778 <objectName/>
779 <x>8</x>
780 <y>52</y>
781 <width>180</width>
782 <height>31</height>
783 <uuid>{01f32bee-68b9-4ae4-9aef-1b14ea5ea216}</uuid>
784 <visible>true</visible>
785 <midichan>0</midichan>
786 <midicc>0</midicc>
787 <label>HSBOSCIL Instr On / Off :</label>
788 <alignment>left</alignment>
789 <font>Liberation Sans</font>
790 <fontsize>10</fontsize>
791 <precision>3</precision>
792 <color>
793 <r>255</r>
794 <g>255</g>
795 <b>0</b>
796 </color>
797 <bgcolor mode="nobackground">
798 <r>255</r>
799 <g>255</g>
800 <b>255</b>
801 </bgcolor>
802 <bordermode>noborder</bordermode>
803 <borderradius>1</borderradius>
804 <borderwidth>1</borderwidth>
805 </bsbObject>
806 <bsbObject version="2" type="BSBButton">
807 <objectName/>
808 <x>163</x>
809 <y>56</y>
810 <width>16</width>
811 <height>16</height>
812 <uuid>{fac603b4-992a-4c52-9a5d-3dc031298ac1}</uuid>
813 <visible>true</visible>
814 <midichan>0</midichan>
815 <midicc>0</midicc>
816 <type>event</type>
817 <pressedValue>1.00000000</pressedValue>
818 <stringvalue/>
819 <text/>
820 <image>/</image>
821 <eventLine>i 3 0 -1</eventLine>
822 <latch>true</latch>
823 <latched>false</latched>
824 </bsbObject>
825 <bsbObject version="2" type="BSBLabel">
826 <objectName/>
827 <x>8</x>
828 <y>21</y>
829 <width>180</width>
830 <height>31</height>
831 <uuid>{afe5727a-7833-4d95-a7fd-c8b2532b7d32}</uuid>
832 <visible>true</visible>
833 <midichan>0</midichan>
834 <midicc>0</midicc>
835 <label>MIDI Instr On / Off :</label>
836 <alignment>left</alignment>
837 <font>Liberation Sans</font>
838 <fontsize>10</fontsize>
839 <precision>3</precision>
840 <color>
841 <r>255</r>
842 <g>255</g>
843 <b>0</b>
844 </color>
845 <bgcolor mode="nobackground">
846 <r>255</r>
847 <g>255</g>
848 <b>255</b>
849 </bgcolor>
850 <bordermode>noborder</bordermode>
851 <borderradius>1</borderradius>
852 <borderwidth>1</borderwidth>
853 </bsbObject>
854 <bsbObject version="2" type="BSBButton">
855 <objectName>MIDI</objectName>
856 <x>163</x>
857 <y>25</y>
858 <width>16</width>
859 <height>16</height>
860 <uuid>{feed3f3d-9dca-4f34-af94-60de6864a835}</uuid>
861 <visible>true</visible>
862 <midichan>0</midichan>
863 <midicc>0</midicc>
864 <type>value</type>
865 <pressedValue>1.00000000</pressedValue>
866 <stringvalue/>
867 <text/>
868 <image>/</image>
869 <eventLine/>
870 <latch>true</latch>
871 <latched>true</latched>
872 </bsbObject>
873 </bsbPanel>
874 <bsbPresets>
875 </bsbPresets>