| 1 |
<plugin resizable="true"> |
| 2 |
<!-- Compute number of audio channels for processing --> |
| 3 |
<ui:set id="channels" |
| 4 |
value="${(ex :out_4) ? 4 : |
| 5 |
(ex :out_2) ? 2 : 1}" /> |
| 6 |
|
| 7 |
<grid rows="2" cols="3" spacing="4"> |
| 8 |
<!-- Graph --> |
| 9 |
<vbox spacing="4" expand="true"> |
| 10 |
<group ui:inject="GraphGroup" ipadding="0" expand="true" |
| 11 |
fill="true" text="labels.graphs.spectrum"> |
| 12 |
<graph width.min="320" height.min="200" expand="true"> |
| 13 |
<origin hpos="-1" vpos="-1" visible="false" /> |
| 14 |
|
| 15 |
<!-- Gray grid --> |
| 16 |
<ui:with ox="0" oy="1"> |
| 17 |
<ui:for id="f" first="20" last="90" step="10"> |
| 18 |
<marker v="${f}" color="graph_alt_1" /> |
| 19 |
<marker v="${:f*10}" color="graph_alt_1" /> |
| 20 |
<marker v="${:f*100}" color="graph_alt_1" /> |
| 21 |
</ui:for> |
| 22 |
<marker value="20000" color="graph_alt_1" /> |
| 23 |
</ui:with> |
| 24 |
<ui:for id="g" first="-36" last="36" step="24"> |
| 25 |
<marker v="${g} db" ox="1" oy="0" color="graph_alt_1" /> |
| 26 |
</ui:for> |
| 27 |
<ui:for id="g" first="-18" last="18" step="12"> |
| 28 |
<marker v="${g} db" ox="1" oy="0" color="graph_alt_1" |
| 29 |
visibility=":zoom le -18 db" /> |
| 30 |
</ui:for> |
| 31 |
<ui:for id="g" first="-9" last="9" step="6"> |
| 32 |
<marker v="${g} db" ox="1" oy="0" color="graph_alt_1" |
| 33 |
visibility=":zoom le -33 db" /> |
| 34 |
</ui:for> |
| 35 |
|
| 36 |
<!-- Yellow grid --> |
| 37 |
<ui:with ox="0" oy="1" color="graph_sec"> |
| 38 |
<marker v="100" /> |
| 39 |
<marker v="1000" /> |
| 40 |
<marker v="10000" /> |
| 41 |
</ui:with> |
| 42 |
<ui:with ox="1" oy="0" color="graph_sec"> |
| 43 |
<marker v="+24 db" /> |
| 44 |
<marker v="0 db" /> |
| 45 |
<marker v="-24 db" /> |
| 46 |
</ui:with> |
| 47 |
|
| 48 |
<!-- Piano keys --> |
| 49 |
<embed oy="3" start.x="midi_freq_start(12, 127)" start.y="20" end.x="midi_freq_end(12, 127)" end.y="44" valign="1" alpha="0" visibility=":_ui_graph_piano_layout"> |
| 50 |
<piano natural="false" note.min="12" note.max="127" height="24" editable="false" selectable="false" border="0"/> |
| 51 |
</embed> |
| 52 |
|
| 53 |
<!-- Octave text --> |
| 54 |
<ui:with ox="0" oy="3" y="44" halign="1" valign="1" pgroup="0" priority="10" visibility=":_ui_graph_piano_layout" pad.b="2"> |
| 55 |
<ui:for id="octave" first="0" last="9"> |
| 56 |
<text x="midi_freq(12 * ${:octave + 1})" text="lists.notes.fmt.c" text:octave="${octave}" valign="1" halign="0"/> |
| 57 |
</ui:for> |
| 58 |
</ui:with> |
| 59 |
|
| 60 |
<!-- Meshes --> |
| 61 |
<ui:for id="i" first="1" count="4"> |
| 62 |
<ui:set id="hue" value="${(:i-1.0)/:channels}" /> |
| 63 |
<mesh id="isg_${i}" width="2" smooth="true" |
| 64 |
color="graph_mesh_cycle" color.hue="${hue}" |
| 65 |
visibility=":ffti and :ffti_${i}" /> |
| 66 |
</ui:for> |
| 67 |
<ui:for id="i" first="1" count="4"> |
| 68 |
<ui:set id="hue" value="${(:i-1)/4.0}" /> |
| 69 |
<mesh id="nsc_${i}" width="2" smooth="true" |
| 70 |
color="graph_mesh_cycle" color.hue="${hue}" fill="true" |
| 71 |
fcolor="graph_mesh_cycle" fcolor.hue="${hue}" fcolor.a="0.8" /> |
| 72 |
<mesh id="nsg_${i}" width="2" smooth="true" |
| 73 |
color="graph_mesh_cycle" color.hue="${hue}" |
| 74 |
visibility=":fftg and :fftg_${i}" /> |
| 75 |
</ui:for> |
| 76 |
|
| 77 |
<ui:for id="i" first="1" count="4"> |
| 78 |
<ui:set id="hue" value="${(:i-1.0)/:channels}" /> |
| 79 |
<mesh id="osg_${i}" width="2" smooth="true" |
| 80 |
color="graph_mesh_cycle" color.hue="${hue}" |
| 81 |
visibility=":ffto and :ffto_${i}" /> |
| 82 |
</ui:for> |
| 83 |
|
| 84 |
<!-- Boundaries --> |
| 85 |
<marker ox="2" oy="0" v="1" color="graph_prim" |
| 86 |
visibility="false" /> |
| 87 |
<!-- +48 dB --> |
| 88 |
<marker ox="0" oy="1" v="24000" color="graph_prim" |
| 89 |
visibility="false" /> |
| 90 |
|
| 91 |
<!-- Axis --> |
| 92 |
<axis min="10" max="24000" color="graph_prim" angle="0.0" |
| 93 |
log="true" visibility="false" /> |
| 94 |
<axis min="-48 db / :zoom" max="48 db * :zoom" |
| 95 |
color="graph_prim" angle="0.5" log="true" visibility="false" /> |
| 96 |
<!-- -48..+48 dB --> |
| 97 |
<axis min="-1" max="1" visible="false" angle="0.5" /> |
| 98 |
<axis min="0" max=":_a_scaled_height" visibility="false" angle="0.5"/> |
| 99 |
|
| 100 |
<!-- Text --> |
| 101 |
<ui:with ox="0" oy="2" y="0" halign="1" valign="1"> |
| 102 |
<text x="10" text="graph.units.hz" /> |
| 103 |
<text x="20" text="20" /> |
| 104 |
<text x="30" text="30" /> |
| 105 |
<text x="50" text="50" /> |
| 106 |
<text x="100" text="100" /> |
| 107 |
<text x="200" text="200" /> |
| 108 |
<text x="300" text="300" /> |
| 109 |
<text x="500" text="500" /> |
| 110 |
<text x="1000" text="graph.values.x_k" text:value="1" /> |
| 111 |
<text x="2000" text="graph.values.x_k" text:value="2" /> |
| 112 |
<text x="3000" text="graph.values.x_k" text:value="3" /> |
| 113 |
<text x="5000" text="graph.values.x_k" text:value="5" /> |
| 114 |
<text x="10000" text="graph.values.x_k" text:value="10" /> |
| 115 |
<text x="20000" text="graph.values.x_k" text:value="20" /> |
| 116 |
</ui:with> |
| 117 |
|
| 118 |
<ui:with x="10" halign="1"> |
| 119 |
<text y="36 db" text="+36" valign="-1" /> |
| 120 |
<text y="24 db" text="+24" valign="-1" /> |
| 121 |
<text y="12 db" text="+12" valign="-1" /> |
| 122 |
<text y="0 db" text="0" valign="1" /> |
| 123 |
<text y="-12 db" text="-12" valign="1" /> |
| 124 |
<text y="-24 db" text="-24" valign="1" /> |
| 125 |
<text y="-36 db" text="-36" valign="1" /> |
| 126 |
<text y="1" ox="0" oy="2" text="graph.units.db" valign="-1" /> |
| 127 |
</ui:with> |
| 128 |
<ui:with x="10" halign="1" visibility=":zoom le -18 db"> |
| 129 |
<text y="18 db" text="+18" valign="-1" /> |
| 130 |
<text y="6 db" text="+6" valign="-1" /> |
| 131 |
<text y="-6 db" text="-6" valign="1" /> |
| 132 |
<text y="-18 db" text="-18" valign="1" /> |
| 133 |
</ui:with> |
| 134 |
<ui:with x="10" halign="1" visibility=":zoom le -33 db"> |
| 135 |
<text y="9 db" text="+9" valign="-1" /> |
| 136 |
<text y="3 db" text="+3" valign="-1" /> |
| 137 |
<text y="-3 db" text="-3" valign="1" /> |
| 138 |
<text y="-9 db" text="-9" valign="1" /> |
| 139 |
</ui:with> |
| 140 |
</graph> |
| 141 |
</group> |
| 142 |
|
| 143 |
<hbox spacing="4" bg.color="bg_schema" pad.h="6" pad.b="4" |
| 144 |
pad.t="4"> |
| 145 |
<button id="ffti" text="labels.fft.fft_in" size="22" |
| 146 |
font.size="10" pad.r="6" expand="false" /> |
| 147 |
<ui:if test=":channels igt 1"> |
| 148 |
<ui:for id="i" first="1" count=":channels"> |
| 149 |
<ui:set id="hue" value="${(:i-1.0)/:channels}" /> |
| 150 |
<button id="ffti_${i}" text="labels.chan.id" text:id="${i}" |
| 151 |
ui:inject="Button_Cycle" bright="(:ffti igt 0) ? 1 : 0.75" |
| 152 |
size="22" font.size="10" down.color.hue="${hue}" |
| 153 |
down.hover.color.hue="${hue}" text.down.color.hue="${hue}" |
| 154 |
text.down.hover.color.hue="${hue}" border.down.color.hue="${hue}" |
| 155 |
border.down.hover.color.hue="${hue}" pad.r="6" expand="false" /> |
| 156 |
</ui:for> |
| 157 |
</ui:if> |
| 158 |
<vsep /> |
| 159 |
<button id="ffto" text="labels.fft.fft_out" size="22" |
| 160 |
font.size="10" pad.r="6" pad.l="12" expand="false" /> |
| 161 |
<ui:if test=":channels igt 1"> |
| 162 |
<ui:for id="i" first="1" count=":channels"> |
| 163 |
<ui:set id="hue" value="${(:i-1.0)/:channels}" /> |
| 164 |
<button id="ffto_${i}" text="labels.chan.id" text:id="${i}" |
| 165 |
ui:inject="Button_Cycle" bright="(:ffto igt 0) ? 1 : 0.75" |
| 166 |
size="22" font.size="10" down.color.hue="${hue}" |
| 167 |
down.hover.color.hue="${hue}" text.down.color.hue="${hue}" |
| 168 |
text.down.hover.color.hue="${hue}" border.down.color.hue="${hue}" |
| 169 |
border.down.hover.color.hue="${hue}" pad.r="6" expand="false" /> |
| 170 |
</ui:for> |
| 171 |
</ui:if> |
| 172 |
<vsep /> |
| 173 |
<button id="fftg" text="labels.noise_generator.fft_gen" |
| 174 |
size="22" font.size="10" pad.r="6" pad.l="12" expand="false" /> |
| 175 |
<ui:for id="i" first="1" count="4"> |
| 176 |
<ui:set id="hue" value="${(:i-1)/4.0}" /> |
| 177 |
<button id="fftg_${i}" text="labels.chan.id" text:id="${i}" |
| 178 |
ui:inject="Button_Cycle" bright="(:fftg igt 0) ? 1 : 0.75" |
| 179 |
size="22" font.size="10" down.color.hue="${hue}" |
| 180 |
down.hover.color.hue="${hue}" text.down.color.hue="${hue}" |
| 181 |
text.down.hover.color.hue="${hue}" border.down.color.hue="${hue}" |
| 182 |
border.down.hover.color.hue="${hue}" pad.r="6" expand="false" /> |
| 183 |
</ui:for> |
| 184 |
<void expand="true" /> |
| 185 |
</hbox> |
| 186 |
</vbox> |
| 187 |
|
| 188 |
<hbox spacing="4" bg.color="bg"> |
| 189 |
<!-- Zoom Fader --> |
| 190 |
<vbox vexpand="true" bg.color="bg_schema"> |
| 191 |
<label font.name="lsp-icons" font.size="12" |
| 192 |
font.antialias="true" text="icons.main.zoom" color="text_icon" pad.b="4" |
| 193 |
pad.t="4" /> |
| 194 |
<fader id="zoom" angle="1" vexpand="true" bg.inherit="true" |
| 195 |
flat="true" /> |
| 196 |
<value id="zoom" width="40" /> |
| 197 |
</vbox> |
| 198 |
|
| 199 |
<!-- Signal generators --> |
| 200 |
<group text="labels.noise_generator.signal" ipadding="0" |
| 201 |
fill="true"> |
| 202 |
<grid rows="4" cols="${:channels*2-1}" transpose="true"> |
| 203 |
<!-- row 1 --> |
| 204 |
<ui:for id="i" first="1" count=":channels"> |
| 205 |
<ui:set id="hue" value="${(:i-1.0)/:channels}" /> |
| 206 |
|
| 207 |
<label text="labels.chan.id" text:id="${i}" pad.v="4" /> |
| 208 |
<cell bg.color="bg" pad.v="2" vreduce="true" vexpand="false"> |
| 209 |
<hsep /> |
| 210 |
</cell> |
| 211 |
<vbox pad.t="4"> |
| 212 |
<label text="labels.noise_generator.mode" /> |
| 213 |
<combo id="cm_${i}" pad.h="6" /> |
| 214 |
<ui:if test=":channels ge 2"> |
| 215 |
<hbox pad.t="4" pad.h="6"> |
| 216 |
<button id="chs_${i}" text="labels.chan.solo" |
| 217 |
ui:inject="Button_Cycle_8" down.color.hue="${hue}" |
| 218 |
down.hover.color.hue="${hue}" text.down.color.hue="${hue}" |
| 219 |
text.down.hover.color.hue="${hue}" |
| 220 |
border.down.color.hue="${hue}" |
| 221 |
border.down.hover.color.hue="${hue}" pad.r="6" hfill="true" /> |
| 222 |
<button id="chm_${i}" text="labels.chan.mute" |
| 223 |
ui:inject="Button_Cycle_8" down.color.hue="${hue}" |
| 224 |
down.hover.color.hue="${hue}" text.down.color.hue="${hue}" |
| 225 |
text.down.hover.color.hue="${hue}" |
| 226 |
border.down.color.hue="${hue}" |
| 227 |
border.down.hover.color.hue="${hue}" hfill="true" /> |
| 228 |
|
| 229 |
</hbox> |
| 230 |
</ui:if> |
| 231 |
</vbox> |
| 232 |
|
| 233 |
|
| 234 |
<grid rows="12" cols="2" pad.t="4" pad.h="6"> |
| 235 |
<knob id="gin_${i}" scolor.hue="${hue}" pad.b="4" /> |
| 236 |
<vbox fill="false"> |
| 237 |
<label text="labels.chan.in" /> |
| 238 |
<value id="gin_${i}" same_line="true" width.min="48" /> |
| 239 |
</vbox> |
| 240 |
<ui:for id="j" first="1" count="4"> |
| 241 |
<knob id="gg${j}_${i}" scolor.hue="${hue}" pad.b="4" /> |
| 242 |
<vbox fill="false"> |
| 243 |
<label text="labels.chan.id" text:id="${j}" /> |
| 244 |
<value id="gg${j}_${i}" same_line="true" width.min="48" /> |
| 245 |
</vbox> |
| 246 |
</ui:for> |
| 247 |
<knob id="gout_${i}" scolor.hue="${hue}" pad.b="4" /> |
| 248 |
<vbox fill="false"> |
| 249 |
<label text="labels.chan.out" /> |
| 250 |
<value id="gout_${i}" same_line="true" width.min="48" /> |
| 251 |
</vbox> |
| 252 |
</grid> |
| 253 |
|
| 254 |
<cell rows="4" bg.color="bg" pad.h="2"> |
| 255 |
<vsep /> |
| 256 |
</cell> |
| 257 |
</ui:for> |
| 258 |
</grid> |
| 259 |
</group> |
| 260 |
|
| 261 |
<!-- Signal meters --> |
| 262 |
<vbox vexpand="true" bg.color="bg_schema"> |
| 263 |
<label text="labels.chan.in" pad.b="3" pad.t="3" /> |
| 264 |
<ledmeter vexpand="true" angle="1"> |
| 265 |
<ui:for id="i" first="1" count=":channels"> |
| 266 |
<ui:set id="hue" value="${(:i-1.0)/:channels}" /> |
| 267 |
<ledchannel id="ilm_${i}" min="-72 db" max="+24 db" |
| 268 |
log="true" type="rms_peak" peak.visibility="true" |
| 269 |
value.color="mono_in" value.color.hue="${hue}" /> |
| 270 |
</ui:for> |
| 271 |
</ledmeter> |
| 272 |
</vbox> |
| 273 |
|
| 274 |
<vbox vexpand="true" bg.color="bg_schema"> |
| 275 |
<label text="labels.chan.out" pad.b="3" pad.t="3" /> |
| 276 |
<ledmeter vexpand="true" angle="1"> |
| 277 |
<ui:for id="i" first="1" count=":channels"> |
| 278 |
<ui:set id="hue" value="${(:i-1.0)/:channels}" /> |
| 279 |
<ledchannel id="olm_${i}" min="-72 db" max="+24 db" |
| 280 |
log="true" type="rms_peak" peak.visibility="true" |
| 281 |
value.color="mono_in" value.color.hue="${hue}" /> |
| 282 |
</ui:for> |
| 283 |
</ledmeter> |
| 284 |
</vbox> |
| 285 |
</hbox> |
| 286 |
<!-- signal in out, analysis --> |
| 287 |
<vbox spacing="4"> |
| 288 |
<group text="groups.signal" expand="true"> |
| 289 |
<grid rows="2" cols="2" hspacing="4"> |
| 290 |
<knob id="g_in" pad.r="4" /> |
| 291 |
<vbox vfill="false"> |
| 292 |
<label text="labels.input" halign="0" /> |
| 293 |
<value id="g_in" sline="true" halign="0" /> |
| 294 |
</vbox> |
| 295 |
|
| 296 |
<knob id="g_out" pad.r="4" /> |
| 297 |
<vbox vfill="false"> |
| 298 |
<label text="labels.output" expand="true" halign="0" /> |
| 299 |
<value id="g_out" width.min="50" sline="true" halign="0" /> |
| 300 |
</vbox> |
| 301 |
</grid> |
| 302 |
</group> |
| 303 |
<group text="groups.analysis" expand="true"> |
| 304 |
<grid rows="2" cols="2" transpose="false" expand="true" |
| 305 |
hspacing="4"> |
| 306 |
<knob id="react" size="20" pad.r="4" /> |
| 307 |
<vbox vfill="false"> |
| 308 |
<label text="labels.metering.reactivity" halign="0" /> |
| 309 |
<value id="react" width.min="50" sline="true" halign="0" /> |
| 310 |
</vbox> |
| 311 |
|
| 312 |
<knob id="shift" size="20" pad.r="4" /> |
| 313 |
<vbox vfill="false"> |
| 314 |
<label text="labels.metering.shift" halign="0" /> |
| 315 |
<value id="shift" width.min="50" sline="true" halign="0" /> |
| 316 |
</vbox> |
| 317 |
</grid> |
| 318 |
</group> |
| 319 |
</vbox> |
| 320 |
|
| 321 |
<cell cols="3"> |
| 322 |
<group text="labels.noise_generator.generators" ipadding="0" |
| 323 |
fill="true"> |
| 324 |
<grid rows="9" cols="25" transpose="true"> |
| 325 |
|
| 326 |
<label text="labels.noise_generator.number_#" /> |
| 327 |
<cell cols="25" bg.color="bg" pad.v="2" vreduce="true" |
| 328 |
vexpand="false"> |
| 329 |
<hsep /> |
| 330 |
</cell> |
| 331 |
<label text="labels.noise_generator.type" /> |
| 332 |
<label text="labels.noise_generator.settings" /> |
| 333 |
<label text="labels.noise_generator.color" /> |
| 334 |
<label text="labels.noise_generator.distribution" pad.h="6" /> |
| 335 |
<label text="labels.noise_generator.velvet_type" /> |
| 336 |
<cell rows="2"> |
| 337 |
<label text="labels.noise_generator.crush" /> |
| 338 |
</cell> |
| 339 |
|
| 340 |
<ui:for id="i" first="1" count="4"> |
| 341 |
<ui:set id="ch" value="_${i}" /> |
| 342 |
<ui:set id="hue" value="${(:i-1)/4.0}" /> |
| 343 |
|
| 344 |
<cell bg.color="bg" pad.h="2" hreduce="true" hexpand="false"> |
| 345 |
<vsep /> |
| 346 |
</cell> |
| 347 |
<cell rows="7" bg.color="bg" pad.h="2" hreduce="true" |
| 348 |
hexpand="false"> |
| 349 |
<vsep /> |
| 350 |
</cell> |
| 351 |
|
| 352 |
<ui:with expand="true" |
| 353 |
bright="(:nt${ch} igt 0) ? 1 : 0.75" |
| 354 |
bg.bright="(:nt${ch} igt 0) ? 1.0 : :const_bg_darken"> |
| 355 |
<cell cols="5"> |
| 356 |
<label text="labels.chan.id" text:id="${i}" pad="6" /> |
| 357 |
</cell> |
| 358 |
<combo id="nt${ch}" pad.h="6" pad.v="4" /> |
| 359 |
<hbox> |
| 360 |
<ui:if test=":channels ge 2"> |
| 361 |
<button id="ns${ch}" text="labels.chan.S_olo" |
| 362 |
ui:inject="Button_Cycle" size="22" font.size="10" |
| 363 |
down.color.hue="${hue}" down.hover.color.hue="${hue}" |
| 364 |
text.down.color.hue="${hue}" |
| 365 |
text.down.hover.color.hue="${hue}" |
| 366 |
border.down.color.hue="${hue}" |
| 367 |
border.down.hover.color.hue="${hue}" pad.h="6" expand="false" |
| 368 |
fill="false" /> |
| 369 |
<button id="nm${ch}" text="labels.chan.M_ute" |
| 370 |
ui:inject="Button_Cycle" size="22" font.size="10" |
| 371 |
down.color.hue="${hue}" down.hover.color.hue="${hue}" |
| 372 |
text.down.color.hue="${hue}" |
| 373 |
text.down.hover.color.hue="${hue}" |
| 374 |
border.down.color.hue="${hue}" |
| 375 |
border.down.hover.color.hue="${hue}" pad.r="6" expand="false" |
| 376 |
fill="false" /> |
| 377 |
</ui:if> |
| 378 |
<button id="ni${ch}" |
| 379 |
text="labels.noise_generator.inaudible" |
| 380 |
ui:inject="Button_Cycle" height="22" font.size="10" |
| 381 |
down.color.hue="${hue}" down.hover.color.hue="${hue}" |
| 382 |
text.down.color.hue="${hue}" text.down.hover.color.hue="${hue}" |
| 383 |
border.down.color.hue="${hue}" |
| 384 |
border.down.hover.color.hue="${hue}" pad.r="6" hfill="true" |
| 385 |
hexpand="true" /> |
| 386 |
</hbox> |
| 387 |
<combo id="cs${ch}" pad.h="6" pad.v="4" /> |
| 388 |
<combo id="ld${ch}" pad.h="6" pad.v="4" |
| 389 |
bright="(:nt${ch} ieq 2) ? 1 : 0.75" |
| 390 |
bg.bright="(:nt${ch} ieq 2) ? 1.0 : :const_bg_darken" /> |
| 391 |
<combo id="vt${ch}" pad.h="6" pad.v="4" |
| 392 |
bright="(:nt${ch} ieq 3) ? 1 : 0.75" |
| 393 |
bg.bright="(:nt${ch} ieq 3) ? 1.0 : :const_bg_darken" /> |
| 394 |
|
| 395 |
<cell bg.color="bg" pad.v="2" vreduce="true" vexpand="false"> |
| 396 |
<hsep /> |
| 397 |
</cell> |
| 398 |
|
| 399 |
<button id="vc${ch}" text="labels.noise_generator.crush" |
| 400 |
ui:inject="Button_Cycle" height="22" font.size="10" |
| 401 |
down.color.hue="${hue}" down.hover.color.hue="${hue}" |
| 402 |
text.down.color.hue="${hue}" text.down.hover.color.hue="${hue}" |
| 403 |
border.down.color.hue="${hue}" |
| 404 |
border.down.hover.color.hue="${hue}" pad.h="6" hfill="true" |
| 405 |
hexpand="true" bright="(:nt${ch} ieq 3) ? 1 : 0.75" |
| 406 |
bg.bright="(:nt${ch} ieq 3) ? 1.0 : :const_bg_darken" /> |
| 407 |
|
| 408 |
<cell rows="7" bg.color="bg" pad.h="2" hreduce="true" |
| 409 |
hexpand="false"> |
| 410 |
<void /> |
| 411 |
</cell> |
| 412 |
|
| 413 |
<cell rows="7"> |
| 414 |
<grid rows="5" cols="3"> |
| 415 |
<vbox fill="false" pad.v="4" width.min="72"> |
| 416 |
<label text="labels.noise_generator.amp_litude" |
| 417 |
pad.b="4" /> |
| 418 |
<knob id="na${ch}" |
| 419 |
scolor="(:nt${ch} igt 0) ? 'cycle' : 'cycle_inactive'" |
| 420 |
scolor.hue="${hue}" size="20" /> |
| 421 |
<value id="na${ch}" detailed="false" precision="1" /> |
| 422 |
</vbox> |
| 423 |
<void /> |
| 424 |
<vbox fill="false" pad.v="4"> |
| 425 |
<label text="labels.noise_generator.offs_et" pad.b="4" /> |
| 426 |
<knob id="no${ch}" |
| 427 |
scolor="(:nt${ch} igt 0) ? 'cycle' : 'cycle_inactive'" |
| 428 |
scolor.hue="${hue}" size="20" /> |
| 429 |
<value id="no${ch}" detailed="false" precision="1" /> |
| 430 |
</vbox> |
| 431 |
|
| 432 |
<cell cols="3" bg.color="bg" pad.v="2" vreduce="true" |
| 433 |
vexpand="false"> |
| 434 |
<void /> |
| 435 |
</cell> |
| 436 |
<ui:with |
| 437 |
bright="(:cs${ch} igt 4 and :nt${ch} igt 0) ? 1 : 0.75" |
| 438 |
bg.bright="(:cs${ch} igt 4 and :nt${ch} igt 0) ? 1.0 : :const_bg_darken" |
| 439 |
scolor="(:cs${ch} igt 4 and :nt${ch} igt 0) ? 'cycle' : 'cycle_inactive'"> |
| 440 |
<vbox fill="false" pad.v="4"> |
| 441 |
<label text="labels.noise_generator.CuSToM" pad.b="4" /> |
| 442 |
<hbox> |
| 443 |
<knob id="csn${ch}" scolor.hue="${hue}" |
| 444 |
visibility=":cs${ch} ilt 6" /> |
| 445 |
<knob id="cso${ch}" scolor.hue="${hue}" |
| 446 |
visibility=":cs${ch} ieq 6" /> |
| 447 |
<knob id="csd${ch}" scolor.hue="${hue}" |
| 448 |
visibility=":cs${ch} ieq 7" /> |
| 449 |
</hbox> |
| 450 |
<hbox> |
| 451 |
<value id="csn${ch}" same_line="true" |
| 452 |
visibility=":cs${ch} ilt 6" /> |
| 453 |
<value id="cso${ch}" same_line="true" |
| 454 |
visibility=":cs${ch} ieq 6" /> |
| 455 |
<value id="csd${ch}" same_line="true" |
| 456 |
visibility=":cs${ch} ieq 7" /> |
| 457 |
</hbox> |
| 458 |
</vbox> |
| 459 |
</ui:with> |
| 460 |
|
| 461 |
<cell rows="3" bg.color="bg" pad.h="2" hreduce="true" |
| 462 |
hexpand="false"> |
| 463 |
<void /> |
| 464 |
</cell> |
| 465 |
<ui:with bright="(:nt${ch} ieq 3) ? 1 : 0.75" |
| 466 |
bg.bright="(:nt${ch} ieq 3) ? 1.0 : :const_bg_darken"> |
| 467 |
<vbox fill="false" pad.v="4"> |
| 468 |
<label text="labels.noise_generator.window" pad.b="4" /> |
| 469 |
<knob id="vw${ch}" |
| 470 |
scolor="(:nt${ch} ieq 3) ? 'cycle' : 'cycle_inactive'" |
| 471 |
scolor.hue="${hue}" size="20" /> |
| 472 |
<value id="vw${ch}" detailed="false" precision="4" /> |
| 473 |
</vbox> |
| 474 |
</ui:with> |
| 475 |
|
| 476 |
<cell bg.color="bg" pad.v="2" vreduce="true" |
| 477 |
vexpand="false"> |
| 478 |
<void /> |
| 479 |
</cell> |
| 480 |
|
| 481 |
<cell bg.color="bg" pad.v="2" vreduce="true" |
| 482 |
vexpand="false"> |
| 483 |
<void /> |
| 484 |
</cell> |
| 485 |
<ui:with |
| 486 |
bright="(:vt${ch} ieq 2 and :nt${ch} ieq 3) ? 1 : 0.75" |
| 487 |
bg.bright="(:vt${ch} ieq 2 and :nt${ch} ieq 3) ? 1.0 : :const_bg_darken"> |
| 488 |
<vbox fill="false" pad.v="4" pad.h="6"> |
| 489 |
<label text="labels.noise_generator.arn_delta" |
| 490 |
pad.b="4" /> |
| 491 |
<knob id="vd${ch}" |
| 492 |
scolor="(:vt${ch} ieq 2 and :nt${ch} ieq 3) ? 'cycle' : 'cycle_inactive'" |
| 493 |
scolor.hue="${hue}" size="20" /> |
| 494 |
<value id="vd${ch}" detailed="false" precision="4" /> |
| 495 |
</vbox> |
| 496 |
</ui:with> |
| 497 |
|
| 498 |
<ui:with bright="(:nt${ch} ieq 3) ? 1 : 0.75" |
| 499 |
bg.bright="(:nt${ch} ieq 3) ? 1.0 : :const_bg_darken"> |
| 500 |
<vbox fill="false" pad.v="4" pad.h="6"> |
| 501 |
<label text="labels.noise_generator.crush_prob" |
| 502 |
pad.b="4" /> |
| 503 |
<knob id="vp${ch}" |
| 504 |
scolor="(:nt${ch} ieq 3) ? 'cycle' : 'cycle_inactive'" |
| 505 |
scolor.hue="${hue}" size="20" /> |
| 506 |
<value id="vp${ch}" detailed="false" precision="1" /> |
| 507 |
</vbox> |
| 508 |
</ui:with> |
| 509 |
|
| 510 |
</grid> |
| 511 |
</cell> |
| 512 |
|
| 513 |
<cell rows="7" bg.color="bg" pad.h="2" hreduce="true" |
| 514 |
hexpand="false"> |
| 515 |
<void width.max="0" /> |
| 516 |
</cell> |
| 517 |
|
| 518 |
<cell rows="7" hexpand="false"> |
| 519 |
<ledmeter vexpand="true" angle="1"> |
| 520 |
<ledchannel id="nlm_${i}" min="-72 db" max="12 db" |
| 521 |
log="true" type="rms_peak" peak.visibility="true" |
| 522 |
value.color="mono" value.color.hue="${hue}" /> |
| 523 |
</ledmeter> |
| 524 |
</cell> |
| 525 |
</ui:with> |
| 526 |
</ui:for> |
| 527 |
</grid> |
| 528 |
</group> |
| 529 |
</cell> |
| 530 |
</grid> |
| 531 |
</plugin> |