<?xml version="1.0" encoding="UTF-8"?>
<hbox spacing="8">
    <frame label="Global">
        <vbox spacing="5">
            <vbox>
                <label param="master" />
                <knob param="master" size="5" />
                <value param="master" />
            </vbox>
            <vbox>
                <label param="transpose" />
                <knob param="transpose" type="1" size="3" />
                <value param="transpose" />
            </vbox>
            <vbox>
                <label param="detune" />
                <knob param="detune" type="1" size="3" />
                <value param="detune" />
            </vbox>
            <vbox>
                <label param="midi" />
                <knob param="midi" ticks="0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16"/>
                <value param="midi" />
            </vbox>
            <vbox>
                <label param="polyphony" />
                <knob param="polyphony" />
                <value param="polyphony" />
            </vbox>
            <vbox>
                <label param="pbend_range" />
                <knob param="pbend_range" />
                <value param="pbend_range" />
            </vbox>
            <vbox>
                <label param="foldnote" />
                <knob param="foldnote" />
                <value param="foldnote" />
            </vbox>
            <vbox>
                <label param="quad_env" />
                <toggle param="quad_env" />
            </vbox>
        </vbox>
    </frame>
    <vbox spacing="8">
        <hbox spacing="8">
            <if cond="directlink">
                <frame label="Osc Waveform">
                    <line-graph param="master" refresh="1" width="200" height="40" expand="0" fill="0" />
                </frame>
            </if>
            <frame label="Vibrato">
                <vbox>
                    <hbox homogeneous="0">
                        <vbox>
                            <label text="Rate" />
                            <knob param="vib_rate" />
                            <value param="vib_rate" />
                        </vbox>
                        <vbox>
                            <label text="Amount" />
                            <knob param="vib_amt" />
                            <value param="vib_amt" />
                        </vbox>
                        <label text=" "/>
                        <vbox>
                            <label text="Mix" />
                            <knob param="vib_wet" />
                            <value param="vib_wet" />
                        </vbox>
                        <vbox>
                            <label text="Phase" />
                            <knob param="vib_phase" type="3" />
                            <value param="vib_phase" />
                        </vbox>
                    </hbox>
                    <hbox>
                        <combo param="vib_type" />
                        <combo param="vib_mode" />
                    </hbox>
                </vbox>
            </frame>
            <frame label="Global EQ">
                <hbox>
                    <vbox>
                        <label param="bass_freq" />
                        <knob param="bass_freq" />
                        <value param="bass_freq" />
                    </vbox>
                    <vbox>
                        <label param="bass_gain" />
                        <knob param="bass_gain" />
                        <value param="bass_gain" />
                    </vbox>
                    <vbox>
                        <label param="treble_freq" />
                        <knob param="treble_freq" />
                        <value param="treble_freq" />
                    </vbox>
                    <vbox>
                        <label param="treble_gain" />
                        <knob param="treble_gain" />
                        <value param="treble_gain" />
                    </vbox>
                </hbox>
            </frame>
        </hbox>
        <notebook>
            <vbox page="Tone Generator">
                <table rows="12" cols="9">
                    <label attach-x="0" attach-y="1" text="Level" />
                    <label attach-x="0" attach-y="3" text="Harmonic" />
                    <label attach-x="0" attach-y="5" text="Wave" />
                    <label attach-x="0" attach-y="6" text="Detune" />
                    <label attach-x="0" attach-y="8" text="Phase" />
                    <label attach-x="0" attach-y="10" text="Pan" />
                    <label attach-x="0" attach-y="12" text="Send to" />
                    <label attach-x="1" attach-y="0" param="l1" />
                    <vscale height="150" attach-x="1" attach-y="1" param="l1" />
                    <value attach-x="1" attach-y="2" param="l1" />
                    <knob attach-x="1" attach-y="3" param="f1" />
                    <value attach-x="1" attach-y="4" param="f1" />
                    <combo attach-x="1" attach-y="5" param="w1" />
                    <knob attach-x="1" attach-y="6" param="detune1" type="1" />
                    <value attach-x="1" attach-y="7" param="detune1" />
                    <knob attach-x="1" attach-y="8" param="phase1" type="3" />
                    <value attach-x="1" attach-y="9" param="phase1" />
                    <knob attach-x="1" attach-y="10" param="pan1" type="1" />
                    <value attach-x="1" attach-y="11" param="pan1" />
                    <combo attach-x="1" attach-y="12" param="routing1" />
                    <label attach-x="2" attach-y="0" param="l2" />
                    <vscale height="150" attach-x="2" attach-y="1" param="l2" />
                    <value attach-x="2" attach-y="2" param="l2" />
                    <knob attach-x="2" attach-y="3" param="f2" />
                    <value attach-x="2" attach-y="4" param="f2" />
                    <combo attach-x="2" attach-y="5" param="w2" />
                    <knob attach-x="2" attach-y="6" param="detune2" type="1" />
                    <value attach-x="2" attach-y="7" param="detune2" />
                    <knob attach-x="2" attach-y="8" param="phase2" type="3" />
                    <value attach-x="2" attach-y="9" param="phase2" />
                    <knob attach-x="2" attach-y="10" param="pan2" type="1" />
                    <value attach-x="2" attach-y="11" param="pan2" />
                    <combo attach-x="2" attach-y="12" param="routing2" />
                    <label attach-x="3" attach-y="0" param="l3" />
                    <vscale height="150" attach-x="3" attach-y="1" param="l3" />
                    <value attach-x="3" attach-y="2" param="l3" />
                    <knob attach-x="3" attach-y="3" param="f3" />
                    <value attach-x="3" attach-y="4" param="f3" />
                    <combo attach-x="3" attach-y="5" param="w3" />
                    <knob attach-x="3" attach-y="6" param="detune3" type="1" />
                    <value attach-x="3" attach-y="7" param="detune3" />
                    <knob attach-x="3" attach-y="8" param="phase3" type="3" />
                    <value attach-x="3" attach-y="9" param="phase3" />
                    <knob attach-x="3" attach-y="10" param="pan3" type="1" />
                    <value attach-x="3" attach-y="11" param="pan3" />
                    <combo attach-x="3" attach-y="12" param="routing3" />
                    <label attach-x="4" attach-y="0" param="l4" />
                    <vscale height="150" attach-x="4" attach-y="1" param="l4" />
                    <value attach-x="4" attach-y="2" param="l4" />
                    <knob attach-x="4" attach-y="3" param="f4" />
                    <value attach-x="4" attach-y="4" param="f4" />
                    <combo attach-x="4" attach-y="5" param="w4" />
                    <knob attach-x="4" attach-y="6" param="detune4" type="1" />
                    <value attach-x="4" attach-y="7" param="detune4" />
                    <knob attach-x="4" attach-y="8" param="phase4" type="3" />
                    <value attach-x="4" attach-y="9" param="phase4" />
                    <knob attach-x="4" attach-y="10" param="pan4" type="1" />
                    <value attach-x="4" attach-y="11" param="pan4" />
                    <combo attach-x="4" attach-y="12" param="routing4" />
                    <label attach-x="5" attach-y="0" param="l5" />
                    <vscale height="150" attach-x="5" attach-y="1" param="l5" />
                    <value attach-x="5" attach-y="2" param="l5" />
                    <knob attach-x="5" attach-y="3" param="f5" />
                    <value attach-x="5" attach-y="4" param="f5" />
                    <combo attach-x="5" attach-y="5" param="w5" />
                    <knob attach-x="5" attach-y="6" param="detune5" type="1" />
                    <value attach-x="5" attach-y="7" param="detune5" />
                    <knob attach-x="5" attach-y="8" param="phase5" type="3" />
                    <value attach-x="5" attach-y="9" param="phase5" />
                    <knob attach-x="5" attach-y="10" param="pan5" type="1" />
                    <value attach-x="5" attach-y="11" param="pan5" />
                    <combo attach-x="5" attach-y="12" param="routing5" />
                    <label attach-x="6" attach-y="0" param="l6" />
                    <vscale height="150" attach-x="6" attach-y="1" param="l6" />
                    <value attach-x="6" attach-y="2" param="l6" />
                    <knob attach-x="6" attach-y="3" param="f6" />
                    <value attach-x="6" attach-y="4" param="f6" />
                    <combo attach-x="6" attach-y="5" param="w6" />
                    <knob attach-x="6" attach-y="6" param="detune6" type="1" />
                    <value attach-x="6" attach-y="7" param="detune6" />
                    <knob attach-x="6" attach-y="8" param="phase6" type="3" />
                    <value attach-x="6" attach-y="9" param="phase6" />
                    <knob attach-x="6" attach-y="10" param="pan6" type="1" />
                    <value attach-x="6" attach-y="11" param="pan6" />
                    <combo attach-x="6" attach-y="12" param="routing6" />
                    <label attach-x="7" attach-y="0" param="l7" />
                    <vscale height="150" attach-x="7" attach-y="1" param="l7" />
                    <value attach-x="7" attach-y="2" param="l7" />
                    <knob attach-x="7" attach-y="3" param="f7" />
                    <value attach-x="7" attach-y="4" param="f7" />
                    <combo attach-x="7" attach-y="5" param="w7" />
                    <knob attach-x="7" attach-y="6" param="detune7" type="1" />
                    <value attach-x="7" attach-y="7" param="detune7" />
                    <knob attach-x="7" attach-y="8" param="phase7" type="3" />
                    <value attach-x="7" attach-y="9" param="phase7" />
                    <knob attach-x="7" attach-y="10" param="pan7" type="1" />
                    <value attach-x="7" attach-y="11" param="pan7" />
                    <combo attach-x="7" attach-y="12" param="routing7" />
                    <label attach-x="8" attach-y="0" param="l8" />
                    <vscale height="150" attach-x="8" attach-y="1" param="l8" />
                    <value attach-x="8" attach-y="2" param="l8" />
                    <knob attach-x="8" attach-y="3" param="f8" />
                    <value attach-x="8" attach-y="4" param="f8" />
                    <combo attach-x="8" attach-y="5" param="w8" />
                    <knob attach-x="8" attach-y="6" param="detune8" type="1" />
                    <value attach-x="8" attach-y="7" param="detune8" />
                    <knob attach-x="8" attach-y="8" param="phase8" type="3" />
                    <value attach-x="8" attach-y="9" param="phase8" />
                    <knob attach-x="8" attach-y="10" param="pan8" type="1" />
                    <value attach-x="8" attach-y="11" param="pan8" />
                    <combo attach-x="8" attach-y="12" param="routing8" />
                    <label attach-x="9" attach-y="0" param="l9" />
                    <vscale height="150" attach-x="9" attach-y="1" param="l9" />
                    <value attach-x="9" attach-y="2" param="l9" />
                    <knob attach-x="9" attach-y="3" param="f9" />
                    <value attach-x="9" attach-y="4" param="f9" />
                    <combo attach-x="9" attach-y="5" param="w9" />
                    <knob attach-x="9" attach-y="6" param="detune9" type="1" />
                    <value attach-x="9" attach-y="7" param="detune9" />
                    <knob attach-x="9" attach-y="8" param="phase9" type="3" />
                    <value attach-x="9" attach-y="9" param="phase9" />
                    <knob attach-x="9" attach-y="10" param="pan9" type="1" />
                    <value attach-x="9" attach-y="11" param="pan9" />
                    <combo attach-x="9" attach-y="12" param="routing9" />
                </table>
            </vbox>
            <vbox page="Sound Processor">
                <frame label="Percussive section">
                    <vbox>
                        <align scale-x="0.0" scale-y="1.0">
                            <vbox>
                                <keyboard octaves="10" />
                                <curve key="map_curve" maxpoints="4" />
                            </vbox>
                        </align>
                        <hbox>
                            <vbox>
                                <label text="Carrier" />
                                <align>
                                    <combo param="perc_waveform" />
                                </align>
                                <label/>
                            </vbox>
                            <vbox>
                                <label text="C:Harmonic" />
                                <knob param="perc_harmonic" />
                                <value param="perc_harmonic" />
                            </vbox>
                            <vbox>
                                <label text="C:Level" />
                                <knob param="perc_level" />
                                <value param="perc_level" />
                            </vbox>
                            <vbox>
                                <label text="C:Decay" />
                                <knob param="perc_decay" />
                                <value param="perc_decay" />
                            </vbox>
                            <vbox>
                                <label text="C:Vel>Amp" />
                                <knob param="perc_vel2amp" />
                                <value param="perc_vel2amp" />
                            </vbox>
                            
                            <label/>
                            
                            <vbox attach-x="0" attach-y="2">
                                <label text="Modulator" />
                                <align>
                                    <combo param="perc_fm_waveform" />
                                </align>
                                <label/>
                            </vbox>
                            <vbox>
                                <label text="M:Harmonic" />
                                <knob param="perc_fm_harmonic" />
                                <value param="perc_fm_harmonic" />
                            </vbox>
                            <vbox>
                                <label text="M:Depth" />
                                <knob param="perc_fm_depth" />
                                <value param="perc_fm_depth" />
                            </vbox>
                            <vbox>
                                <label text="M:Decay" />
                                <knob param="perc_fm_decay" />
                                <value param="perc_fm_decay" />
                            </vbox>
                            <vbox>
                                <label text="M:Vel>FM" />
                                <knob param="perc_vel2fm" />
                                <value param="perc_vel2fm" />
                            </vbox>
                            
                            <vbox>
                                <label text="Trigger" />
                                <align>
                                    <combo param="perc_trigger" />
                                </align>
                                <label/>
                            </vbox>
                            <vbox>
                                <label text="Stereo Phase" />
                                <knob param="perc_stereo" expand="0" fill="0" type="3" />
                                <value param="perc_stereo" />
                            </vbox>
                        </hbox>
                    </vbox>
                </frame>
                <hbox spacing="8">
                    <vbox>
                        <frame label="Filter 1">
                            <vbox>
                                <hbox homogeneous="1">
                                    <vbox>
                                        <label param="f1_cutoff" />
                                        <knob param="f1_cutoff" expand="0" fill="0" />
                                        <value param="f1_cutoff" />
                                    </vbox>
                                    <vbox>
                                        <label param="f1_res" />
                                        <knob param="f1_res" expand="0" fill="0" />
                                        <value param="f1_res" />
                                    </vbox>
                                    <vbox>
                                        <label param="f1_keyf" />
                                        <knob param="f1_keyf" expand="0" fill="0" />
                                        <value param="f1_keyf" />
                                    </vbox>
                                    <vbox>
                                        <label param="f1_env1" />
                                        <knob param="f1_env1" expand="0" fill="0" type="1" />
                                        <value param="f1_env1" />
                                    </vbox>
                                    <vbox>
                                        <label param="f1_env2" />
                                        <knob param="f1_env2" expand="0" fill="0" type="1" />
                                        <value param="f1_env2" />
                                    </vbox>
                                    <vbox>
                                        <label param="f1_env3" />
                                        <knob param="f1_env3" expand="0" fill="0" type="1" />
                                        <value param="f1_env3" />
                                    </vbox>
                                </hbox>
                                <hbox>
                                    <label param="filter_chain" />
                                    <align><combo param="filter_chain" /></align>
                                    <label param="filter1_type" />
                                    <align><combo param="filter1_type" /></align>
                                </hbox>
                            </vbox>
                        </frame>
                        <frame label="Filter 2">
                            <hbox homogeneous="1">
                                <vbox>
                                    <label param="f2_cutoff" />
                                    <knob param="f2_cutoff" expand="0" fill="0" />
                                    <value param="f2_cutoff" />
                                </vbox>
                                <vbox>
                                    <label param="f2_res" />
                                    <knob param="f2_res" expand="0" fill="0" />
                                    <value param="f2_res" />
                                </vbox>
                                <vbox>
                                    <label param="f2_keyf" />
                                    <knob param="f2_keyf" expand="0" fill="0" />
                                    <value param="f2_keyf" />
                                </vbox>
                                <vbox>
                                    <label param="f2_env1" />
                                    <knob param="f2_env1" expand="0" fill="0" type="1" />
                                    <value param="f2_env1" />
                                </vbox>
                                <vbox>
                                    <label param="f2_env2" />
                                    <knob param="f2_env2" expand="0" fill="0" type="1" />
                                    <value param="f2_env2" />
                                </vbox>
                                <vbox>
                                    <label param="f2_env3" />
                                    <knob param="f2_env3" expand="0" fill="0" type="1" />
                                    <value param="f2_env3" />
                                </vbox>
                            </hbox>
                        </frame>
                    </vbox>
                    <vbox>
                        <frame label="Envelope Generator 1">
                            <hbox>
                                <vbox>
                                    <label text="Attack" />
                                    <knob param="adsr_a" expand="0" fill="0" />
                                    <value param="adsr_a" />
                                </vbox>
                                <vbox>
                                    <label text="Decay" />
                                    <knob param="adsr_d" expand="0" fill="0" />
                                    <value param="adsr_d" />
                                </vbox>
                                <vbox>
                                    <label text="Sustain" />
                                    <knob param="adsr_s" expand="0" fill="0" />
                                    <value param="adsr_s" />
                                </vbox>
                                <vbox>
                                    <label text="Release" />
                                    <knob param="adsr_r" expand="0" fill="0" />
                                    <value param="adsr_r" />
                                </vbox>
                                <vbox>
                                    <label text="VelMod" />
                                    <knob param="adsr_v" expand="0" fill="0" />
                                    <value param="adsr_v" />
                                </vbox>
                                <vbox>
                                    <label text="To Amp" />
                                    <combo param="eg1_amp_ctl"/>
                                    <label/>
                                    <label/>
                                </vbox>
                            </hbox>
                        </frame>
                        <frame label="Envelope Generator 2">
                            <hbox>
                                <vbox>
                                    <label text="Attack" />
                                    <knob param="adsr2_a" expand="0" fill="0" />
                                    <value param="adsr2_a" />
                                </vbox>
                                <vbox>
                                    <label text="Decay" />
                                    <knob param="adsr2_d" expand="0" fill="0" />
                                    <value param="adsr2_d" />
                                </vbox>
                                <vbox>
                                    <label text="Sustain" />
                                    <knob param="adsr2_s" expand="0" fill="0" />
                                    <value param="adsr2_s" />
                                </vbox>
                                <vbox>
                                    <label text="Release" />
                                    <knob param="adsr2_r" expand="0" fill="0" />
                                    <value param="adsr2_r" />
                                </vbox>
                                <vbox>
                                    <label text="VelMod" />
                                    <knob param="adsr2_v" expand="0" fill="0" />
                                    <value param="adsr2_v" />
                                </vbox>
                                <vbox>
                                    <label text="To Amp" />
                                    <combo param="eg2_amp_ctl" />
                                    <label/>
                                    <label/>
                                </vbox>
                            </hbox>
                        </frame>
                        <frame label="Envelope Generator 3">
                            <hbox>
                                <vbox>
                                    <label text="Attack" />
                                    <knob param="adsr3_a" expand="0" fill="0" />
                                    <value param="adsr3_a" />
                                </vbox>
                                <vbox>
                                    <label text="Decay" />
                                    <knob param="adsr3_d" expand="0" fill="0" />
                                    <value param="adsr3_d" />
                                </vbox>
                                <vbox>
                                    <label text="Sustain" />
                                    <knob param="adsr3_s" expand="0" fill="0" />
                                    <value param="adsr3_s" />
                                </vbox>
                                <vbox>
                                    <label text="Release" />
                                    <knob param="adsr3_r" expand="0" fill="0" />
                                    <value param="adsr3_r" />
                                </vbox>
                                <vbox>
                                    <label text="VelMod" />
                                    <knob param="adsr3_v" expand="0" fill="0" />
                                    <value param="adsr3_v" />
                                </vbox>
                                <vbox>
                                    <label text="To Amp" />
                                    <combo param="eg3_amp_ctl" />
                                    <label/>
                                    <label/>
                                </vbox>
                            </hbox>
                        </frame>
                    </vbox>
                </hbox>
                
            </vbox>
        </notebook>
    </vbox>
</hbox>
