<vbox>
    <table attach-x="0" attach-y="0" expand-y="0" expand-x="1" spacing="5" rows="1" cols="7">
        <label param="level_in" attach-x="0" attach-y="0" expand-x="0" />
        <knob param="level_in" attach-x="0" attach-y="1" attach-h="2" expand-x="0" type="1" />
        <value param="level_in" attach-x="0" attach-y="3" expand-x="0" />
        
        <label attach-x="1" attach-y="0" expand-x="1" text="Input level" />
        <vumeter param="meter_inL" position="2" mode="0" hold="1.5" falloff="2.5" attach-x="1" attach-y="1" expand-x="1" />
        <vumeter param="meter_inR" position="2" mode="0" hold="1.5" falloff="2.5" attach-x="1" attach-y="2" expand-x="1" />
        <meterscale param="meter_outR" marker="0 0.0625 0.125 0.25 0.5 0.71 1" dots="1" position="2" mode="0" attach-x="1" attach-y="3" expand-x="1" />
        
        <label attach-x="2" attach-y="0" expand-x="0" text="Clip" />
        <led param="clip_inL" attach-x="2" attach-y="1" expand-x="0" />
        <led param="clip_inR" attach-x="2" attach-y="2" expand-x="0" />
        
        <label attach-x="3" attach-y="0" expand-x="0"  param="bypass"/>
        <toggle attach-x="3" attach-y="1" expand-x="0" attach-h="2" param="bypass" icon="bypass"/>
                 
        <label attach-x="4" attach-y="0" expand-x="1" text="Output level"/>
        <vumeter param="meter_outL" position="2" mode="0" hold="1.5" falloff="2.5" attach-x="4" attach-y="1" expand-x="1" />
        <vumeter param="meter_outR" position="2" mode="0" hold="1.5" falloff="2.5" attach-x="4" attach-y="2" expand-x="1" />
        <meterscale param="meter_outR" marker="0 0.0625 0.125 0.25 0.5 0.71 1" dots="1" position="2" mode="0" attach-x="4" attach-y="3" expand-x="1" />
        
        <label attach-x="5" attach-y="0" expand-x="0" text="Clip"/>
        <led param="clip_outL" mode="1" attach-x="5" attach-y="1" expand-x="0" />
        <led param="clip_outR" mode="1" attach-x="5" attach-y="2" expand-x="0" />
        
        <label param="level_out" attach-x="6" attach-y="0" expand-x="0" />
        <knob param="level_out" attach-x="6" attach-y="1" attach-h="2" expand-x="0" type="1" />
        <value param="level_out" attach-x="6" attach-y="3" expand-x="0" />
    </table>
    <table rows="2" cols="3">
        <table attach-x="1" attach-y="1" shrink-y="1" expand-x="1" cols="3" rows="1" >
            <label param="mode" attach-x="0" attach-y="0" shrink-x="1"/>
            <combo param="mode" attach-x="2" attach-y="0"/>
        </table>
        <vbox attach-x="0" attach-y="0" attach-h="2" spacing="8">
            <vbox>
                <label param="transpose" />
                <knob param="transpose" ticks="-48 -36 -24 -12 0 12 24 36 48" type="1" size="5"/>
                <value param="transpose" />
            </vbox>
            <vbox>
                <label param="detune" />
                <knob param="detune" type="1"/>
                <value param="detune" />
            </vbox>
        </vbox>
        <vbox attach-x="2" attach-y="0" attach-h="2" spacing="8">
            <vbox>
                <label param="maxres" />
                <knob param="maxres" size="5" />
                <value param="maxres" />
            </vbox>
            <vbox>
                <label param="inertia" />
                <knob param="inertia" ticks="1 10 100 1000 2000"/>
                <value param="inertia" />
            </vbox>
        </vbox>
        <if cond="directlink">
            <frame label="Freq. response" expand-x="1" fill-x="1" attach-x="1" attach-y="0">
                <line-graph param="mode" refresh="1" width="320" height="160" crosshairs="1"/>
            </frame>
        </if>
    </table>
</vbox>
