<hbox spacing="6">

    <vbox spacing="20" expand="0" fill="0">
        <vbox expand="0" fill="0" spacing="7" >
            <label param="bypass" expand="0" fill="0" />
            <align><toggle param="bypass" shrink="1" size="2"/></align>
        </vbox>
        <vbox expand="0" fill="0">
            <label param="level_in" expand="0" fill="0" expand-y="0" fill-y="0" />
            <knob param="level_in" size="5" expand="1" fill="1" type="1" />
            <value param="level_in" />
        </vbox>
        <vbox expand="0" fill="0" spacing="7" >
            <label param="mix" expand="0" fill="0" />
            <knob param="mix" size="3" expand="1" fill="1" />
            <value param="mix" />
        </vbox>
    </vbox>

    <vbox spacing="5">
        <frame label="Compressor">
            <vbox>
                <table expand="0" fill="0" rows="2" cols="3">
                    <label param="meter_in" expand-y="0" fill-y="0" expand-x="0" fill-x="0" attach-x="0" attach-y="0" />
                    <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" />
                    <led param="clip_in" mode="0" expand-y="0" fill-y="0" expand-x="0" fill-x="0" attach-x="2" attach-y="0" />
                    
                    <label param="meter_out" expand-y="0" fill-y="0" expand-x="0" fill-x="0" attach-x="0" attach-y="1" />
                    <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" />
                    <led param="clip_out" mode="1" expand-y="0" fill-y="0" expand-x="0" fill-x="0" attach-x="2" attach-y="1" />
                </table>
                
                <table expand="1" rows="2" cols="3" homogeneous="1">
                    <vbox attach-x="0" attach-y="0">
                        <label param="attack" />
                        <knob param="attack" />
                        <value param="attack" />
                    </vbox>
                    <vbox attach-x="1" attach-y="0">
                        <label param="release" />
                        <knob param="release" />
                        <value param="release" />
                    </vbox>
                    <vbox attach-x="2" attach-y="0">
                        <label param="knee" />
                        <knob param="knee" />
                        <value param="knee" />
                    </vbox>
                    <vbox attach-x="0" attach-y="1">
                        <label param="ratio" />
                        <knob param="ratio" />
                        <value param="ratio" />
                    </vbox>
                    <vbox attach-x="1" attach-y="1">
                        <label param="threshold" />
                        <knob param="threshold"/>
                        <value param="threshold" />
                    </vbox>
                    <vbox attach-x="2" attach-y="1">
                        <label param="makeup" />
                        <knob param="makeup" />
                        <value param="makeup" />
                    </vbox>
                </table>
            </vbox>
        </frame>
        <frame label="Sidechain">
            <hbox>
                <vbox>
                    <label text="Active" expand="0" fill="0" />
                    <toggle param="sc_route" fill="0" expand="0"/>
                    <label/>
                </vbox>
                <vbox>
                    <label text="Level" expand="0" fill="0" attach-x="0" attach-y="3" />
                    <knob param="sc_level" size="2" expand="0" fill="0" type="1" attach-x="1" attach-y="3"/>
                    <value param="sc_level" expand="0" fill="0" attach-x="2" attach-y="3" />
                </vbox>
                <vbox>
                    <label text="Listen" expand="0" fill="0" />
                    <toggle param="sc_listen" fill="0" expand="0"/>
                    <label/>
                </vbox>
            </hbox>
        </frame>
    </vbox>
    
    
      <frame label="Compression">
        <vbox spacing="6">
            <if cond="directlink">
                <line-graph refresh="1" width="265" height="265" param="bypass" square="1" expand="1" fill="1"/>
            </if>
            <vbox spacing="3">
                <vumeter param="compression" position="2" mode="2" hold="1.5" attach-w="2" expand="0" fill="1"/>
            </vbox>
        </vbox>
      </frame>
    
    <vbox spacing="5">
        
        <frame label="Options">
            <hbox homogeneous="1">
                <vbox>
                    <label param="stereo_link" expand-y="0" fill-y="0"/>
                    <combo param="stereo_link"/>
                </vbox>
                <vbox>
                    <label param="detection" expand-y="0" fill-y="0" expand-x="1" fill-x="1"/>
                    <combo param="detection"/>
                </vbox>
            </hbox>
        </frame>
        
        <if cond="directlink">
            <frame label="S/C Filter">
                <vbox>
                    <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" />
                    <combo param="sc_mode" fill="0" expand="0" />
                </vbox>
            </frame>
        </if>
        
        <hbox spacing="5">
            <frame label="Filter 1">
                <hbox>
                    <vbox>
                        <label text="Active" />
                        <led param="f1_active" mode="7"/>
                        <label/>
                    </vbox>
                    <vbox>
                        <label text="Freq" />
                        <knob param="f1_freq" size="2" />
                        <value param="f1_freq" />
                    </vbox>
                    <vbox>
                        <label text="Level" />
                        <knob param="f1_level" type="1" size="2" />
                        <value param="f1_level" />
                    </vbox>
                </hbox>
            </frame>
            
            <frame label="Filter 2">
                <hbox>
                    <vbox>
                        <label text="Active" />
                        <led param="f2_active" mode="7"/>
                        <label/>
                    </vbox>
                    <vbox>
                        <label text="Freq" />
                        <knob param="f2_freq" size="2" />
                        <value param="f2_freq" />
                    </vbox>
                    <vbox>
                        <label text="Level" />
                        <knob param="f2_level" type="1" size="2" />
                        <value param="f2_level" />
                    </vbox>
                </hbox>
            </frame>
        </hbox>
        
    </vbox>
</hbox>
