Merge branch 'master' of https://github.com/calf-studio-gear/calf
[calf.git] / gui / gui-sidechaincompressor.xml
blob903d6bebacfd96862234de2845a72ac973d34ed6
1 <hbox spacing="8">
3     <vbox spacing="20" expand="0" fill="0">
4         <vbox expand="0" fill="0" spacing="7" >
5             <label param="bypass" expand="0" fill="0" />
6             <align><toggle param="bypass" icon="bypass" shrink="1" size="2"/></align>
7         </vbox>
8         <vbox expand="0" fill="0">
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" type="1" />
11             <value param="level_in" />
12         </vbox>
13         <vbox expand="0" fill="0" spacing="7" >
14             <label param="mix" expand="0" fill="0" />
15             <knob param="mix" size="3" expand="1" fill="1" ticks="0 0.5 1" />
16             <value param="mix" />
17         </vbox>
18     </vbox>
20     <vbox>
21         <frame label="Compressor">
22             <vbox>
23                 <table expand="0" fill="0" rows="2" cols="3">
24                     <label param="meter_in" expand-y="0" fill-y="0" expand-x="0" fill-x="0" attach-x="0" attach-y="0" />
25                     <vumeter param="meter_in" expand-y="0" fill-y="0" position="2" mode="0" hold="1.5" falloff="2.5" attach-x="1" attach-y="0" expand-x="1" fill-x="1" />
26                     <led param="clip_in" mode="0" expand-y="0" fill-y="0" expand-x="0" fill-x="0" attach-x="2" attach-y="0" />
27                     
28                     <label param="meter_out" expand-y="0" fill-y="0" expand-x="0" fill-x="0" attach-x="0" attach-y="1" />
29                     <vumeter param="meter_out" expand-y="0" fill-y="0" position="2" mode="0" hold="1.5" falloff="2.5" attach-x="1" attach-y="1" expand-x="1" fill-x="1" />
30                     <led param="clip_out" mode="1" expand-y="0" fill-y="0" expand-x="0" fill-x="0" attach-x="2" attach-y="1" />
31                 </table>
32                 
33                 <table expand="1" rows="2" cols="3" homogeneous="1">
34                     <vbox attach-x="0" attach-y="0">
35                         <label param="attack" />
36                         <knob param="attack" ticks="0 1 10 100 2000" />
37                         <value param="attack" />
38                     </vbox>
39                     <vbox attach-x="1" attach-y="0">
40                         <label param="release" />
41                         <knob param="release" ticks="0 1 10 100 2000" />
42                         <value param="release" />
43                     </vbox>
44                     <vbox attach-x="2" attach-y="0">
45                         <label param="knee" />
46                         <knob param="knee" ticks="1 2 4 8" />
47                         <value param="knee" />
48                     </vbox>
49                     <vbox attach-x="0" attach-y="1">
50                         <label param="ratio" />
51                         <knob param="ratio" ticks="1 2 5 21" />
52                         <value param="ratio" />
53                     </vbox>
54                     <vbox attach-x="1" attach-y="1">
55                         <label param="threshold" />
56                         <knob param="threshold"/>
57                         <value param="threshold" />
58                     </vbox>
59                     <vbox attach-x="2" attach-y="1">
60                         <label param="makeup" />
61                         <knob param="makeup" />
62                         <value param="makeup" />
63                     </vbox>
64                 </table>
65             </vbox>
66         </frame>
67         <frame label="Sidechain">
68             <hbox>
69                 <vbox>
70                     <label text="Active" expand="0" fill="0" />
71                     <toggle param="sc_route" icon="sc_comp" fill="0" expand="0"/>
72                     <label/>
73                 </vbox>
74                 <vbox>
75                     <label text="Level" expand="0" fill="0" attach-x="0" attach-y="3" />
76                     <knob param="sc_level" size="2" expand="0" fill="0" type="1" attach-x="1" attach-y="3"/>
77                     <value param="sc_level" expand="0" fill="0" attach-x="2" attach-y="3" />
78                 </vbox>
79                 <vbox>
80                     <label text="Listen" expand="0" fill="0" />
81                     <toggle param="sc_listen" icon="listen" fill="0" expand="0"/>
82                     <label/>
83                 </vbox>
84             </hbox>
85         </frame>
86     </vbox>
87     
88     
89       <frame label="Compression">
90         <vbox spacing="8">
91             <if cond="directlink">
92                 <line-graph refresh="1" width="265" height="265" param="bypass" square="1" expand="1" fill="1"/>
93             </if>
94             <vbox spacing="3">
95                 <vumeter param="compression" position="2" mode="2" hold="1.5" attach-w="2" expand="0" fill="1"/>
96             </vbox>
97         </vbox>
98       </frame>
99     
100     <vbox spacing="8">
101         
102         <frame label="Options">
103             <hbox homogeneous="1">
104                 <vbox>
105                     <label param="stereo_link" expand-y="0" fill-y="0"/>
106                     <combo param="stereo_link"/>
107                 </vbox>
108                 <vbox>
109                     <label param="detection" expand-y="0" fill-y="0" expand-x="1" fill-x="1"/>
110                     <combo param="detection"/>
111                 </vbox>
112             </hbox>
113         </frame>
114         
115         <if cond="directlink">
116             <frame label="S/C Filter">
117                 <vbox spacing="8">
118                     <line-graph refresh="1" width="235" height="112" param="sc_listen" expand="1" fill="1" crosshairs="1" freqhandles="4" handle1-x="f1_freq" label1="F1" handle2-x="f2_freq" label2="F2" active1="f1_active" active2="f2_active" />
119                     <combo param="sc_mode" fill="0" expand="0" />
120                 </vbox>
121             </frame>
122         </if>
123         
124         <hbox spacing="5">
125             <frame label="Filter 1">
126                 <hbox>
127                     <vbox>
128                         <label text="Active" />
129                         <led param="f1_active" mode="7"/>
130                         <label/>
131                     </vbox>
132                     <vbox>
133                         <label text="Freq" />
134                         <knob param="f1_freq" size="2" ticks="10 100 1000 18000" />
135                         <value param="f1_freq" />
136                     </vbox>
137                     <vbox>
138                         <label text="Level" />
139                         <knob param="f1_level" type="1" size="2" />
140                         <value param="f1_level" />
141                     </vbox>
142                 </hbox>
143             </frame>
144             
145             <frame label="Filter 2">
146                 <hbox>
147                     <vbox>
148                         <label text="Active" />
149                         <led param="f2_active" mode="7"/>
150                         <label/>
151                     </vbox>
152                     <vbox>
153                         <label text="Freq" />
154                         <knob param="f2_freq" size="2" ticks="10 100 1000 18000" />
155                         <value param="f2_freq" />
156                     </vbox>
157                     <vbox>
158                         <label text="Level" />
159                         <knob param="f2_level" type="1" size="2" />
160                         <value param="f2_level" />
161                     </vbox>
162                 </hbox>
163             </frame>
164         </hbox>
165         
166     </vbox>
167 </hbox>