<table cols="3" rows="2">
    
    <!-- top left -->
    <vbox attach-x="0" attach-y="0" pad-y="5">
    
        <!-- Meters -->
        <table rows="4" cols="2">
            <label param="meter_in" attach-x="0" attach-y="0" expand-x="1" fill-x="1" />
            <vumeter param="meter_in" position="2" hold="1.5" falloff="2.5" attach-x="0" attach-y="1" expand-x="1" fill-x="1" />
            <vumeter param="meter_out" position="2" hold="1.5" falloff="2.5" attach-x="0" attach-y="2" expand-x="1" fill-x="1" />
            <label param="meter_out" attach-x="0" attach-y="3" expand-x="1" fill-x="1" />
            
            <label param="clip_in" attach-x="1" attach-y="0" expand-x="0" fill-x="0" />
            <led param="clip_in" attach-x="1" attach-y="1" expand-x="0" fill-x="0" />
            <led param="clip_out" mode="1" attach-x="1" attach-y="2" expand-x="0" fill-x="0" />
            <label param="clip_out" attach-x="1" attach-y="3" expand-x="0" fill-x="0" />
        </table>
        
        <label />
        
        <!-- activation -->
        <label param="level_in" />
        <knob param="level_in" size="5" />
        <value param="level_in" />
    
    </vbox>
    
    <!-- top center -->
    <vbox attach-x="1" attach-y="0" pad-y="5" pad-x="10" spacing="5">
        
        <hbox>
            <label text="Tape" />
            <hscale param="blend" />
            <label text="Tube" />
        </hbox>
        
        <label expand="1" fill="1" />
        
        <hbox expand="1" fill="0">
            <tube param="meter_drive" size="2" direction="2" expand="0" fill="0" />
        </hbox>
        
        <label expand="1" fill="1" />
        
    </vbox>
    
    <!-- top right -->
    <vbox attach-x="2" attach-y="0" pad-y="5">
    
        <!-- Mixer -->
        <table rows="4" cols="3">
            <label param="mix" attach-x="0" attach-y="0" expand-x="0" fill-x="0" />
            <knob param="mix" attach-x="0" attach-y="1" attach-h="2" expand-x="0" fill-x="0" />
            <value param="mix" attach-x="0" attach-y="3" expand-x="0" fill-x="0" />
            
            <label param="level_out" attach-x="1" attach-y="0" expand-x="0" fill-x="0" />
            <knob param="level_out" attach-x="1" attach-y="1" attach-h="2" expand-x="0" fill-x="0" />
            <value param="level_out" attach-x="1" attach-y="3" expand-x="0" fill-x="0" />
            
            <label param="bypass" attach-x="2" attach-y="0" expand-x="0" fill-x="0" />
            <toggle param="bypass" attach-x="2" attach-y="1" attach-h="2" expand-x="0" fill-x="0" />
        </table>    
        
        <label />
        
        <!-- saturation -->
        <label param="drive" />
        <knob param="drive" size="5" />
        <value param="drive" />
        
    </vbox>    
        
    <!-- pre filter -->
    <frame label="Pre" attach-x="0" attach-y="1">
        <hbox homogeneous="1" spacing="15">
            <vbox>
                <label param="hp_pre_freq" />
                <knob param="hp_pre_freq" />
                <value param="hp_pre_freq" />
            </vbox>
            <vbox>
                <label param="lp_pre_freq" />
                <knob param="lp_pre_freq" />
                <value param="lp_pre_freq" />
            </vbox>
        </hbox>
    </frame>
    
    <!-- tone control -->
    <frame label="Tone" attach-x="1" attach-y="1">
        <hbox homogeneous="1">
            <vbox>
                <label param="p_freq" attach-x="0" attach-y="0" />
                <knob param="p_freq" attach-x="1" attach-y="0" />
                <value param="p_freq" attach-x="2" attach-y="0" />
            </vbox>
            <vbox>
                <label param="p_level" attach-x="0" attach-y="1" />
                <knob param="p_level" attach-x="1" attach-y="0" type="1" />
                <value param="p_level" attach-x="2" attach-y="1" />
            </vbox>
            <vbox>
                <label param="p_q" attach-x="0" attach-y="2" />
                <knob param="p_q" attach-x="1" attach-y="2" />
                <value param="p_q" attach-x="2" attach-y="2" />
            </vbox>
        </hbox>
    </frame>
    
    <!-- post filter -->
    <frame label="Post" attach-x="2" attach-y="1" spacing="15">
        <hbox homogeneous="1">
            <vbox>
                <label param="hp_post_freq" />
                <knob param="hp_post_freq" />
                <value param="hp_post_freq" />
            </vbox>
            <vbox>
                <label param="lp_post_freq" />
                <knob param="lp_post_freq" />
                <value param="lp_post_freq" />
            </vbox>
        </hbox>
    </frame>
</table>
