Debian Codegraph @

src/Examples/CsoundQt/Widgets/SpinBox_Widget.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 </CsOptions>
4 <CsInstruments>
5
6 sr = 44100
7 ksmps = 128
8 nchnls = 2
9 0dbfs = 1
10
11 instr 1
12 kamp invalue "amp"
13 kfreq invalue "freq"
14 aout oscil kamp/ 10, kfreq, 1
15 outs aout, aout
16 endin
17
18 </CsInstruments>
19 <CsScore>
20 f 1 0 1024 10 1
21 i 1 0 3600
22 </CsScore>
23 </CsoundSynthesizer>
24
25
26
27
28
29
30 <bsbPanel>
31 <label>Widgets</label>
32 <objectName/>
33 <x>635</x>
34 <y>201</y>
35 <width>303</width>
36 <height>219</height>
37 <visible>true</visible>
38 <uuid/>
39 <bgcolor mode="background">
40 <r>138</r>
41 <g>149</g>
42 <b>156</b>
43 </bgcolor>
44 <bsbObject type="BSBLabel" version="2">
45 <objectName/>
46 <x>35</x>
47 <y>8</y>
48 <width>218</width>
49 <height>40</height>
50 <uuid>{0df0bb40-d88d-4022-a006-19902725d853}</uuid>
51 <visible>true</visible>
52 <midichan>0</midichan>
53 <midicc>-3</midicc>
54 <description/>
55 <label>SpinBox Widget</label>
56 <alignment>center</alignment>
57 <valignment>top</valignment>
58 <font>Arial</font>
59 <fontsize>24</fontsize>
60 <precision>3</precision>
61 <color>
62 <r>0</r>
63 <g>0</g>
64 <b>0</b>
65 </color>
66 <bgcolor mode="nobackground">
67 <r>191</r>
68 <g>204</g>
69 <b>234</b>
70 </bgcolor>
71 <bordermode>noborder</bordermode>
72 <borderradius>1</borderradius>
73 <borderwidth>0</borderwidth>
74 </bsbObject>
75 <bsbObject type="BSBLabel" version="2">
76 <objectName/>
77 <x>10</x>
78 <y>51</y>
79 <width>269</width>
80 <height>56</height>
81 <uuid>{fb0b903a-20d0-4307-b80b-69ddd86d4e33}</uuid>
82 <visible>true</visible>
83 <midichan>0</midichan>
84 <midicc>-3</midicc>
85 <description/>
86 <label>SpinBox widgets allow insertion of numbers with the keyboard and the mouse. They work in a similar way to other text or value widgets.</label>
87 <alignment>left</alignment>
88 <valignment>top</valignment>
89 <font>Liberation Sans</font>
90 <fontsize>12</fontsize>
91 <precision>3</precision>
92 <color>
93 <r>0</r>
94 <g>0</g>
95 <b>0</b>
96 </color>
97 <bgcolor mode="background">
98 <r>191</r>
99 <g>204</g>
100 <b>234</b>
101 </bgcolor>
102 <bordermode>false</bordermode>
103 <borderradius>0</borderradius>
104 <borderwidth>0</borderwidth>
105 </bsbObject>
106 <bsbObject type="BSBSpinBox" version="2">
107 <objectName>freq</objectName>
108 <x>138</x>
109 <y>113</y>
110 <width>80</width>
111 <height>25</height>
112 <uuid>{0cc03e61-cc21-4839-983f-4de92e55cd2d}</uuid>
113 <visible>true</visible>
114 <midichan>0</midichan>
115 <midicc>0</midicc>
116 <description/>
117 <alignment>left</alignment>
118 <font>Liberation Sans</font>
119 <fontsize>12</fontsize>
120 <color>
121 <r>35</r>
122 <g>35</g>
123 <b>35</b>
124 </color>
125 <bgcolor mode="background">
126 <r>220</r>
127 <g>220</g>
128 <b>220</b>
129 </bgcolor>
130 <resolution>10.00000000</resolution>
131 <minimum>-1e+12</minimum>
132 <maximum>1e+12</maximum>
133 <randomizable group="0">false</randomizable>
134 <value>1000</value>
135 </bsbObject>
136 <bsbObject type="BSBSpinBox" version="2">
137 <objectName>amp</objectName>
138 <x>138</x>
139 <y>148</y>
140 <width>80</width>
141 <height>25</height>
142 <uuid>{ee8084d6-7831-4975-8cac-acd49502e1d7}</uuid>
143 <visible>true</visible>
144 <midichan>0</midichan>
145 <midicc>0</midicc>
146 <description/>
147 <alignment>left</alignment>
148 <font>Liberation Sans</font>
149 <fontsize>12</fontsize>
150 <color>
151 <r>35</r>
152 <g>35</g>
153 <b>35</b>
154 </color>
155 <bgcolor mode="background">
156 <r>220</r>
157 <g>220</g>
158 <b>220</b>
159 </bgcolor>
160 <resolution>0.10000000</resolution>
161 <minimum>-1e+12</minimum>
162 <maximum>1e+12</maximum>
163 <randomizable group="0">false</randomizable>
164 <value>0.4</value>
165 </bsbObject>
166 <bsbObject type="BSBLabel" version="2">
167 <objectName/>
168 <x>56</x>
169 <y>114</y>
170 <width>80</width>
171 <height>25</height>
172 <uuid>{96332145-309f-415d-aa55-16c7240bc9b2}</uuid>
173 <visible>true</visible>
174 <midichan>0</midichan>
175 <midicc>-3</midicc>
176 <description/>
177 <label>Freq</label>
178 <alignment>right</alignment>
179 <valignment>top</valignment>
180 <font>Arial</font>
181 <fontsize>12</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>noborder</bordermode>
194 <borderradius>1</borderradius>
195 <borderwidth>0</borderwidth>
196 </bsbObject>
197 <bsbObject type="BSBLabel" version="2">
198 <objectName/>
199 <x>56</x>
200 <y>147</y>
201 <width>80</width>
202 <height>25</height>
203 <uuid>{8cadb868-6f73-4336-9628-1bb720666234}</uuid>
204 <visible>true</visible>
205 <midichan>0</midichan>
206 <midicc>-3</midicc>
207 <description/>
208 <label>Amp</label>
209 <alignment>right</alignment>
210 <valignment>top</valignment>
211 <font>Arial</font>
212 <fontsize>12</fontsize>
213 <precision>3</precision>
214 <color>
215 <r>0</r>
216 <g>0</g>
217 <b>0</b>
218 </color>
219 <bgcolor mode="nobackground">
220 <r>255</r>
221 <g>255</g>
222 <b>255</b>
223 </bgcolor>
224 <bordermode>noborder</bordermode>
225 <borderradius>1</borderradius>
226 <borderwidth>0</borderwidth>
227 </bsbObject>
228 </bsbPanel>
229 <bsbPresets>
230 </bsbPresets>