Debian Codegraph @

modules/lsp-plugins-autogain/res/main/ui/plugins/util/autogain.xml

raw
1 <plugin resizable="true">
2 <grid rows="3" cols="2" spacing="4">
3 <!-- Row 1 -->
4 <group ui:inject="GraphGroup" ipadding.h="0" ipadding="0" expand="true" fill="true" text="labels.graphs.time">
5 <!-- Time graph -->
6 <graph width.min="560" height.min="280" expand="true">
7 <origin hpos="1" vpos="-1" visible="false"/>
8
9 <!-- Gray grid -->
10 <ui:for id="t" first="-84" last="12" step="24">
11 <marker v="${t} db" ox="1" oy="0" color="graph_alt_1"/>
12 </ui:for>
13 <ui:for id="t" first="0" last="3">
14 <marker v="${t}" ox="0" oy="1" color="graph_alt_2"/>
15 <marker v="${t}.5" ox="0" oy="1" color="graph_alt_1"/>
16 </ui:for>
17
18 <!-- Yellow grid -->
19 <ui:for id="t" first="-84" last="-24" step="12">
20 <marker v="${t} db" ox="1" oy="0" color="graph_sec"/>
21 </ui:for>
22
23 <!-- Axis -->
24 <axis min="0" max="4" color="graph_prim" angle="1.0" log="false" visibility="false"/>
25 <axis min="-84 db" max="24 db" color="graph_prim" angle="0.5" log="true" visibility="false"/>
26 <axis min="-84" max="24" zero="-84" color="graph_prim" angle="0.5" log="false" visibility="false"/>
27
28 <!-- Baseline -->
29 <marker v="0 db" ox="1" oy="0" color="graph_prim" width="2"/>
30
31 <!-- Meshes -->
32 <ui:with color.a="0.2">
33 <mesh id="gr_in_l" width="2" color="loudness_in_long" visibility=":e_in_l"/>
34 <mesh id="gr_in_s" width="0" color="loudness_in_short" fcolor="loudness_in_short" fcolor.a="0.8" fill="true" visibility=":e_in_s"/>
35 <mesh id="gr_sc_l" width="2" color="loudness_sc_long" visibility=":e_sc_l"/>
36 <mesh id="gr_sc_s" width="0" color="loudness_sc_short" fcolor="loudness_sc_short" fcolor.a="0.8" fill="true" visibility=":e_sc_s"/>
37 <mesh id="gr_out_l" width="2" color="loudness_out_long" visibility=":e_out_l"/>
38 <mesh id="gr_out_s" width="0" color="loudness_out_short" fcolor="loudness_out_short" fcolor.a="0.8" fill="true" visibility=":e_out_s"/>
39 <mesh id="gr_g" width="2" color="bright_blue" fcolor="bright_blue" fcolor.a="0.8" fill="true" visibility=":e_g"/>
40 </ui:with>
41
42 <!-- Markers -->
43 <ui:with ox="2" oy="0" editable="true" lborder="50" hlborder="50" width="3" hwidth="3" color.a="0.1" hcolor.a="0.0" lcolor.a="0.8" hlcolor.a="0.6" pointer="vsize">
44 <marker id="level" color="loudness_level" hcolor="loudness_level" lcolor="loudness_level" hlcolor="loudness_level"/>
45 <marker id="silence" color="loudness_silence" hcolor="loudness_silence" lcolor="loudness_silence" hlcolor="loudness_silence"/>
46 </ui:with>
47
48 <!-- Text -->
49 <ui:with x="4" halign="1" valign="1">
50 <text y="1 db" text="graph.values.x:lufs" text:value="0"/>
51 <text y="12 db" text="+12" valign="1"/>
52 <text y="-84 db" text="graph.units.s" valign="1"/>
53 </ui:with>
54 <ui:for id="t" first="-72" last="-12" step="12">
55 <text y="${t} db" text="${t}" x="4" halign="1" valign="1"/>
56 </ui:for>
57 <ui:for id="t" first="0" last="3" step="1">
58 <text y="-84 db" text="${t}" x="${t}" halign="-1" valign="1"/>
59 <text y="-84 db" text="${t}.5" x="${t}.5" halign="-1" valign="1"/>
60 </ui:for>
61
62 <text ox="0" oy="2" x="0" y=":level" halign="-1" valign="1" text="labels.metering.level" color="loudness_level"/>
63 <text ox="0" oy="2" x="0" y=":silence" halign="-1" valign="1" text="labels.silence" color="loudness_silence"/>
64
65 </graph>
66 </group>
67
68 <cell rows="2">
69 <grid rows="3" cols="4" hfill="false" hexpand="false" hspacing="4">
70 <ui:with bg.color="bg_schema" vfill="false">
71 <label text="labels.chan.in" pad.v="2"/>
72 <label text="labels.sc.SC" pad.v="2"/>
73 <label text="labels.gain" pad.v="2"/>
74 <label text="labels.chan.out" pad.v="2"/>
75
76 <hbox pad.h="2">
77 <button id="e_in_l" text="labels.loudness_L" height="10" width="22" ui:inject="Button_cyan_6" led="true"/>
78 <button id="e_in_s" text="labels.loudness_S" height="10" width="22" ui:inject="Button_cyan_6" led="true"/>
79 </hbox>
80 <hbox pad.h="2">
81 <button id="e_sc_l" text="labels.loudness_L" height="10" width="22" ui:inject="Button_orange_6" led="true"/>
82 <button id="e_sc_s" text="labels.loudness_S" height="10" width="22" ui:inject="Button_orange_6" led="true"/>
83 </hbox>
84 <button id="e_g" text="labels.chan.on" height="10" width="22" ui:inject="Button_blue_6" led="true"/>
85 <hbox pad.h="2">
86 <button id="e_out_l" text="labels.loudness_L" height="10" width="22" ui:inject="Button_green_6" led="true"/>
87 <button id="e_out_s" text="labels.loudness_S" height="10" width="22" ui:inject="Button_green_6" led="true"/>
88 </hbox>
89 </ui:with>
90
91 <!-- Input level meter -->
92 <hbox bg.color="bg_schema" pad.h="2">
93 <ledmeter vexpand="true" height.min="256" angle="1">
94 <ledchannel id="g_in_l" min="-84 db" max="24 db" log="true" type="peak" release="1" value.color="loudness_in_long"/>
95 </ledmeter>
96 <ledmeter vexpand="true" height.min="256" angle="1">
97 <ledchannel id="g_in_s" min="-84 db" max="24 db" log="true" type="peak" release="1" value.color="loudness_in_short"/>
98 </ledmeter>
99 </hbox>
100 <!-- Sidechain level meter -->
101 <hbox bg.color="bg_schema" pad.h="2">
102 <ledmeter vexpand="true" height.min="256" angle="1">
103 <ledchannel id="g_sc_l" min="-84 db" max="24 db" log="true" type="peak" release="1" value.color="loudness_sc_long"/>
104 </ledmeter>
105 <ledmeter vexpand="true" height.min="256" angle="1">
106 <ledchannel id="g_sc_s" min="-84 db" max="24 db" log="true" type="peak" release="1" value.color="loudness_sc_short"/>
107 </ledmeter>
108 </hbox>
109 <!-- Gain correction level meter -->
110 <ledmeter vexpand="true" height.min="256" angle="1" pad.h="2">
111 <ledchannel id="g_g" min="-84 db" max="84 db" log="true" type="peak" release="1" balance="0 db" balance.visibility="true" value.color="gain"/>
112 </ledmeter>
113 <!-- Output level meter -->
114 <hbox bg.color="bg_schema" pad.h="2">
115 <ledmeter vexpand="true" height.min="256" angle="1">
116 <ledchannel id="g_out_l" min="-84 db" max="24 db" log="true" type="peak" release="1" value.color="loudness_out_long"/>
117 </ledmeter>
118 <ledmeter vexpand="true" height.min="256" angle="1">
119 <ledchannel id="g_out_s" min="-84 db" max="24 db" log="true" type="peak" release="1" value.color="loudness_out_short"/>
120 </ledmeter>
121 </hbox>
122 </grid>
123 </cell>
124
125 <!-- Row 2 -->
126 <hbox spacing="4" vexpand="false" bg.color="bg_schema" pad.h="6">
127 <label text="labels.weighting" pad.r="6"/>
128 <combo id="weight" pad.v="4"/>
129
130 <label text="labels.sc.sc_mode" pad.h="6"/>
131 <combo id="scmode"/>
132 <void hexpand="true"/>
133
134 <shmlink id="link"/>
135 </hbox>
136
137 <!-- Row 4 -->
138 <!-- Bottom part -->
139 <cell cols="2">
140 <hbox spacing="4">
141 <group text="labels.sidechain" ipadding="0">
142 <grid rows="3" cols="2">
143 <ui:with pad.v="4" width.min="56" height.min="22">
144 <label text="labels.preamp" pad.l="6"/>
145 <label text="labels.lookahead" pad.r="6"/>
146 </ui:with>
147 <knob id="preamp"/>
148 <knob id="lkahead"/>
149 <value id="preamp"/>
150 <value id="lkahead"/>
151 </grid>
152 </group>
153 <group text="labels.loudness" ipadding="0">
154 <grid rows="3" cols="5">
155 <ui:with pad.h="6" pad.v="4" width.min="36" height.min="22">
156 <label text="labels.metering.level"/>
157 <label text="labels.metering.drift"/>
158 <label text="labels.silence"/>
159 </ui:with>
160 <cell rows="3"><vsep pad.h="2" bg.color="bg" hreduce="true"/></cell>
161 <button id="max_on" text="labels.max_gain" pad.h="6" pad.v="4" width.min="60" height.min="22" bg.bright="!(:max_on) ? :const_bg_darken : 1.0" bright="!(:max_on) ? 0.75 : 1.0"/>
162
163 <knob id="level" scolor="loudness_level" pad.t="4"/>
164 <knob id="drift" pad.t="4"/>
165 <knob id="silence" scolor="loudness_silence" pad.t="4"/>
166 <knob id="max_amp" pad.t="4" bg.bright="!(:max_on) ? :const_bg_darken : 1.0" bright="!(:max_on) ? 0.75 : 1.0" scolor="!(:max_on) ? 'cycle_inactive' : 'kscale'"/>
167
168 <value id="level" width.min="32"/>
169 <value id="drift" width.min="32"/>
170 <value id="silence" width.min="32"/>
171 <value id="max_amp" width.min="32" bg.bright="!(:max_on) ? :const_bg_darken : 1.0" bright="!(:max_on) ? 0.75 : 1.0"/>
172 </grid>
173 </group>
174
175 <group text="labels.autogain.long_time_processing" ipadding="0">
176 <grid rows="3" cols="3">
177 <label text="labels.period" pad.h="6" pad.v="4" width.min="36" height.min="22"/>
178 <cell rows="3"><vsep pad.h="2" bg.color="bg" hreduce="true"/></cell>
179 <cell rows="3">
180 <grid rows="5" cols="2">
181 <label text="labels.metering.fall" pad.h="6" pad.t="4" width.min="41" height.min="22"/>
182 <combo id="vfall_l" pad.r="4" pad.t="4"/>
183 <knob id="tfall_l" size="16" pad.v="4"/>
184 <value id="tfall_l" width.min="50" pad.r="4" sline="true"/>
185 <cell cols="2"><hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>
186 <label text="labels.metering.grow" pad.h="6" pad.t="4" width.min="41" height.min="22"/>
187 <combo id="vgrow_l" pad.r="4" pad.t="4"/>
188 <knob id="tgrow_l" size="16" pad.v="4"/>
189 <value id="tgrow_l" width.min="50" pad.r="4" sline="true"/>
190 </grid>
191 </cell>
192 <knob id="lperiod" pad.t="4"/>
193 <value id="lperiod" width.min="32"/>
194 </grid>
195 </group>
196
197 <group text="labels.autogain.short_time_processing" ipadding="0">
198 <grid rows="3" cols="3">
199 <label text="labels.period" pad.h="6" pad.v="4" width.min="36" height.min="22"/>
200 <cell rows="3"><vsep pad.h="2" bg.color="bg" hreduce="true"/></cell>
201 <cell rows="3">
202 <grid rows="5" cols="2">
203 <label text="labels.metering.fall" pad.h="6" pad.t="4" width.min="41" height.min="22"/>
204 <combo id="vfall_s" pad.r="4" pad.t="4"/>
205 <knob id="tfall_s" size="16" pad.v="4"/>
206 <value id="tfall_s" width.min="50" pad.r="4" sline="true"/>
207 <cell cols="2"><hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>
208 <ui:with bg.bright="!(:qamp) ? :const_bg_darken : 1.0" bright="!(:qamp) ? 0.75 : 1.0">
209 <button id="qamp" text="labels.metering.grow" pad.h="6" pad.t="4" width.min="41" height.min="22"/>
210 <combo id="vgrow_s" pad.r="4" pad.t="4"/>
211 <knob id="tgrow_s" size="16" pad.v="4" scolor="!(:qamp) ? 'cycle_inactive' : 'kscale'"/>
212 <value id="tgrow_s" width.min="50" pad.r="4" sline="true"/>
213 </ui:with>
214 </grid>
215 </cell>
216 <knob id="speriod" pad.t="4"/>
217 <value id="speriod" width.min="32"/>
218 </grid>
219 </group>
220 </hbox>
221 </cell>
222 </grid>
223 </plugin>