<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="0"  param="lfo"/>
        <toggle attach-x="4" attach-y="1" expand-x="0" attach-h="2" param="lfo" icon="pauseplay" />
        
        <label attach-x="5" 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="5" attach-y="1" expand-x="1" />
        <vumeter param="meter_outR" position="2" mode="0" hold="1.5" falloff="2.5" attach-x="5" 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="5" attach-y="3" expand-x="1" />
        
        <label attach-x="6" attach-y="0" expand-x="0" text="Clip"/>
        <led param="clip_outL" mode="1" attach-x="6" attach-y="1" expand-x="0" />
        <led param="clip_outR" mode="1" attach-x="6" attach-y="2" expand-x="0" />
        
        <label param="level_out" attach-x="7" attach-y="0" expand-x="0" />
        <knob param="level_out" attach-x="7" attach-y="1" attach-h="2" expand-x="0" type="1" />
        <value param="level_out" attach-x="7" attach-y="3" expand-x="0" />
    </table>
    <table rows="2" cols="3"  spacing-x="0"  spacing-y="0">
        <frame label="Timbre" attach-x="0" attach-y="1" shrink-y="1">
            <table rows="1" cols="5" homogeneous="1" attach-x="0" attach-y="1">
                <vbox 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 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 attach-x="2" attach-y="0">
                    <label param="mod_rate" />
                    <knob param="mod_rate" ticks="0.01 0.1 1 20"/>
                    <value param="mod_rate" />
                </vbox>
                <vbox attach-x="3" attach-y="0">
                    <label param="dry" />
                    <knob param="dry" ticks="0 0.0625 0.25 1 4"  />
                    <value param="dry" />
                </vbox>
                <vbox attach-x="4" attach-y="0">
                    <label param="amount" />
                    <knob param="amount" ticks="0 0.0625 0.25 1 4" />
                    <value param="amount" />
                </vbox>
            </table>
        </frame>
        <frame label="LFO" attach-x="1" attach-y="0" shrink-y="1" expand-y="1" fill-y="1" pad-x="8">
            <table rows="2" cols="2" homogeneous="1" spacing="10">
                <vbox attach-x="0" attach-y="0">
                    <label param="overlap" />
                    <knob param="overlap" size="2" ticks="0 0.5 1" />
                    <value param="overlap" />
                </vbox>
                <vbox attach-x="1" attach-y="0">
                    <label param="voices" />
                    <knob param="voices" size="2" ticks="1 2 3 4 5 6 7 8"/>
                    <value param="voices" />
                </vbox>
                <vbox attach-x="0" attach-y="1">
                    <label param="stereo" />
                    <knob param="stereo" type="3" size="2" />
                    <value param="stereo" />
                </vbox>
                <vbox attach-x="1" attach-y="1">
                    <label param="vphase" />
                    <knob param="vphase" type="3" size="2" />
                    <value param="vphase" />
                </vbox>
            </table>
        </frame>
        <frame label="Post Filter" attach-x="1" attach-y="1" shrink-y="1" pad-x="8">
            <table rows="1" cols="3" spacing="10">
                <vbox attach-x="0" attach-y="0">
                    <label text="HP" />
                    <knob param="freq" size="2" ticks="10 100 1000 20000" />
                    <value param="freq" />
                </vbox>
                <vbox attach-x="1" attach-y="0">
                    <label param="q" />
                    <knob param="q" ticks="0.125 1 8" />
                    <value param="q" />
                </vbox>
                <vbox attach-x="2" attach-y="0">
                    <label text="LP" />
                    <knob param="freq2" size="2" ticks="10 100 1000 20000" />
                    <value param="freq2" />
                </vbox>
            </table>
        </frame>
        <if cond="directlink">
            <hbox attach-x="0" attach-y="0" fill-y="1" expand-y="1" spacing="8">
                <frame label="Freq. response">
                    <vbox expand-x="1" fill-x="1" attach-x="3" attach-y="0" attach-h="7">
                        <line-graph refresh="1" width="240" height="166" param="min_delay"/>
                    </vbox>
                </frame>
                <frame label="LFO positions">
                    <vbox spacing="6">
                        <line-graph refresh="1" width="240" height="20" param="mod_depth"/>
                        <line-graph refresh="1" width="240" height="140" param="mod_rate"/>
                    </vbox>
                </frame>
            </hbox>
        </if>
    </table>
</vbox>
