<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="on"/>
        <toggle attach-x="3" attach-y="1" expand-x="0" attach-h="2" param="on"/>
                 
        <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" rows="1" cols="1" homogeneous="1" spacing="10">
            <vbox expand="0" attach-x="0" attach-y="0">
                <label param="min_delay" />
                <knob param="min_delay" ticks="0.1 1 10" />
                <value param="min_delay" />
            </vbox>
            <vbox expand="0" attach-x="1" attach-y="0">
                <label param="mod_depth" />
                <knob param="mod_depth" ticks="0.1 1 10" />
                <value param="mod_depth" />
            </vbox>
            <vbox expand="0" attach-x="2" attach-y="0">
                <label param="feedback" />
                <knob param="feedback" type="1" />
                <value param="feedback" />
            </vbox>
            <vbox expand="0" attach-x="4" attach-y="0">
                <label param="amount" />
                <knob param="amount" ticks="0 1 4"/>
                <value param="amount" />
            </vbox>
            <vbox expand="0" attach-x="3" attach-y="0">
                <label param="dry" />
                <knob param="dry" ticks="0 1 4" />
                <value param="dry" />
            </vbox>
        </table>
        
        <vbox border="10" attach-x="0" attach-y="0">
            <label param="mod_rate" align-y="1.0" />
            <knob param="mod_rate" size="5" expand="0" fill="0" ticks="0.01 0.1 1 10 20" />
            <value param="mod_rate" align-y="0.0" />
        </vbox>
        <vbox border="10" attach-x="2" attach-y="0">
            <label param="stereo" align-y="1.0" />
            <knob param="stereo" type="3" size="5" expand="0" fill="0" />
            <value param="stereo" align-y="0.0" />
        </vbox>
        
        <if cond="directlink">
            <frame expand-y="1" fill-y="1" attach-x="1" attach-y="0" label="Freq. response">
                <line-graph refresh="1" width="160" height="160" param="min_delay"/>
            </frame>
        </if>
        
        <align expand="0" attach-x="0" attach-y="1"><toggle param="lfo" icon="pauseplay" /></align>
        <align expand="0" attach-x="2" attach-y="1"><button param="reset" /></align>
    </table>
</vbox>
