<vbox spacing="8">
    <table 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_inR" 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 param="bypass" attach-x="3" attach-y="0" expand-x="0" />
        <toggle param="bypass" icon="bypass" attach-x="3" attach-y="1" attach-h="2" expand-x="0" pad-x="10"/>
        
        <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>
    <hbox spacing="20">
        <if cond="directlink">
            <frame label="Response">
                <line-graph refresh="1" width="290" height="120" param="morph"/>
            </frame>
        </if>
        <vbox spacing="10">
            <label param="bits" />
            <knob param="bits" size="5" type="2" ticks="1 2 4 6 8 12 16"/>
            <value param="bits" />
        </vbox>
        <vbox>
            <frame label="Shape">
                <hbox spacing="20" homogeneous="1">
                    <vbox>
                        <label param="dc" />
                        <knob param="dc" size="2" type="1" />
                        <value param="dc" />
                    </vbox>
                    <vbox>
                        <label param="anti_aliasing" />
                        <knob param="anti_aliasing" size="2" />
                        <value param="anti_aliasing" />
                    </vbox>
                    <vbox>
                        <label text="Mix" />
                        <knob param="morph" ticks="0 0.5 1" size="2" />
                        <value param="morph" />
                    </vbox>
                    <vbox>
                        <label text="Logarithmic"/>
                        <toggle param="mode" icon="logarithmic"/>
                        <label/>
                    </vbox>
                </hbox>
            </frame>
            <frame label="Sample Rate">
                <hbox spacing="20" homogeneous="1">
                    <vbox>
                        <label text="Reduction" />
                        <knob param="samples" size="2" ticks="1 2 4 8 16 32 64 128 250" />
                        <value param="samples" />
                    </vbox>
                    <vbox>
                        <label param="lforange" />
                        <knob param="lforange" ticks="1 10 100 250" size="2" />
                        <value param="lforange" />
                    </vbox>
                    <vbox>
                        <label param="lforate" />
                        <knob param="lforate" ticks="0.01 0.1 1 10 100 250" size="2" />
                        <value param="lforate" />
                    </vbox>
                    <vbox>
                        <label param="lfo" />
                        <toggle param="lfo" />
                        <label/>
                    </vbox>
                </hbox>
            </frame>
        </vbox>
    </hbox>
</vbox>
