Debian Codegraph @

src/Examples/CsoundQt/Widgets/Presets.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 </CsOptions>
4 <CsInstruments>
5 ; Nothing here.... Just look at the widget panel!
6
7 </CsInstruments>
8 <CsScore>
9
10 </CsScore>
11 </CsoundSynthesizer>
12
13
14 <bsbPanel>
15 <label>Widgets</label>
16 <objectName/>
17 <x>613</x>
18 <y>178</y>
19 <width>408</width>
20 <height>432</height>
21 <visible>true</visible>
22 <uuid/>
23 <bgcolor mode="background">
24 <r>200</r>
25 <g>200</g>
26 <b>200</b>
27 </bgcolor>
28 <bsbObject type="BSBVSlider" version="2">
29 <objectName>slider1</objectName>
30 <x>29</x>
31 <y>75</y>
32 <width>20</width>
33 <height>100</height>
34 <uuid>{bda239fc-c898-4189-b11b-7da70632f971}</uuid>
35 <visible>true</visible>
36 <midichan>0</midichan>
37 <midicc>-3</midicc>
38 <description/>
39 <minimum>0.00000000</minimum>
40 <maximum>1000.00000000</maximum>
41 <value>1000.00000000</value>
42 <mode>lin</mode>
43 <mouseControl act="jump">continuous</mouseControl>
44 <resolution>-1.00000000</resolution>
45 <randomizable group="0">false</randomizable>
46 </bsbObject>
47 <bsbObject type="BSBKnob" version="2">
48 <objectName>knob1</objectName>
49 <x>69</x>
50 <y>85</y>
51 <width>80</width>
52 <height>80</height>
53 <uuid>{088e0989-51c6-459f-9367-5de9207fb81f}</uuid>
54 <visible>true</visible>
55 <midichan>0</midichan>
56 <midicc>0</midicc>
57 <description/>
58 <minimum>0.00000000</minimum>
59 <maximum>1000.00000000</maximum>
60 <value>1000.00000000</value>
61 <mode>lin</mode>
62 <mouseControl act="">continuous</mouseControl>
63 <resolution>0.01000000</resolution>
64 <randomizable group="0">false</randomizable>
65 <color>
66 <r>245</r>
67 <g>124</g>
68 <b>0</b>
69 </color>
70 <textcolor>#b45a00</textcolor>
71 <border>1</border>
72 <borderColor>#4a2600</borderColor>
73 <showvalue>true</showvalue>
74 <flatstyle>true</flatstyle>
75 <integerMode>false</integerMode>
76 </bsbObject>
77 <bsbObject type="BSBSpinBox" version="2">
78 <objectName>spinbox1</objectName>
79 <x>160</x>
80 <y>100</y>
81 <width>80</width>
82 <height>30</height>
83 <uuid>{7f11964b-c55f-4334-a22b-d12eb00d2c20}</uuid>
84 <visible>true</visible>
85 <midichan>0</midichan>
86 <midicc>0</midicc>
87 <description/>
88 <alignment>left</alignment>
89 <font>Liberation Sans</font>
90 <fontsize>10</fontsize>
91 <color>
92 <r>30</r>
93 <g>30</g>
94 <b>30</b>
95 </color>
96 <bgcolor mode="background">
97 <r>230</r>
98 <g>230</g>
99 <b>230</b>
100 </bgcolor>
101 <resolution>0.00100000</resolution>
102 <minimum>-1e+12</minimum>
103 <maximum>1e+12</maximum>
104 <randomizable group="0">false</randomizable>
105 <value>100</value>
106 </bsbObject>
107 <bsbObject type="BSBLineEdit" version="2">
108 <objectName>lineedit1</objectName>
109 <x>73</x>
110 <y>177</y>
111 <width>100</width>
112 <height>25</height>
113 <uuid>{f02f7cbd-9ce5-4cd4-8ce2-9a40b978e778}</uuid>
114 <visible>true</visible>
115 <midichan>0</midichan>
116 <midicc>-3</midicc>
117 <description/>
118 <label>MAX</label>
119 <alignment>left</alignment>
120 <font>Liberation Sans</font>
121 <fontsize>10</fontsize>
122 <precision>3</precision>
123 <color>
124 <r>30</r>
125 <g>30</g>
126 <b>30</b>
127 </color>
128 <bgcolor mode="nobackground">
129 <r>230</r>
130 <g>230</g>
131 <b>230</b>
132 </bgcolor>
133 <background>nobackground</background>
134 </bsbObject>
135 <bsbObject type="BSBDisplay" version="2">
136 <objectName>slider1</objectName>
137 <x>160</x>
138 <y>130</y>
139 <width>80</width>
140 <height>25</height>
141 <uuid>{63f00456-87b4-4cb8-bac0-418dda9f54f3}</uuid>
142 <visible>true</visible>
143 <midichan>0</midichan>
144 <midicc>-3</midicc>
145 <description/>
146 <label>1000.000</label>
147 <alignment>left</alignment>
148 <valignment>top</valignment>
149 <font>Liberation Sans</font>
150 <fontsize>10</fontsize>
151 <precision>3</precision>
152 <color>
153 <r>0</r>
154 <g>0</g>
155 <b>0</b>
156 </color>
157 <bgcolor mode="nobackground">
158 <r>255</r>
159 <g>255</g>
160 <b>255</b>
161 </bgcolor>
162 <bordermode>false</bordermode>
163 <borderradius>1</borderradius>
164 <borderwidth>0</borderwidth>
165 </bsbObject>
166 <bsbObject type="BSBLabel" version="2">
167 <objectName/>
168 <x>255</x>
169 <y>87</y>
170 <width>122</width>
171 <height>100</height>
172 <uuid>{04c3260b-5d85-4ccb-92aa-3391cc7d8544}</uuid>
173 <visible>true</visible>
174 <midichan>0</midichan>
175 <midicc>-3</midicc>
176 <description/>
177 <label>&lt;&lt;&lt; A bunch of miscellaneous widgets</label>
178 <alignment>left</alignment>
179 <valignment>top</valignment>
180 <font>Liberation Sans</font>
181 <fontsize>14</fontsize>
182 <precision>3</precision>
183 <color>
184 <r>0</r>
185 <g>0</g>
186 <b>0</b>
187 </color>
188 <bgcolor mode="nobackground">
189 <r>255</r>
190 <g>255</g>
191 <b>255</b>
192 </bgcolor>
193 <bordermode>false</bordermode>
194 <borderradius>1</borderradius>
195 <borderwidth>0</borderwidth>
196 </bsbObject>
197 <bsbObject type="BSBLabel" version="2">
198 <objectName/>
199 <x>62</x>
200 <y>3</y>
201 <width>265</width>
202 <height>59</height>
203 <uuid>{8ec38602-3ddb-443b-8379-6de49d6b4f4a}</uuid>
204 <visible>true</visible>
205 <midichan>0</midichan>
206 <midicc>-3</midicc>
207 <description/>
208 <label>Widget Presets</label>
209 <alignment>center</alignment>
210 <valignment>center</valignment>
211 <font>Liberation Sans</font>
212 <fontsize>32</fontsize>
213 <precision>3</precision>
214 <color>
215 <r>15</r>
216 <g>15</g>
217 <b>15</b>
218 </color>
219 <bgcolor mode="background">
220 <r>162</r>
221 <g>162</g>
222 <b>162</b>
223 </bgcolor>
224 <bordermode>false</bordermode>
225 <borderradius>5</borderradius>
226 <borderwidth>0</borderwidth>
227 </bsbObject>
228 <bsbObject type="BSBLabel" version="2">
229 <objectName/>
230 <x>12</x>
231 <y>212</y>
232 <width>364</width>
233 <height>64</height>
234 <uuid>{9d092417-ec1d-4655-939a-1419fd72d7eb}</uuid>
235 <visible>true</visible>
236 <midichan>0</midichan>
237 <midicc>-3</midicc>
238 <description/>
239 <label>Widget presets can be saved and recalled by right clicking on the widget panel.
240 Try it!</label>
241 <alignment>left</alignment>
242 <valignment>top</valignment>
243 <font>Liberation Sans</font>
244 <fontsize>14</fontsize>
245 <precision>3</precision>
246 <color>
247 <r>58</r>
248 <g>15</g>
249 <b>15</b>
250 </color>
251 <bgcolor mode="background">
252 <r>162</r>
253 <g>162</g>
254 <b>162</b>
255 </bgcolor>
256 <bordermode>false</bordermode>
257 <borderradius>5</borderradius>
258 <borderwidth>0</borderwidth>
259 </bsbObject>
260 <bsbObject type="BSBLabel" version="2">
261 <objectName/>
262 <x>12</x>
263 <y>290</y>
264 <width>364</width>
265 <height>86</height>
266 <uuid>{79dede65-da1b-4c14-8e61-f8d0017ed158}</uuid>
267 <visible>true</visible>
268 <midichan>0</midichan>
269 <midicc>-3</midicc>
270 <description/>
271 <label>Widget presets can also be used through some reserved channels as the widgets here:</label>
272 <alignment>left</alignment>
273 <valignment>top</valignment>
274 <font>Liberation Sans</font>
275 <fontsize>14</fontsize>
276 <precision>3</precision>
277 <color>
278 <r>25</r>
279 <g>35</g>
280 <b>44</b>
281 </color>
282 <bgcolor mode="background">
283 <r>153</r>
284 <g>153</g>
285 <b>153</b>
286 </bgcolor>
287 <bordermode>false</bordermode>
288 <borderradius>5</borderradius>
289 <borderwidth>0</borderwidth>
290 </bsbObject>
291 <bsbObject type="BSBSpinBox" version="2">
292 <objectName>_SetPresetIndex</objectName>
293 <x>60</x>
294 <y>340</y>
295 <width>47</width>
296 <height>30</height>
297 <uuid>{b00b7ada-e33c-40f3-985c-02844e9bb94f}</uuid>
298 <visible>true</visible>
299 <midichan>0</midichan>
300 <midicc>0</midicc>
301 <description/>
302 <alignment>left</alignment>
303 <font>Liberation Sans</font>
304 <fontsize>14</fontsize>
305 <color>
306 <r>15</r>
307 <g>15</g>
308 <b>15</b>
309 </color>
310 <bgcolor mode="background">
311 <r>240</r>
312 <g>240</g>
313 <b>240</b>
314 </bgcolor>
315 <resolution>1.00000000</resolution>
316 <minimum>0</minimum>
317 <maximum>3</maximum>
318 <randomizable group="0">false</randomizable>
319 <value>3</value>
320 </bsbObject>
321 <bsbObject type="BSBDisplay" version="2">
322 <objectName>_GetPresetName</objectName>
323 <x>120</x>
324 <y>340</y>
325 <width>83</width>
326 <height>30</height>
327 <uuid>{63ef1797-ed71-4fea-b7f3-0faf78a0e28a}</uuid>
328 <visible>true</visible>
329 <midichan>0</midichan>
330 <midicc>-3</midicc>
331 <description/>
332 <label>Max</label>
333 <alignment>left</alignment>
334 <valignment>center</valignment>
335 <font>Liberation Sans</font>
336 <fontsize>14</fontsize>
337 <precision>3</precision>
338 <color>
339 <r>27</r>
340 <g>30</g>
341 <b>32</b>
342 </color>
343 <bgcolor mode="background">
344 <r>108</r>
345 <g>120</g>
346 <b>128</b>
347 </bgcolor>
348 <bordermode>false</bordermode>
349 <borderradius>0</borderradius>
350 <borderwidth>0</borderwidth>
351 </bsbObject>
352 </bsbPanel>
353 <bsbPresets>
354 <preset name="Default" number="0" >
355 <value id="{bda239fc-c898-4189-b11b-7da70632f971}" mode="1" >0.00000000</value>
356 <value id="{088e0989-51c6-459f-9367-5de9207fb81f}" mode="1" >0.00000000</value>
357 <value id="{7f11964b-c55f-4334-a22b-d12eb00d2c20}" mode="1" >0.00000000</value>
358 <value id="{f02f7cbd-9ce5-4cd4-8ce2-9a40b978e778}" mode="4" >Type here</value>
359 <value id="{63f00456-87b4-4cb8-bac0-418dda9f54f3}" mode="1" >0.00000000</value>
360 <value id="{63f00456-87b4-4cb8-bac0-418dda9f54f3}" mode="4" >Display</value>
361 </preset>
362 <preset name="Low" number="1" >
363 <value id="{bda239fc-c898-4189-b11b-7da70632f971}" mode="1" >300.00000000</value>
364 <value id="{088e0989-51c6-459f-9367-5de9207fb81f}" mode="1" >220.00000000</value>
365 <value id="{7f11964b-c55f-4334-a22b-d12eb00d2c20}" mode="1" >0.02100000</value>
366 <value id="{f02f7cbd-9ce5-4cd4-8ce2-9a40b978e778}" mode="4" >low</value>
367 <value id="{63f00456-87b4-4cb8-bac0-418dda9f54f3}" mode="1" >300.00000000</value>
368 <value id="{63f00456-87b4-4cb8-bac0-418dda9f54f3}" mode="4" >300.000</value>
369 </preset>
370 <preset name="Mid" number="2" >
371 <value id="{bda239fc-c898-4189-b11b-7da70632f971}" mode="1" >550.00000000</value>
372 <value id="{088e0989-51c6-459f-9367-5de9207fb81f}" mode="1" >480.00000000</value>
373 <value id="{7f11964b-c55f-4334-a22b-d12eb00d2c20}" mode="1" >2.00000000</value>
374 <value id="{f02f7cbd-9ce5-4cd4-8ce2-9a40b978e778}" mode="4" >mid</value>
375 <value id="{63f00456-87b4-4cb8-bac0-418dda9f54f3}" mode="1" >550.00000000</value>
376 <value id="{63f00456-87b4-4cb8-bac0-418dda9f54f3}" mode="4" >550.000</value>
377 </preset>
378 <preset name="Max" number="3" >
379 <value id="{bda239fc-c898-4189-b11b-7da70632f971}" mode="1" >1000.00000000</value>
380 <value id="{088e0989-51c6-459f-9367-5de9207fb81f}" mode="1" >1000.00000000</value>
381 <value id="{7f11964b-c55f-4334-a22b-d12eb00d2c20}" mode="1" >100.00000000</value>
382 <value id="{f02f7cbd-9ce5-4cd4-8ce2-9a40b978e778}" mode="4" >MAX</value>
383 <value id="{63f00456-87b4-4cb8-bac0-418dda9f54f3}" mode="1" >1000.00000000</value>
384 <value id="{63f00456-87b4-4cb8-bac0-418dda9f54f3}" mode="4" >1000.000</value>
385 </preset>
386 </bsbPresets>