+ JACK host: fix compilation with LASH (thanks Joeboy&drobilla) and printf format...
[calf.git] / gui / gui-compressor.xml
blob0f9cdcca697fe9c07069492f80c58b675dd7b1e7
1 <hbox spacing="10">
3     <vbox spacing="20" expand="0" fill="0">
4         <vbox attach-x="0" attach-y="0" expand="0" fill="0" pad-x="7" pad-y="7" spacing="7" >
5             <label param="bypass" expand="0" fill="0" />
6             <align><toggle param="bypass" shrink="1" size="2"/></align>
7         </vbox>
8         <vbox attach-x="0" attach-y="1" expand="0" fill="0" pad-y="20" pad-x="7">
9             <label param="level_in" expand="0" fill="0" expand-y="0" fill-y="0" />
10             <knob param="level_in" size="5" expand="1" fill="1" />
11             <value param="level_in" />
12         </vbox>
13     </vbox>
15     <vbox spacing="5">
16         <frame label="Compressor">
17             <vbox spacing="5">
18                 <table expand="0" fill="0" rows="3" cols="3">
19                     <label param="meter_in" expand-x="0" fill-x="0" attach-x="0" attach-y="0" />
20                     <vumeter param="meter_in" mode="0" hold="1.5" falloff="2.5" attach-x="1" attach-y="0" expand-x="1" fill-x="1" />
21                     <led param="clip_in" mode="0" expand-x="0" fill-x="0" attach-x="2" attach-y="0" />
22                     
23                     <label param="meter_out" expand-x="0" fill-x="0" attach-x="0" attach-y="1" />
24                     <vumeter param="meter_out" mode="0" hold="1.5" falloff="2.5" attach-x="1" attach-y="1" expand-x="1" fill-x="1" />
25                     <led param="clip_out" mode="1" expand-x="0" fill-x="0" attach-x="2" attach-y="1" />
26                     
27                     <label param="compression" expand-x="0" fill-x="0" attach-x="0" attach-y="2" />
28                     <vumeter param="compression" mode="2" hold="1.5" expand-x="1" fill-x="1" attach-x="1" attach-y="2" attach-w="2" />
29                 </table>
30                 
31                 <table expand="1" rows="2" cols="3" homogeneous="1">
32                     <vbox expand="0" attach-x="0" attach-y="0">
33                         <label param="attack" />
34                         <knob param="attack" />
35                         <value param="attack" />
36                     </vbox>
37                     <vbox expand="0" attach-x="1" attach-y="0">
38                         <label param="release" />
39                         <knob param="release" />
40                         <value param="release" />
41                     </vbox>
42                     <vbox expand="0" attach-x="2" attach-y="0">
43                         <label param="knee" />
44                         <knob param="knee" />
45                         <value param="knee" />
46                     </vbox>
47                     <vbox expand="0" attach-x="0" attach-y="1">
48                         <label param="ratio" />
49                         <knob param="ratio" />
50                         <value param="ratio" />
51                     </vbox>
52                     <vbox expand="0" attach-x="1" attach-y="1">
53                         <label param="threshold" />
54                         <knob param="threshold"/>
55                         <value param="threshold" />
56                     </vbox>
57                     <vbox expand="0" attach-x="2" attach-y="1">
58                         <label param="makeup" />
59                         <knob param="makeup" />
60                         <value param="makeup" />
61                     </vbox>
62                 </table>
63             </vbox>
64         </frame>
65         <frame label="Options">
66             <vbox spacing="10" pad-x="5" fill-y="0" expand-y="0">
67                 <vbox expand="1" expand-y="0" expand-x="1" fill-x="1">
68                     <label param="stereo_link" expand-y="0" fill-y="0"/>
69                     <align>
70                         <hbox expand="0" fill-y="0" expand-x="1" fill-x="1">
71                             <radio param="stereo_link" value="Average" expand-x="1" fill-x="1"/>
72                             <radio param="stereo_link" value="Maximum" expand-x="1" fill-x="1"/>
73                         </hbox>
74                     </align>
75                 </vbox>
76                 <vbox expand="1" expand-y="0">
77                     <label param="detection" expand-y="0" fill-y="0" expand-x="1" fill-x="1"/>
78                     <align>
79                         <hbox expand="0" fill-y="0" expand-x="1" fill-x="1" >
80                             <radio param="detection" value="RMS" expand-x="1" fill-x="1"/>
81                             <radio param="detection" value="Peak" expand-x="1" fill-x="1"/>
82                         </hbox>
83                     </align>
84                 </vbox>
85             </vbox>
86         </frame>
87     </vbox>
88     
89     
90       <frame label="Compression">
91         <vbox >
92             <if cond="directlink">
93                 <line-graph refresh="1" width="340" height="340" param="compression" square="1" expand="1" fill="1"/>
94             </if>
95         </vbox>
96       </frame>
97 </hbox>