Dynamics: No graphs on re-opening
[calf.git] / gui / gui-monosynth.xml
blobe1c8388022ad176da2fe2122d4d8063a4c502230
1 <?xml version="1.0"?>
2 <hbox spacing="5">
3     <frame label="Global">
4         <vbox border="6" spacing="10">
5             <label />
6             <vbox expand="0" fill="0">
7                 <label param="master"/>
8                 <knob param="master" size="5"/>
9                 <value param="master"/>
10             </vbox>
11             <label />
12             <hbox spacing="4" expand="0" fill="0">
13                 <vbox>
14                     <label param="pbend_range"/>
15                     <knob param="pbend_range"/>
16                     <value param="pbend_range"/>
17                 </vbox>
18                 <vbox>
19                     <label param="portamento"/>
20                     <knob param="portamento"/>
21                     <value param="portamento"/>
22                 </vbox>
23             </hbox>
24             <vbox expand="0" fill="0">
25                 <label param="legato" expand="0"/>
26                 <combo param="legato" expand="0" fill="0"/>
27             </vbox>
28         </vbox>
29     </frame>
30     <notebook>
31         <vbox page="Audio Path" spacing="3">
32             <hbox spacing="3">
33                     
34                 <frame label="Oscillator 1">
35                     <vbox spacing="3">
36                         <hbox homogeneous="1" spacing="8">
37                             <vbox>
38                                 <label param="o1_pw" text="Pulse Width"/>
39                                 <knob param="o1_pw"/>
40                                 <value param="o1_pw"/>
41                             </vbox>
42                             <vbox>
43                                 <label param="o1_xpose" text="Transpose"/>
44                                 <knob type="1" param="o1_xpose"/>
45                                 <value param="o1_xpose"/>
46                             </vbox>
47                             <vbox>
48                                 <label param="o1_stretch" text="Stretch"/>
49                                 <knob param="o1_stretch"/>
50                                 <value param="o1_stretch"/>
51                             </vbox>
52                             <vbox>
53                                 <label param="o1_window" text="Window"/>
54                                 <knob param="o1_window"/>
55                                 <value param="o1_window"/>
56                             </vbox>
57                         </hbox>
58                         <label text="Waveform"/>
59                         <combo param="o1_wave" fill="0" expand="0"/> 
60                         <if cond="directlink">
61                             <line-graph param="o1_wave" refresh="1" width="150" height="88" expand="1" fill="1"/>
62                         </if>
63                     </vbox>
64                 </frame>
65                 
66                 <frame label="Oscillators - Common">
67                     <vbox>
68                         <vbox>
69                             <label param="o12_mix" expand="0" fill="0"/>
70                             <hscale param="o12_mix" position="bottom" expand="1" fill="1"/>
71                         </vbox>
72                         <hbox homogeneous="1" spacing="20">
73                             <vbox>
74                                 <label param="o12_detune"/>
75                                 <knob param="o12_detune" size="3"/>
76                                 <value param="o12_detune"/>
77                             </vbox>
78                             <vbox>
79                                 <label param="scale_detune"/>
80                                 <knob param="scale_detune" size="3"/>
81                                 <value param="scale_detune"/>
82                             </vbox>
83                         </hbox>
84                         <vbox>
85                             <label param="phase_mode" />
86                             <combo param="phase_mode" fill="0" expand="0"/>
87                         </vbox>
88                     </vbox>
89                 </frame>
90             
91                 <frame label="Oscillator 2">
92                     <vbox spacing="3">
93                         <hbox homogeneous="1">
94                             <vbox>
95                                 <label attach-x="1" attach-y="0" param="o2_pw" text="Pulse Width"/>
96                                 <knob attach-x="1" attach-y="1" param="o2_pw"/>
97                                 <value attach-x="1" attach-y="2" param="o2_pw"/>
98                             </vbox>
99                             <vbox>
100                                 <label param="o2_xpose" text="Transpose"/>
101                                 <knob type="1" param="o2_xpose"/>
102                                 <value param="o2_xpose"/>
103                             </vbox>
104                             <vbox>
105                                 <label text="Unison Amt"/>
106                                 <knob type="0" param="o2_unison"/>
107                                 <value param="o2_unison"/>
108                             </vbox>
109                             <vbox>
110                                 <label text="Unison Rate"/>
111                                 <knob type="0" param="o2_unisonfrq"/>
112                                 <value param="o2_unisonfrq"/>
113                             </vbox>
114                         </hbox>
115                         <label text="Waveform"/>
116                         <combo param="o2_wave" fill="0" expand="0"/>
117                         <if cond="directlink">
118                             <line-graph param="o2_wave" refresh="1" width="150" height="88" expand="1" fill="1"/>
119                         </if>
120                     </vbox>
121                 </frame>
122                     
123             </hbox>
124             <hbox>
125                 <frame label="Filter">
126                     <hbox spacing="2">
127                         <vbox>
128                             <label param="cutoff"/>
129                             <knob param="cutoff" size="3"/>
130                             <value param="cutoff"/>
131                         </vbox>
132                         <vbox>
133                             <label param="res"/>
134                             <knob param="res" size="3"/>
135                             <value param="res"/>
136                         </vbox>
137                         
138                         <vbox>
139                             <combo param="filter" fill="0" expand="0"/>
140                             <if cond="directlink">
141                                 <line-graph param="filter" refresh="1" width="130" height="100" expand="0" fill="0" fade="0.5"/>
142                             </if>
143                         </vbox>
144                         
145                         <vbox>
146                             <label param="filter_sep"/>
147                             <knob type="1" param="filter_sep" size="3"/>
148                             <value param="filter_sep"/>
149                         </vbox>
150                         <vbox>
151                             <label param="key_follow"/>
152                             <knob param="key_follow" size="3"/>
153                             <value param="key_follow"/>
154                         </vbox>
155                     </hbox>
156                 </frame>
157             </hbox>
158         </vbox>
159         
160         <vbox page="Modulation" spacing="4">
161             <hbox spacing="8">
162                 <vbox>
163                     <frame label="Note velocity">
164                         <hbox spacing="10">
165                             <vbox>
166                                 <label text="To Cutoff"/>
167                                 <knob param="vel2filter" size="2"/>
168                                 <value param="vel2filter"/>
169                             </vbox>
170                             <vbox>
171                                 <label text="To Amp"/>
172                                 <knob param="vel2amp" size="2"/>
173                                 <value param="vel2amp"/>
174                             </vbox>                
175                         </hbox>
176                     </frame>
177                     <frame label="LFO 1">
178                         <vbox spacing="10">
179                             <hbox>
180                                 <label param="lfo1_trig" text="Mode         " />
181                                 <combo param="lfo1_trig" />
182                             </hbox>
183                             <hbox>
184                                 <vbox>
185                                     <label text="Rate"/>
186                                     <knob param="lfo_rate"/>
187                                     <value param="lfo_rate"/>
188                                 </vbox>
189                                 <vbox>
190                                     <label text="Delay"/>
191                                     <knob param="lfo_delay"/>
192                                     <value param="lfo_delay"/>
193                                 </vbox>
194                                 <vbox>
195                                     <label text="ModWheel"/>
196                                     <knob param="mwhl2lfo"/>
197                                     <value param="mwhl2lfo"/>
198                                 </vbox>
199                             </hbox>
200                             <hbox>
201                                 <vbox>
202                                     <label text="To Cutoff"/>
203                                     <knob param="lfo2filter" type="1"/>
204                                     <value param="lfo2filter"/>
205                                 </vbox>
206                                 <vbox>
207                                     <label text="To Pitch"/>
208                                     <knob param="lfo2pitch"/>
209                                     <value param="lfo2pitch"/>
210                                 </vbox>
211                                 <vbox>
212                                     <label text="To Osc PW"/>
213                                     <knob param="lfo2pw"/>
214                                     <value param="lfo2pw"/>
215                                 </vbox>
216                             </hbox>
217                         </vbox>
218                     </frame>
219                     <frame label="LFO 2">
220                         <vbox spacing="10">
221                             <hbox>
222                                 <label param="lfo2_trig" text="         Mode" />
223                                 <combo param="lfo2_trig" />
224                             </hbox>
225                             <hbox>
226                                 <vbox>
227                                     <label text="Rate"/>
228                                     <knob param="lfo2_rate"/>
229                                     <value param="lfo2_rate"/>
230                                 </vbox>
231                                 <vbox>
232                                     <label text="Delay"/>
233                                     <knob param="lfo_delay"/>
234                                     <value param="lfo_delay"/>
235                                 </vbox>
236                             </hbox>
237                         </vbox>
238                     </frame>
239                 </vbox>
240                 <vbox>
241                     <frame label="Envelope 1">
242                         <hbox spacing="4">
243                             <table cols="5" rows="1" homogeneous="1" fill-x="0" expand-x="0">
244                                 <vbox attach-x="0" attach-y="0">
245                                     <label param="adsr_a" text="Attack"/>
246                                     <vscale param="adsr_a" inverted="1" size="1"/>
247                                     <value param="adsr_a" width="4"/>
248                                 </vbox>
249                                 <vbox attach-x="1" attach-y="0">
250                                     <label param="adsr_d" text="Decay"/>
251                                     <vscale param="adsr_d" inverted="1" size="1"/>
252                                     <value param="adsr_d" width="4"/>
253                                 </vbox>
254                                 <vbox attach-x="2" attach-y="0">
255                                     <label param="adsr_s" text="Sustain"/>
256                                     <vscale param="adsr_s" inverted="1" size="1"/>
257                                     <value param="adsr_s"/>
258                                 </vbox>
259                                 <vbox attach-x="3" attach-y="0">
260                                     <label param="adsr_f" text="Fade"/>
261                                     <vscale param="adsr_f" inverted="1" size="1"/>
262                                     <value param="adsr_f" width="4"/>
263                                 </vbox>
264                                 <vbox attach-x="4" attach-y="0">
265                                     <label param="adsr_r" text="Release"/>
266                                     <vscale param="adsr_r" inverted="1" size="1"/>
267                                     <value param="adsr_r" width="4"/>
268                                 </vbox>
269                             </table>
270                             <vbox>
271                                 <vbox>
272                                     <label text="To Cutoff"/>
273                                     <knob type="1" param="env2cutoff"/>
274                                     <value param="env2cutoff"/>
275                                 </vbox>
276                                 <vbox>
277                                     <label text="To Res"/>
278                                     <knob param="env2res"/>
279                                     <value param="env2res"/>
280                                 </vbox>
281                                 <vbox>
282                                     <label text="To Amp"/>
283                                     <toggle param="env2amp" size="1"/>
284                                 </vbox>
285                             </vbox>
286                         </hbox>
287                     </frame>
288                     <frame label="Envelope 2">
289                         <hbox spacing="4">
290                             <table cols="5" rows="1" homogeneous="1" fill-x="0" expand-x="0">
291                                 <vbox attach-x="0" attach-y="0">
292                                     <label param="adsr2_a" text="Attack"/>
293                                     <vscale param="adsr2_a" inverted="1" size="1"/>
294                                     <value param="adsr2_a" width="4"/>
295                                 </vbox>
296                                 <vbox attach-x="1" attach-y="0">
297                                     <label param="adsr2_d" text="Decay"/>
298                                     <vscale param="adsr2_d" inverted="1" size="1"/>
299                                     <value param="adsr2_d" width="4"/>
300                                 </vbox>
301                                 <vbox attach-x="2" attach-y="0">
302                                     <label param="adsr2_s" text="Sustain"/>
303                                     <vscale param="adsr2_s" inverted="1" size="1"/>
304                                     <value param="adsr2_s"/>
305                                 </vbox>
306                                 <vbox attach-x="3" attach-y="0">
307                                     <label param="adsr2_f" text="Fade"/>
308                                     <vscale param="adsr2_f" inverted="1" size="1"/>
309                                     <value param="adsr2_f" width="4"/>
310                                 </vbox>
311                                 <vbox attach-x="4" attach-y="0">
312                                     <label param="adsr2_r" text="Release"/>
313                                     <vscale param="adsr2_r" inverted="1" size="1"/>
314                                     <value param="adsr2_r" width="4"/>
315                                 </vbox>
316                             </table>
317                             <vbox>
318                                 <vbox>
319                                     <label text="To Cutoff"/>
320                                     <knob type="1" param="adsr2_cutoff"/>
321                                     <value param="adsr2_cutoff"/>
322                                 </vbox>
323                                 <vbox>
324                                     <label text="To Res"/>
325                                     <knob param="adsr2_res"/>
326                                     <value param="adsr2_res"/>
327                                 </vbox>
328                                 <vbox>
329                                     <label text="To Amp"/>
330                                     <toggle param="adsr2_amp" size="1"/>
331                                 </vbox>
332                             </vbox>
333                         </hbox>
334                     </frame>
335                 </vbox>
336             </hbox>
337         </vbox>
338         <if cond="configure">
339             <vbox page="Modulation Matrix">
340                 <listview key="mod_matrix" />
341             </vbox>
342         </if>
343     </notebook>
344 </hbox>