hz_to_note as primitive; line graph cross hair with much more information; new labels...
[calf.git] / gui / gui-organ.xml
blobe2883d07a0e6ed4ef5b23b37487263b87094159b
1 <?xml version="1.0" encoding="UTF-8"?>
2 <hbox spacing="10">
3     <frame label="Global">
4         <vbox spacing="8">
5             <vbox>
6                 <label param="master" />
7                 <knob param="master" size="5" />
8                 <value param="master" />
9             </vbox>
10             <label/>
11             <vbox>
12                 <label param="transpose" />
13                 <knob param="transpose" type="1" size="3" />
14                 <value param="transpose" />
15             </vbox>
16             <vbox>
17                 <label param="detune" />
18                 <knob param="detune" type="1" size="3" />
19                 <value param="detune" />
20             </vbox>
21             <vbox>
22                 <label param="polyphony" />
23                 <knob param="polyphony" />
24                 <value param="polyphony" />
25             </vbox>
26             <vbox>
27                 <label param="pbend_range" />
28                 <knob param="pbend_range" />
29                 <value param="pbend_range" />
30             </vbox>
31             <vbox>
32                 <label param="foldnote" />
33                 <knob param="foldnote" />
34                 <value param="foldnote" />
35             </vbox>
36             <vbox>
37                 <label param="quad_env" />
38                 <toggle param="quad_env" />
39             </vbox>
40         </vbox>
41     </frame>
42     <vbox spacing="8">
43         <hbox>
44             <if cond="directlink">
45                 <frame label="Osc Waveform">
46                     <line-graph param="master" refresh="1" width="200" height="40" expand="0" fill="0" />
47                 </frame>
48             </if>
49             <frame label="Vibrato">
50                 <vbox>
51                     <hbox homogeneous="0">
52                         <vbox>
53                             <label text="Rate" />
54                             <knob param="vib_rate" />
55                             <value param="vib_rate" />
56                         </vbox>
57                         <vbox>
58                             <label text="Amount" />
59                             <knob param="vib_amt" />
60                             <value param="vib_amt" />
61                         </vbox>
62                         <label text=" "/>
63                         <vbox>
64                             <label text="Mix" />
65                             <knob param="vib_wet" />
66                             <value param="vib_wet" />
67                         </vbox>
68                         <vbox>
69                             <label text="Phase" />
70                             <knob param="vib_phase" type="3" />
71                             <value param="vib_phase" />
72                         </vbox>
73                     </hbox>
74                     <hbox>
75                         <combo param="vib_type" />
76                         <combo param="vib_mode" />
77                     </hbox>
78                 </vbox>
79             </frame>
80             <frame label="Global EQ">
81                 <hbox>
82                     <vbox>
83                         <label param="bass_freq" />
84                         <knob param="bass_freq" />
85                         <value param="bass_freq" />
86                     </vbox>
87                     <vbox>
88                         <label param="bass_gain" />
89                         <knob param="bass_gain" />
90                         <value param="bass_gain" />
91                     </vbox>
92                     <vbox>
93                         <label param="treble_freq" />
94                         <knob param="treble_freq" />
95                         <value param="treble_freq" />
96                     </vbox>
97                     <vbox>
98                         <label param="treble_gain" />
99                         <knob param="treble_gain" />
100                         <value param="treble_gain" />
101                     </vbox>
102                 </hbox>
103             </frame>
104         </hbox>
105         <notebook>
106             <vbox page="Tone Generator">
107                 <table rows="12" cols="9">
108                     <label attach-x="0" attach-y="1" text="Level" />
109                     <label attach-x="0" attach-y="3" text="Harmonic" />
110                     <label attach-x="0" attach-y="5" text="Wave" />
111                     <label attach-x="0" attach-y="6" text="Detune" />
112                     <label attach-x="0" attach-y="8" text="Phase" />
113                     <label attach-x="0" attach-y="10" text="Pan" />
114                     <label attach-x="0" attach-y="12" text="Send to" />
115                     <label attach-x="1" attach-y="0" param="l1" />
116                     <vscale height="150" attach-x="1" attach-y="1" param="l1" />
117                     <value attach-x="1" attach-y="2" param="l1" />
118                     <knob attach-x="1" attach-y="3" param="f1" />
119                     <value attach-x="1" attach-y="4" param="f1" />
120                     <combo attach-x="1" attach-y="5" param="w1" />
121                     <knob attach-x="1" attach-y="6" param="detune1" type="1" />
122                     <value attach-x="1" attach-y="7" param="detune1" />
123                     <knob attach-x="1" attach-y="8" param="phase1" type="3" />
124                     <value attach-x="1" attach-y="9" param="phase1" />
125                     <knob attach-x="1" attach-y="10" param="pan1" type="1" />
126                     <value attach-x="1" attach-y="11" param="pan1" />
127                     <combo attach-x="1" attach-y="12" param="routing1" />
128                     <label attach-x="2" attach-y="0" param="l2" />
129                     <vscale height="150" attach-x="2" attach-y="1" param="l2" />
130                     <value attach-x="2" attach-y="2" param="l2" />
131                     <knob attach-x="2" attach-y="3" param="f2" />
132                     <value attach-x="2" attach-y="4" param="f2" />
133                     <combo attach-x="2" attach-y="5" param="w2" />
134                     <knob attach-x="2" attach-y="6" param="detune2" type="1" />
135                     <value attach-x="2" attach-y="7" param="detune2" />
136                     <knob attach-x="2" attach-y="8" param="phase2" type="3" />
137                     <value attach-x="2" attach-y="9" param="phase2" />
138                     <knob attach-x="2" attach-y="10" param="pan2" type="1" />
139                     <value attach-x="2" attach-y="11" param="pan2" />
140                     <combo attach-x="2" attach-y="12" param="routing2" />
141                     <label attach-x="3" attach-y="0" param="l3" />
142                     <vscale height="150" attach-x="3" attach-y="1" param="l3" />
143                     <value attach-x="3" attach-y="2" param="l3" />
144                     <knob attach-x="3" attach-y="3" param="f3" />
145                     <value attach-x="3" attach-y="4" param="f3" />
146                     <combo attach-x="3" attach-y="5" param="w3" />
147                     <knob attach-x="3" attach-y="6" param="detune3" type="1" />
148                     <value attach-x="3" attach-y="7" param="detune3" />
149                     <knob attach-x="3" attach-y="8" param="phase3" type="3" />
150                     <value attach-x="3" attach-y="9" param="phase3" />
151                     <knob attach-x="3" attach-y="10" param="pan3" type="1" />
152                     <value attach-x="3" attach-y="11" param="pan3" />
153                     <combo attach-x="3" attach-y="12" param="routing3" />
154                     <label attach-x="4" attach-y="0" param="l4" />
155                     <vscale height="150" attach-x="4" attach-y="1" param="l4" />
156                     <value attach-x="4" attach-y="2" param="l4" />
157                     <knob attach-x="4" attach-y="3" param="f4" />
158                     <value attach-x="4" attach-y="4" param="f4" />
159                     <combo attach-x="4" attach-y="5" param="w4" />
160                     <knob attach-x="4" attach-y="6" param="detune4" type="1" />
161                     <value attach-x="4" attach-y="7" param="detune4" />
162                     <knob attach-x="4" attach-y="8" param="phase4" type="3" />
163                     <value attach-x="4" attach-y="9" param="phase4" />
164                     <knob attach-x="4" attach-y="10" param="pan4" type="1" />
165                     <value attach-x="4" attach-y="11" param="pan4" />
166                     <combo attach-x="4" attach-y="12" param="routing4" />
167                     <label attach-x="5" attach-y="0" param="l5" />
168                     <vscale height="150" attach-x="5" attach-y="1" param="l5" />
169                     <value attach-x="5" attach-y="2" param="l5" />
170                     <knob attach-x="5" attach-y="3" param="f5" />
171                     <value attach-x="5" attach-y="4" param="f5" />
172                     <combo attach-x="5" attach-y="5" param="w5" />
173                     <knob attach-x="5" attach-y="6" param="detune5" type="1" />
174                     <value attach-x="5" attach-y="7" param="detune5" />
175                     <knob attach-x="5" attach-y="8" param="phase5" type="3" />
176                     <value attach-x="5" attach-y="9" param="phase5" />
177                     <knob attach-x="5" attach-y="10" param="pan5" type="1" />
178                     <value attach-x="5" attach-y="11" param="pan5" />
179                     <combo attach-x="5" attach-y="12" param="routing5" />
180                     <label attach-x="6" attach-y="0" param="l6" />
181                     <vscale height="150" attach-x="6" attach-y="1" param="l6" />
182                     <value attach-x="6" attach-y="2" param="l6" />
183                     <knob attach-x="6" attach-y="3" param="f6" />
184                     <value attach-x="6" attach-y="4" param="f6" />
185                     <combo attach-x="6" attach-y="5" param="w6" />
186                     <knob attach-x="6" attach-y="6" param="detune6" type="1" />
187                     <value attach-x="6" attach-y="7" param="detune6" />
188                     <knob attach-x="6" attach-y="8" param="phase6" type="3" />
189                     <value attach-x="6" attach-y="9" param="phase6" />
190                     <knob attach-x="6" attach-y="10" param="pan6" type="1" />
191                     <value attach-x="6" attach-y="11" param="pan6" />
192                     <combo attach-x="6" attach-y="12" param="routing6" />
193                     <label attach-x="7" attach-y="0" param="l7" />
194                     <vscale height="150" attach-x="7" attach-y="1" param="l7" />
195                     <value attach-x="7" attach-y="2" param="l7" />
196                     <knob attach-x="7" attach-y="3" param="f7" />
197                     <value attach-x="7" attach-y="4" param="f7" />
198                     <combo attach-x="7" attach-y="5" param="w7" />
199                     <knob attach-x="7" attach-y="6" param="detune7" type="1" />
200                     <value attach-x="7" attach-y="7" param="detune7" />
201                     <knob attach-x="7" attach-y="8" param="phase7" type="3" />
202                     <value attach-x="7" attach-y="9" param="phase7" />
203                     <knob attach-x="7" attach-y="10" param="pan7" type="1" />
204                     <value attach-x="7" attach-y="11" param="pan7" />
205                     <combo attach-x="7" attach-y="12" param="routing7" />
206                     <label attach-x="8" attach-y="0" param="l8" />
207                     <vscale height="150" attach-x="8" attach-y="1" param="l8" />
208                     <value attach-x="8" attach-y="2" param="l8" />
209                     <knob attach-x="8" attach-y="3" param="f8" />
210                     <value attach-x="8" attach-y="4" param="f8" />
211                     <combo attach-x="8" attach-y="5" param="w8" />
212                     <knob attach-x="8" attach-y="6" param="detune8" type="1" />
213                     <value attach-x="8" attach-y="7" param="detune8" />
214                     <knob attach-x="8" attach-y="8" param="phase8" type="3" />
215                     <value attach-x="8" attach-y="9" param="phase8" />
216                     <knob attach-x="8" attach-y="10" param="pan8" type="1" />
217                     <value attach-x="8" attach-y="11" param="pan8" />
218                     <combo attach-x="8" attach-y="12" param="routing8" />
219                     <label attach-x="9" attach-y="0" param="l9" />
220                     <vscale height="150" attach-x="9" attach-y="1" param="l9" />
221                     <value attach-x="9" attach-y="2" param="l9" />
222                     <knob attach-x="9" attach-y="3" param="f9" />
223                     <value attach-x="9" attach-y="4" param="f9" />
224                     <combo attach-x="9" attach-y="5" param="w9" />
225                     <knob attach-x="9" attach-y="6" param="detune9" type="1" />
226                     <value attach-x="9" attach-y="7" param="detune9" />
227                     <knob attach-x="9" attach-y="8" param="phase9" type="3" />
228                     <value attach-x="9" attach-y="9" param="phase9" />
229                     <knob attach-x="9" attach-y="10" param="pan9" type="1" />
230                     <value attach-x="9" attach-y="11" param="pan9" />
231                     <combo attach-x="9" attach-y="12" param="routing9" />
232                 </table>
233             </vbox>
234             <vbox page="Sound Processor">
235                 <frame label="Percussive section">
236                     <vbox>
237                         <align scale-x="0.0" scale-y="1.0">
238                             <vbox>
239                                 <keyboard octaves="10" />
240                                 <curve key="map_curve" maxpoints="4" />
241                             </vbox>
242                         </align>
243                         <hbox>
244                             <vbox>
245                                 <label text="Carrier" />
246                                 <align>
247                                     <combo param="perc_waveform" />
248                                 </align>
249                                 <label/>
250                             </vbox>
251                             <vbox>
252                                 <label text="C:Harmonic" />
253                                 <knob param="perc_harmonic" />
254                                 <value param="perc_harmonic" />
255                             </vbox>
256                             <vbox>
257                                 <label text="C:Level" />
258                                 <knob param="perc_level" />
259                                 <value param="perc_level" />
260                             </vbox>
261                             <vbox>
262                                 <label text="C:Decay" />
263                                 <knob param="perc_decay" />
264                                 <value param="perc_decay" />
265                             </vbox>
266                             <vbox>
267                                 <label text="C:Vel>Amp" />
268                                 <knob param="perc_vel2amp" />
269                                 <value param="perc_vel2amp" />
270                             </vbox>
271                             
272                             <label/>
273                             
274                             <vbox attach-x="0" attach-y="2">
275                                 <label text="Modulator" />
276                                 <align>
277                                     <combo param="perc_fm_waveform" />
278                                 </align>
279                                 <label/>
280                             </vbox>
281                             <vbox>
282                                 <label text="M:Harmonic" />
283                                 <knob param="perc_fm_harmonic" />
284                                 <value param="perc_fm_harmonic" />
285                             </vbox>
286                             <vbox>
287                                 <label text="M:Depth" />
288                                 <knob param="perc_fm_depth" />
289                                 <value param="perc_fm_depth" />
290                             </vbox>
291                             <vbox>
292                                 <label text="M:Decay" />
293                                 <knob param="perc_fm_decay" />
294                                 <value param="perc_fm_decay" />
295                             </vbox>
296                             <vbox>
297                                 <label text="M:Vel>FM" />
298                                 <knob param="perc_vel2fm" />
299                                 <value param="perc_vel2fm" />
300                             </vbox>
301                             
302                             <vbox>
303                                 <label text="Trigger" />
304                                 <align>
305                                     <combo param="perc_trigger" />
306                                 </align>
307                                 <label/>
308                             </vbox>
309                             <vbox>
310                                 <label text="Stereo Phase" />
311                                 <knob param="perc_stereo" expand="0" fill="0" type="3" />
312                                 <value param="perc_stereo" />
313                             </vbox>
314                         </hbox>
315                     </vbox>
316                 </frame>
317                 <hbox>
318                     <vbox>
319                         <frame label="Filter 1">
320                             <vbox>
321                                 <hbox homogeneous="1">
322                                     <vbox>
323                                         <label param="f1_cutoff" />
324                                         <knob param="f1_cutoff" expand="0" fill="0" />
325                                         <value param="f1_cutoff" />
326                                     </vbox>
327                                     <vbox>
328                                         <label param="f1_res" />
329                                         <knob param="f1_res" expand="0" fill="0" />
330                                         <value param="f1_res" />
331                                     </vbox>
332                                     <vbox>
333                                         <label param="f1_keyf" />
334                                         <knob param="f1_keyf" expand="0" fill="0" />
335                                         <value param="f1_keyf" />
336                                     </vbox>
337                                     <vbox>
338                                         <label param="f1_env1" />
339                                         <knob param="f1_env1" expand="0" fill="0" type="1" />
340                                         <value param="f1_env1" />
341                                     </vbox>
342                                     <vbox>
343                                         <label param="f1_env2" />
344                                         <knob param="f1_env2" expand="0" fill="0" type="1" />
345                                         <value param="f1_env2" />
346                                     </vbox>
347                                     <vbox>
348                                         <label param="f1_env3" />
349                                         <knob param="f1_env3" expand="0" fill="0" type="1" />
350                                         <value param="f1_env3" />
351                                     </vbox>
352                                 </hbox>
353                                 <hbox>
354                                     <label param="filter_chain" />
355                                     <align><combo param="filter_chain" /></align>
356                                     <label param="filter1_type" />
357                                     <align><combo param="filter1_type" /></align>
358                                 </hbox>
359                             </vbox>
360                         </frame>
361                         <frame label="Filter 2">
362                             <hbox homogeneous="1">
363                                 <vbox>
364                                     <label param="f2_cutoff" />
365                                     <knob param="f2_cutoff" expand="0" fill="0" />
366                                     <value param="f2_cutoff" />
367                                 </vbox>
368                                 <vbox>
369                                     <label param="f2_res" />
370                                     <knob param="f2_res" expand="0" fill="0" />
371                                     <value param="f2_res" />
372                                 </vbox>
373                                 <vbox>
374                                     <label param="f2_keyf" />
375                                     <knob param="f2_keyf" expand="0" fill="0" />
376                                     <value param="f2_keyf" />
377                                 </vbox>
378                                 <vbox>
379                                     <label param="f2_env1" />
380                                     <knob param="f2_env1" expand="0" fill="0" type="1" />
381                                     <value param="f2_env1" />
382                                 </vbox>
383                                 <vbox>
384                                     <label param="f2_env2" />
385                                     <knob param="f2_env2" expand="0" fill="0" type="1" />
386                                     <value param="f2_env2" />
387                                 </vbox>
388                                 <vbox>
389                                     <label param="f2_env3" />
390                                     <knob param="f2_env3" expand="0" fill="0" type="1" />
391                                     <value param="f2_env3" />
392                                 </vbox>
393                             </hbox>
394                         </frame>
395                     </vbox>
396                     <vbox>
397                         <frame label="Envelope Generator 1">
398                             <hbox>
399                                 <vbox>
400                                     <label text="Attack" />
401                                     <knob param="adsr_a" expand="0" fill="0" />
402                                     <value param="adsr_a" />
403                                 </vbox>
404                                 <vbox>
405                                     <label text="Decay" />
406                                     <knob param="adsr_d" expand="0" fill="0" />
407                                     <value param="adsr_d" />
408                                 </vbox>
409                                 <vbox>
410                                     <label text="Sustain" />
411                                     <knob param="adsr_s" expand="0" fill="0" />
412                                     <value param="adsr_s" />
413                                 </vbox>
414                                 <vbox>
415                                     <label text="Release" />
416                                     <knob param="adsr_r" expand="0" fill="0" />
417                                     <value param="adsr_r" />
418                                 </vbox>
419                                 <vbox>
420                                     <label text="VelMod" />
421                                     <knob param="adsr_v" expand="0" fill="0" />
422                                     <value param="adsr_v" />
423                                 </vbox>
424                                 <vbox>
425                                     <label text="To Amp" />
426                                     <combo param="eg1_amp_ctl"/>
427                                     <label/>
428                                     <label/>
429                                 </vbox>
430                             </hbox>
431                         </frame>
432                         <frame label="Envelope Generator 2">
433                             <hbox>
434                                 <vbox>
435                                     <label text="Attack" />
436                                     <knob param="adsr2_a" expand="0" fill="0" />
437                                     <value param="adsr2_a" />
438                                 </vbox>
439                                 <vbox>
440                                     <label text="Decay" />
441                                     <knob param="adsr2_d" expand="0" fill="0" />
442                                     <value param="adsr2_d" />
443                                 </vbox>
444                                 <vbox>
445                                     <label text="Sustain" />
446                                     <knob param="adsr2_s" expand="0" fill="0" />
447                                     <value param="adsr2_s" />
448                                 </vbox>
449                                 <vbox>
450                                     <label text="Release" />
451                                     <knob param="adsr2_r" expand="0" fill="0" />
452                                     <value param="adsr2_r" />
453                                 </vbox>
454                                 <vbox>
455                                     <label text="VelMod" />
456                                     <knob param="adsr2_v" expand="0" fill="0" />
457                                     <value param="adsr2_v" />
458                                 </vbox>
459                                 <vbox>
460                                     <label text="To Amp" />
461                                     <combo param="eg2_amp_ctl" />
462                                     <label/>
463                                     <label/>
464                                 </vbox>
465                             </hbox>
466                         </frame>
467                         <frame label="Envelope Generator 3">
468                             <hbox>
469                                 <vbox>
470                                     <label text="Attack" />
471                                     <knob param="adsr3_a" expand="0" fill="0" />
472                                     <value param="adsr3_a" />
473                                 </vbox>
474                                 <vbox>
475                                     <label text="Decay" />
476                                     <knob param="adsr3_d" expand="0" fill="0" />
477                                     <value param="adsr3_d" />
478                                 </vbox>
479                                 <vbox>
480                                     <label text="Sustain" />
481                                     <knob param="adsr3_s" expand="0" fill="0" />
482                                     <value param="adsr3_s" />
483                                 </vbox>
484                                 <vbox>
485                                     <label text="Release" />
486                                     <knob param="adsr3_r" expand="0" fill="0" />
487                                     <value param="adsr3_r" />
488                                 </vbox>
489                                 <vbox>
490                                     <label text="VelMod" />
491                                     <knob param="adsr3_v" expand="0" fill="0" />
492                                     <value param="adsr3_v" />
493                                 </vbox>
494                                 <vbox>
495                                     <label text="To Amp" />
496                                     <combo param="eg3_amp_ctl" />
497                                     <label/>
498                                     <label/>
499                                 </vbox>
500                             </hbox>
501                         </frame>
502                     </vbox>
503                 </hbox>
504                 
505             </vbox>
506         </notebook>
507     </vbox>
508 </hbox>