<Skin name="V8 Default but by FRUiT" version="8" width="1920" height="1080" nbdecks="2" image="2-6 Decks.png" author="FRUiT" preview="skinpreview.png" comment="v8 skin engine at it's best !">
<copyright>(c)2014 - Atomix Productions</copyright>

<panel id="grabzone" visible="true"/>
<grabzone visibility="skin_panel 'grabzone' on"><pos x="0" y="0"/><size width="1920" height="48"/></grabzone>
<grabzone visibility="skin_panel 'grabzone' on"><pos x="0" y="0"/><size width="15" height="1080"/></grabzone>
<grabzone visibility="skin_panel 'grabzone' on"><pos x="0" y="1080-15"/><size width="1920" height="15"/></grabzone>
<grabzone visibility="skin_panel 'grabzone' on"><pos x="1920-15" y="0"/><size width="15" height="1080"/></grabzone>

<customicons x="587" y="3170" iconsize="64" nb="144" nbx="16"/>

<!-- pluginzone>

  <pos x="+0" y="+0" width="300" height="100"/>

  <slider orientation="round" >
    <size width="47" height="47"/>
    <off x="1521" y="1297"/>
    <on x="1621" y="1201"/>
    <fader anglemin="-150" anglemax="+150">
      <size width="47" height="47"/>
      <pos x="1682" y="1200"/>
    </fader>
  </slider>

  <text font="arial" size="14" align="center" color="#00FF8B" scroll="yes"/>

  <button action="effect_button" deck="left">
    <size width="50" height="29"/>
    <off x="422" y="1512"/>
    <over x="473" y="1544"/>
    <on x="524" y="1544"/>
    <text size="13" color="#E1E1E1" align="center"/>
  </button>

</pluginzone -->

<group name="class_defines">

  <font name="Helvetica" />
  <tooltip size="14" color="#bbbbbb" back="#101010" shortcut="#ffffff" />

  
  <group name="rhythm">

    <define class="scratch_spl" orientation="horizontal">
      <pos x="+0" y="+0"/>
      <size width="680" height="92"/>
      <up x="18" y="561"/>
      <down x="510" y="2332"/>
      <overlay>
        <size width="2" height="92"/>
        <pos x="+341" y="+0"/>
        <background x="510" y="2332"/>
      </overlay>
    </define>

    <define class="scratch_hor" orientation="horizontal">
      <pos x="+0" y="+0"/>
      <size width="1372" height="45"/>
      <up x="18" y="561"/>
      <down x="510" y="2332"/>
      <overlay>
        <size width="2" height="45"/>
        <pos x="959" y="+0"/>
        <background x="510" y="2332"/>
      </overlay>
    </define>

    <define class="waves" mirror="false" upsidedown="false" fade="3" visibility="not skin_panel 'bigwaves'">
      <pos x="+0" y="+0"/>
      <size width="1372" height="92"/>
      <colors deck1="#007097" deck2="#8c0709" deck1_active="#009fd2" deck2_active="#cd0f10"/>
      <rhythm y="+0" height="78"/>
      <grid height="6" width="6" maxwidth="15">
        <pos y1="+79" y2="+85"/>
      </grid>
      <cue y="+0" height="92">
        <text dx="15" dy="-1" size="14" />
        <mask width="12" height="92" x="942" y="1372"/>
      </cue>
      <overlay>
        <size width="2" height="91"/>
        <pos x="959" y="+0"/>
        <background x="1" y="1163"/>
      </overlay>
    </define>

    <define class="bigwaves" mirror="false" upsidedown="false" fade="3" direction="left" panel="bigwaves">
      <pos x="+0" y="+0"/>
      <size width="1372" height="184"/>
      <colors deck1="#007097" deck2="#8c0709" deck1_active="#009fd2" deck2_active="#cd0f10"/>
      <rhythm y="+0" height="170"/>
      <grid height="6" width="6" maxwidth="10">
        <pos y1="+171" y2="+177"/>
      </grid>
      <cue y="+0" height="184">
        <text dx="15" dy="-1" size="14" />
        <mask width="12" height="184" x="942" y="1372"/>
      </cue>
      <overlay>
        <size width="2" height="183"/>
        <pos x="959" y="+0"/>
        <background x="1" y="1163"/>
      </overlay>
    </define>

  </group>

  <group name="menus">

    <define class="vu_menus" visibility="not skin_panel 'vu_off'">
      <pos x="+0" y="+0"/>
      <size width="81" height="153"/>
      <submenu text="Scheme">
        <item text="Per deck" action="set '@$vucolor' 0" check="var '@$vucolor' 0"/>
        <item text="Neutral" action="set '@$vucolor' 1" check="var '@$vucolor' 1"/>
        <item text="Green" action="set '@$vucolor' 2" check="var '@$vucolor' 2"/>
      </submenu>
      <item text="Level" action="skin_pannel 'vu_meter' on" check="skin_pannel 'vu_meter'" />
      <item text="Vu meter" action="skin_pannel 'vu_output' on" check="skin_pannel 'vu_output'" />
      <item text="Disable" action="skin_pannel 'vu_off' on" check="skin_pannel 'vu_off'"/>
      <item text=' ' check="false" />
      <item text="Peaks" action="skin_panel 'vu_layout' toggle" check="skin_panel 'vu_layout' on"/>
    </define>

    <define class="screenmenu">
      <size width="60" height="18"/>
      <pos x="+2" y="+11+25+25+4"/>
      <item text="Search" action="wheel_mode 'search' & vinyl_mode 0" check="wheel_mode 'search'" />
      <item text="Loop move" action="wheel_mode 'loop_move' & vinyl_mode 0" check="wheel_mode 'loop_move'" />
      <item text="Loop out" action="wheel_mode 'loop_out' & vinyl_mode 0" check="wheel_mode 'loop_out'" />
      <item text="Loop in" action="wheel_mode 'loop_in' & vinyl_mode 0" check="wheel_mode 'loop_in'" />
      <item text="Browse" action="wheel_mode 'browser' & vinyl_mode 0" check="wheel_mode 'browser'" />
      <item text=' ' />
      <item text="Nudge (default)" action="wheel_mode 'jog' & vinyl_mode 0" check="vinyl_mode '1' ? false : wheel_mode 'jog' ? true : false" />
      <item text="Vinyl (scratch)" action="vinyl_mode 1 ? vinyl_mode 0 : wheel_mode 'jog' & vinyl_mode 1" check="vinyl_mode 1" />
    </define>
    
  </group>

  <group name="songpos">

    <define class="songpos" classdeck="left" colorPlayed="#00a5e4" colorBass="#00567a" colorMed="#00a5e4" colorHigh="#7fc8e9">
      <size width="511" height="38"/>
      <pos x="+2" y="+89"/>
      <cues>
        <size width="11" height="38"/>
        <pos x="244" y="233"/>
        <up x="880" y="1373"/>
        <down x="904" y="1373"/>
        <over x="855" y="1373"/>
        <clipmask x="834" y="1389"/>
      </cues>
    </define>

    <define class="songpos" classdeck="right" colorPlayed="#e4000d" colorBass="#7a0005" colorMed="#e4000d" colorHigh="#e97f81">
      <size width="511" height="38"/>
      <pos x="+2" y="+89"/>
      <cues>
        <size width="11" height="38"/>
        <pos x="244" y="238"/>
        <up x="855" y="1373"/>
        <down x="904" y="1373"/>
        <over x="880" y="1373"/>
        <clipmask x="834" y="1390"/>
      </cues>
    </define>

    <define class="songpos_blue" colorPlayed="#00a5e4" colorBass="#00567a" colorMed="#00a5e4" colorHigh="#7fc8e9">
      <size width="511" height="38"/>
      <pos x="+2" y="+89"/>
      <cues>
        <size width="7" height="38"/>
        <pos x="244" y="233"/>
        <up x="887" y="1373"/>
        <down x="911" y="1373"/>
        <over x="864" y="1373"/>
        <clipmask x="836" y="1389"/>
      </cues>
    </define>

    <define class="songpos_red" colorPlayed="#e4000d" colorBass="#7a0005" colorMed="#e4000d" colorHigh="#e97f81">
      <size width="511" height="38"/>
      <pos x="+2" y="+89"/>
      <cues>
        <size width="7" height="38"/>
        <pos x="244" y="238"/>
        <up x="860" y="1373"/>
        <down x="911" y="1373"/>
        <over x="890" y="1373"/>
        <clipmask x="836" y="1390"/>
      </cues>
    </define>

    <define class="songpos_green" colorPlayed="#23c034" colorBass="#007a19" colorMed="#23c034" colorHigh="#7fe997" >
      <cues>
        <size width="7" height="38"/>
        <pos x="244" y="233"/>
        <up x="887" y="1373"/>
        <down x="911" y="1373"/>
        <over x="864" y="1373"/>
        <clipmask x="836" y="1389"/>
      </cues>
    </define>

    <define class="songpos_orange" colorPlayed="#e48300" colorBass="#7a4700" colorMed="#e48300" colorHigh="#e9c07f" >
      <cues>
        <size width="7" height="38"/>
        <pos x="244" y="238"/>
        <up x="860" y="1373"/>
        <down x="911" y="1373"/>
        <over x="890" y="1373"/>
        <clipmask x="836" y="1390"/>
      </cues>
    </define>

  </group>

  <group name="buttons">

    <define class="select_big_L" classdeck="left">
      <pos x="+0" y="+0"/>
      <size width="48" height="48"/>
      <off x="825" y="1264"/>
      <on x="876" y="1264"/>
      <over x="825" y="1314"/>
    </define>
  
    <define class="select_big_L" classdeck="right">
      <pos x="+0" y="+0"/>
      <size width="48" height="48"/>
      <off x="825" y="1264"/>
      <on x="875" y="1314"/>
      <over x="825" y="1314"/>
    </define>

    <define class="select_big_R" classdeck="left">
      <pos x="+157" y="+0"/>
      <size width="48" height="48"/>
      <off x="825" y="1264"/>
      <on x="876" y="1264"/>
      <over x="825" y="1314"/>
    </define>
  
    <define class="select_big_R" classdeck="right">
      <pos x="+157" y="+0"/>
      <size width="48" height="48"/>
      <off x="825" y="1264"/>
      <on x="875" y="1314"/>
      <over x="825" y="1314"/>
    </define>

    <define class="key_pane" classdeck="left" action="skin_pannel 'panel_key_L' toggle" rightclick="key 0">
      <pos x="+433+32+32" y="+64"/>
      <tooltip>KEY\nShow key panel\nRightclick to reset the key</tooltip>
      <size width="13" height="13"/>
      <down x="204" y="1348"/>
      <up x="204" y="1348"/>
    </define>  

    <define class="key_pane" classdeck="right" action="skin_pannel 'panel_key_R' toggle" rightclick="key 0">
      <pos x="+433+32+32" y="+64"/>
      <tooltip>KEY\nShow key panel\nRightclick to reset the key</tooltip>
      <size width="13" height="13"/>
      <down x="204" y="1348"/>
      <up x="204" y="1348"/>
    </define>  

    <define class="phraserbutton" action="goto -4">
      <pos x="+0" y="+0"/>
      <tooltip>PHRASE INDICATOR</tooltip>
      <size width="30" height="30"/>
    </define>

    <define class="eq_kill_left">
      <pos x="+42" y="+39"/>
      <size width="14" height="15"/>
      <up x="692" y="1129"/>
      <selected x="729" y="1129"/>
      <over x="710" y="1129"/>
    </define>

    <define class="mixer_audio_eq_kill" classdeck="left">
      <pos x="+39" y="+39"/>
      <size width="14" height="15"/>
      <up x="692" y="1129"/>
      <selected x="729" y="1129"/>
      <over x="710" y="1129"/>
    </define>

    <define class="mixer_audio_eq_kill" classdeck="right">
      <pos x="-6" y="+39"/>
      <size width="14" height="15"/>
      <up x="692" y="1129"/>
      <selected x="748" y="1129"/>
      <over x="710" y="1129"/>
    </define>

    <define class="custom_mixer" classdeck="left" panel="style_glossy">
      <size width="32" height="24"/>
      <on x="352" y="1512"/>
      <over x="352" y="1572"/>
      <off x="352" y="1572"/>
      <text size="13" color="#E1E1E1" align="center"/>
    </define>

    <define class="custom_mixer" classdeck="right" panel="style_glossy">
      <size width="32" height="24"/>
      <on x="352" y="1542"/>
      <over x="352" y="1572"/>
      <off x="352" y="1572"/>
      <text size="13" color="#E1E1E1" align="center"/>
    </define>

    <define class="custom_mixer_flat" classdeck="left" panel="style_flat">
      <size width="33" height="25"/>
      <on x="386" y="1512"/>
      <over x="421" y="1572"/>
      <off x="386" y="1572"/>
      <text size="13" color="#E1E1E1" align="center"/>
    </define>

    <define class="custom_mixer_flat" classdeck="right" panel="style_flat">
      <size width="33" height="25"/>
      <on x="386" y="1542"/>
      <over x="421" y="1542"/>
      <off x="386" y="1572"/>
      <text size="13" color="#E1E1E1" align="center"/>
    </define>

    <define class="deckbutton" classdeck="left" visibility="not skin_panel 'transport_flat'">
      <size width="83" height="36"/>
      <up x="8" y="1088"/>
      <over x="92" y="1088"/>
      <down x="176" y="1088"/>
      <text size="16" weight="bold" color="#e1e1e1" align="center"/>
    </define>

    <define class="deckbutton" classdeck="right" visibility="not skin_panel 'transport_flat'">
      <size width="83" height="36"/>
      <up x="8" y="1088"/>
      <over x="116" y="1130"/>
      <down x="200" y="1130"/>
      <text size="16" weight="bold" color="#e1e1e1" align="center"/>
    </define>

    <define class="deckbuttonflat" classdeck="left" visibility="skin_panel 'transport_flat'">
      <size width="83" height="36"/>
      <up x="9" y="1216"/>
      <over x="177" y="1257"/>
      <down x="93" y="1216"/>
      <text size="16" weight="bold" color="#e1e1e1" align="center"/>
    </define>

    <define class="deckbuttonflat" classdeck="right" visibility="skin_panel 'transport_flat'">
      <size width="83" height="36"/>
      <up x="9" y="1216"/>
      <over x="177" y="1257"/>
      <down x="177" y="1216"/>
      <text size="16" weight="bold" color="#e1e1e1" align="center"/>
    </define>

    <define class="deckbuttonflatmini" classdeck="left" visibility="skin_panel 'transport_flat' && skin_panel 'seek_buttons'">
      <size width="38" height="36"/>
      <up x="9" y="1424"/>
      <over x="129" y="1424"/>
      <down x="49" y="1424"/>
      <text size="15" dy="2" weight="bold" color="#e1e1e1" align="center"/>
    </define>

    <define class="deckbuttonflatmini" classdeck="right" visibility="skin_panel 'transport_flat' && skin_panel 'seek_buttons'">
      <size width="38" height="36"/>
      <up x="9" y="1424"/>
      <over x="129" y="1424"/>
      <down x="89" y="1424"/>
      <text size="15" dy="2" weight="bold" color="#e1e1e1" align="center"/>
    </define>

    <define class="custombutton" classdeck="left" panel="style_glossy">
      <size width="50" height="29"/>
      <off x="422" y="1448"/>
      <over x="473" y="1448"/>
      <on x="524" y="1448"/>
      <text size="13" color="#E1E1E1" align="center"/>
    </define>

    <define class="custombutton" classdeck="right" panel="style_glossy">
      <size width="50" height="29"/>
      <off x="422" y="1448"/>
      <over x="575" y="1448"/>
      <on x="626" y="1448"/>
      <text size="13" color="#E1E1E1" align="center"/>
    </define>

    <define class="custombutton_flat" classdeck="left" panel="style_flat">
      <size width="50" height="29"/>
      <off x="422" y="1512"/>
      <over x="473" y="1512"/>
      <on x="524" y="1512"/>
      <text size="13" color="#E1E1E1" align="center"/>
    </define>

    <define class="custombutton_flat" classdeck="right" panel="style_flat">
      <size width="50" height="29"/>
      <off x="422" y="1512"/>
      <over x="575" y="1512"/>
      <on x="626" y="1512"/>
      <text size="13" color="#E1E1E1" align="center"/>
    </define>

    <define class="mixerbutton" panel="style_glossy">
      <size width="50" height="29"/>
      <off x="422" y="1448"/>
      <over x="473" y="1480"/>
      <on x="524" y="1480"/>
      <text size="13" color="#E1E1E1" align="center"/>
    </define>

    <define class="mixerbutton_flat" panel="style_flat">
      <size width="50" height="29"/>
      <off x="422" y="1512"/>
      <over x="473" y="1544"/>
      <on x="524" y="1544"/>
      <text size="13" color="#E1E1E1" align="center"/>
    </define>

    <define class="sidebutton" classdeck="left" panel="style_glossy">
      <size width="49" height="39"/>  
      <up x="314" y="1687"/>
      <over x="422" y="1730"/>
      <down x="368" y="1687"/>
      <text size="16" weight="bold" color="#e1e1e1" align="center"  />
    </define>

    <define class="sidebutton" classdeck="right" panel="style_glossy">
      <size width="49" height="39"/>  
      <up x="314" y="1687"/>
      <over x="368" y="1730"/>
      <down x="314" y="1730"/>
      <text size="16" weight="bold" color="#e1e1e1" align="center"/>
    </define>

    <define class="sidebutton_flat" classdeck="left" panel="style_flat">
      <size width="51" height="40"/>  
      <up x="314" y="1600"/>
      <over x="422" y="1643"/>
      <down x="368" y="1600"/>
      <text size="16" weight="bold" color="#e1e1e1" align="center"  />
    </define>

    <define class="sidebutton_flat" classdeck="right" panel="style_flat">
      <size width="51" height="40"/>  
      <up x="314" y="1600"/>
      <over x="368" y="1643"/>
      <down x="314" y="1643"/>
      <text size="16" weight="bold" color="#e1e1e1" align="center"/>
    </define>

    <define class="options">
      <size width="20" height="20"/>
      <up x="260" y="1217"/>
      <over x="260" y="1239"/>
      <down x="284" y="1217"/>
    </define>

    <define class="zoom_button">
      <size width="20" height="20"/>
      <up x="303" y="1319"/>
      <over x="303" y="1319"/>
      <down x="325" y="1319"/>
      <text size="14" weight="bold" color="#ffffff" align="center"/>
    </define>

    <define class="deletecue">
      <size width="24" height="24"/>
      <over x="560" y="1312"/>
      <off x="504" y="1312"/>
    </define>

    <define class="lock" classdeck="left">
      <size width="24" height="24"/>
      <up x="176" y="1394"/>
      <over x="206" y="1367"/>
      <down x="206" y="1394"/>
    </define>

    <define class="lock" classdeck="right">
      <size width="24" height="24"/>
      <up x="176" y="1394"/>
      <over x="236" y="1367"/>
      <down x="236" y="1394"/>
    </define>

    <define class="match" classdeck="left">
      <size width="24" height="24"/>
      <up x="560" y="1128"/>
      <over x="559" y="1160"/>
      <down x="559" y="1192"/>
    </define>

    <define class="match" classdeck="right">
      <size width="24" height="24"/>
      <up x="560" y="1128"/>
      <over x="559" y="1224"/>
      <down x="559" y="1256"/>
    </define>

    <define class="plus" classdeck="left">
      <size width="26" height="24"/>
      <up x="532" y="1128"/>
      <over x="532" y="1160"/>
      <down x="532" y="1192"/>
    </define>

    <define class="plus" classdeck="right">
      <size width="26" height="24"/>
      <up x="532" y="1128"/>
      <over x="532" y="1224"/>
      <down x="532" y="1256"/>
    </define>

    <define class="minus" classdeck="left">
      <size width="26" height="24"/>
      <up x="504" y="1128"/>
      <over x="504" y="1160"/>
      <down x="504" y="1192"/>
    </define>

    <define class="minus" classdeck="right">
      <size width="26" height="24"/>
      <up x="504" y="1128"/>
      <over x="504" y="1224"/>
      <down x="504" y="1256"/>
    </define>

    <define class="plusminus" classdeck="left">
      <size width="25" height="24"/>
      <up x="533" y="1128"/>
      <over x="532" y="1160"/>
      <down x="504" y="1128"/>
      <overselected x="504" y="1160"/>
    </define>

    <define class="plusminus" classdeck="right">
      <size width="25" height="24"/>
      <up x="533" y="1128"/>
      <over x="532" y="1224"/>
      <down x="504" y="1128"/>
      <overselected x="504" y="1224"/>
    </define>

    <define class="headphones" classdeck="left" action="pfl" rightclick="select" panel="style_glossy" visibility="skin_panel 'mixer_pfl' on">
      <tooltip>PFL\nRightclick to select the deck</tooltip>
      <size width="50" height="29"/>
      <off x="422" y="1448"/>
      <over x="473" y="1448"/>
      <selected x="524" y="1448"/>
      <icon x="556" y="1422" height="20" width="19" dx="0" dy="0"/>
    </define>

    <define class="headphones_flat" classdeck="left" action="pfl" rightclick="select" panel="style_flat" visibility="skin_panel 'mixer_pfl' on">
      <tooltip>PFL\nRightclick to select the deck</tooltip>
      <size width="50" height="29"/>
      <off x="422" y="1512"/>
      <over x="473" y="1512"/>
      <selected x="524" y="1512"/>
      <icon x="556" y="1422" height="20" width="19" dx="0" dy="0"/>
    </define>

    <define class="headphones_small" classdeck="left" action="pfl" rightclick="select" panel="style_glossy" visibility="skin_panel 'mixer_pfl' on">
      <tooltip>PFL\nRightclick to select the deck</tooltip>
      <size width="31" height="24"/>
      <selected x="352" y="1512"/>
      <over x="352" y="1572"/>
      <off x="352" y="1572"/>
      <icon x="556" y="1422" height="20" width="19" dx="0" dy="0"/>
    </define>

    <define class="headphones_small_flat" classdeck="left" action="pfl" rightclick="select" panel="style_flat" visibility="skin_panel 'mixer_pfl' on">
      <tooltip>PFL\nRightclick to select the deck</tooltip>
      <size width="31" height="24"/>
      <selected x="386" y="1512"/>
      <over x="386" y="1572"/>
      <off x="386" y="1572"/>
      <icon x="556" y="1422" height="20" width="19" dx="0" dy="0"/>
    </define>

    <define class="headphones" classdeck="right" action="pfl" rightclick="select" panel="style_glossy" visibility="skin_panel 'mixer_pfl' on">
      <tooltip>PFL\nRightclick to select the deck</tooltip>
      <size width="48" height="28"/>
      <off x="422" y="1448"/>
      <over x="575" y="1448"/>
      <selected x="626" y="1448"/>
      <icon x="556" y="1422" height="20" width="19" dx="0" dy="0"/>
    </define>

    <define class="headphones_flat" classdeck="right" action="pfl" rightclick="select" panel="style_flat" visibility="skin_panel 'mixer_pfl' on">
      <tooltip>PFL\nRightclick to select the deck</tooltip>
      <size width="50" height="29"/>
      <off x="422" y="1512"/>
      <over x="575" y="1512"/>
      <selected x="626" y="1512"/>
      <icon x="556" y="1422" height="20" width="19" dx="0" dy="0"/>
    </define>

    <define class="headphones_small" classdeck="right" action="pfl" rightclick="select" panel="style_glossy" visibility="skin_panel 'mixer_pfl' on">
      <tooltip>PFL\nRightclick to select the deck</tooltip>
      <size width="31" height="24"/>
      <selected x="352" y="1542"/>
      <over x="352" y="1572"/>
      <off x="352" y="1572"/>
      <icon x="556" y="1422" height="20" width="19" dx="0" dy="0"/>
    </define>

    <define class="headphones_small_flat" classdeck="right" action="pfl" rightclick="select" panel="style_flat" visibility="skin_panel 'mixer_pfl' on">
      <tooltip>PFL\nRightclick to select the deck</tooltip>
      <size width="31" height="24"/>
      <selected x="386" y="1542"/>
      <over x="386" y="1572"/>
      <off x="386" y="1572"/>
      <icon x="556" y="1422" height="20" width="19" dx="0" dy="0"/>
    </define>

    <define class="beat_bar" classdeck="left">
      <size width="30" height="4"/>
      <down x="496" y="1088"/>
      <over x="496" y="1088"/>
      <selected x="496" y="1102"/>
      <downselected x="496" y="1102"/>
      <overselected x="496" y="1102"/>
    </define>

    <define class="beat_bar" classdeck="right">
      <size width="30" height="4"/>
      <down x="549" y="1088"/>
      <over x="549" y="1088"/>
      <selected x="549" y="1102"/>
      <downselected x="549" y="1102"/>
      <overselected x="549" y="1102"/>
    </define>

    <define class="cross_beat_bar" classdeck="left">
      <size width="22" height="3"/>
      <down x="496" y="1088"/>
      <over x="496" y="1088"/>
      <selected x="496" y="1102"/>
      <downselected x="496" y="1102"/>
      <overselected x="496" y="1102"/>
    </define>

    <define class="cross_beat_bar" classdeck="right">
      <size width="22" height="3"/>
      <down x="549" y="1088"/>
      <over x="549" y="1088"/>
      <selected x="549" y="1104"/>
      <downselected x="549" y="1104"/>
      <overselected x="549" y="1104"/>
    </define>

    <define class="sidebar_cues">
      <tooltip>EXTENDED VIEW HOT CUES\nShow extended view for hot cue</tooltip>
      <size width="223" height="25"/>
      <off x="0" y="1513"/>
      <over x="0" y="1513+84"/>
      <overselected x="0" y="1513+84"/>
    </define>

    <define class="sidebar_fx">
      <tooltip>EXTENDED VIEW EFFECTS\nShow extended view for effects</tooltip>
      <size width="223" height="25"/>
      <off x="0" y="1541"/>
      <over x="0" y="1541+84"/>
      <overselected x="0" y="1541+84"/>
    </define>

    <define class="sidebar_loops">
      <tooltip>EXTENDED VIEW LOOPS\nShow extended view for loops</tooltip>
      <size width="223" height="25"/>
      <off x="0" y="1569"/>
      <over x="0" y="1569+84"/>
      <overselected x="0" y="1569+84"/>
    </define>

  </group>

  <group name="sliders">

    <define class="knob_fader" orientation="round">
      <pos x="+0" y="+0"/>
      <size width="47" height="47"/>
      <on x="1750" y="1280"/>
      <off x="1750" y="1280"/>
      <mousemask x="1750" y="1280"/>
      <fader anglemin="-150" anglemax="+150">
        <size width="47" height="47"/>
        <pos x="1734" y="1201"/>
      </fader>
    </define>

    <define class="knob_fader_infinite" orientation="round">
      <pos x="+0" y="+0"/>
      <size width="47" height="47"/>
      <on x="1750" y="1280"/>
      <off x="1750" y="1280"/>
      <mousemask x="1750" y="1280"/>
      <fader>
        <size width="47" height="47"/>
        <pos x="1734" y="1201"/>
      </fader>
    </define>

    <define class="outer_knob">
      <pos x="+0" y="+0"/>
      <circle direction="cw" anglemin="-150" anglemax="150"/>
      <size width="47" height="47"/>
      <off x="1521" y="1297"/>
      <mousemask x="1521" y="1297"/>
    </define>

    <define class="inner_knob" orientation="round">
      <size width="47" height="47"/>
      <on x="1521" y="1201"/>
      <off x="1521" y="1201"/>
      <mousemask x="1521" y="1201"/>
      <fader anglemin="-150" anglemax="+150">
        <size width="47" height="47"/>
        <pos x="1734" y="1201"/>
      </fader>
    </define>

    <define class="knobcircle" classdeck="left" orientation="circle" relative="no" rightclick="temporary" >
      <circle direction="cw" anglemin="-150" anglemax="150" />
      <size width="47" height="47"/>
      <off x="1521" y="1297"/>
      <on x="1571" y="1201"/>
      <mousemask x="1571" y="1297"/>
    </define>

    <define class="knobcircle" classdeck="right" orientation="circle" relative="no" rightclick="temporary" >
      <circle direction="cw" anglemin="-150" anglemax="150" />
      <size width="47" height="47"/>
      <off x="1521" y="1297"/>
      <on x="1621" y="1201"/>
      <mousemask x="1571" y="1297"/>
    </define>

    <define class="volume_level" classdeck="left" action="level" rightclick="temporary" orientation="vertical">
      <size width="43" height="157"/>
      <off x="589" y="2103"/>
      <on x="1804" y="1246"/>
      <fader>
        <size width="43" height="24"/>
        <pos x="918" y="1121"/>
      </fader>
    </define>

    <define class="volume_level_small" classdeck="left" action="level" rightclick="temporary" orientation="vertical">
      <size width="43" height="100"/>
      <off x="589" y="2103"/>
      <on x="1804" y="1246+57"/>
      <fader>
        <size width="43" height="24"/>
        <pos x="918" y="1121"/>
      </fader>
    </define>

    <define class="volume_level_no" classdeck="left" action="level" rightclick="temporary" orientation="vertical">
      <size width="43" height="157"/>
      <on x="589" y="2103"/>
      <off x="589" y="2103"/>
      <fader>
        <size width="43" height="24"/>
        <pos x="918" y="1121"/>
      </fader>
    </define>

    <define class="volume_level_small_no" classdeck="left" action="level" rightclick="temporary" orientation="vertical">
      <size width="43" height="100"/>
      <on x="589" y="2103+57"/>
      <off x="589" y="2103"/>
      <fader>
        <size width="43" height="24"/>
        <pos x="918" y="1121"/>
      </fader>
    </define>

    <define class="volume_level_off" classdeck="left" action="nothing" rightclick="temporary" orientation="vertical">
      <size width="43" height="157"/>
      <on x="300" y="200"/>
      <off x="300" y="200"/>
    </define>

    <define class="volume_level" classdeck="right" action="level" rightclick="temporary" orientation="vertical">
      <size width="43" height="157"/>
      <off x="589" y="2103"/>
      <on x="1865" y="1246"/>
      <fader>
        <size width="43" height="24"/>
        <pos x="918" y="1121"/>
      </fader>
    </define>
  
    <define class="volume_level_small" classdeck="right" action="level" rightclick="temporary" orientation="vertical">
      <size width="43" height="100"/>
      <off x="589" y="2103"/>
      <on x="1865" y="1246+57"/>
      <fader>
        <size width="43" height="24"/>
        <pos x="918" y="1121"/>
      </fader>
    </define>
  
    <define class="volume_level_no" classdeck="right" action="level" rightclick="temporary" orientation="vertical">
      <size width="43" height="157"/>
      <on x="589" y="2103"/>
      <off x="589" y="2103"/>
      <fader>
        <size width="43" height="24"/>
        <pos x="918" y="1121"/>
      </fader>
    </define>

    <define class="volume_level_small_no" classdeck="right" action="level" rightclick="temporary" orientation="vertical">
      <size width="43" height="100"/>
      <on x="589" y="2103+57"/>
      <off x="589" y="2103"/>
      <fader>
        <size width="43" height="24"/>
        <pos x="918" y="1121"/>
      </fader>
    </define>

    <define class="cue_name">
      <pos x="+1" y="+89"/>
      <size width="531" height="20"/>
      <fader>
        <pos y="3139"/>
        <size width="20" height="20"/>
      </fader>
    </define>

    <define class="wheel_cue" orientation="round">
      <Tooltip></Tooltip>
      <pos x="+0" y="+0"/>
      <size width="198" height="198"/>
      <fader>
        <size width="198" height="198"/>
        <pos x="711" y="1772"/>
      </fader>
    </define>

  </group>

  <group name="panels">

    <define class="topbar">

      <logo>
        <pos x="1700" y="14"/>
        <size width="70" height="18"/>
      </logo>

      <menu>
        <tooltip>LOGO\nCopyright Atomix Productions\nSkin designed by FRUiT\nClick this logo to access common VirtualDJ settings</tooltip>
        <pos x="1700" y="14"/>
        <size width="70" height="18"/>
        <submenu text="Quantize">
          <item text="Quantize - 1/8" action="setting 'smartCueQuantize' 0.125000 &amp; skin_panel 'options'" check="setting 'smartCueQuantize' 0.125000"/>		
          <item text="Quantize - 1/4" action="setting 'smartCueQuantize' 0.250000 &amp; skin_panel 'options'" check="setting 'smartCueQuantize' 4.000000"/>	
          <item text="Quantize - 1/2" action="setting 'smartCueQuantize' 0.500000 &amp; skin_panel 'options'" check="setting 'smartCueQuantize' 0.500000"/>	
          <item text="Quantize - 1 (Default)" action="setting 'smartCueQuantize' 1.000000 &amp; skin_panel 'options'" check="setting 'smartCueQuantize' 1.000000"/>	
          <item text="Quantize - 2" action="setting 'smartCueQuantize' 2.000000 &amp; skin_panel 'options'" check="setting 'smartCueQuantize' 2.000000"/>	
          <item text="Quantize - 4" action="setting 'smartCueQuantize' 4.000000 &amp; skin_panel 'options'" check="setting 'smartCueQuantize' 4.000000"/>	
          <item text="Quantize - 16" action="setting 'smartCueQuantize' 16.000000 &amp; skin_panel 'options'" check="setting 'smartCueQuantize' 16.000000"/>	
        </submenu>
        <submenu text="Pitch range">
          <item text="6%" action="pitch_range 6%" hascheck="true" />
          <item text="8%" action="pitch_range 8%" hascheck="true" />
          <item text="10%" action="pitch_range 10%" hascheck="true" />
          <item text="12%" action="pitch_range 12%" hascheck="true" />
          <item text="16%" action="pitch_range 16%" hascheck="true" />
          <item text="24%" action="pitch_range 24%" hascheck="true" />
          <item text="33%" action="pitch_range 33%" hascheck="true" />
          <item text="50%" action="pitch_range 50%" hascheck="true" />
          <item text="100%" action="pitch_range 100%" hascheck="true" />
        </submenu>
        <submenu text="Pitch quality">
          <item text="0 - Low" action="setting 'pitchquality' 0" check="setting 'pitchquality' 0"/>
          <item text="1 - Scratch" action="setting 'pitchquality' 1" check="setting 'pitchquality' 1"/>
          <item text="2 - Scratch +" action="setting 'pitchquality' 2" check="setting 'pitchquality' 2"/>
        </submenu>
        <submenu text="Brake time">
          <item text="0.00" action="setting 'rampStopTime' 0.00" hascheck="true" />
          <item text="0.05" action="setting 'rampStopTime' 0.05" hascheck="true" />
          <item text="0.45" action="setting 'rampStopTime' 0.45" hascheck="true" />
        </submenu>
        <submenu text="Auto beatmatch">
          <pos x="374" y="323"/>
          <size width="20" height="18"/>
          <item text="Disabled" action="setting 'autoBPMMatch' 'no'" check="setting 'autoBPMMatch' 'no'" />
          <item text="Smart" action="setting 'autoBPMMatch' 'smart'" check="setting 'autoBPMMatch' 'smart'" />
          <item text="Enabled" action="setting 'autoBPMMatch' 'always'" check="setting 'autoBPMMatch' 'always'" />
        </submenu>
        <item text="Restore song infos" action="setting 'hideSongInfo'" check="not setting 'hideSongInfo'"/>
      </menu>

      <group name="General_Menu" x="14" y="12">

        <menu>
          <tooltip>GENERAL MENU\nConfigure Virtual DJ global layout\nDid you know ? Each mixer's panel has its own Sides menu</tooltip>
          <pos x="+0" y="+0"/>
          <size width="26" height="26"/>
          <icon x="775" y="1416" height="26" dx="0" dy="0" />
          <submenu text="Skin layout" visibility="skin_panel 'grabzone' on">
            <item text="2 decks" action="load_skin ':2 Decks'" hascheck="true"/>
            <item text="4 decks" action="load_skin ':z 4 Decks'" hascheck="true"/>
            <item text="Tablet mode" action="load_skin ':Tablet'" hascheck="true"/>
          </submenu>
          <submenu text="Topbar layout">
            <item text="Show beat matcher" action="skin_panel 'beat_matcher' toggle"  check="skin_panel 'beat_matcher' on"/>
            <item text="Show sandbox icon" action="skin_panel 'sandbox' toggle" check="skin_panel 'sandbox' on"/>
            <item text="Show clock" action="skin_panel 'clock' toggle" check="skin_panel 'clock' on"/>
            <item text="Show master Vu meter" action="skin_panel 'mastervumeter' toggle" visibility="get_hasmaster" check="skin_panel 'mastervumeter' on"/>
            <submenu text="Vu meter" visibility="skin_panel 'mastervumeter'">
              <item text="Vu meter peaks" action="skin_panel 'master_vu_layout' toggle" check="skin_panel 'master_vu_layout' on"/>
              <item text="Show limiter" action="skin_panel 'master_limiter' toggle" check="skin_panel 'master_limiter' on"/>
              <item text=" " check="false"/>
              <item text="Show knob" action="skin_panel 'master_knob' toggle" check="skin_panel 'master_knob' on"/>
            </submenu>
          </submenu>
          <!-- item text="Pads" action="skin_panel 'jogwheel_type' toggle" check="skin_panel 'jogwheel_type' on"/-->
          <item text="Lock the window" action="skin_panel 'grabzone' toggle" check="not skin_panel 'grabzone' on"/>
          <item text="Save settings" action="save_config" check="false"/>
          <item text="Initialize controler" action="reinit_controller"  visibility="get_controller_name & param_equal '' ? false : true"/>
          <item text="Settings..." action="settings" hascheck="false" />
          <item text="Close" action="close" hascheck="false"  visibility="skin_panel 'grabzone' on"/>
        </menu>

        <button action="skin_panel 'withdecks' ? skin_panel 'withnodecks2' on : skin_panel 'withdecks' on" rightclick="skin_panel 'withnodecks' on">
          <tooltip>FULLSCREEN BROWSER\nTurn your Virtual DJ in a jukebox flavor\nRightclick to toggle alternative browser view</tooltip>
          <pos x="+40" y="+0"/>
          <size width="26" height="26"/>
          <off x="665" y="1417"/>
          <on x="665" y="1417"/>
          <over x="665" y="1417"/>
          <icon x="665" y="1417" height="26" dx="0" dy="0" />
        </button>

        <menu name="waveform_menu">
          <pos x="+78" y="+0"/>
          <tooltip>FORM\nSelect waveform layout</tooltip>
          <size width="26" height="26"/>
          <icon x="737" y="1418" height="26" dx="0" dy="0"/>
          <item text="Disable" action="skin_panel 'bigwaves' off && skin_panel 'nowave' on && skin_panel 'waveform' off" check="skin_panel 'nowave'"/>
          <item text="Above decks" action="skin_panel 'bigwaves' off && skin_panel 'waveform_above' on && skin_panel 'nowave' on ? skin_panel 'defaultwave' on" check="skin_panel 'waveform_above' && not skin_panel 'nowave'"/>
          <item text="Below decks" action="skin_panel 'waveform_under' on && skin_panel 'nowave' on ? skin_panel 'defaultwave' on" check="skin_panel 'waveform_under'&& not skin_panel 'nowave'"/>
          <item text=" " check="false"/>
          <item text="Default" action="skin_panel 'waveform' on & skin_panel 'defaultwave' on" check="skin_panel 'defaultwave'"/>
          <submenu text="Per deck">
            <item text="Normal" action="skin_panel 'waveform' on & skin_panel 'perdeckwave' on" check="skin_panel 'perdeckwave'"/>
            <item text="No grid" action="skin_panel 'waveform' on & skin_panel 'perdecknogridwave' on" check="skin_panel 'perdecknogridwave'"/>
            <item text="Inverted" action="skin_panel 'waveform' on & skin_panel 'perdeckmirrorwave' on" check="skin_panel 'perdeckmirrorwave'"/>
            <item text="Inverted no grid" action="skin_panel 'waveform' on & skin_panel 'perdeckmirrornogridwave' on" check="skin_panel 'perdeckmirrornogridwave'"/>
          </submenu>
          <submenu text="Scratch">
            <item text="H split" action="skin_panel 'waveform' on & skin_panel 'horizontal_scratch_active' on" check="skin_panel 'horizontal_scratch_active'"/>
            <item text="V split" action="skin_panel 'waveform' on & skin_panel 'splitted_scratch_active' on" check="skin_panel 'splitted_scratch_active'"/>
          </submenu>
          <submenu text="Upside down">
            <item text="Normal" action="skin_panel 'waveform' on & skin_panel 'updowngridwave' on" check="skin_panel 'updowngridwave'"/>
            <item text="No grid" action="skin_panel 'waveform' on & skin_panel 'updownwave' on" check="skin_panel 'updownwave'"/>
            <item text="Splitted" action="skin_panel 'waveform' on & skin_panel 'updownsplitwave' on" check="skin_panel 'updownsplitwave'"/>
          </submenu>
          <submenu text="mirrored">
            <item text="Grid" action="skin_panel 'waveform' on & skin_panel 'mirroredsplitwave' on" check="skin_panel 'mirroredsplitwave'"/>
            <item text="Edge grid" action="skin_panel 'waveform' on & skin_panel 'mirrorededgegridsplitwave' on" check="skin_panel 'mirrorededgegridsplitwave'"/>
            <item text="No grid" action="skin_panel 'waveform' on & skin_panel 'mirrorednogridsplitwave' on" check="skin_panel 'mirrorednogridsplitwave'"/>
          </submenu>
          <submenu text="Inverted">
            <item text="Grid" action="skin_panel 'waveform' on & skin_panel 'mirrorwave' on" check="skin_panel 'mirrorwave'"/>
            <item text="No grid" action="skin_panel 'waveform' on & skin_panel 'mirrorwavenogrid' on" check="skin_panel 'mirrorwavenogrid'"/>
          </submenu>
          <item text="Splitted" action="skin_panel 'waveform' on & skin_panel 'splittedwave' on" check="skin_panel 'splittedwave'"/>
          <item text="Default no grid" action="skin_panel 'waveform' on & skin_panel 'nogridwave' on" check="skin_panel 'nogridwave'"/>
          <item text=" " check="false"/>
          <submenu text="Dim">
            <item text="Mild" action="skin_panel 'wave_dimmer_25' toggle" check="skin_panel 'wave_dimmer_25' on"/>
            <item text="Strong" action="skin_panel 'wave_dimmer_50' toggle" check="skin_panel 'wave_dimmer_50' on"/>
          </submenu>
          <item text="Double height" action="skin_panel 'waveform' on && skin_panel 'waveform_under' on && skin_panel 'bigwaves' toggle && skin_panel 'nowave' on ? skin_panel 'defaultwave' on" check="skin_panel 'bigwaves'"/>
          <item text="Gridlines" action="skin_panel 'extragridlines' toggle" check="skin_panel 'extragridlines'"/>
        </menu>

        <panel class="sandbox_small" id="sandbox" x="124" y="12" visible="yes"/>

      </group>
  
      <panel id="beat_matcher" x="+850" y="+8" visible="yes">
  
        <visual>
          <pos x="+0" y="+0"/>
          <size width="236" height="32"/>
          <off x="304" y="1857"/>
        </visual>

        <deck deck="left">

          <panel visibility="not skin_panel 'swap'">

            <visual class="phraser"><pos x="+0" y="+0"/><on  x="1781" y="1576"/></visual>
            <textzone class="phrasertext"/>
            <button class="phraserbutton"/>

          </panel>

          <panel visibility="skin_panel 'swap'">

            <visual class="phraser"><pos x="+193" y="+0"/><on  x="1781" y="1576"/></visual>
            <textzone class="phrasertext"><pos x="+200" y="+7"/></textzone>
            <button class="phraserbutton"><pos x="+193" y="+0"/></button>

          </panel>

        </deck>

        <deck deck="right">

          <panel visibility="not skin_panel 'swap'">

            <visual class="phraser"><pos x="+193" y="+0"/><on  x="1876" y="1576"/></visual>
            <textzone class="phrasertext"><pos x="+200" y="+7"/></textzone>
            <button class="phraserbutton"><pos x="+193" y="+0"/></button>

          </panel>

          <panel visibility="skin_panel 'swap'">

            <visual class="phraser"><pos x="+0" y="+0"/><on  x="1876" y="1576"/></visual>
            <textzone class="phrasertext"/>
            <button class="phraserbutton"/>

          </panel>

        </deck>  	

        <group name="beatbar" x="+40" y="+4">

          <deck deck="left">

            <button class="beat_bar" query="goto_bar 1" leftclick="goto -1" rightclick="goto_bar 1">
              <pos x="+0" y="+3"/>
              <tooltip>Downbeat</tooltip>
            </button>

            <button class="beat_bar" query="goto_bar 2" leftclick="goto -1" rightclick="goto_bar 2">
              <pos x="+37" y="+3"/>
              <tooltip>Beat 2</tooltip>
            </button>

            <button class="beat_bar" query="goto_bar 3" leftclick="goto +1" rightclick="goto_bar 3">
              <pos x="+37+37" y="+3"/>
              <tooltip>Beat 3</tooltip>
            </button>

            <button class="beat_bar" query="goto_bar 4" leftclick="goto +1" rightclick="goto_bar 4">
              <pos x="+37+37+37" y="+3"/>
              <tooltip>Beat 4</tooltip>
            </button>

          </deck>

          <deck deck="right">

            <button class="beat_bar" query="goto_bar 1" leftclick="goto -1" rightclick="goto_bar 1">
              <pos x="+0" y="+17"/>
              <tooltip>Downbeat</tooltip>
            </button>

            <button class="beat_bar" query="goto_bar 2" leftclick="goto -1" rightclick="goto_bar 2">
              <pos x="+37" y="+17"/>
              <tooltip>Beat 2</tooltip>
            </button>

            <button class="beat_bar" query="goto_bar 3" leftclick="goto +1" rightclick="goto_bar 3">
              <pos x="+37+37" y="+17"/>
              <tooltip>Beat 3</tooltip>
            </button>

            <button class="beat_bar" query="goto_bar 4" leftclick="goto +1" rightclick="goto_bar 4">
              <pos x="+37+37+37" y="+17"/>
              <tooltip>Beat 4</tooltip>
            </button>

          </deck>

        </group>

      </panel>

      <panel id="clock" x="1325" y="7" visible="yes">

        <textzone>
          <pos x="+0" y="+4"/>
          <size width="100" height="29"/>
          <tooltip>CLOCK\nClick to toggle between 24hour clock and am/pm</tooltip>
          <text size="28" color="#aaaaaa" align="right" weight="bold" format="%hour"/>
          <text2 size="28" color="#aaaaaa" align="right" weight="bold" format="%hour12"/>
          <text3 size="28" color="#aaaaaa" align="right" weight="bold" format="%counter"/>
        </textzone>

        <textzone>
          <pos x="+106" y="+4"/>
          <size width="25" height="14"/>
          <text size="13" color="#aaaaaa" align="left" format="CPU"/>
        </textzone>

        <visual source="get cpu" type="linear" orientation="horizontal">
          <pos x="+105" y="+12"/>
          <size width="46" height="16"/>
          <tooltip>CPU\nSystem use (all software running right now)</tooltip>
          <on x="602" y="1143"/>
          <off x="602" y="1116"/>
        </visual>

      </panel>

      <panel id="mastervumeter" x="1480" y="7" visible="yes">

        <panel visibility="get_hasmaster">

          <panel id="master_knob" visible="no">

            <slider action="master_volume" orientation="round" visibility="skin_panel 'master_knob'">
              <pos x="+25" y="+10"/>
              <size width="19" height="19"/>
              <off x="1464" y="1292"/>
              <mousemask x="1456" y="1353"/>
              <clipmask x="1456" y="1353"/>
              <fader anglemin="-137" anglemax="+137">
                <size width="19" height="19"/>
                <pos x="1475" y="1353"/>
                <mask x="1494" y="1353" />
              </fader>
            </slider>

            <slider action="master_volume" orientation="circle" relative="no" visibility="skin_panel 'master_knob'">
              <size width="27" height="27"/>
              <pos x="+21" y="+6"/>
              <up x="+0" y="+0"/>
              <off x="1460" y="1288"/>
              <selected x="1489" y="1288"/>
              <clipmask x="1456" y="1319"/>
              <mousemask x="1456" y="1319"/>
              <circle direction="cw" anglemin="-137" anglemax="+137"/>
            </slider>

          </panel>

          <textzone visibility="not skin_panel 'master_knob'">
            <pos x="+3" y="+9"/>
            <size width="50" height="14"/>
            <text size="13" color="#aaaaaa" align="right" format="MASTER"/>
          </textzone>

          <visual>
            <pos x="+60" y="+0"/>
            <size width="150" height="33"/>
            <off x="221" y="1475"/>
          </visual> 

          <visual source="get_vu_meter_left 'master'" type="linear" orientation="horizontal">
            <pos x="+65" y="+5"/>
            <size width="135" height="10"/>
            <on x="1053" y="1090"/>
          </visual>

          <visual source="get_vu_meter_right 'master'" type="linear" orientation="horizontal">
            <pos x="+65" y="+5+12"/>
            <size width="135" height="10"/>
            <on x="1053" y="1090"/>
          </visual>

          <panel id="master_vu_layout">

            <slider class="vumasterpeakmeter" action="get_vu_meter_left_peak 'master'" orientation="horizontal" direction="right" visibility="get_vu_meter_left_peak 'master' &amp; param_cast 'percentage' &amp; param_greater 16% ? true : false">
              <pos x="+65" y="+5"/>
              <fader>
                <size width="4" height="10"/>
                <pos x="1161" y="1090"/>
              </fader>
            </slider>

            <slider class="vumasterpeakmeter" action="get_vu_meter_right_peak 'master'" orientation="horizontal" direction="right" visibility="get_vu_meter_right_peak 'master' &amp; param_cast 'percentage' &amp; param_greater 16% ? true : false">
              <pos x="+65" y="+5+12"/>
              <fader>
                <size width="4" height="10"/>
                <pos x="1161" y="1090"/>
              </fader>
            </slider>

          </panel>

          <panel id="master_limiter">

            <slider class="vumasterpeakmeter" action="get_vu_meter_left_peak 'master'" orientation="horizontal" direction="right" visibility="get limiter ? true : false">
              <pos x="+69" y="+5"/>
              <fader>
                <size width="7" height="10"/>
                <pos x="1199" y="1112"/>
              </fader>
            </slider>

            <slider class="vumasterpeakmeter" action="get_vu_meter_right_peak 'master'" orientation="horizontal" direction="right" visibility="get limiter ? true : false">
              <pos x="+69" y="+5+12"/>
              <fader>
                <size width="7" height="10"/>
                <pos x="1199" y="1112"/>
              </fader>
            </slider>

          </panel>

        </panel>

        <menu>
          <pos x="+60" y="+0"/>
          <size width="150" height="33"/>
          <item text="Peaks" action="skin_panel 'master_vu_layout' toggle" check="skin_panel 'master_vu_layout' on"/>
          <item text="Show limiter" action="skin_panel 'master_limiter' toggle" check="skin_panel 'master_limiter' on"/>
          <item text=" " check="false"/>
          <item text="Show knob" action="skin_panel 'master_knob' toggle" check="skin_panel 'master_knob' on"/>
        </menu>

      </panel>

      <button action="skin_panel 'grabzone' ? settings : nothing">
        <tooltip>SETTINGS\nChange configurations for VirtualDJ</tooltip>
        <pos x="1783" y="10"/>
        <size width="26" height="26"/>
        <up x="418" y="1416"/>
        <over x="446" y="1416"/>
        <down x="474" y="1416"/>
        <selected x="474" y="1416"/>
      </button>

      <button action="skin_panel 'grabzone' ? minimize : nothing">
        <pos x="1816" y="10"/>
        <size width="26" height="25"/>
        <tooltip>MINIMIZE\nMinimize the software</tooltip>
        <off x="780" y="1086"/>
        <over x="880" y="1086"/>
        <on x="980" y="1086"/>
      </button>

      <button action="skin_panel 'grabzone' ? maximize : nothing" rightclick="maximize off">
        <pos x="1849" y="10"/>
        <size width="26" height="25"/>
        <tooltip>MAXIMIZE\nToggle between large view, full screen view</tooltip>
        <off x="746" y="1086"/>
        <over x="846" y="1086"/>
        <on x="946" y="1086"/>
      </button>

      <button action="skin_panel 'grabzone' ? close : nothing">
        <pos x="1883" y="10"/>
        <size width="26" height="25"/>
        <tooltip>CLOSE\nClose VirtualDJ</tooltip>
        <up x="813" y="1086"/>
        <over x="913" y="1086"/>
        <down x="1013" y="1086"/>
        <selected x="1013" y="1086"/>
      </button>

    </define>

    <define class="sandbox_small">

      <songpos deck="sandbox">
        <pos x="+41" y="+1"/>
        <size width="150" height="22"/>
      </songpos>

      <button action="sandbox" rightclick="load_skin ':2 Decks'" visibility="can_sandbox ? false : true">
        <pos x="+0" y="+0"/>
        <size width="37" height="26"/>
        <off x="1772" y="1086"/>
      </button>

      <button action="sandbox" rightclick="load_skin ':2 Decks'" visibility="can_sandbox ? true : false">
        <pos x="+0" y="+0"/>
        <size width="37" height="26"/>
        <off x="1492" y="1086"/>
        <on x="1678" y="1086"/>
        </button>

    </define>

    <define class="screeninfos_scratch">
    
      <panel id="screen_scratch_filter"/>
    
      <scratchwave orientation="horizontal" visibility="var '$InfoDeck' 2">
        <pos x="+3" y="+11"/>
        <size width="356" height="48"/>
        <overlay>
          <size width="2" height="48"/>
          <pos x="+181" y="+0"/>
          <background x="1473" y="1580"/>
        </overlay>
      </scratchwave>
      
      <visual visibility="var '$InfoDeck' 2 && skin_panel 'screen_scratch_filter'">
        <pos x="+3" y="+11"/>
        <size width="356" height="48"/>
        <off x="867" y="2136"/>
      </visual>

    </define>

    <define class="scrinfos" classdeck="left">

      <textzone class="screeninfos">
        <text color="#E1E1E1" action="get loaded_song 'title'"/>
        <text2 color="#E1E1E1" action="get loaded_song 'title'"/>
      </textzone>      

      <textzone class="screeninfos"><pos y="+11+25"/>
        <text color="#00b8ff" action="get loaded_song 'artist'"/>
        <text2 color="#00b8ff" action="get loaded_song 'artist'"/>
        <text3 color="#00b8ff" scroll="yes" action="get loaded_song 'comment'"/>
      </textzone>      

      <panel class="screeninfos_scratch"><scratchwave deck="left"/></panel>

      <panel class="vu_left" x="+20" y="+4" visibility="var '$InfoDeck' 3"/>

    </define>

    <define class="scrinfos" classdeck="right">

      <textzone class="screeninfos">
        <text color="#E1E1E1" action="get loaded_song 'title'"/>
        <text2 color="#E1E1E1" action="get loaded_song 'title'"/>
      </textzone>      

      <textzone class="screeninfos"><pos y="+11+25"/>
        <text color="#ed1c24" action="get loaded_song 'artist'"/>
        <text2 color="#ed1c24" action="get loaded_song 'artist'"/>
        <text3 color="#ed1c24" scroll="yes" action="get loaded_song 'comment'"/>
      </textzone>      

      <panel class="screeninfos_scratch"><scratchwave deck="right"/></panel>

      <panel class="vu_right" x="+20" y="+4" visibility="var '$InfoDeck' 3"/>

    </define>

    <define class="screenstats">
      <textzone class="screentext" visibility="vinyl_mode 1 ? true : false"><text format="VINYL"/></textzone>
      <textzone class="screentext" visibility="vinyl_mode 1 ? false : wheel_mode 'jog' ? true : false"><text format="NUDGE"/></textzone>
      <textzone class="screentext" visibility="wheel_mode 'search'"><text format="SEARCH"/></textzone>
      <textzone class="screentext" visibility="wheel_mode 'loop_move'"><text format="L MOVE"/></textzone>
      <textzone class="screentext" visibility="wheel_mode 'loop_out'"><text format="L OUT"/></textzone>
      <textzone class="screentext" visibility="wheel_mode 'loop_in'"><text format="L IN"/></textzone>
      <textzone class="screentext" visibility="wheel_mode 'browser'"><text format="BROWSE"/></textzone>
      <textzone class="screentext"><pos x="+58"/><text format="%pitchrange%%"/></textzone>
      <textzone class="screentext" visibility="songpos_remain 30000ms ? blink 300ms : songpos_remain 60000ms ? blink 1000ms : true"><pos x="+104"/><text format="%Pleft"/></textzone>

      <panel id="scrkbps" group="scrsub" visible="yes" visibility="loaded">

        <textzone class="screentext" leftclick="skin_panel 'scrcue' on" visibility="get_text '`%nextcuename`' ? blink : true"><pos x="+163"/><text format="`get loaded_song 'bitrate'` KBPS"/></textzone>
        <textzone class="screentext" leftclick="skin_panel 'scrcue' on"><pos x="+223"/><text format="`get loaded_song 'length'`"/></textzone>

      </panel>

      <panel id="scrcue" group="scrsub" visible="no" visibility="loaded">

        <textzone class="screentext" leftclick="skin_panel 'scrkbps' on"><pos x="+163"/><text scroll="yes" format="%nextcuename"/></textzone>
        <textzone class="screentext" leftclick="skin_panel 'scrkbps' on"><pos x="+223"/><text format="%nextcue"/></textzone>

      </panel>

      <button class="screentext" action="select" visibility="skin_panel 'nowave'" tooltip="You ear me :)"><pos x="+293"/><text action="select ? get_text 'd-_-b'"/></button>

	  <panel visibility="loaded ? false : true">
        <textzone class="screentext"><pos x="+163"/><text format="READY..."/></textzone>
        <visual type="color" source="constant '#000000'" visibility="50%"><pos x="+2" y="+11+25+25+4"/><size width="357" height="15"/></visual>
      </panel>

    </define>

    <define class="pre_cust_panel" visible="yes">

      <visual visibility="not skin_panel 'decks_mirrored'">
        <pos x="+52" y="-4"/>
        <size width="3" height="282"/>
        <off x="1624" y="275"/>
      </visual>

      <button class="custombutton" action="slip_mode" query="slip_mode ? blink : off" tooltip="SLIP MODE\nLoops, hotcues and scratches will only temporary affect the position of song"><text format="SLIP"/></button>
      <button class="custombutton_flat" action="slip_mode" query="slip_mode ? blink : off" tooltip="SLIP MODE\nLoops, hotcues and scratches will only temporary affect the position of song"><text format="SLIP"/></button>

      <button class="custombutton" action="nothing" clickthrough="true" query="vinyl_mode 1 ? true : false" tooltip="VINYL MODE\nSet jogwheel in scratch mode"><pos y="+35"/><text format="VINYL"/></button>
      <button class="custombutton_flat" action="nothing" clickthrough="true" query="vinyl_mode 1 ? true : false" tooltip="VINYL MODE\nSet jogwheel in scratch mode"><pos y="+35"/><text format="VINYL"/></button>

    </define>

    <define class="custom_buttons" classdeck="left">

      <visual visibility="skin_panel 'swap'">
        <pos x="+52" y="-4"/>
        <size width="4" height="282"/>
        <off x="1624" y="275"/>
      </visual>

      <pos  y="+136"/>

      <panel class="pre_cust_panel" visible="yes"></panel>

      <button class="custombutton" action="custom_button 1" rightclick="custom_button_edit 1" tooltip="User Custom Button 1\nRight click to set it"><pos y="+80"/><text action="custom_button_name 1"/></button>
      <button class="custombutton_flat" action="custom_button 1" rightclick="custom_button_edit 1" tooltip="User Custom Button 1\nRight click to set it"><pos y="+80"/><text action="custom_button_name 1"/></button>

      <button class="custombutton" action="custom_button 2" rightclick="custom_button_edit 2" tooltip="User Custom Button 2\nRight click to set it"><pos y="+80+33"/><text action="custom_button_name 2"/></button>
      <button class="custombutton_flat" action="custom_button 2" rightclick="custom_button_edit 2" tooltip="User Custom Button 2\nRight click to set it"><pos y="+80+33"/><text action="custom_button_name 2"/></button>

      <button class="custombutton" action="custom_button 3" rightclick="custom_button_edit 3" tooltip="User Custom Button 3\nRight click to set it"><pos y="+80+33+33"/><text action="custom_button_name 3"/></button>
      <button class="custombutton_flat" action="custom_button 3" rightclick="custom_button_edit 3" tooltip="User Custom Button 3\nRight click to set it"><pos y="+80+33+33"/><text action="custom_button_name 3"/></button>

      <button class="custombutton" action="custom_button 4" rightclick="custom_button_edit 4" tooltip="User Custom Button 4\nRight click to set it"><pos y="+80+33+33+33"/><text action="custom_button_name 4"/></button>
      <button class="custombutton_flat" action="custom_button 4" rightclick="custom_button_edit 4" tooltip="User Custom Button 4\nRight click to set it"><pos y="+80+33+33+33"/><text action="custom_button_name 4"/></button>

      <panel class="knob" y="+218">

        <visual/>
        <slider action="custom_button 5" rightclick="custom_button_edit 5" defaultvalue="0.5" tooltip="SMART KNOB\nRight click to set it to do any action you want"/>
        <slider action="custom_button 5" rightclick="custom_button_edit 5" defaultvalue="0" tooltip="SMART KNOB\nRight click to set it to do any action you want"/>
        <textzone><text action="has_custom_button 5 ? custom_button_name 5 : get_custom_text 'CUSTOM'"/></textzone>

      </panel>

      <menu class="screenmenu">
        <pos x="+2" y="+35"/>
        <size width="46" height="29"/>
      </menu>

    </define>

    <define class="custom_buttons_right" classdeck="right">

      <visual visibility="skin_panel 'swap'">
        <pos x="-7" y="-4"/>
        <size width="4" height="282"/>
        <off x="1624" y="275"/>
      </visual>

      <panel class="pre_cust_panel" visible="yes"></panel>

      <button class="custombutton" action="custom_button 6" rightclick="custom_button_edit 6" tooltip="User Custom Button 6\nRight click to set it"><pos y="+80"/><text action="custom_button_name 6"/></button>
      <button class="custombutton_flat" action="custom_button 6" rightclick="custom_button_edit 6" tooltip="User Custom Button 6\nRight click to set it"><pos y="+80"/><text action="custom_button_name 6"/></button>

      <button class="custombutton" action="custom_button 7" rightclick="custom_button_edit 7" tooltip="User Custom Button 7\nRight click to set it"><pos y="+80+33"/><text action="custom_button_name 7"/></button>
      <button class="custombutton_flat" action="custom_button 7" rightclick="custom_button_edit 7" tooltip="User Custom Button 7\nRight click to set it"><pos y="+80+33"/><text action="custom_button_name 7"/></button>

      <button class="custombutton" action="custom_button 8" rightclick="custom_button_edit 8" tooltip="User Custom Button 8\nRight click to set it"><pos y="+80+33+33"/><text action="custom_button_name 8"/></button>
      <button class="custombutton_flat" action="custom_button 8" rightclick="custom_button_edit 8" tooltip="User Custom Button 8\nRight click to set it"><pos y="+80+33+33"/><text action="custom_button_name 8"/></button>

      <button class="custombutton" action="custom_button 9" rightclick="custom_button_edit 9" tooltip="User Custom Button 9\nRight click to set it"><pos y="+80+33+33+33"/><text action="custom_button_name 9"/></button>
      <button class="custombutton_flat" action="custom_button 9" rightclick="custom_button_edit 9" tooltip="User Custom Button 9\nRight click to set it"><pos y="+80+33+33+33"/><text action="custom_button_name 9"/></button>

      <panel class="knob" x="+0" y="+218">

        <visual/>
        <slider action="custom_button 10" rightclick="custom_button_edit 10" defaultValue="0.5" tooltip="SMART KNOB\nRight click to set it to do any action you want"/>
        <slider action="custom_button 10" rightclick="custom_button_edit 10" defaultValue="0" tooltip="SMART KNOB\nRight click to set it to do any action you want"/>
        <textzone><text action="has_custom_button 10 ? custom_button_name 10 : get_custom_text 'CUSTOM'"/></textzone>

      </panel>

      <menu class="screenmenu">
        <pos x="+2" y="+35"/>
        <size width="46" height="29"/>
      </menu>

    </define>
    
    <define class="custom_buttons" classdeck="right">
    
      <panel visibility="not skin_panel 'decks_mirrored'">

        <pos  y="+136"/>
        <panel class="custom_buttons_right"/>
      
      </panel>

      <panel visibility="skin_panel 'decks_mirrored'">

        <pos  x="+467" y="+136"/>
        <panel class="custom_buttons_right"/>

      </panel>

    </define>
    
    <define class="deck_options" classdeck="left">

      <pos x="+431" y="+378"/>

      <button action="deck_options">
        <pos x="+0" y="+0"/>
        <tooltip></tooltip>
        <size width="20" height="20"/>
        <over x="260" y="1239"/>
        <up x="260" y="1217"/>
      </button>

      <visual source="smart_play">
        <pos x="+0" y="+0"/>
        <tooltip>SMART PLAY</tooltip>
        <size width="10" height="10"/>
        <on x="361" y="1402"/>
      </visual>

      <visual source="smart_cue">
        <pos x="+10" y="+0"/>
        <tooltip>SMART CUE</tooltip>
        <size width="10" height="10"/>
        <on x="372" y="1402"/>
      </visual>

      <visual source="smart_loop">
        <pos x="+0" y="+10"/>
        <tooltip>SMART LOOP</tooltip>
        <size width="10" height="10"/>
        <on x="361" y="1412"/>
      </visual>

      <visual source="master_tempo">
        <pos x="+10" y="+10"/>
        <tooltip>MASTER TEMPO</tooltip>
        <size width="10" height="10"/>
        <on x="372" y="1412"/>
      </visual>

    </define>

    <define class="deck_options_button_right">

      <button action="deck_options">
        <pos x="+0" y="+0"/>
        <tooltip></tooltip>
        <size width="20" height="20"/>
        <over x="260" y="1239"/>
        <up x="260" y="1217"/>
      </button>

      <visual source="smart_play">
        <pos x="+0" y="+0"/>
        <tooltip>SMART PLAY</tooltip>
        <size width="10" height="10"/>
        <on x="390" y="1402"/>
      </visual>

      <visual source="smart_cue">
        <pos x="+10" y="+0"/>
        <tooltip>SMART CUE</tooltip>
        <size width="10" height="10"/>
        <on x="399" y="1402"/>
      </visual>

      <visual source="smart_loop">
        <pos x="+0" y="+10"/>
        <tooltip>SMART LOOP</tooltip>
        <size width="10" height="10"/>
        <on x="390" y="1412"/>
      </visual>

      <visual source="master_tempo">
        <pos x="+10" y="+10"/>
        <tooltip>MASTER TEMPO</tooltip>
        <size width="10" height="10"/>
        <on x="400" y="1412"/>
      </visual>
      
    </define>

    <define class="deck_options" classdeck="right">

      <panel visibility="not skin_panel 'decks_mirrored'">

        <pos x="+431" y="+378"/>
        <panel class="deck_options_button_right"/>

      </panel>

      <panel visibility="skin_panel 'decks_mirrored'">

        <pos x="+64" y="+378"/>
        <panel class="deck_options_button_right"/>

      </panel>

    </define>
    
    <define class="jogwheel_video_custom_buttons" classdeck="left">

      <button class="custom_mixer" action="custom_button 1401" rightclick="custom_button_edit 1401" tooltip="User Custom Button 1401\nRight click to set it"><pos y="+0"/><text action="custom_button_name 1401"/></button>
      <button class="custom_mixer_flat" action="custom_button 1401" rightclick="custom_button_edit 1401" tooltip="User Custom Button 1401\nRight click to set it"><pos y="+0"/><text action="custom_button_name 1401"/></button>

      <button class="custom_mixer" action="custom_button 1402" rightclick="custom_button_edit 1402" tooltip="User Custom Button 1402\nRight click to set it"><pos y="+37"/><text action="custom_button_name 1402"/></button>
      <button class="custom_mixer_flat" action="custom_button 1402" rightclick="custom_button_edit 1402" tooltip="User Custom Button 1402\nRight click to set it"><pos y="+37"/><text action="custom_button_name 1402"/></button>

      <button class="custom_mixer" action="custom_button 1403" rightclick="custom_button_edit 1403" tooltip="User Custom Button 1403\nRight click to set it"><pos y="+37+37"/><text action="custom_button_name 1403"/></button>
      <button class="custom_mixer_flat" action="custom_button 1403" rightclick="custom_button_edit 1403" tooltip="User Custom Button 1403\nRight click to set it"><pos y="+37+37"/><text action="custom_button_name 1403"/></button>

      <button class="custom_mixer" action="custom_button 1404" rightclick="custom_button_edit 1404" tooltip="User Custom Button 1404\nRight click to set it"><pos y="+37+37+37"/><text action="custom_button_name 1404"/></button>
      <button class="custom_mixer_flat" action="custom_button 1404" rightclick="custom_button_edit 1404" tooltip="User Custom Button 1404\nRight click to set it"><pos y="+37+37+37"/><text action="custom_button_name 1404"/></button>

    </define>

    <define class="jogwheel_video_custom_buttons_right" classdeck="right">

      <button class="custom_mixer" action="custom_button 1501" rightclick="custom_button_edit 1501" tooltip="User Custom Button 1501\nRight click to set it"><pos y="+0"/><text action="custom_button_name 1501"/></button>
      <button class="custom_mixer_flat" action="custom_button 1501" rightclick="custom_button_edit 1501" tooltip="User Custom Button 1501\nRight click to set it"><pos y="+0"/><text action="custom_button_name 1501"/></button>

      <button class="custom_mixer" action="custom_button 1502" rightclick="custom_button_edit 1502" tooltip="User Custom Button 1502\nRight click to set it"><pos y="+37"/><text action="custom_button_name 1502"/></button>
      <button class="custom_mixer_flat" action="custom_button 1502" rightclick="custom_button_edit 1502" tooltip="User Custom Button 1502\nRight click to set it"><pos y="+37"/><text action="custom_button_name 1502"/></button>

      <button class="custom_mixer" action="custom_button 1503" rightclick="custom_button_edit 1503" tooltip="User Custom Button 1503\nRight click to set it"><pos y="+37+37"/><text action="custom_button_name 1503"/></button>
      <button class="custom_mixer_flat" action="custom_button 1503" rightclick="custom_button_edit 1503" tooltip="User Custom Button 1503\nRight click to set it"><pos y="+37+37"/><text action="custom_button_name 1503"/></button>

      <button class="custom_mixer" action="custom_button 1504" rightclick="custom_button_edit 1504" tooltip="User Custom Button 1504\nRight click to set it"><pos y="+37+37+37"/><text action="custom_button_name 1504"/></button>
      <button class="custom_mixer_flat" action="custom_button 1504" rightclick="custom_button_edit 1504" tooltip="User Custom Button 1504\nRight click to set it"><pos y="+37+37+37"/><text action="custom_button_name 1504"/></button>

    </define>

    <define class="jogwheel">
    
      <panel id="deck_type_jog" group="decktype" visible="yes">
    
        <pos x="+158" y="+147"/>

        <visual visibility="var '@$CoverDeck' 0 ? true : var '@$CoverDeck' 1 ? true : false">
          <pos x="+0" y="+0"/>
          <size width="198" height="198"/>
          <off x="1311" y="1772"/>
        </visual>

        <panel id="wheel_art_large" visible="no">

          <cover rotate="yes" factor="2">
            <size width="198" height="198"/>
            <clipmask x="1721" y="1772"/>
          </cover>

          <button action="bs" visibility="loaded">
            <size width="282" height="278"/>
            <pos x="-42" y="-40"/>
            <up x="1590-42" y="2112-20-40"/>
            <!-- up x="1550" y="2112"/ -->
            <clipmask x="1519-40" y="2611-40"/>
          </button>

          <visual><size width="49" height="49"/><pos x="+74" y="+74"/><off x="1385" y="1846"/></visual>

        </panel>

        <panel id="wheel_cue" class="wheel_cues" visible="no"/>

        <panel id="loop_monitor" visible="no" visibility="loop && not var '@$CoverDeck' 2"><visual class="phraser" source="loop_position"><pos x="+82" y="+84"/></visual></panel>

        <panel id="wheel_animation" visible="yes"><visual class="deckrotation"/></panel>

        <visual visibility="var '@$CoverDeck' 2">
          <pos x="+0" y="+0"/>
          <size width="198" height="198"/>
          <off x="1590" y="2112-20"/>
       </visual>

        <cover rotate="yes" visibility="var '@$CoverDeck' 2">
          <size width="198-19-19" height="198-19-19"/>
          <pos x="+19" y="+19"/>
        </cover>

        <button action="bs" visibility="var '@$CoverDeck' 2">
          <size width="198+37+37-19-19" height="198+37+37-19-19"/>
          <pos x="-37+19" y="-37+19"/>
          <up x="1590-37+19" y="2112-37+19-20"/>
          <clipmask x="1312-37+19" y="2112-37+19"/>
        </button>

        <visual class="circlepos" visibility="loaded && skin_panel 'songpos_wheel' on"/>

        <panel id="wheel_phraser" group="whphr" visible="no" visibility="not loop && loaded && not var '@$CoverDeck' 2"><visual class="phraser"><pos x="+82" y="+84"/></visual></panel>
        <panel id="wheel_phraser_big" group="whphr" visible="no" visibility="loaded && not var '@$CoverDeck' 2"><visual class="phraserbig"><pos x="+75" y="+76"/></visual></panel>

        <scratch>
          <pos x="+0" y="+0"/>
          <tooltip>SCRATCH OR NUDGE\nUse the VINYL button to toggle mode</tooltip>
          <size width="198" height="198"/>
          <mousemask x="1311" y="1772"/>
        </scratch>

      </panel>

      <panel id="deck_type_video" group="decktype" visible="no">

        <pos x="+125" y="+207"/>

        <visual type="color" visibility="50%" source="constant '#000000'" tooltip=""><pos x="-2" y="-2"/><size width="270" height="154"/></visual>
        <visual x="+0" y="+0">
          <size width="266" height="150"/>
          <off x="6" y="2096"/>
        </visual>

        <video source="deck"><pos x="+0" y="+0"/><size width="266" height="150"/></video>

        <button x="+0" y="+0" action="video_transition" dblclick="video_crossfader 0%" rightclick="video_crossfader 0% while_pressed">
          <size width="266" height="150"/>
        </button>

        <panel class="jogwheel_video_custom_buttons" x="+274" y="+8" visible="yes"/>
        <panel class="jogwheel_video_custom_buttons_right" x="+274" y="+8" visible="yes" visibility="not skin_panel 'decks_mirrored'"/>
        <panel class="jogwheel_video_custom_buttons_right" x="-41" y="+8" visible="yes" visibility="skin_panel 'decks_mirrored'"/>

      </panel>

    </define>

    <define class="keyp">
    
      <size width="90" height="65"/>
      <background x="1823" y="1463"/>

      <textzone>
        <tooltip>KEY\nClick here to toggle various key infos</tooltip>
        <pos x="+12" y="+6"/>
        <size width="40" height="25"/>
        <text size="22" color="#E1E1E1" align="center" action="get_key"/>
        <text size="22" color="#E1E1E1" align="center" action="get_harmonic"/>
        <text size="22" color="#E1E1E1" align="center" action="get_key_modifier"/>
        <text size="12" color="#a5a5a5" align="center" format="KEY"/>
      </textzone>

      <button class="lock" action="key_lock" rightclick="key 0">
        <pos x="+60" y="+5"/>
        <tooltip>KEY LOCK\nLock the current key and let the pitch slider move without modifying the key anymore\nRightclick to reset the key</tooltip>
      </button>

      <button class="match" action="match_key">
        <pos x="+60" y="+5+28"/>
        <tooltip>MATCH KEY\nSet the key to match the opposite deck</tooltip>
      </button>

      <button class="plus" action="key_move +1">
        <pos x="+60-28" y="+5+28"/>
        <tooltip>KEY UP\nMoves the song's key one semitone up</tooltip>
      </button>

      <button class="minus" action="key_move -1">
        <pos x="+60-28-28" y="+5+28"/>
        <tooltip>KEY DOWN\nMoves the song's key one semitone down</tooltip>
      </button>

    </define>

    <define class="keyp_L" classdeck="left" visible="yes">

      <pos x="+367" y="+134"/> 
      <panel class="keyp"/>

    </define>

    <define class="keyp_R" classdeck="right" visible="yes">

      <panel visibility="skin_panel 'decks_mirrored'">
        <pos x="+60" y="+134"/>
        <panel class="keyp"/>
      </panel>
      <panel visibility="not skin_panel 'decks_mirrored'">
        <pos x="+367" y="+134"/>
        <panel class="keyp"/>
      </panel>

      </define>
      
    <define class="pitch_tool_box_R" visible="yes">
    
      <visual>
        <pos x="+0" y="+0"/>
        <size width="54" height="235"/>
        <off x="649" y="1172"/>
      </visual>

      <button action="is_repeat ? nothing : pitch_reset" dblclick="nothing" rightclick="holding 2000ms ? pitch 100% : nothing" visibility="skin_panel 'pitch_reset_button'">
        <pos x="-24" y="+120"/>
        <tooltip>PITCH RESET\nPress once to slowly move the pich back to zero\nHOLD RIGHTCLICK to reset instantly</tooltip>
        <size width="26" height="25"/>
        <up x="929" y="1243"/>
        <over x="929" y="1243"/>
        <down x="929" y="1293"/>
      </button>

      <textzone>
        <pos x="+8" y="+15"/>
        <size width="36" height="17"/>
        <text size="16" color="#FFFFFF" align="center" weight="bold" format="%Ppitch"/>
      </textzone>

      <slider action="pitch" rightclick="temporary" direction="down" orientation="vertical">
        <pos x="+9" y="+46"/>
        <size width="36" height="171"/>
        <on x="603" y="1218"/>
        <off x="658" y="1218"/>
        <fader>
          <size width="36" height="27"/>
          <pos x="653" y="1115"/>
        </fader>
      </slider>

      <textzone>
        <pos x="+9" y="+216"/>
        <size width="36" height="17"/>
        <text size="14" color="#e1e1e1" align="center" format="%pitchrange%%"/>
      </textzone>

      <button class="minus" action="pitch_bend -2% 500ms" rightclick="pitch_bend -5% 500ms">
        <pos x="+0" y="+243"/>
      </button>

      <button class="plus" action="pitch_bend +2% 500ms" rightclick="pitch_bend +5% 500ms">
        <pos x="+28" y="+243" />
      </button>

    </define>
    
    <define class="pitch_tool_box_R_red" visible="yes">
    
      <visual>
        <pos x="+0" y="+0"/>
        <size width="54" height="235"/>
        <off x="649" y="1172"/>
      </visual>

      <button action="is_repeat ? nothing : pitch_reset" dblclick="nothing" rightclick="holding 2000ms ? pitch 100% : nothing" visibility="skin_panel 'pitch_reset_button'">
        <pos x="-24" y="+120"/>
        <tooltip>PITCH RESET\nPress once to slowly move the pich back to zero - double click to reset instantly</tooltip>
        <size width="26" height="25"/>
        <up x="929" y="1243"/>
        <over x="929" y="1243"/>
        <down x="929" y="1293"/>
      </button>

      <textzone>
        <pos x="+8" y="+15"/>
        <size width="36" height="17"/>
        <text size="16" color="#FFFFFF" align="center" weight="bold" format="%Ppitch"/>
      </textzone>

      <slider action="pitch" rightclick="temporary" direction="down" orientation="vertical">
        <pos x="+9" y="+46"/>
        <size width="36" height="171"/>
        <on x="713" y="1218"/>
        <off x="768" y="1218"/>
        <fader>
          <size width="36" height="27"/>
          <pos x="653" y="1115"/>
        </fader>
      </slider>

      <textzone>
        <pos x="+9" y="+216"/>
        <size width="36" height="17"/>
        <text size="14" color="#e1e1e1" align="center" format="%pitchrange%%"/>
      </textzone>

      <button class="minus" action="pitch_bend -2% 500ms" rightclick="pitch_bend -5% 500ms"><pos x="+0" y="+243"/></button>

      <button class="plus" action="pitch_bend +2% 500ms" rightclick="pitch_bend +5% 500ms"><pos x="+28" y="+243"/></button>

    </define>
    
    <define class="pitch_tool_box_L" visible="yes">

      <visual type="color" source="constant '#252525'" tooltip=""><pos x="+0" y="+0"/><size width="64" height="280"/></visual>

      <visual>
        <pos x="+0" y="+0"/>
        <size width="54" height="235"/>
        <off x="759" y="1172"/>
      </visual>

      <button action="is_repeat ? nothing : pitch_reset" dblclick="nothing" rightclick="holding 2000ms ? pitch 100% : nothing" visibility="skin_panel 'pitch_reset_button'">
        <pos x="+52" y="+120"/>
        <tooltip>Pitch Reset\n press once to slowly move the pich back to zero - double click to reset instantly</tooltip>
        <size width="26" height="25"/>
        <up x="929" y="1268"/>
        <over x="929" y="1268"/>
        <down x="929" y="1318"/>
      </button>

      <textzone>
        <pos x="+8" y="+15"/>
        <size width="36" height="17"/>
        <text size="16" color="#FFFFFF" align="center" weight="bold" format="%Ppitch"/>
      </textzone>

      <slider action="pitch" rightclick="temporary" direction="down" orientation="vertical">
        <pos x="+9" y="+46"/>
        <size width="36" height="171"/>
        <on x="713" y="1218"/>
        <off x="768" y="1218"/>
        <fader>
          <size width="36" height="27"/>
          <pos x="653" y="1115"/>
        </fader>
      </slider>

      <textzone>
        <pos x="+9" y="+216"/>
        <size width="36" height="17"/>
        <text size="14" color="#e1e1e1" align="center" format="%pitchrange%%"/>
      </textzone>

      <button class="minus" action="pitch_bend -2% 500ms" rightclick="pitch_bend -5% 500ms"><pos x="+0" y="+243"/></button>
      
      <button class="plus" action="pitch_bend +2% 500ms" rightclick="pitch_bend +5% 500ms"><pos x="+28" y="+243"/></button>

    </define>

    <define class="pitch" classdeck="left" visible="yes">

      <visual type="color" source="constant '#252525'" tooltip=""><pos x="-10" y="+0"/><size width="64" height="280"/></visual>

      <pos x="+464" y="+133"/>
      <panel class="pitch_tool_box_R"/>

    </define>

    <define class="pitch" classdeck="right" visible="yes">

      <panel visibility="not skin_panel 'decks_mirrored'">

        <visual type="color" source="constant '#252525'" tooltip=""><pos x="-10" y="+0"/><size width="64" height="280"/></visual>

        <pos x="+464" y="+133"/>
        <panel class="pitch_tool_box_R_red"/>

      </panel>

      <panel visibility="skin_panel 'decks_mirrored'">

        <pos x="-1" y="+133"/>
        <panel class="pitch_tool_box_L"/>

      </panel>

    </define>

    <define class="transport_tool">
    
      <visual visibility="skin_panel 'transport_flat'">
        <pos x="-4" y="-4"/>
        <size width="355" height="44"/>
        <off x="300" y="600"/>
      </visual>

      <button class="deckbuttonflatmini" leftclick="holding 500ms ? goto -32 : goto -4" rightclick="holding 500ms ? goto -128 : goto -16" tooltip="SEEK BUTTON\nClicking left : go -4 beats, clicking right : go -16 beats\nHolding left : go -32 beats, holding right : go -128 beats"><text format='│◄'/></button>
      <button x="+44" class="deckbuttonflatmini" action="loaded ? cue_button : off" tooltip="CUE\nSet a cuepoint"><text size="12" dy="2" action="cue_button"/></button>
      <button class="deckbutton" action="loaded ? cue_button : off" tooltip="CUE\nSet a cuepoint"><text action="cue_button"/></button>
      <button class="deckbuttonflat" action="loaded ? cue_button : off" tooltip="CUE\nSet a cuepoint" visibility="not skin_panel 'seek_buttons' && skin_panel 'transport_flat'"><text action="cue_button"/></button>

      <button x="+88" class="deckbuttonflat" action="stop_button" rightclick="holding 500ms ? unload : goto_first_beat" tooltip="PAUSE/STOP\nRightclick to go to 1st beat\nHold right to unload the song"><icon sysicon="stop_button" width="32" height="32" /></button>
      <button x="+88" class="deckbutton" action="stop_button" rightclick="holding 500ms ? unload : goto_first_beat" tooltip="PAUSE/STOP\nRightclick to go to 1st beat\nHold right to unload the song"><icon sysicon="stop_button" width="32" height="32" /></button>

      <button x="+88+88" class="deckbuttonflat" action="play_button" rightclick="reverse" tooltip="PLAY\nRightclick to toggle reverse / play"><icon sysicon="play_button" width="32" height="32" /></button>
      <button x="+88+94" y="+6" action="play_button" rightclick="reverse" tooltip="PLAY\nRightclick to toggle reverse / play" visibility="loaded"><size width="50" height="20"/><off x="723" y="2136"/><on x="723" y="2095"/></button>
      <button x="+88+94" y="+6" action="play_button" rightclick="reverse" tooltip="PLAY\nRightclick to toggle reverse / play" visibility="loaded"><size width="50" height="20"/><off x="723" y="2136"/><on x="723" y="2095"/></button>
      <button x="+88+94" y="+6" action="play_button" rightclick="reverse" tooltip="PLAY\nRightclick to toggle reverse / play" visibility="loaded"><size width="50" height="20"/><off x="723" y="2136"/><on x="723" y="2095"/></button>
      <button x="+88+88" class="deckbutton" action="play_button" rightclick="reverse" tooltip="PLAY\nRightclick to toggle reverse / play"><icon sysicon="play_button" width="32" height="32" /></button>

      <button x="+88+88+88" class="deckbutton" action="sync" rightclick="play_sync" tooltip="SYNC\nRightclick to sync n start"><text format="SYNC"/></button>
      <button x="+88+88+88" class="deckbuttonflat" action="sync" rightclick="play_sync" tooltip="SYNC\nRightclick to sync n start" visibility="not skin_panel 'seek_buttons' && skin_panel 'transport_flat'"><text format="SYNC"/></button>
      <button x="+88+88+88" class="deckbuttonflatmini" action="sync" rightclick="play_sync" tooltip="SYNC\nRightclick to sync n start"><text format="S"/></button>
      <button x="+88+88+88+44" class="deckbuttonflatmini" leftclick="holding 500ms ? goto +32 : goto +4" rightclick="holding 500ms ? goto +128 : goto +16" tooltip="SEEK BUTTON\nClicking left : go +4 beats, clicking right : go +16 beats\nHolding left : go +32 beats, holding right : go +128 beats"><text format=' ►│'/></button>

      <panel  visibility="skin_panel 'transport_flat' && not loaded">
        <visual type="color" source="constant '#000000'"visibility="70%" tooltip=""><pos x="-4" y="-4"/><size width="355" height="44"/></visual>
      </panel>

      <!-- panel  visibility="skin_panel 'transport_flat' && loaded">
        <visual type="color" source="constant '#FFFFFF'"visibility="6%" tooltip=""><pos x="-4" y="-4"/><size width="355" height="22"/></visual>
      </panel -->

    </define>

    <define class="transport" classdeck="left" visible="true">

      <pos x="+74" y="+368"/>
      <panel class="transport_tool"/>

    </define>

    <define class="transport" classdeck="right" visible="true">

      <panel visibility="not skin_panel 'decks_mirrored'">

        <pos x="+74" y="+368"/>
        <panel class="transport_tool"/>

      </panel>

      <panel visibility="skin_panel 'decks_mirrored'">

        <pos x="+93" y="+368"/>
        <panel class="transport_tool"/>

      </panel>

    </define>

    <define class="seek_tool" visibility="not skin_panel 'transport_flat'">

      <size width="98" height="46"/>
      <background x="1558" y="1396"/>

      <textzone>
        <pos x="+30" y="+4"/>
        <size width="26" height="11"/>
        <text size="12" color="#a5a5a5" align="center" format="SEEK"/>
      </textzone>

      <button class="custom_mixer" leftclick="holding 500ms ? goto -32 : goto -4" rightclick="holding 500ms ? goto -128 : goto -16" tooltip="SEEK BUTTON\nClicking left : go -4 beats, clicking right : go -16 beats\nHolding left : go -32 beats, holding right : go -128 beats"><pos x="+9" y="+16"/><text format='│◄'/></button>
      <button class="custom_mixer_flat" leftclick="holding 500ms ? goto -32 : goto -4" rightclick="holding 500ms ? goto -128 : goto -16" tooltip="SEEK BUTTON\nClicking left : go -4 beats, clicking right : go -16 beats\nHolding left : go -32 beats, holding right : go -128 beats"><pos x="+9" y="+16"/><text format='│◄'/></button>

      <button class="custom_mixer" leftclick="holding 500ms ? goto +32 : goto +4" rightclick="holding 500ms ? goto +128 : goto +16" tooltip="SEEK BUTTON\nClicking left : go +4 beats, clicking right : go +16 beats\nHolding left : go +32 beats, holding right : go +128 beats"><pos x="+47" y="+16"/><text format='►│'/></button>
      <button class="custom_mixer_flat" leftclick="holding 500ms ? goto +32 : goto +4" rightclick="holding 500ms ? goto +128 : goto +16" tooltip="SEEK BUTTON\nClicking left : go +4 beats, clicking right : go +16 beats\nHolding left : go +32 beats, holding right : go +128 beats"><pos x="+47" y="+16"/><text format=' ►│'/></button>

    
    </define>

    <define class="seek" classdeck="left" visible="true" visibility="not skin_panel 'deck_type_video'">

      <pos x="+61" y="+315"/>
      <panel class="seek_tool"/>

    </define>

    <define class="seek" classdeck="right" visible="true" visibility="not skin_panel 'deck_type_video'">

      <panel visibility="not skin_panel 'decks_mirrored'">

        <pos x="+61" y="+315"/>
        <panel class="seek_tool"/>

      </panel>

      <panel visibility="skin_panel 'decks_mirrored'">

        <pos x="+365" y="+315"/>
        <panel class="seek_tool"/>

      </panel>

    </define>

    <define class="aux_tool" visibility="get_haslinein ? true : var '$showaux' 1 ? true : false">

      <size width="45" height="98"/>
      <background x="1772" y="1463"/>

      <textzone>
        <pos x="+0" y="+5"/>
        <size width="45" height="20"/>
        <text size="12" color="#a5a5a5" align="center" format="SRC"/>
      </textzone>

      <button class="custom_mixer" action="linein" tooltip="Play through external source to deck \nUses the sound setup as source, mic or line in"><pos x="+7" y="+35"/><text format="AUX"/></button>
      <button class="custom_mixer_flat" action="linein" tooltip="Play through external source to deck \nUses the sound setup as source, mic or line in"><pos x="+7" y="+35"/><text format="AUX"/></button>

      <button class="custom_mixer" action="linein_rec" tooltip="Record to deck from external source \nUses the sound setup as source, mic or line in"><pos x="+7" y="+35+24+5"/><text format="REC"/></button>
      <button class="custom_mixer_flat" action="linein_rec" tooltip="Record to deck from external source \nUses the sound setup as source, mic or line in"><pos x="+7" y="+35+24+5"/><text format="REC"/></button>

    </define>

    <define class="aux" classdeck="left" visible="true">

      <pos x="+60" y="+210"/>
      <panel class="aux_tool"/>

    </define>

    <define class="aux" classdeck="right" visible="true">

      <panel visibility="not skin_panel 'decks_mirrored'">

        <pos x="+60" y="+210"/>
        <panel class="aux_tool"/>

      </panel>

      <panel visibility="skin_panel 'decks_mirrored'">

        <pos x="+411" y="+210"/>
        <panel class="aux_tool"/>

      </panel>

    </define>

    <define class="tc_tool" visibility="get_hastimecode ? true : var '$showtimecode' 1 ? true : false">

      <size width="90" height="65"/>
      <background x="1823" y="1463"/>

      <textzone>
        <pos x="+7" y="+8"/>
        <size width="90" height="11"/>
        <text size="12" color="#a5a5a5" align="center" format="TIMECODE"/>
      </textzone>

      <button class="custom_mixer" action="timecode_active" rightclick="timecode_bypass" tooltip="ACTIVATE TIMECODE\nRightclick to bypass"><pos x="+26" y="+20+10"/><text format="ON"/></button>
      <button class="custom_mixer_flat" action="timecode_active" rightclick="timecode_bypass" tooltip="ACTIVATE TIMECODE\nRightclick to bypass"><pos x="+26" y="+20+10"/><text format="ON"/></button>

      <visual class="timecodequality" source="get timecode_quality" >
        <pos x="+64" y="+27"/>
      </visual>

      <button action="timecode_mode absolute" class="mixer_audio_eq_kill"><pos x="+6" y="+5"/></button>
      <button action="timecode_mode relative" class="mixer_audio_eq_kill"><pos x="+6" y="+25"/></button>
      <button action="timecode_mode smart" class="mixer_audio_eq_kill"><pos x="+6" y="+45"/></button>

    </define>

    <define class="tc" classdeck="left" visible="true">

      <pos x="+60" y="+134"/>
      <panel class="tc_tool"/>

    </define>

    <define class="tc" classdeck="right" visible="true">

      <panel visibility="not skin_panel 'decks_mirrored'">

        <pos x="+60" y="+134"/>
        <panel class="tc_tool"/>

      </panel>

      <panel visibility="skin_panel 'decks_mirrored'">

        <pos x="+366" y="+134"/>
        <panel class="tc_tool"/>

      </panel>

    </define>

    <define class="vu_meter_big">
      <visual type="color" source="constant '#050505'" tooltip=""><pos x="-5" y="+0"/><size width="330" height="60"/></visual>
      <textzone class="vu_text_header"><pos x="-3" y="+15"/><text format="L"/></textzone>
      <textzone class="vu_text_header"><pos x="-3"/><text format="R"/></textzone>
      <textzone class="vu_text_L"><pos x="+20"/><text format="-56"/></textzone>
      <textzone class="vu_text_R"><pos x="+20"/><text format="-56"/></textzone>
      <textzone class="vu_text_L"><pos x="+52"/><text format="VU"/></textzone>
      <textzone class="vu_text_R"><pos x="+52"/><text format="VU"/></textzone>
      <textzone class="vu_text_L"><pos x="+83"/><text format="-20"/></textzone>
      <textzone class="vu_text_R"><pos x="+83"/><text format="-20"/></textzone>
      <textzone class="vu_text_L"><pos x="+115"/><text format="-10"/></textzone>
      <textzone class="vu_text_R"><pos x="+115"/><text format="-10"/></textzone>
      <textzone class="vu_text_L"><pos x="+165"/><text format="0"/></textzone>
      <textzone class="vu_text_R"><pos x="+165"/><text format="0"/></textzone>
      <textzone class="vu_text_L"><pos x="+205"/><text format="4"/></textzone>
      <textzone class="vu_text_R"><pos x="+205"/><text format="4"/></textzone>
      <textzone class="vu_text_L"><pos x="+240"/><text format="8"/></textzone>
      <textzone class="vu_text_R"><pos x="+240"/><text format="8"/></textzone>
      <textzone class="vu_text_L"><pos x="+265"/><text format="10"/></textzone>
      <textzone class="vu_text_R"><pos x="+265"/><text format="10"/></textzone>
      <textzone class="vu_text_L"><pos x="+290"/><text format="12"/></textzone>
      <textzone class="vu_text_R"><pos x="+290"/><text format="12"/></textzone>
      <visual>
        <pos x="+20" y="+15"/>
        <size width="285" height="12"/>
        <off x="867" y="2120"/>
      </visual>
      <visual>
        <pos x="+20" y="+31"/>
        <size width="285" height="12"/>
        <off x="867" y="2120"/>
      </visual>

    </define>

    <define class="vu_meter_big_blue">
      <visual type="color" source="constant '#050505'" tooltip=""><pos x="-5" y="+0"/><size width="330" height="60"/></visual>
      <textzone class="vu_text_header"><pos x="-3" y="+15"/><text color="#00b8ff" format="L"/></textzone>
      <textzone class="vu_text_header"><pos x="-3"/><text color="#00b8ff" format="R"/></textzone>
      <textzone class="vu_text_L"><pos x="+20"/><text color="#00b8ff" format="-56"/></textzone>
      <textzone class="vu_text_R"><pos x="+20"/><text color="#00b8ff" format="-56"/></textzone>
      <textzone class="vu_text_L"><pos x="+52"/><text color="#00b8ff" format="VU"/></textzone>
      <textzone class="vu_text_R"><pos x="+52"/><text color="#00b8ff" format="VU"/></textzone>
      <textzone class="vu_text_L"><pos x="+83"/><text color="#00b8ff" format="-20"/></textzone>
      <textzone class="vu_text_R"><pos x="+83"/><text color="#00b8ff" format="-20"/></textzone>
      <textzone class="vu_text_L"><pos x="+115"/><text color="#00b8ff" format="-10"/></textzone>
      <textzone class="vu_text_R"><pos x="+115"/><text color="#00b8ff" format="-10"/></textzone>
      <textzone class="vu_text_L"><pos x="+165"/><text color="#00b8ff" format="0"/></textzone>
      <textzone class="vu_text_R"><pos x="+165"/><text color="#00b8ff" format="0"/></textzone>
      <textzone class="vu_text_L"><pos x="+205"/><text color="#00b8ff" format="4"/></textzone>
      <textzone class="vu_text_R"><pos x="+205"/><text color="#00b8ff" format="4"/></textzone>
      <textzone class="vu_text_L"><pos x="+240"/><text color="#00b8ff" format="8"/></textzone>
      <textzone class="vu_text_R"><pos x="+240"/><text color="#00b8ff" format="8"/></textzone>
      <textzone class="vu_text_L"><pos x="+265"/><text color="#00b8ff" format="10"/></textzone>
      <textzone class="vu_text_R"><pos x="+265"/><text color="#00b8ff" format="10"/></textzone>
      <textzone class="vu_text_L"><pos x="+290"/><text color="#00b8ff" format="12"/></textzone>
      <textzone class="vu_text_R"><pos x="+290"/><text color="#00b8ff" format="12"/></textzone>
      <visual>
        <pos x="+20" y="+15"/>
        <size width="285" height="12"/>
        <off x="867" y="2120"/>
      </visual>
      <visual>
        <pos x="+20" y="+31"/>
        <size width="285" height="12"/>
        <off x="867" y="2120"/>
      </visual>
    </define>

    <define class="vu_meter_big_red">
      <visual type="color" source="constant '#050505'" tooltip=""><pos x="-5" y="+0"/><size width="330" height="60"/></visual>
      <textzone class="vu_text_header"><pos x="-3" y="+15"/><text color="#ed1c24" format="L"/></textzone>
      <textzone class="vu_text_header"><pos x="-3"/><text color="#ed1c24" format="R"/></textzone>
      <textzone class="vu_text_L"><pos x="+20"/><text color="#ed1c24" format="-56"/></textzone>
      <textzone class="vu_text_R"><pos x="+20"/><text color="#ed1c24" format="-56"/></textzone>
      <textzone class="vu_text_L"><pos x="+52"/><text color="#ed1c24" format="VU"/></textzone>
      <textzone class="vu_text_R"><pos x="+52"/><text color="#ed1c24" format="VU"/></textzone>
      <textzone class="vu_text_L"><pos x="+83"/><text color="#ed1c24" format="-20"/></textzone>
      <textzone class="vu_text_R"><pos x="+83"/><text color="#ed1c24" format="-20"/></textzone>
      <textzone class="vu_text_L"><pos x="+115"/><text color="#ed1c24" format="-10"/></textzone>
      <textzone class="vu_text_R"><pos x="+115"/><text color="#ed1c24" format="-10"/></textzone>
      <textzone class="vu_text_L"><pos x="+165"/><text color="#ed1c24" format="0"/></textzone>
      <textzone class="vu_text_R"><pos x="+165"/><text color="#ed1c24" format="0"/></textzone>
      <textzone class="vu_text_L"><pos x="+205"/><text color="#ed1c24" format="4"/></textzone>
      <textzone class="vu_text_R"><pos x="+205"/><text color="#ed1c24" format="4"/></textzone>
      <textzone class="vu_text_L"><pos x="+240"/><text color="#ed1c24" format="8"/></textzone>
      <textzone class="vu_text_R"><pos x="+240"/><text color="#ed1c24" format="8"/></textzone>
      <textzone class="vu_text_L"><pos x="+265"/><text color="#ed1c24" format="10"/></textzone>
      <textzone class="vu_text_R"><pos x="+265"/><text color="#ed1c24" format="10"/></textzone>
      <textzone class="vu_text_L"><pos x="+290"/><text color="#ed1c24" format="12"/></textzone>
      <textzone class="vu_text_R"><pos x="+290"/><text color="#ed1c24" format="12"/></textzone>
      <visual>
        <pos x="+20" y="+15"/>
        <size width="285" height="12"/>
        <off x="867" y="2120"/>
      </visual>
      <visual>
        <pos x="+20" y="+31"/>
        <size width="285" height="12"/>
        <off x="867" y="2120"/>
      </visual>
    </define>

    <define class="vu_master">

      <panel class="vu_meter_big"/>

      <panel id="vu-mode" visibility="not skin_panel 'vu_off'">

        <visual class="vu_big_L" source="deck master get_vu_meter_left"/>
        <visual class="vu_big_R" source="deck master get_vu_meter_right"/>
        <visual class="vu_big_peak_L" source="deck master get_vu_meter_left_peak"/>
        <visual class="vu_big_peak_R" source="deck master get_vu_meter_right_peak"/>

      </panel>
 
    </define>

    <define class="vu_mic">

      <panel class="vu_meter_big"/>

      <panel id="vu-mode" visibility="not skin_panel 'vu_off'">

        <visual class="vu_big_L" source="get_vu_meter_left 'mic'"/>
        <visual class="vu_big_R" source="get_vu_meter_right 'mic'"/>
        <visual class="vu_big_peak_L" source="get_vu_meter_left_peak 'mic'"/>
        <visual class="vu_big_peak_R" source="get_vu_meter_right_peak 'mic'"/>

      </panel>
 
    </define>

    <define class="vu_left">

      <panel class="vu_meter_big_blue"/>

      <panel id="vu-mode" visibility="not skin_panel 'vu_off'">

        <visual class="vu_big_L_blue" deck="left" source="get_level_left"/>
        <visual class="vu_big_R_blue" deck="left" source="get_level_right"/>
        <visual class="vu_big_peak_L_blue" deck="left"  source="get_level_left_peak"/>
        <visual class="vu_big_peak_R_blue" deck="left" source="get_level_right_peak"/>
        <visual class="vu_big_lim_L" deck="left" source="get_level_left_peak" visibility="deck left get limiter ? true : false"/>
        <visual class="vu_big_lim_R" deck="left" source="get_level_right_peak" visibility="deck left get limiter ? true : false"/>

      </panel>
 
    </define>
    
    <define class="vu_right">

      <panel class="vu_meter_big_red"/>

      <panel id="vu-mode" visibility="not skin_panel 'vu_off'" >
          
        <visual class="vu_big_L_red" deck="right" source="get_level_left"/>
        <visual class="vu_big_R_red" deck="right" source="get_level_right"/>
        <visual class="vu_big_peak_L_red" deck="right" source="get_level_left_peak"/>
        <visual class="vu_big_peak_R_red" deck="right" source="get_level_right_peak"/>
        <visual class="vu_big_lim_L" deck="right" source="get_level_left_peak" visibility="deck right get limiter ? true : false"/>
        <visual class="vu_big_lim_R" deck="right" source="get_level_right_peak" visibility="deck right get limiter ? true : false"/>

      </panel>

    </define>

    <define class="info">
      <size width="224" height="410"/>
      <pos x="+11" y="+0"/>
      <browserinfo>
        <size width="224" height="410"/>
        <pos x="+1" y="+0"/>
        <colors background="#050505">
          <info background="#252525" stripes="#0E0E0E" text="#FCF6C2" label="#B2B3B3" artist="#FCF6C2" title="#FCF6C2" />
          <prelisten background="#252525" border="#2E2E2E" selected="#2E2E2E" cursor="white" button="#2E2E2E" buttonbackground="#638563" buttonselected="#039E03" />
        </colors>
      </browserinfo>
      <sideview source="sidelist">
        <size width="220" height="420" />	
        <pos x="1686" y="+0"/>
        <colors background="#050505">
          <toolbars background="#171717" text="white" iconbackground="#171717" border="#2E2E2E" />
          <lists background="#050505" stripes="#050505" over="#2E2E2E" overstripes="#2E2E2E" selected="##2E2E2E" focus="#303040" text="#FCF6C2" overtext="#FFFFFF" selectedtext="#FFFFFF" focustext="#FFFFFF" automix="#00b8ff" livefeedback="#00b8ff" download="#2E2E2E" scan="#00b8ff" button="#2E2E2E" buttonover="white" buttonselected="#FFED00" buttonactive="#F9C90A" insert="#00b8ff" />
          <grids background="#171717" over="#2E2E2E" selected="#2E2E2E" focus="#303040" text="#FCF6C2" overtext="#FCF6C2" selectedtext="#FCF6C2" focustext="white" stripes="#0E0E0E" overstripes="#1E1E1E" selectedstripes="#1E1E1E" focusstripes="#202030" label="white" />
          <columns background="#2E2E2E" text="#B2B3B3" />
          <scrollbars background="#2E2E2E" button="#B2B3B3" />
          <sidelist background="#050505" button="#B2B3B3" />
          <info background="#171717" stripes="#1E1D20" text="#FCF6C2" label="#B2B3B3" artist="#FCF6C2" title="#FCF6C2" />
          <search background="#050505" border="#2E2E2E" selected="#585858" text="white" cursor="#00b8ff" />
          <prelisten background="#171717" border="#2E2E2E" selected="#2E2E2E" cursor="white" button="#2E2E2E" buttonbackground="#638563" buttonselected="#039E03" />
        </colors>
      </sideview>
    </define>

    <define class="times_L">

      <button class="select_big_L" action="select"/>

      <textzone>
        <pos x="+2" y="+6"/>
        <size width="44" height="40"/>
        <text size="40" color="#C1C0C0" align="center" weight="bold" action="deck leftdeck ? get_text 'A' : get_text 'B'"/>
      </textzone>
      
      <panel visibility="not skin_panel 'bigwaves'">

        <textzone action="display_time">
          <pos x="+69" y="+0"/>
          <size width="118" height="19"/>
          <text size="15" color="#908F8D" align="left" weight="bold" action="display_time &amp; param_uppercase"/>
        </textzone>

        <textzone class="times" action="display_time">
           <pos x="+69" y="+22"/>
           <text align="left" action="get_time"/>
        </textzone>

      </panel>

      <panel visibility="not skin_panel 'bigwaves' && not skin_panel 'withdecks'">

        <textzone leftclick="hot_cue 1" rightclick="holding 2000ms ? delete_cue 1 : goto_cue 1" tooltip="HOT CUE 1\nHold right to delete this cue">
          <pos x="40" y="+50"/>
          <size width="60" height="20"/>
          <text color="#E1E1E1" size="18" format="%Pcue1"/>
        </textzone>

        <textzone leftclick="hot_cue 2" rightclick="holding 2000ms ? delete_cue 2 : goto_cue 2" tooltip="HOT CUE 2\nHold right to delete this cue">
          <pos x="105" y="+50"/>
          <size width="60" height="20"/>
          <text color="#E1E1E1" size="18" format="%Pcue2"/>
        </textzone>

        <textzone leftclick="hot_cue 3" rightclick="holding 2000ms ? delete_cue 3 : goto_cue 3" tooltip="HOT CUE 3\nHold right to delete this cue">
          <pos x="170" y="+50"/>
          <size width="60" height="20"/>
          <text color="#E1E1E1" size="18" format="%Pcue3"/>
        </textzone>

      </panel>
          
      <panel visibility="skin_panel 'bigwaves' && not skin_panel 'withdecks'">

        <textzone leftclick="hot_cue 1" rightclick="holding 2000ms ? delete_cue 1 : goto_cue 1" tooltip="HOT CUE 1\nHold right to delete this cue">
          <pos x="+2" y="+56"/>
          <size width="60" height="20"/>
          <text color="#E1E1E1" size="20" format="%Pcue1"/>
        </textzone>

        <textzone leftclick="hot_cue 2" rightclick="holding 2000ms ? delete_cue 2 : goto_cue 2" tooltip="HOT CUE 2\nHold right to delete this cue">
          <pos x="+2" y="+82"/>
          <size width="60" height="20"/>
          <text color="#E1E1E1" size="20" format="%Pcue2"/>
        </textzone>

        <textzone leftclick="hot_cue 3" rightclick="holding 2000ms ? delete_cue 3 : goto_cue 3" tooltip="HOT CUE 3\nHold right to delete this cue">
          <pos x="+2" y="+108"/>
          <size width="60" height="20"/>
          <text color="#E1E1E1" size="20" format="%Pcue3"/>
        </textzone>
        
        <panel class="mixer_video_vu_meter_L" id="vumeter" visibility="not skin_panel 'swap'">
          <pos x="16" y="+71"/>
          <visual><size height="65"/></visual>
          <panel>
            <panel>
              <visual><size height="65"/><down y="2600" nb="9"/></visual>
              <visual><size height="65"/><down y="2600" nb="9"/></visual>
            </panel>
            <panel>
              <visual><size height="65"/><down y="2920" nb="9"/></visual>
              <visual><size height="65"/><down y="2920" nb="9"/></visual>
            </panel>
            <panel>
              <visual><size height="65"/><down y="3080" nb="9"/></visual>
              <visual><size height="65"/><down y="3080" nb="9"/></visual>
            </panel>
            <menu><size width="12" height="65"/></menu>
          </panel>
        </panel>

        <panel class="mixer_video_vu_meter_L" id="vumeter" visibility="skin_panel 'swap'">
          <pos x="1889" y="+71"/>
          <visual><size height="65"/></visual>
          <panel>
            <panel>
              <visual><size height="65"/><down y="2600" nb="9"/></visual>
              <visual><size height="65"/><down y="2600" nb="9"/></visual>
            </panel>
            <panel>
              <visual><size height="65"/><down y="2920" nb="9"/></visual>
              <visual><size height="65"/><down y="2920" nb="9"/></visual>
            </panel>
            <panel>
              <visual><size height="65"/><down y="3080" nb="9"/></visual>
              <visual><size height="65"/><down y="3080" nb="9"/></visual>
            </panel>
            <menu><size width="12" height="65"/></menu>
          </panel>
        </panel>

        <panel class="quickloop" x="11" y="+135" visibility="70%"/>

      </panel>
          
      <panel visibility="skin_panel 'bigwaves'">

        <textzone>
          <pos x="+69" y="+0"/>
          <size width="108" height="19"/>
          <text size="15" color="#908F8D" align="left" weight="bold" action="get_text 'TOTAL'"/>
        </textzone>

        <textzone class="times">
          <pos x="+69" y="+20"/>
          <text align="left" action="get_time 'total'"/>
        </textzone>
          
        <textzone>
          <pos x="+69" y="+50"/>
          <size width="108" height="19"/>
          <text size="15" color="#908F8D" align="left" weight="bold" action="get_text 'ELAPSED'"/>
        </textzone>

        <textzone class="times">
          <pos x="+69" y="+70"/>
          <text align="left" action="get_time 'elapsed'"/>
        </textzone>
          
        <textzone>
          <pos x="+69" y="+100"/>
          <size width="108" height="19"/>
          <text size="15" color="#908F8D" align="left" weight="bold" action="get_text 'REMAIN'"/>
        </textzone>

        <textzone class="times" visibility="songpos_remain 30000ms ? blink 300ms : songpos_remain 60000ms ? blink 1000ms : true">
          <pos x="+69" y="+120"/>
          <text align="left" action="get_time 'remain'"/>
        </textzone>

      </panel>
      
      <panel visibility="not skin_panel 'withdecks'">

        <textzone visibility="loaded">
          <size width="460" height="22"/>
          <pos x="283" y="47"/>
          <text size="22" color="#C0C0C0" align="left" scroll="yes" weight="bold" format="%Pbpmex │ %Pleveldb │ `get loaded_song 'artist'` - `get loaded_song 'title'`   `get loaded_song 'comment'`   "/>
          <text size="22" color="#C0C0C0" align="left" weight="bold" format="%Pbpmex │ %Pleveldb │ `get loaded_song 'artist'` - `get loaded_song 'title'`   `get loaded_song 'comment'`   "/>
          <text format=""/>
        </textzone>

        <visual x="10" y="66">
          <size width="224" height="1"/>
          <off x="1161" y="1477"/>
        </visual>

        <visual x="161" y="46">
          <size width="2" height="20"/>
          <off x="1161" y="1477"/>
        </visual>

        <dropzone>
          <pos x="-23" y="46"/>
          <size width="694" height="137"/>
        </dropzone>

        <songpos class="songpos">
          <pos x="10" y="46"/>
          <size width="150" height="19"/>
          <cues><size height="19"/></cues>
        </songpos>

        <button action="play_button" rightclick="holding 500ms ? sync : play_sync">
          <pos x="+163" y="39"/>
          <size width="32" height="32"/>
          <tooltip>PLAY\nRightclick to sync n start\nHold right to sync only</tooltip>
          <icon sysicon="play_button" width="32" height="32" />
        </button>

        <button leftclick="holding 1500ms ? unload : stop_button" rightclick="holding 500ms ? pitch 100% : goto_first_beat">
          <pos x="+134" y="39"/>
          <size width="32" height="32"/>
          <tooltip>PAUSE/STOP\nRightclick to go to first beat\nHold left to unload\nHold right to reset pitch</tooltip>
          <icon sysicon="stop_button" width="32" height="32" />
        </button>

        <visual type="color" source="constant '#363636'" tooltip=""><pos x="16" y="+2"/><size width="12" height="65"/></visual>
        
        <slider action="level" rightclick="temporary" dblclick="reset" orientation="vertical" visibility="60%">
          <pos x="16" y="+2"/>
          <size width="12" height="65"/>
          <fader>
            <size width="12" height="11"/>
            <pos x="836" y="1458"/>
          </fader>
        </slider>
        
      </panel>

    </define>

    <define class="times_R">

      <button class="select_big_R" action="select"/>

      <textzone>
        <pos x="+159" y="+6"/>
        <size width="44" height="40"/>
        <text size="40" color="#C1C0C0" align="center" weight="bold" action="deck leftdeck ? get_text 'A' : get_text 'B'"/>
      </textzone>

      <panel visibility="not skin_panel 'bigwaves'">

        <textzone action="display_time">
          <pos x="+29" y="+0"/>
          <size width="108" height="19"/>
          <text size="15" color="#908F8D" align="right" weight="bold" action="display_time &amp; param_uppercase"/>
        </textzone>

        <textzone class="times" action="display_time">
          <pos x="+5" y="+22"/>
          <text align="right" action="get_time"/>
        </textzone>

      </panel>

      <panel visibility="not skin_panel 'bigwaves' && not skin_panel 'withdecks'">

        <textzone leftclick="hot_cue 1" rightclick="holding 2000ms ? delete_cue 1 : goto_cue 1" tooltip="HOT CUE 1\nHold right to delete this cue">
          <pos x="+20" y="+50"/>
          <size width="60" height="20"/>
          <text color="#E1E1E1" size="18" format="%Pcue1"/>
        </textzone>

        <textzone leftclick="hot_cue 2" rightclick="holding 2000ms ? delete_cue 2 : goto_cue 2" tooltip="HOT CUE 2\nHold right to delete this cue">
          <pos x="+85" y="+50"/>
          <size width="60" height="20"/>
          <text color="#E1E1E1" size="18" format="%Pcue2"/>
        </textzone>

        <textzone leftclick="hot_cue 3" rightclick="holding 2000ms ? delete_cue 3 : goto_cue 3" tooltip="HOT CUE 3\nHold right to delete this cue">
          <pos x="+150" y="+50"/>
          <size width="60" height="20"/>
          <text color="#E1E1E1" size="18" format="%Pcue3"/>
        </textzone>

      </panel>

      <panel visibility="skin_panel 'bigwaves' && not skin_panel 'withdecks'">

        <textzone leftclick="hot_cue 1" rightclick="holding 2000ms ? delete_cue 1 : goto_cue 1" tooltip="HOT CUE 1\nHold right to delete this cue">
          <pos x="+144" y="+56"/>
          <size width="60" height="20"/>
          <text color="#E1E1E1" size="20" align="right" format="%Pcue1"/>
        </textzone>

        <textzone leftclick="hot_cue 2" rightclick="holding 2000ms ? delete_cue 2 : goto_cue 2" tooltip="HOT CUE 2\nHold right to delete this cue">
          <pos x="+144" y="+82"/>
          <size width="60" height="20"/>
          <text color="#E1E1E1" size="20" align="right" format="%Pcue2"/>
        </textzone>

        <textzone leftclick="hot_cue 3" rightclick="holding 2000ms ? delete_cue 3 : goto_cue 3" tooltip="HOT CUE 3\nHold right to delete this cue">
          <pos x="+144" y="+108"/>
          <size width="60" height="20"/>
          <text color="#E1E1E1" size="20" align="right" format="%Pcue3"/>
        </textzone>
        
        <panel class="mixer_video_vu_meter_R" id="vumeter" visible="yes" visibility="not skin_panel 'swap'">
          <pos x="1889" y="+71"/>
          <visual><size height="65"/></visual>
          <panel>
            <panel>
              <visual><size height="65"/><down y="2760" nb="9"/></visual>
              <visual><size height="65"/><down y="2760" nb="9"/></visual>
            </panel>
            <panel>
              <visual><size height="65"/><down y="2920" nb="9"/></visual>
              <visual><size height="65"/><down y="2920" nb="9"/></visual>
            </panel>
            <panel>
              <visual><size height="65"/><down y="3080" nb="9"/></visual>
              <visual><size height="65"/><down y="3080" nb="9"/></visual>
            </panel>
            <menu><size width="12" height="65"/></menu>
          </panel>
        </panel>

        <panel class="mixer_video_vu_meter_R" id="vumeter" visible="yes" visibility="skin_panel 'swap'">
          <pos x="16" y="+71"/>
          <visual><size height="65"/></visual>
          <panel>
            <panel>
              <visual><size height="65"/><down y="2760" nb="9"/></visual>
              <visual><size height="65"/><down y="2760" nb="9"/></visual>
            </panel>
            <panel>
              <visual><size height="65"/><down y="2920" nb="9"/></visual>
              <visual><size height="65"/><down y="2920" nb="9"/></visual>
            </panel>
            <panel>
              <visual><size height="65"/><down y="3080" nb="9"/></visual>
              <visual><size height="65"/><down y="3080" nb="9"/></visual>
            </panel>
            <menu><size width="12" height="65"/></menu>
          </panel>
        </panel>

        <panel class="quickloop" x="+142" y="+135" visibility="70%"/>

      </panel>
          
      <panel visibility="skin_panel 'bigwaves'">

        <textzone>
          <pos x="+29" y="+0"/>
          <size width="108" height="19"/>
          <text size="15" color="#908F8D" align="right" weight="bold" action="get_text 'TOTAL'"/>
        </textzone>

        <textzone class="times">
          <pos x="+5" y="+20"/>
          <text align="right" action="get_time 'total'"/>
        </textzone>

        <textzone>
          <pos x="+29" y="+50"/>
          <size width="108" height="19"/>
          <text size="15" color="#908F8D" align="right" weight="bold" action="get_text 'ELAPSED'"/>
        </textzone>

        <textzone class="times">
          <pos x="+5" y="+70"/>
          <text align="right" action="get_time 'elapsed'"/>
        </textzone>

        <textzone>
          <pos x="+29" y="+100"/>
          <size width="108" height="19"/>
          <text size="15" color="#908F8D" align="right" weight="bold" action="get_text 'REMAIN'"/>
        </textzone>

        <textzone class="times" visibility="songpos_remain 30000ms ? blink 300ms : songpos_remain 60000ms ? blink 1000ms : true">
          <pos x="+5" y="+120"/>
          <text align="right" action="get_time 'remain'"/>
        </textzone>

      </panel>

      <panel visibility="not skin_panel 'withdecks'">

        <textzone visibility="loaded">
          <size width="460" height="22"/>
          <pos x="1177" y="47"/>
          <text size="22" color="#C0C0C0" align="right" scroll="yes" weight="bold" format="%Pbpmex │ %Pleveldb │ `get loaded_song 'artist'` - `get loaded_song 'title'`   `get loaded_song 'comment'`   "/>
          <text size="22" color="#C0C0C0" align="right" weight="bold" format="%Pbpmex │ %Pleveldb │ `get loaded_song 'artist'` - `get loaded_song 'title'`   `get loaded_song 'comment'`   "/>
          <text format=""/>
        </textzone>

        <visual x="+7" y="66">
          <size width="224" height="1"/>
          <off x="1161" y="1477"/>
        </visual>

        <visual x="1757" y="46">
          <size width="2" height="20"/>
          <off x="1161" y="1477"/>
        </visual>

        <dropzone>
          <pos x="-453" y="46"/>
          <size width="694" height="137"/>
        </dropzone>

        <songpos>
          <pos x="1760" y="46"/>
          <size width="150" height="19"/>
          <cues>
            <size width="7" height="18"/>
            <pos x="244" y="235"/>
            <up x="887" y="1375"/>
            <down x="911" y="1375"/>
            <over x="864" y="1375"/>
            <clipmask x="836" y="1391"/>
          </cues>
        </songpos>

        <button action="play_button" rightclick="holding 500ms ? sync : play_sync">
          <pos x="+43" y="39"/>
          <size width="32" height="32"/>
          <tooltip>PLAY\nRightclick to sync n start\nHold right to sync only</tooltip>
          <icon sysicon="play_button" width="32" height="32" />
        </button>

        <button leftclick="holding 1500ms ? unload : stop_button" rightclick="holding 500ms ? pitch 100% : goto_first_beat">
          <pos x="+12" y="39"/>
          <size width="32" height="32"/>
          <tooltip>PAUSE/STOP\nRightclick to go to first beat\nHold left to unload\nHold right to reset pitch</tooltip>
          <icon sysicon="stop_button" width="32" height="32" />
        </button>

        <visual type="color" source="constant '#363636'" tooltip=""><pos x="1889" y="+2"/><size width="12" height="65"/></visual>
        
        <slider action="level" rightclick="temporary" dblclick="reset" orientation="vertical" visibility="60%">
          <pos x="1889" y="+2"/>
          <size width="12" height="65"/>
          <fader>
            <size width="12" height="11"/>
            <pos x="836" y="1458"/>
          </fader>
        </slider>
        
      </panel>

    </define>

    <define class="waveform_window" x="273" y="+47">

      <visual x="0" y="+0">
        <size width="1919" height="98"/>
        <off x="0" y="47"/>
      </visual>

      <visual x="0" y="+50" visibility="skin_panel 'bigwaves'">
        <size width="1919" height="70"/>
        <off x="0" y="67"/>
      </visual>

      <visual x="0" y="+112" visibility="skin_panel 'bigwaves'">
        <size width="1919" height="78"/>
        <off x="0" y="67"/>
      </visual>

      <panel id="nowave" group="waveform" visible="no"/>
      <panel id="waves" group="forms" visible="no"/>
      <panel id="bigwaves" group="forms" visible="no"/>

      <panel id="defaultwave" group="waveform" visible="yes">

        <rhythmzone class="waves"/>
        <rhythmzone class="bigwaves"/>

      </panel>

      <panel id="nogridwave" group="waveform" visible="no">

        <rhythmzone class="waves">
          <rhythm y="+0" height="91"/>
          <grid height="0" width="0" maxwidth="0"/>
        </rhythmzone>

        <rhythmzone class="bigwaves">
          <rhythm y="+0" height="183"/>
          <grid height="0" width="0" maxwidth="0"/>
        </rhythmzone>

      </panel>

      <panel id="splittedwave" group="waveform" visible="no">

        <rhythmzone class="waves">
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm y="+0" height="39"/>
          <cue y="+0" height="39"/>
        </rhythmzone>
        <rhythmzone class="waves">
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm y="+39" height="39"/>
          <cue y="+39" height="39"/>
        </rhythmzone>

        <rhythmzone class="bigwaves">
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm y="+0" height="84"/>
          <cue y="+0" height="84"/>
        </rhythmzone>
        <rhythmzone class="bigwaves">
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm y="+85" height="84"/>
          <cue y="+85" height="84"/>
        </rhythmzone>

      </panel>

      <panel id="perdeckwave" group="waveform" visible="no">

        <rhythmzone class="waves" center="+120">
          <size width="483"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <overlay><pos x="+120" y="+0"/></overlay>
        </rhythmzone>
        <rhythmzone class="waves" center="+120">
          <size width="483"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm y="+0" height="0"/>
          <cue y="+0" height="0"/>
          <overlay><size width="0" height="0"/></overlay>
        </rhythmzone>
        <rhythmzone class="waves" center="+120">
          <pos x="+891"/>
          <size width="483"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm y="+0" height="0"/>
          <cue y="+0" height="0"/>
          <overlay><size width="0" height="0"/></overlay>
        </rhythmzone>
        <rhythmzone class="waves" center="+120">
          <pos x="+891"/>
          <size width="483"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <overlay><pos x="+120" y="+0"/></overlay>
        </rhythmzone>

        <rhythmzone class="bigwaves" center="+120">
          <size width="483" height="184"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <overlay><pos x="+120" y="+0"/></overlay>
        </rhythmzone>
        <rhythmzone class="bigwaves" center="+120">
          <size width="483"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm y="+0" height="0"/>
          <cue y="+0" height="0"/>
          <overlay><size width="0" height="0"/></overlay>
        </rhythmzone>
        <rhythmzone class="bigwaves" center="+120">
          <pos x="+891"/>
          <size width="483"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm y="+0" height="0"/>
          <cue y="+0" height="0"/>
          <overlay><size width="0" height="0"/></overlay>
        </rhythmzone>
        <rhythmzone class="bigwaves" center="+120">
          <pos x="+891"/>
          <size width="483"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <overlay><pos x="+120" y="+0"/></overlay>
        </rhythmzone>

      </panel>

      <panel id="perdecknogridwave" group="waveform" visible="no">

        <rhythmzone class="waves" center="+120">
          <size width="483"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm height="91"/>
          <grid height="0" width="0" maxwidth="0"/>
          <overlay><pos x="+120" y="+0"/></overlay>
        </rhythmzone>
        <rhythmzone class="waves" center="+120">
          <pos x="+891"/>
          <size width="483"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm height="91"/>
          <grid height="0" width="0" maxwidth="0"/>
          <overlay><pos x="+120" y="+0"/></overlay>
        </rhythmzone>

        <rhythmzone class="bigwaves" center="+120">
          <size width="483"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm height="183"/>
          <grid height="0" width="0" maxwidth="0"/>
          <overlay><pos x="+120" y="+0"/></overlay>
        </rhythmzone>
        <rhythmzone class="bigwaves" center="+120">
          <pos x="+891"/>
          <size width="483"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm height="183"/>
          <grid height="0" width="0" maxwidth="0"/>
          <overlay><pos x="+120" y="+0"/></overlay>
        </rhythmzone>

      </panel>

      <panel id="perdeckmirrorwave" group="waveform" visible="no">

        <rhythmzone class="waves" center="+120" mirror="true">
          <size width="483"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <overlay><pos x="+120" y="+0"/></overlay>
        </rhythmzone>
        <rhythmzone class="waves" center="+120" mirror="true">
          <size width="483" height="92"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm y="+0" height="0"/>
          <cue y="+0" height="0"/>
          <overlay><size width="0" height="0"/></overlay>
        </rhythmzone>
        <rhythmzone class="waves" center="+120" mirror="true">
          <pos x="+891"/>
          <size width="483"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm y="+0" height="0"/>
          <cue y="+0" height="0"/>
          <overlay><size width="0" height="0"/></overlay>
        </rhythmzone>
        <rhythmzone class="waves" center="+120" mirror="true">
          <pos x="+891"/>
          <size width="483"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <overlay><pos x="+120" y="+0"/></overlay>
        </rhythmzone>

        <rhythmzone class="bigwaves" center="+120" mirror="true">
          <size width="483"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <overlay><pos x="+120" y="+0"/></overlay>
        </rhythmzone>
        <rhythmzone class="bigwaves" center="+120" mirror="true">
          <size width="483" height="92"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm y="+0" height="0"/>
          <cue y="+0" height="0"/>
          <overlay><size width="0" height="0"/></overlay>
        </rhythmzone>
        <rhythmzone class="bigwaves" center="+120" mirror="true">
          <pos x="+891"/>
          <size width="483"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm y="+0" height="0"/>
          <cue y="+0" height="0"/>
          <overlay><size width="0" height="0"/></overlay>
        </rhythmzone>
        <rhythmzone class="bigwaves" center="+120" mirror="true">
          <pos x="+891"/>
          <size width="483"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <overlay><pos x="+120" y="+0"/></overlay>
        </rhythmzone>

      </panel>

      <panel id="perdeckmirrornogridwave" group="waveform" visible="no">

        <rhythmzone class="waves" center="+120" mirror="true">
          <size width="483"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm height="91"/>
          <grid height="0" width="0" maxwidth="0"/>
          <overlay><pos x="+120" y="+0"/></overlay>
        </rhythmzone>
        <rhythmzone class="waves" center="+120" mirror="true">
          <pos x="+891"/>
          <size width="483"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm height="91"/>
          <grid height="0" width="0" maxwidth="0"/>
          <overlay><pos x="+120" y="+0"/></overlay>
        </rhythmzone>

        <rhythmzone class="bigwaves" center="+120" mirror="true">
          <size width="483"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm height="183"/>
          <grid height="0" width="0" maxwidth="0"/>
          <overlay><pos x="+120" y="+0"/></overlay>
        </rhythmzone>
        <rhythmzone class="bigwaves" center="+120" mirror="true">
          <pos x="+891"/>
          <size width="483"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm height="183"/>
          <grid height="0" width="0" maxwidth="0"/>
          <overlay><pos x="+120" y="+0"/></overlay>
        </rhythmzone>

      </panel>

      <panel id="updowngridwave" group="waveform" visible="no">

        <rhythmzone class="waves" upsidedown="true">
          <rhythm y="+15" height="80"/>
          <grid height="6" width="6" maxwidth="10">
            <pos y1="+1" y2="+8"/>
          </grid>
          <cue y="+15"/>
        </rhythmzone>

        <rhythmzone class="bigwaves" upsidedown="true">
          <rhythm y="+15"/>
          <grid height="6" width="6" maxwidth="10">
            <pos y1="+1" y2="+8"/>
          </grid>
          <cue y="+15"/>
        </rhythmzone>

      </panel>

      <panel id="updownwave" group="waveform" visible="no">

        <rhythmzone class="waves" upsidedown="true">
          <rhythm y="+2" height="91"/>
          <grid height="0" width="0" maxwidth="0"/>
          <cue><text dx="15" dy="80" size="14" /></cue>
        </rhythmzone>

        <rhythmzone class="bigwaves" upsidedown="true">
          <rhythm y="+2" height="183"/>
          <grid height="0" width="0" maxwidth="0"/>
          <cue><text dx="15" dy="80" size="14" /></cue>
        </rhythmzone>

      </panel>

      <panel id="updownsplitwave" group="waveform" visible="no">

        <rhythmzone class="waves" upsidedown="true">
          <size height="46"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm y="+0" height="38"/>
          <grid><pos y1="+40"/></grid>
          <cue height="46"><text dx="4" dy="26"/></cue>
        </rhythmzone>
        <rhythmzone class="waves">
          <pos y="+46"/>
          <size height="46"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm y="+8" height="38"/>
          <grid><pos y2="+0"/></grid>
          <cue height="46"><text dx="15" dy="5"/></cue>
        </rhythmzone>

        <rhythmzone class="bigwaves" upsidedown="true">
          <size height="92"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm y="+0" height="84"/>
          <grid><pos y1="+86"/></grid>
          <cue height="92"><text dx="4" dy="26"/></cue>
        </rhythmzone>
        <rhythmzone class="bigwaves">
          <pos y="+92"/>
          <size height="92"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm y="+8" height="84"/>
          <grid><pos y2="+0"/></grid>
          <cue height="92"><text dx="15" dy="5"/></cue>
        </rhythmzone>

      </panel>

      <panel id="mirroredsplitwave" group="waveform" visible="no">

        <rhythmzone class="waves">
          <size height="46"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm y="+0" height="39"/>
          <grid><pos y1="+40"/></grid>
          <cue height="46"/>
        </rhythmzone>
        <rhythmzone class="waves" upsidedown="true">
          <pos y="+46"/>
          <size height="46"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm y="+7" height="39"/>
          <grid><pos y2="+0"/></grid>
          <cue height="46"><text dy="33"/></cue>
        </rhythmzone>

        <rhythmzone class="bigwaves">
          <size height="92"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm y="+0" height="84"/>
          <grid><pos y1="+86"/></grid>
          <cue height="92"/>
        </rhythmzone>
        <rhythmzone class="bigwaves" upsidedown="true">
          <pos y="+92"/>
          <size height="92"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm y="+7" height="84"/>
          <grid><pos y2="+0"/></grid>
          <cue height="92"><text dy="79"/></cue>
        </rhythmzone>

      </panel>

      <panel id="mirrorededgegridsplitwave" group="waveform" visible="no">

        <rhythmzone class="waves">
          <size height="46"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm y="+7" height="39"/>
          <grid><pos y1="+2"/></grid>
          <cue height="46"><text dx="4" dy="8"/></cue>
        </rhythmzone>
        <rhythmzone class="waves" upsidedown="true">
          <pos y="+46"/>
          <size height="46"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm y="+1" height="39"/>
          <grid><pos y2="+39"/></grid>
          <cue y="+1" height="46"><text dx="4" dy="27"/></cue>
        </rhythmzone>

        <rhythmzone class="bigwaves">
          <size height="92"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm y="+7" height="84"/>
          <grid><pos y1="+2"/></grid>
          <cue height="92"><text dx="4" dy="8"/></cue>
        </rhythmzone>
        <rhythmzone class="bigwaves" upsidedown="true">
          <pos y="+92"/>
          <size height="92"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm y="+1" height="84"/>
          <grid><pos y2="+85"/></grid>
          <cue y="+1" height="92"><text dx="4" dy="72"/></cue>
        </rhythmzone>

      </panel>

      <panel id="mirrorednogridsplitwave" group="waveform" visible="no">

        <rhythmzone class="waves">
          <size height="46"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm height="45"/>
          <grid height="0" width="0" maxwidth="0"/>
          <cue height="46"><text dx="8" dy="0"/></cue>
        </rhythmzone>
        <rhythmzone class="waves" upsidedown="true">
          <pos y="+46"/>
          <size height="46"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm y="+0" height="45"/>
          <grid height="0" width="0" maxwidth="0"/>
          <cue y="+0" height="46"><text dx="4" dy="33"/></cue>
        </rhythmzone>

        <rhythmzone class="bigwaves">
          <size height="92"/>
          <colors deck1="#009fd2" deck2="" deck2_active=""/>
          <rhythm height="91"/>
          <grid height="0" width="0" maxwidth="0"/>
          <cue height="92"><text dx="8" dy="0"/></cue>
        </rhythmzone>
        <rhythmzone class="bigwaves" upsidedown="true">
          <pos y="+92"/>
          <size height="92"/>
          <colors deck1="" deck2="#cd0f10" deck1_active=""/>
          <rhythm y="+0" height="91"/>
          <grid height="0" width="0" maxwidth="0"/>
          <cue y="+0" height="92"><text dx="4" dy="79"/></cue>
        </rhythmzone>

      </panel>

      <panel id="mirrorwave" group="waveform" visible="no">

        <rhythmzone class="waves" mirror="true"/>
        <rhythmzone class="bigwaves" mirror="true"/>

      </panel>

      <panel id="mirrorwavenogrid" group="waveform" visible="no">

        <rhythmzone class="waves" mirror="true">
          <rhythm y="+0" height="91"/>
          <grid height="0" width="0" maxwidth="0"/>
        </rhythmzone>
        <rhythmzone class="bigwaves" mirror="true">
          <rhythm y="+0" height="183"/>
          <grid height="0" width="0" maxwidth="0"/>
        </rhythmzone>

      </panel>

      <panel id="horizontal_scratch_active" group="waveform" visible="no">

        <visual>
          <pos x="+0" y="+0"/>
          <size width="1372" height="92"/>
          <off x="11" y="937"/>
        </visual>

        <scratchwave class="scratch_hor" deck="left" visibility="not skin_panel 'bigwaves'"/>
        <scratchwave class="scratch_hor" deck="right" visibility="not skin_panel 'bigwaves'">
          <pos x="+0" y="+47"/>
        </scratchwave>

        <scratchwave class="scratch_hor" deck="left" visibility="skin_panel 'bigwaves'">
          <size height="91"/>
          <overlay><size height="92"/></overlay>
        </scratchwave>
        <scratchwave class="scratch_hor" deck="right" visibility="skin_panel 'bigwaves'">
          <pos x="+0" y="+92"/>
          <size height="91"/>
          <overlay><size height="92"/></overlay>
        </scratchwave>

      </panel> 

      <panel id="splitted_scratch_active" group="waveform" visible="no">

        <visual visibility="not skin_panel 'bigwaves'">
          <pos x="+0" y="+0"/>
          <size width="1372" height="92"/>
          <off x="11" y="937"/>
        </visual>
        <visual visibility="not skin_panel 'bigwaves'">
          <pos x="+682" y="+0"/>
          <size width="10" height="92"/>
          <off x="350" y="200"/>
        </visual>

        <visual visibility="skin_panel 'bigwaves'">
          <pos x="+0" y="+0"/>
          <size width="1372" height="184"/>
          <off x="11" y="937"/>
        </visual>
        <visual visibility="skin_panel 'bigwaves'">
          <pos x="+682" y="+0"/>
          <size width="10" height="184"/>
          <off x="350" y="200"/>
        </visual>

        <panel visibility="not skin_panel 'swap'">

          <scratchwave class="scratch_spl" deck="left" visibility="not skin_panel 'bigwaves'"/>
          <scratchwave class="scratch_spl" deck="right" visibility="not skin_panel 'bigwaves'">
            <pos x="+692"/>
          </scratchwave>

          <scratchwave class="scratch_spl" deck="left" visibility="skin_panel 'bigwaves'">
             <size height="184"/>
             <overlay><size height="184"/></overlay>
          </scratchwave>
          <scratchwave class="scratch_spl" deck="right" visibility="skin_panel 'bigwaves'">
            <pos x="+692"/>
            <size height="184"/>
            <overlay><size height="184"/></overlay>
          </scratchwave>

        </panel>

        <panel visibility="skin_panel 'swap'">

          <scratchwave class="scratch_spl" deck="right" visibility="not skin_panel 'bigwaves'"/>
          <scratchwave class="scratch_spl" deck="left" visibility="not skin_panel 'bigwaves'">
            <pos x="+692"/>
          </scratchwave>

          <scratchwave class="scratch_spl" deck="right" visibility="skin_panel 'bigwaves'">
             <size height="184"/>
             <overlay><size height="184"/></overlay>
          </scratchwave>
          <scratchwave class="scratch_spl" deck="left" visibility="skin_panel 'bigwaves'">
            <pos x="+692"/>
            <size height="184"/>
            <overlay><size height="184"/></overlay>
          </scratchwave>

        </panel>

      </panel> 

      <panel id="extragridlines" group="grids" visible="yes" visibility="not skin_pannel 'nowave'">

        <pannel id="full_length_grid" group="linetype" visibility="skin_panel 'perdeckwave' on ? false : skin_panel 'perdecknogridwave' on ? false : skin_panel 'perdeckmirrorwave' on ? false : skin_panel 'perdeckmirrornogridwave' on ? false : true">
  
          <rhythmzone class="waves" visibility="skin_panel 'horizontal_scratch_active' on ? false : skin_panel 'splitted_scratch_active' on ? false : skin_panel 'bigwaves' on ? false : true">
            <size height="1"/>
            <colors deck1="#007097" deck1_active="#007097" deck1_left="#007097" deck2="#8c0709" deck2_active="#8c0709" deck2_right="#8c0709"/>
            <rhythm y="+0" height="1"/>
            <grid height="92" maxwidth="2" width="1">
              <pos y1="+0" y2="+0"/>
            </grid>
            <cue y="+0" height="0"/>
          </rhythmzone>
      
          <rhythmzone class="bigwaves" visibility="skin_panel 'horizontal_scratch_active' on ? false : skin_panel 'splitted_scratch_active' on ? false : skin_panel 'bigwaves' on ? true : false">
            <size height="1"/>
            <colors deck1="#007097" deck1_active="#007097" deck1_left="#007097" deck2="#8c0709" deck2_active="#8c0709" deck2_right="#8c0709"/>
            <rhythm y="+0" height="1"/>
            <grid height="184" width="0" maxwidth="2">
              <pos y1="+0" y2="+0"/>
            </grid>
            <cue y="+0" height="0"/>
          </rhythmzone>
      
        </pannel>
    
        <pannel id="half_length_grid" group="linetype" visibility="skin_panel 'perdeckwave' on ? true : skin_panel 'perdecknogridwave' on ? true : skin_panel 'perdeckmirrorwave' on ? true : skin_panel 'perdeckmirrornogridwave' on ? true : false">
    
          <rhythmzone class="waves" center="+120" visibility="skin_panel 'horizontal_scratch_active' on ? false : skin_panel 'splitted_scratch_active' on ? false : skin_panel 'bigwaves' on ? false : true">
            <size width="483" height="1"/>
            <colors deck1="#007097" deck1_active="#007097" deck1_left="#007097" deck2="#8c0709" deck2_active="#8c0709" deck2_right="#8c0709"/>
            <rhythm y="+0" height="1"/>
            <grid height="92" width="1" maxwidth="1">
              <pos y1="+0" y2="+0" />
            </grid>
            <cue y="+0" height="0"/>
            <overlay><size width="0" height="0"/></overlay>
          </rhythmzone>
          <rhythmzone class="waves" center="+120" visibility="skin_panel 'horizontal_scratch_active' on ? false : skin_panel 'splitted_scratch_active' on ? false : skin_panel 'bigwaves' on ? false : true">
            <pos x="+891"/>
            <size width="483" height="1"/>
            <colors deck1="#007097" deck1_active="#007097" deck1_left="#007097" deck2="#8c0709" deck2_active="#8c0709" deck2_right="#8c0709"/>
            <rhythm y="+0" height="1"/>
            <grid height="92" width="1" maxwidth="1">
              <pos y1="+0" y2="+0" />
            </grid>
            <cue y="+0" height="0"/>
            <overlay><size width="0" height="0"/></overlay>
          </rhythmzone>
      
          <rhythmzone class="bigwaves" center="+120" visibility="skin_panel 'horizontal_scratch_active' on ? false : skin_panel 'splitted_scratch_active' on ? false : skin_panel 'waves' on ? false : true">
            <size width="483" height="1"/>
            <colors deck1="#007097" deck1_active="#007097" deck1_left="#007097" deck2="#8c0709" deck2_active="#8c0709" deck2_right="#8c0709"/>
            <rhythm y="+0" height="1"/>
            <grid height="184" width="1" maxwidth="1">
              <pos y1="+0" y2="+0" />
            </grid>
            <cue y="+0" height="0"/>
            <overlay><size width="0" height="0"/></overlay>
          </rhythmzone>
          <rhythmzone class="bigwaves" center="+120" visibility="skin_panel 'horizontal_scratch_active' on ? false : skin_panel 'splitted_scratch_active' on ? false : skin_panel 'waves' on ? false : true">
            <pos x="+891"/>
            <size width="483" height="1"/>
            <colors deck1="#007097" deck1_active="#007097" deck1_left="#007097" deck2="#8c0709" deck2_active="#8c0709" deck2_right="#8c0709"/>
            <rhythm y="+0" height="1"/>
            <grid height="184" width="1" maxwidth="1">
              <pos y1="+0" y2="+0" />
            </grid>
            <cue y="+0" height="0"/>
            <overlay><size width="0" height="0"/></overlay>
          </rhythmzone>
      
        </pannel>

      </panel>       

      <slider action="zoom &amp; zoom_scratch" rightclick="temporary" dblclick="reset" orientation="vertical" visibility="not skin_panel 'bigwaves' & 70%">
        <pos x="-25" y="+5"/>
        <size width="13" height="80"/>
        <fader>
          <size width="13" height="11"/>
          <pos x="836" y="1458"/>
        </fader>
      </slider>

      <slider action="zoom &amp; zoom_scratch" rightclick="temporary" dblclick="reset" orientation="vertical" visibility="skin_panel 'bigwaves'">
        <pos x="-25" y="+5"/>
        <size width="13" height="172"/>
        <fader>
          <size width="13" height="11"/>
          <pos x="836" y="1458"/>
        </fader>
      </slider>

      <button class="zoom_button" action="zoom 'save'">
        <pos x="+1382" y="+10"/>
        <text format="S"/>
      </button>

      <button class="zoom_button" action="zoom 'default' &amp; zoom_scratch 'default'">
        <pos x="+1382" y="+35"/>
        <text format="D"/>
      </button>

      <button class="zoom_button" action="zoom 'recall'">
        <pos x="+1382" y="+59"/>
        <text format="R"/>
      </button>

      <panel id="wave_dimmer_25" group="wave_dimmer" visible="no" visibility="not skin_panel 'bigwaves'">
        <visual type="color" source="constant '#000000'" visibility="25%" tooltip=""><pos x="+0" y="+0"/><size width="1372" height="92"/></visual>
      </panel>

      <panel id="wave_dimmer_25" group="wave_dimmer" visible="no" visibility="skin_panel 'bigwaves'">
        <visual type="color" source="constant '#000000'" visibility="25%" tooltip=""><pos x="+0" y="+0"/><size width="1372" height="184"/></visual>
      </panel>

      <panel id="wave_dimmer_50" group="wave_dimmer" visible="no" visibility="not skin_panel 'bigwaves'">
        <visual type="color" source="constant '#000000'" visibility="50%" tooltip=""><pos x="+0" y="+0"/><size width="1372" height="92"/></visual>
      </panel>

      <panel id="wave_dimmer_50" group="wave_dimmer" visible="no" visibility="skin_panel 'bigwaves'">
        <visual type="color" source="constant '#000000'" visibility="50%" tooltip=""><pos x="+0" y="+0"/><size width="1372" height="184"/></visual>
      </panel>

      <panel id="perdeck_center" visibility="skin_panel 'perdeckwave' ? true : skin_panel 'perdecknogridwave' ? true : skin_panel 'perdeckmirrorwave' ? true : skin_panel 'perdeckmirrornogridwave' ? true : false">
  
        <pos x="+483" y="+0"/>
        
        <visual visibility="not skin_panel 'bigwaves'">
          <pos x="+0" y="+0"/>
          <size width="408" height="92"/>
          <off x="350" y="200"/>
        </visual>

        <visual visibility="skin_panel 'bigwaves'">
          <pos x="+0" y="+0"/>
          <size width="408" height="184"/>
          <off x="350" y="200"/>
        </visual>

        <pannel id="perdeck_sampler" group="perdeck_center" visible="no">
    
          <sampler visibility="not skin_panel 'bigwaves'">
            <pos x="+35" y="+0"/>
            <size width="368" height="92"/>
          </sampler>

          <sampler visibility="skin_panel 'bigwaves'">
            <pos x="+35" y="+0"/>
            <size width="368" height="184"/>
          </sampler>

          <textzone action="sampler_bank +1" rightclick="sampler_bank -1" orientation="vertical">
            <size width="30" height="56" />	
            <pos x="+5" y="+30"/>
            <text action="get_sampler_bank" align="center" size="12"/>
          </textzone>

        </pannel>
    
        <pannel id="perdeck_master_vu" group="perdeck_center" y="+20" visible="yes">
    
          <panel class="vu_master" x="+43"/>
          <panel class="mixer_master_topknobs" x="+10" y="+70" visibility="skin_panel 'bigwaves'"/>
    
        </pannel>
  
        <pannel id="perdeck_master" group="perdeck_center" x="+10" y="+10" visible="no">
    
          <panel class="mixer_master_topknobs" x="+0" y="+0" visibility="100%"/>

          <panel visibility="skin_panel 'bigwaves'">

            <panel class="crossfader_bundle" x="+97" y="+87"/>
    
            <menu name="perdeck_menu">
              <tooltip>PER DECK SETTINGS\nChoose the center-panel's layout and options</tooltip>
              <pos x="+143" y="+145"/>
              <size width="26" height="26"/>
              <icon x="703" y="1416" height="26" dx="0" dy="0" />
              <item text="Crossfader" action="skin_panel 'crossfader' on" check="skin_panel 'crossfader' on"/>
              <item text="Master FX" action="skin_panel 'cross_masterfx' on" check="skin_panel 'cross_masterfx' on"/>
              <item text="Sampler levels" action="skin_panel 'cross_smp_vol' on" check="skin_panel 'cross_smp_vol' on"/>
              <item text="Beat matcher" action="skin_panel 'cross_beat_matcher' on" check="skin_panel 'cross_beat_matcher' on"/>
              <item text="Beat phaser" action="skin_panel 'cross_phaser' on" check="skin_panel 'cross_phaser' on"/>
              <item text="Custom 1" action="skin_panel 'cross_custom' on" check="skin_panel 'cross_custom' on"/>
              <item text="Custom 2" action="skin_panel 'cross_custom_2' on" check="skin_panel 'cross_custom_2' on"/>
              <item text="Disable" action="skin_panel 'cross_no' on" check="skin_panel 'cross_no' on"/>
            </menu>

            <panel class="knob_master" x="+25" y="+103"><visual/>
              <slider action="master_balance" dblclick="master_balance 50%" rightclick="temporary" tooltip="MASTER BALANCE\nLeft ? Or right ?"/>
              <slider action="master_balance" dblclick="master_balance 50%" rightclick="temporary" tooltip="MASTER BALANCE\nLeft ? Or right ?" frommiddle="true"/>
              <textzone><text format="BAL"/><text2 action="master_balance &amp; param_cast 'percentage'"/></textzone>
            </panel>

            <panel class="knob_master" x="+321" y="+103"><visual/>
              <slider action="booth_volume" dblclick="booth_volume 0%" rightclick="temporary" tooltip="BOOTH VOLUME"/>
              <slider action="booth_volume" dblclick="booth_volume 0%" rightclick="temporary" tooltip="BOOTH VOLUME" frommiddle="false"/>
              <textzone><text format="BOOTH"/><text2 action="booth_volume  &amp; param_cast 'percentage'"/></textzone>
            </panel>

          </panel>

        </pannel>
  
        <menu>
          <tooltip>MASTER MENU\nSwitch between several master tabs</tooltip>
          <pos x="+10" y="+5"/>
          <size width="20" height="25"/>
          <off x="251" y="1320"/>
          <over x="226" y="1320"/>
          <item text="Master Vu" action="skin_panel 'perdeck_master_vu' on" check="skin_panel 'perdeck_master_vu' on"/>
          <item text="Master" action="skin_panel 'perdeck_master' on" check="skin_panel 'perdeck_master' on"/>
          <item text="Sidelist" action="skin_panel 'perdeck_sideview' on" check="skin_panel 'perdeck_sideview' on"/>
          <item text="Video" action="skin_panel 'perdeck_video' on" check="skin_panel 'perdeck_video' on"/>
          <item text="Sampler" action="skin_panel 'perdeck_sampler' on" check="skin_panel 'perdeck_sampler' on"/>
      </menu>
      
      </panel>

      <panel visibility="not skin_panel 'swap'">

        <deck deck="left"><panel class="times_L" x="-239" y="+21" visibility="skin_panel 'withnodecks' ? true : skin_panel 'withnodecks2' ? true : skin_panel 'nowave' ? false : true"/></deck>
        <deck deck="right"><panel class="times_R" x="+1405" y="+21" visibility="skin_panel 'withnodecks' ? true : skin_panel 'withnodecks2' ? true : skin_panel 'nowave' ? false : true"/></deck>

      </panel>

      <panel visibility="skin_panel 'swap'">

        <deck deck="right"><panel class="times_L" x="-239" y="+21" visibility="skin_panel 'withnodecks' ? true : skin_panel 'withnodecks2' ? true : skin_panel 'nowave' ? false : true"/></deck>
        <deck deck="left"><panel class="times_R" x="+1405" y="+21" visibility="skin_panel 'withnodecks' ? true : skin_panel 'withnodecks2' ? true : skin_panel 'nowave' ? false : true"/></deck>

      </panel>

    </define>

    <define class="sidebar_default_cues">
    
      <button class="sidebutton" x="+6" y="+37" action="hot_cue 1" rightclick="holding 2000ms ? delete_cue 1 : goto_cue 1" tooltip="Hot Cue 1\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="1\n%Pfromcue1"/></button>
      <button class="sidebutton" x="+6+54" y="+37" action="hot_cue 2" rightclick="holding 2000ms ? delete_cue 2 : goto_cue 2" tooltip="Hot Cue 2\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="2\n%Pfromcue2"/></button>
      <button class="sidebutton" x="+6+54+54" y="+37" action="hot_cue 3" rightclick="holding 2000ms ? delete_cue 3 : goto_cue 3" tooltip="Hot Cue 3\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="3\n%Pfromcue3"/></button>
      <button class="sidebutton" x="+6+54+54+54" y="+37" action="hot_cue 4" rightclick="holding 2000ms ? delete_cue 4 : goto_cue 4" tooltip="Hot Cue 4\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="4\n%Pfromcue4"/></button>
      <button class="sidebutton" x="+6" y="+37+45" action="hot_cue 5" rightclick="holding 2000ms ? delete_cue 5 : goto_cue 5" tooltip="Hot Cue 5\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="5\n%Pfromcue5"/></button>
      <button class="sidebutton" x="+6+54" y="+37+45" action="hot_cue 6" rightclick="holding 2000ms ? delete_cue 6 : goto_cue 6" tooltip="Hot Cue 6\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="6\n%Pfromcue6"/></button>
      <button class="sidebutton" x="+6+54+54" y="+37+45" action="hot_cue 7" rightclick="holding 2000ms ? delete_cue 7 : goto_cue 7" tooltip="Hot Cue 7\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="7\n%Pfromcue7"/></button>
      <button class="sidebutton" x="+6+54+54+54" y="+37+45" action="hot_cue 8" rightclick="holding 2000ms ? delete_cue 8 : goto_cue 8" tooltip="Hot Cue 8\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="8\n%Pfromcue8"/></button>
    
      <button class="sidebutton_flat" x="+6" y="+37" action="hot_cue 1" rightclick="holding 2000ms ? delete_cue 1 : goto_cue 1" tooltip="Hot Cue 1\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="1\n%Pfromcue1"/></button>
      <button class="sidebutton_flat" x="+6+54" y="+37" action="hot_cue 2" rightclick="holding 2000ms ? delete_cue 2 : goto_cue 2" tooltip="Hot Cue 2\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="2\n%Pfromcue2"/></button>
      <button class="sidebutton_flat" x="+6+54+54" y="+37" action="hot_cue 3" rightclick="holding 2000ms ? delete_cue 3 : goto_cue 3" tooltip="Hot Cue 3\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="3\n%Pfromcue3"/></button>
      <button class="sidebutton_flat" x="+6+54+54+54" y="+37" action="hot_cue 4" rightclick="holding 2000ms ? delete_cue 4 : goto_cue 4" tooltip="Hot Cue 4\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="4\n%Pfromcue4"/></button>
      <button class="sidebutton_flat" x="+6" y="+37+45" action="hot_cue 5" rightclick="holding 2000ms ? delete_cue 5 : goto_cue 5" tooltip="Hot Cue 5\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="5\n%Pfromcue5"/></button>
      <button class="sidebutton_flat" x="+6+54" y="+37+45" action="hot_cue 6" rightclick="holding 2000ms ? delete_cue 6 : goto_cue 6" tooltip="Hot Cue 6\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="6\n%Pfromcue6"/></button>
      <button class="sidebutton_flat" x="+6+54+54" y="+37+45" action="hot_cue 7" rightclick="holding 2000ms ? delete_cue 7 : goto_cue 7" tooltip="Hot Cue 7\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="7\n%Pfromcue7"/></button>
      <button class="sidebutton_flat" x="+6+54+54+54" y="+37+45" action="hot_cue 8" rightclick="holding 2000ms ? delete_cue 8 : goto_cue 8" tooltip="Hot Cue 8\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="8\n%Pfromcue8"/></button>
    
    </define>

    <define class="sidebar_default_fx">
    
      <panel class="fx_dropdown_verysmall" x="+5" y="+37"/>

      <panel class="knob" x="+5" y="+74">

        <visual/>
        <slider action="effect_slider 1" dblclick="effect_slider_reset 1" disabled="not effect_has_slider 1" tooltip="FX Param 1"/>
        <slider action="effect_slider 1" dblclick="effect_slider_reset 1" disabled="not effect_has_slider 1" tooltip="FX Param 1" frommiddle="get_effect_slider_default 1 0.5"/>
        <textzone><text action="get_effect_slider_label 1" /></textzone>

      </panel>

      <panel class="knob" x="+60" y="+74">

        <visual/>
        <slider action="effect_slider 2" dblclick="effect_slider_reset 2" disabled="not effect_has_slider 2" tooltip="FX Param 2"/>
        <slider action="effect_slider 2" dblclick="effect_slider_reset 2" disabled="not effect_has_slider 2" tooltip="FX Param 2" frommiddle="get_effect_slider_default 2 0.5"/>
        <textzone><text action="get_effect_slider_label 2" /></textzone>

      </panel>

      <panel class="knob" x="+115" y="+74">

        <visual/>
        <slider action="effect_slider 3" dblclick="effect_slider_reset 3" disabled="not effect_has_slider 3" tooltip="FX Param 3"/>
        <slider action="effect_slider 3" dblclick="effect_slider_reset 3" disabled="not effect_has_slider 3" tooltip="FX Param 3" frommiddle="get_effect_slider_default 3 0.5"/>
        <textzone><text action="get_effect_slider_label 3" /></textzone>

      </panel>

      <panel class="knob" x="+170" y="+74">

        <visual/>
        <slider action="effect_slider 4" dblclick="effect_slider_reset 4" disabled="not effect_has_slider 4" tooltip="FX Param 4"/>
        <slider action="effect_slider 4" dblclick="effect_slider_reset 4" disabled="not effect_has_slider 4" tooltip="FX Param 4" frommiddle="get_effect_slider_default 4 0.5"/>
        <textzone><text action="get_effect_slider_label 4" /></textzone>

      </panel>

      <button class="custom_mixer" action="effect_button 1 && on" rightclick="temporary effect_button 1" disabled="not effect_has_button 1" tooltip="FX Button 1"><pos x="+106" y="+39"/><text action="get_effect_button_name 1"/></button>
      <button class="custom_mixer_flat" action="effect_button 1 && on" rightclick="temporary effect_button 1" disabled="not effect_has_button 1" tooltip="FX Button 1"><pos x="+106" y="+39"/><text action="get_effect_button_name 1"/></button>

      <button class="custom_mixer" action="effect_button 2" rightclick="temporary effect_button 2" disabled="not effect_has_button 2" tooltip="FX Button 2"><pos x="+146" y="+39"/><text action="get_effect_button_name 2"/></button>
      <button class="custom_mixer_flat" action="effect_button 2" rightclick="temporary effect_button 2" disabled="not effect_has_button 2" tooltip="FX Button 2"><pos x="+146" y="+39"/><text action="get_effect_button_name 2"/></button>

      <button class="custom_mixer" action="effect_button 3" rightclick="temporary effect_button 3" disabled="not effect_has_button 3" tooltip="FX Button 3"><pos x="+186" y="+39"/><text action="get_effect_button_name 3"/></button>
      <button class="custom_mixer_flat" action="effect_button 3" rightclick="temporary effect_button 3" disabled="not effect_has_button 3" tooltip="FX Button 3"><pos x="+186" y="+39"/><text action="get_effect_button_name 3"/></button>

    </define>
    
    <define class="sidebar_default_loop">
    
      <visual class="loop_line" x="+30" y="+39"/>
      <panel class="quickloop" x="+66" y="+66"/>
      <button class="sidebutton" x="+53" y="+105" action="loop_in" tooltip="LOOP IN\nSet loop entry point"><text format="IN"/></button>
      <button class="sidebutton" x="+115" y="+105" action="loop_out" tooltip="LOOP OUT\nSet loop exit point"><text format="OUT"/></button>
      <button class="sidebutton_flat" x="+53" y="+105" action="loop_in" tooltip="LOOP IN\nSet loop entry point"><text format="IN"/></button>
      <button class="sidebutton_flat" x="+115" y="+105" action="loop_out" tooltip="LOOP OUT\nSet loop exit point"><text format="OUT"/></button>

      <group name="option" x="+13" y="+72">

        <textzone class="options_text" x="-5" y="-15"><text format="BACK"/></textzone>
        <button class="options" x="+0" y="+0" action="loop_back" tooltip="INVERTED LOOP\nSet loop direction to be backwards"/>

      </group>

      <group name="option" x="+13" y="+122">

        <textzone class="options_text" x="-5" y="-15"><text format="AUTO"/></textzone>
        <button class="options" x="+0" y="+0" action="smart_loop" tooltip="SMART LOOP\nAutomatically make the loop seamless"/>

      </group>

      <group name="option" x="+188" y="+72">

        <textzone class="options_text" x="-8" y="-15"><text format="128"/></textzone>
        <button class="options" x="+0" y="+0" action="loop 128" tooltip="LOOP 128\nLet's make a long loop"/>

      </group>

      <group name="option" x="+188" y="+122">

        <textzone class="options_text" x="-8" y="-15"><text format="256"/></textzone>
        <button class="options" x="+0" y="+0" action="loop 256" tooltip="LOOP 256\nLet's make a long loop"/>

      </group>

    </define>
    
    <define class="sidebar_mini_cues">
    
      <button class="sidebutton" x="+6" y="+32" action="hot_cue 1" rightclick="holding 2000ms ? delete_cue 1 : goto_cue 1" tooltip="Hot Cue 1\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="1\n%Pfromcue1"/></button>
      <button class="sidebutton" x="+6+54" y="+32" action="hot_cue 2" rightclick="holding 2000ms ? delete_cue 2 : goto_cue 2" tooltip="Hot Cue 2\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="2\n%Pfromcue2"/></button>
      <button class="sidebutton" x="+6+54+54" y="+32" action="hot_cue 3" rightclick="holding 2000ms ? delete_cue 3 : goto_cue 3" tooltip="Hot Cue 3\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="3\n%Pfromcue3"/></button>
      <button class="sidebutton" x="+6+54+54+54" y="+32" action="hot_cue 4" rightclick="holding 2000ms ? delete_cue 4 : goto_cue 4" tooltip="Hot Cue 4\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="4\n%Pfromcue4"/></button>

      <button class="sidebutton_flat" x="+6" y="+32" action="hot_cue 1" rightclick="holding 2000ms ? delete_cue 1 : goto_cue 1" tooltip="Hot Cue 1\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="1\n%Pfromcue1"/></button>
      <button class="sidebutton_flat" x="+6+54" y="+32" action="hot_cue 2" rightclick="holding 2000ms ? delete_cue 2 : goto_cue 2" tooltip="Hot Cue 2\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="2\n%Pfromcue2"/></button>
      <button class="sidebutton_flat" x="+6+54+54" y="+32" action="hot_cue 3" rightclick="holding 2000ms ? delete_cue 3 : goto_cue 3" tooltip="Hot Cue 3\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="3\n%Pfromcue3"/></button>
      <button class="sidebutton_flat" x="+6+54+54+54" y="+32" action="hot_cue 4" rightclick="holding 2000ms ? delete_cue 4 : goto_cue 4" tooltip="Hot Cue 4\nRightclick to go to cue\nHold right to delete cue"><text size="15" format="4\n%Pfromcue4"/></button>

    </define>

    <define class="sidebar_mini_fx">
    
      <panel class="fx_dropdown_verysmall" x="+5" y="+42"/>

      <panel class="knob" x="+85" y="+34">

        <visual/>
        <slider action="effect_slider 1" dblclick="effect_slider_reset 1" disabled="not effect_has_slider 1" tooltip="FX Param 1"/>
        <slider action="effect_slider 1" dblclick="effect_slider_reset 1" disabled="not effect_has_slider 1" tooltip="FX Param 1" frommiddle="get_effect_slider_default 1 0.5"/>
        <textzone><text action="get_effect_slider_label 1" /></textzone>

      </panel>
          
      <panel class="knob" x="+134" y="+34">

        <visual/>
        <slider action="effect_slider 2" dblclick="effect_slider_reset 2" disabled="not effect_has_slider 2" tooltip="FX Param 2"/>
        <slider action="effect_slider 2" dblclick="effect_slider_reset 2" disabled="not effect_has_slider 2" tooltip="FX Param 2" frommiddle="get_effect_slider_default 2 0.5"/>
        <textzone><text action="get_effect_slider_label 2" /></textzone>

      </panel>
          
      <button class="custom_mixer" action="effect_button 1 && on" rightclick="temporary effect_button 1" disabled="not effect_has_button 1" tooltip="FX Button 1"><pos x="+186" y="+45"/><text action="get_effect_button_name 1"/></button>
      <button class="custom_mixer_flat" action="effect_button 1 && on" rightclick="temporary effect_button 1" disabled="not effect_has_button 1" tooltip="FX Button 1"><pos x="+186" y="+45"/><text action="get_effect_button_name 1"/></button>

    </define>

    <define class="sidebar_mini_loops">
    
      <button class="sidebutton" x="+6" y="+33" action="loop_in" tooltip="LOOP IN\n Set loop entry point"><text format="IN"/></button>
      <button class="sidebutton" x="+6+54+54+54" y="+33" action="loop_out" tooltip="LOOP OUT\n Set loop exit point"><text format="OUT"/></button>
      <button class="sidebutton_flat" x="+6" y="+33" action="loop_in" tooltip="LOOP IN\n Set loop entry point"><text format="IN"/></button>
      <button class="sidebutton_flat" x="+6+54+54+54" y="+33" action="loop_out" tooltip="LOOP OUT\n Set loop exit point"><text format="OUT"/></button>

      <panel class="quickloop" x="+68" y="+37"/>

    </define>

    <define class="sidebar_loops_loop">
    
      <button class="custombutton" x="+30" y="+32" action="sampler_rec" rightclick="sampler_options" dlbclick="sampler_abort_rec"><text format="REC"/></button>
      <button class="custombutton_flat" x="+30" y="+32" action="sampler_rec" rightclick="sampler_options" dlbclick="sampler_abort_rec"><text format="REC"/></button>
      <button class="custombutton" x="+30+56" y="+32" action="loop_save"><text format="SAVE"/></button>
      <button class="custombutton_flat" x="+30+56" y="+32" action="loop_save"><text format="SAVE"/></button>
      <button class="custombutton" x="+30+56+56" y="+32" action="loop_load"><text format="LOAD"/></button>
      <button class="custombutton_flat" x="+30+56+56" y="+32" action="loop_load"><text format="LOAD"/></button>
      <visual class="loop_line" x="+30" y="+69"/>
      <visual class="loop_icons" x="+72" y="+87"/>

      <panel class="knob_infinite" x="+62" y="+102">

        <visual/><slider action="loop_move" tooltip="MOVE LOOP"/>

      </panel>

      <panel class="knob_infinite" x="+115" y="+102">

        <visual/><slider action="loop_length" tooltip="LOOP SIZE"/>

      </panel>

      <panel class="quickloop" x="+66" y="+162"/>

      <button class="sidebutton" x="+53" y="+201" action="loop_in" tooltip="LOOP IN\nSet loop entry point"><text format="IN"/></button>
      <button class="sidebutton" x="+115" y="+201" action="loop_out" tooltip="LOOP OUT\nSet loop exit point"><text format="OUT"/></button>
      <button class="sidebutton_flat" x="+53" y="+201" action="loop_in" tooltip="LOOP IN\nSet loop entry point"><text format="IN"/></button>
      <button class="sidebutton_flat" x="+115" y="+201" action="loop_out" tooltip="LOOP OUT\nSet loop exit point"><text format="OUT"/></button>

      <group name="option" x="+13" y="+116">

        <textzone class="options_text" x="-5" y="-15"><text format="ROLL"/></textzone>
        <button class="options" x="+0" y="+0" action="loop_roll_mode" tooltip="LOOP ROLL\nSong keep moving in background, at release of loop position is kept as if you didnt loop at all"/>

      </group>

      <group name="option" x="+13" y="+168">

        <textzone class="options_text" x="-5" y="-15"><text format="BACK"/></textzone>
        <button class="options" x="+0" y="+0" action="loop_back" tooltip="INVERTED LOOP\nSet loop direction to be backwards"/>

      </group>

      <group name="option" x="+13" y="+218">

        <textzone class="options_text" x="-5" y="-15"><text format="AUTO"/></textzone>
        <button class="options" x="+0" y="+0" action="smart_loop" tooltip="SMART LOOP\nAutomatically make the loop seamless"/>

      </group>

      <group name="option" x="+188" y="+116">

        <textzone class="options_text" x="-8" y="-15"><text format="128"/></textzone>
        <button class="options" x="+0" y="+0" action="loop 128" tooltip="LOOP 128\nLet's make a long loop"/>

      </group>

      <group name="option" x="+188" y="+168">

        <textzone class="options_text" x="-8" y="-15"><text format="256"/></textzone>
        <button class="options" x="+0" y="+0" action="loop 256" tooltip="LOOP 256\nLet's make a long loop"/>

      </group>

    </define>

    <define class="sidebar_fx_fx">

      <group name="slot1" x="+5" y="+32">

        <textzone class="slot_text" x="+0" y="+0"><text format="SLOT 1"/></textzone>

        <panel class="fx_dropdown_verysmall" x="+0" y="+20" width="30">

          <button action="effect_active 1"><text action="get effect_name 1"/></button>
          <button action="effect_select 1" rightclick="effect_show_gui 1"/>

        </panel>

        <panel class="knob" x="+80" y="+0">

          <visual/>
          <slider action="effect_slider 1 1" dblclick="effect_slider_reset 1 1" disabled="not effect_has_slider 1 1" tooltip="FX 1 Param"/>
          <slider action="effect_slider 1 1" dblclick="effect_slider_reset 1 1" disabled="not effect_has_slider 1 1" tooltip="FX 1 Param" frommiddle="get_effect_slider_default 1 1 0.5"/>
          <textzone><text action="get_effect_slider_label 1 1" /></textzone>

        </panel>

        <panel class="knob" x="+129" y="+0">

          <visual/>
          <slider action="effect_slider 1 2" dblclick="effect_slider_reset 1 2" disabled="not effect_has_slider 1 2" tooltip="FX 1 Param"/>
          <slider action="effect_slider 1 2" dblclick="effect_slider_reset 1 2" disabled="not effect_has_slider 1 2" tooltip="FX 1 Param" frommiddle="get_effect_slider_default 1 2 0.5"/>
          <textzone><text action="get_effect_slider_label 1 2" /></textzone>

        </panel>

        <button class="custom_mixer" action="effect_button 1 1" rightclick="temporary" disabled="not effect_has_button 1 1" tooltip="FX 1 Button 1"><pos x="+181" y="+12"/><text action="get_effect_button_name 1 1"/></button>
        <button class="custom_mixer_flat" action="effect_button 1 1" rightclick="temporary" disabled="not effect_has_button 1 1" tooltip="FX 1 Button 1"><pos x="+181" y="+12"/><text action="get_effect_button_name 1 1"/></button>

      </group>

      <group name="slot2" x="+5" y="+32+58">

        <textzone class="slot_text" x="+0" y="+0"><text format="SLOT 2"/></textzone>

        <panel class="fx_dropdown_verysmall" x="+0" y="+20">

          <button action="effect_active 2"><text action="get effect_name 2"/></button>
          <button action="effect_select 2" rightclick="effect_show_gui 2"/>

        </panel>

        <panel class="knob" x="+80">

          <visual/>
          <slider action="effect_slider 2 1" dblclick="effect_slider_reset 2 1" disabled="not effect_has_slider 2 1" tooltip="FX 2 Param"/>
          <slider action="effect_slider 2 1" dblclick="effect_slider_reset 2 1" disabled="not effect_has_slider 2 1" tooltip="FX 2 Param" frommiddle="get_effect_slider_default 2 1 0.5"/>
          <textzone><text action="get_effect_slider_label 2 1" /></textzone>

        </panel>

        <panel class="knob" x="+129">

          <visual/>
          <slider action="effect_slider 2 2" dblclick="effect_slider_reset 2 2" disabled="not effect_has_slider 2 2" tooltip="FX 2 Param"/>
          <slider action="effect_slider 2 2" dblclick="effect_slider_reset 2 2" disabled="not effect_has_slider 2 2" tooltip="FX 2 Param" frommiddle="get_effect_slider_default 2 2 0.5"/>
          <textzone><text action="get_effect_slider_label 2 2" /></textzone>

        </panel>

        <button class="custom_mixer" action="effect_button 2 1" rightclick="temporary" disabled="not effect_has_button 2 1" tooltip="FX 2 Button 1"><pos x="+181" y="+12"/><text action="get_effect_button_name 2 1"/></button>
        <button class="custom_mixer_flat" action="effect_button 2 1" rightclick="temporary" disabled="not effect_has_button 2 1" tooltip="FX 2 Button 1"><pos x="+181" y="+12"/><text action="get_effect_button_name 2 1"/></button>

      </group>

      <group name="slot3" x="+5" y="+32+116">

        <textzone class="slot_text" x="+0" y="+0"><text format="SLOT 3"/></textzone>

        <panel class="fx_dropdown_verysmall" x="+0" y="+20">

          <button action="effect_active 3"><text action="get effect_name 3"/></button>
          <button action="effect_select 3" rightclick="effect_show_gui 3"/>

        </panel>

        <panel class="knob" x="+80">

          <visual/>
          <slider action="effect_slider 3 1" dblclick="effect_slider_reset 3 1" disabled="not effect_has_slider 3 1" tooltip="FX 3 Param"/>
          <slider action="effect_slider 3 1" dblclick="effect_slider_reset 3 1" disabled="not effect_has_slider 3 1" tooltip="FX 3 Param" frommiddle="get_effect_slider_default 3 1 0.5"/>
          <textzone><text action="get_effect_slider_label 3 1" /></textzone>

        </panel>

        <panel class="knob" x="+129">

          <visual/>
          <slider action="effect_slider 3 2" dblclick="effect_slider_reset 3 2" disabled="not effect_has_slider 3 2" tooltip="FX 3 Param"/>
          <slider action="effect_slider 3 2" dblclick="effect_slider_reset 3 2" disabled="not effect_has_slider 3 2" tooltip="FX 3 Param" frommiddle="get_effect_slider_default 3 2 0.5"/>
          <textzone><text action="get_effect_slider_label 3 2" /></textzone>

        </panel>

        <button class="custom_mixer" action="effect_button 3 1" rightclick="temporary" disabled="not effect_has_button 3 1" tooltip="FX 3 Button 1"><pos x="+181" y="+12"/><text action="get_effect_button_name 3 1"/> </button>
        <button class="custom_mixer_flat" action="effect_button 3 1" rightclick="temporary" disabled="not effect_has_button 3 1" tooltip="FX 3 Button 1"><pos x="+181" y="+12"/><text action="get_effect_button_name 3 1"/> </button>

      </group>

      <group name="slot4" x="+5" y="+32+174">

        <textzone class="slot_text" x="+0" y="+0"><text format="SLOT 4"/></textzone>

        <panel class="fx_dropdown_verysmall" x="+0" y="+20">

          <button action="effect_active 4"><text action="get effect_name 4"/></button>
          <button action="effect_select 4" rightclick="effect_show_gui 4"/>

        </panel>

        <panel class="knob" x="+80">

          <visual/>
          <slider action="effect_slider 4 1" dblclick="effect_slider_reset 4 1" disabled="not effect_has_slider 4 1" tooltip="FX 4 Param"/>
          <slider action="effect_slider 4 1" dblclick="effect_slider_reset 4 1" disabled="not effect_has_slider 4 1" tooltip="FX 4 Param" frommiddle="get_effect_slider_default 4 1 0.5"/>
          <textzone><text action="get_effect_slider_label 4 1" /></textzone>

        </panel>

        <panel class="knob" x="+129">

          <visual/>
          <slider action="effect_slider 4 2" dblclick="effect_slider_reset 4 2" disabled="not effect_has_slider 4 2" tooltip="FX 4 Param"/>
          <slider action="effect_slider 4 2" dblclick="effect_slider_reset 4 2" disabled="not effect_has_slider 4 2" tooltip="FX 4 Param" frommiddle="get_effect_slider_default 4 2 0.5"/>
          <textzone><text action="get_effect_slider_label 4 2" /></textzone>

        </panel>

        <button class="custom_mixer" action="effect_button 4 1" rightclick="temporary" disabled="not effect_has_button 4 1" tooltip="FX 4 Button 1"><pos x="+181" y="+12"/><text action="get_effect_button_name 4 1"/></button>
        <button class="custom_mixer_flat" action="effect_button 4 1" rightclick="temporary" disabled="not effect_has_button 4 1" tooltip="FX 4 Button 1"><pos x="+181" y="+12"/><text action="get_effect_button_name 4 1"/></button>

   </group>

    </define>

    <define class="sidebar_cues_cue">
    
      <button class="custombutton" x="+8+3" y="+31+0" action="hot_cue 1" rightclick="goto_cue 1"><text size="13" color="#e1e1e1" format="1"/></button>
      <button class="custombutton" x="+8+3" y="+31+30" action="hot_cue 2" rightclick="goto_cue 2"><text size="13" color="#e1e1e1" format="2"/></button>
      <button class="custombutton" x="+8+3" y="+31+60" action="hot_cue 3" rightclick="goto_cue 3"><text size="13" color="#e1e1e1" format="3"/></button>
      <button class="custombutton" x="+8+3" y="+31+90" action="hot_cue 4" rightclick="goto_cue 4"><text size="13" color="#e1e1e1" format="4"/></button>
      <button class="custombutton" x="+8+3" y="+31+120" action="hot_cue 5" rightclick="goto_cue 5"><text size="13" color="#e1e1e1" format="5"/></button>
      <button class="custombutton" x="+8+3" y="+31+150" action="hot_cue 6" rightclick="goto_cue 6"><text size="13" color="#e1e1e1" format="6"/></button>
      <button class="custombutton" x="+8+3" y="+31+180" action="hot_cue 7" rightclick="goto_cue 7"><text size="13" color="#e1e1e1" format="7"/></button>
      <button class="custombutton" x="+8+3" y="+31+210" action="hot_cue 8" rightclick="goto_cue 8"><text size="13" color="#e1e1e1" format="8"/></button>
      <button class="custombutton" x="+8+3" y="+31+240" action="hot_cue 9" rightclick="goto_cue 9"><text size="13" color="#e1e1e1" format="9"/></button>
      <button class="custombutton_flat" x="+8+3" y="+31+0" action="hot_cue 1" rightclick="goto_cue 1"><text size="13" color="#e1e1e1" format="1"/></button>
      <button class="custombutton_flat" x="+8+3" y="+31+30" action="hot_cue 2" rightclick="goto_cue 2"><text size="13" color="#e1e1e1" format="2"/></button>
      <button class="custombutton_flat" x="+8+3" y="+31+60" action="hot_cue 3" rightclick="goto_cue 3"><text size="13" color="#e1e1e1" format="3"/></button>
      <button class="custombutton_flat" x="+8+3" y="+31+90" action="hot_cue 4" rightclick="goto_cue 4"><text size="13" color="#e1e1e1" format="4"/></button>
      <button class="custombutton_flat" x="+8+3" y="+31+120" action="hot_cue 5" rightclick="goto_cue 5"><text size="13" color="#e1e1e1" format="5"/></button>
      <button class="custombutton_flat" x="+8+3" y="+31+150" action="hot_cue 6" rightclick="goto_cue 6"><text size="13" color="#e1e1e1" format="6"/></button>
      <button class="custombutton_flat" x="+8+3" y="+31+180" action="hot_cue 7" rightclick="goto_cue 7"><text size="13" color="#e1e1e1" format="7"/></button>
      <button class="custombutton_flat" x="+8+3" y="+31+210" action="hot_cue 8" rightclick="goto_cue 8"><text size="13" color="#e1e1e1" format="8"/></button>
      <button class="custombutton_flat" x="+8+3" y="+31+240" action="hot_cue 9" rightclick="goto_cue 9"><text size="13" color="#e1e1e1" format="9"/></button>
      <visual class="minicues_background" x="+18+47+3" y="+31+0"/>
      <visual class="minicues_background" x="+18+47+3" y="+31+30"/>
      <visual class="minicues_background" x="+18+47+3" y="+31+60"/>
      <visual class="minicues_background" x="+18+47+3" y="+31+90"/>
      <visual class="minicues_background" x="+18+47+3" y="+31+120"/>
      <visual class="minicues_background" x="+18+47+3" y="+31+150"/>
      <visual class="minicues_background" x="+18+47+3" y="+31+180"/>
      <visual class="minicues_background" x="+18+47+3" y="+31+210"/>
      <visual class="minicues_background" x="+18+47+3" y="+31+240"/>
      <button class="deletecue" x="+18+167+3" y="+33+0" action="delete_cue 1" disabled="lock_cues"/>
      <button class="deletecue" x="+18+167+3" y="+33+30" action="delete_cue 2" disabled="lock_cues"/>
      <button class="deletecue" x="+18+167+3" y="+33+60" action="delete_cue 3" disabled="lock_cues"/>
      <button class="deletecue" x="+18+167+3" y="+33+90" action="delete_cue 4" disabled="lock_cues"/>
      <button class="deletecue" x="+18+167+3" y="+33+120" action="delete_cue 5" disabled="lock_cues"/>
      <button class="deletecue" x="+18+167+3" y="+33+150" action="delete_cue 6" disabled="lock_cues"/>
      <button class="deletecue" x="+18+167+3" y="+33+180" action="delete_cue 7" disabled="lock_cues"/>
      <button class="deletecue" x="+18+167+3" y="+33+210" action="delete_cue 8" disabled="lock_cues"/>
      <button class="deletecue" x="+18+167+3" y="+33+240" action="delete_cue 9" disabled="lock_cues"/>

      <panel id="displaycues_name" group="displaycues" visible="yes">

        <textzone class="minicues_text" x="+18+43" y="+31+0"><text format="%Pnamecue1"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+30"><text format="%Pnamecue2"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+60"><text format="%Pnamecue3"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+90"><text format="%Pnamecue4"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+120"><text format="%Pnamecue5"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+150"><text format="%Pnamecue6"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+180"><text format="%Pnamecue7"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+210"><text format="%Pnamecue8"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+240"><text format="%Pnamecue9"/></textzone>

      </panel>

      <panel id="displaycues_time" group="displaycues" visible="no">

        <textzone class="minicues_text" x="+18+43" y="+31+0" visibility="has_cue 1"><text format="%Pfromcue1"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+30" visibility="has_cue 2"><text format="%Pfromcue2"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+60" visibility="has_cue 3"><text format="%Pfromcue3"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+90" visibility="has_cue 4"><text format="%Pfromcue4"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+120" visibility="has_cue 5"><text format="%Pfromcue5"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+150" visibility="has_cue 6"><text format="%Pfromcue6"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+180" visibility="has_cue 7"><text format="%Pfromcue7"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+210" visibility="has_cue 8"><text format="%Pfromcue8"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+240" visibility="has_cue 9"><text format="%Pfromcue9"/></textzone>

      </panel>

      <panel id="displaycues_beat" group="displaycues" visible="no">

        <textzone class="minicues_text" x="+18+43" y="+31+0" visibility="has_cue 1"><text format="%Bfromcue1 beat"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+30" visibility="has_cue 2"><text format="%Bfromcue2 beat"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+60" visibility="has_cue 3"><text format="%Bfromcue3 beat"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+90" visibility="has_cue 4"><text format="%Bfromcue4 beat"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+120" visibility="has_cue 5"><text format="%Bfromcue5 beat"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+150" visibility="has_cue 6"><text format="%Bfromcue6 beat"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+180" visibility="has_cue 7"><text format="%Bfromcue7 beat"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+210" visibility="has_cue 8"><text format="%Bfromcue8 beat"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+240" visibility="has_cue 9"><text format="%Bfromcue9 beat"/></textzone>

      </panel>

      <panel id="displaycues_pos" group="displaycues" visible="no">

        <textzone class="minicues_text" x="+18+43" y="+31+0" visibility="has_cue 1"><text format="pos: %Pcue1"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+30" visibility="has_cue 2"><text format="pos: %Pcue2"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+60" visibility="has_cue 3"><text format="pos: %Pcue3"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+90" visibility="has_cue 4"><text format="pos: %Pcue4"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+120" visibility="has_cue 5"><text format="pos: %Pcue5"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+150" visibility="has_cue 6"><text format="pos: %Pcue6"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+180" visibility="has_cue 7"><text format="pos: %Pcue7"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+210" visibility="has_cue 8"><text format="pos: %Pcue8"/></textzone>
        <textzone class="minicues_text" x="+18+43" y="+31+240" visibility="has_cue 9"><text format="pos: %Pcue9"/></textzone>

      </panel>

      <button x="+18+43" y="+31" action="skin_panelgroup 'displaycues'">
        <size width="115" height="176"/>
      </button>

      <group name="options" x="+19" y="+308">

        <button class="options" x="+0" y="+0" action="smart_cue" tooltip="SMART CUES\nStay in beat when jumping to a HotCue"/>
        <textzone class="options_text" x="+25" y="+3"><text align="left" format="SNAP"/></textzone>

      </group>

      <button class="custombutton" x="+93" y="+305" action="edit_poi" tooltip="EDIT CUE POINTS\nOpen POI editor to see and edit cues and other points"><text format="EDIT"/></button>
      <button class="custombutton_flat" x="+93" y="+305" action="edit_poi" tooltip="EDIT CUE POINTS\nOpen POI editor to see and edit cues and other points"><text format="EDIT"/></button>
      <button class="lock" x="+181" y="+307" action="lock_cues" tooltip="Lock All Cues"/>

    </define>

    <define class="sidebar_left_class">

      <panel id="sidebar_left_default" group="sidebar_left" visible="yes">

        <group name="sidebar_cues" x="+0" y="+0">

          <button class="sidebar_cues" x="+0" y="+0" action="skin_panel 'sidebar_left_cues'"/>
          <panel class="sidebar_default_cues"/>

        </group>

        <group name="sidebar_fx" x="+0" y="+131">

          <button class="sidebar_fx" x="+0" y="+0" action="skin_panel 'sidebar_left_fx'"/>
          <panel class="sidebar_default_fx"/>

        </group>

        <group name="sidebar_loops" x="+0" y="+266">

          <button class="sidebar_loops" x="+0" y="+0" action="skin_panel 'sidebar_left_loops'"/>
          <panel class="sidebar_default_loop"/>

        </group>

      </panel>

      <panel id="sidebar_left_loops" group="sidebar_left" visible="no">

        <group name="sidebar_cues" x="+0" y="+0">

          <button class="sidebar_cues" x="+0" y="+0" action="skin_panel 'sidebar_left_cues'"/>
          <panel class="sidebar_mini_cues"/>

        </group>

        <group name="sidebar_fx" x="+0" y="+77">

          <button class="sidebar_fx" x="+0" y="+0" action="skin_panel 'sidebar_left_fx'"/>
          <panel class="sidebar_mini_fx"/>

        </group>

        <group name="sidebar_loops" x="+0" y="+170">

          <button class="sidebar_loops" x="+0" y="+0" action="skin_panel 'sidebar_left_default'" query="on"/>
          <panel class="sidebar_loops_loop"/>

        </group>

      </panel>

      <panel id="sidebar_left_fx" group="sidebar_left" visible="no">

        <group name="sidebar_cues" x="+0" y="+0">

          <button class="sidebar_cues" x="+0" y="+0" action="skin_panel 'sidebar_left_cues'"/>
          <panel class="sidebar_mini_cues"/>

        </group>


        <group name="sidebar_fx" x="+0" y="+77">

          <button class="sidebar_fx" x="+0" y="+0" action="skin_panel 'sidebar_left_default'" query="on"/>
          <panel class="sidebar_fx_fx"/>

        </group>

        <group name="sidebar_loops" x="+0" y="+338">

          <button class="sidebar_loops" x="+0" y="+0" action="skin_panel 'sidebar_left_loops'"/>
          <panel class="sidebar_mini_loops"/>

        </group>

      </panel>

      <panel id="sidebar_left_cues" group="sidebar_left" visible="no">

        <group name="siderbar_cues" x="+0" y="+0">

          <button class="sidebar_cues" x="+0" y="+0" action="skin_panel 'sidebar_left_default'" query="on"/>
          <panel class="sidebar_cues_cue"/>

        </group>

        <group name="sidebar_loops" x="+0" y="+338">

          <button class="sidebar_loops" x="+0" y="+0" action="skin_panel 'sidebar_left_loops'"/>
          <panel class="sidebar_mini_loops"/>

        </group>

      </panel>

    </define>

    <define class="sidebar_right_class">
    
      <panel id="sidebar_right_default" group="sidebar_right" visible="yes">

        <group name="sidebar_cues" x="+0" y="+0">

          <button class="sidebar_cues" x="+0" y="+0" action="skin_panel 'sidebar_right_cues'"/>
          <panel class="sidebar_default_cues"/>

        </group>

        <group name="sidebar_fx" x="+0" y="+131">

          <button class="sidebar_fx" x="+0" y="+0" action="skin_panel 'sidebar_right_fx'"/>
          <panel class="sidebar_default_fx"/>

        </group>

        <group name="sidebar_loops" x="+0" y="+266">

          <button class="sidebar_loops" x="+0" y="+0" action="skin_panel 'sidebar_right_loops'"/>
          <panel class="sidebar_default_loop"/>

        </group>

      </panel>

      <panel id="sidebar_right_loops" group="sidebar_right" visible="no">

        <group name="sidebar_cues" x="+0" y="+0">

          <button class="sidebar_cues" x="+0" y="+0" action="skin_panel 'sidebar_right_cues'"/>
          <panel class="sidebar_mini_cues"/>

        </group>
        
        <group name="sidebar_fx" x="+0" y="+77">

          <button class="sidebar_fx" x="+0" y="+0" action="skin_panel 'sidebar_right_fx'"/>
          <panel class="sidebar_mini_fx"/>

        </group>

        <group name="sidebar_loops" x="+0" y="+170">

          <button class="sidebar_loops" x="+0" y="+0" action="skin_panel 'sidebar_right_default'" query="on"/>
          <panel class="sidebar_loops_loop"/>

        </group>

      </panel>

      <panel id="sidebar_right_fx" group="sidebar_right" visible="no">

        <group name="sidebar_cues" x="+0" y="+0">

          <button class="sidebar_cues" x="+0" y="+0" action="skin_panel 'sidebar_right_cues'"/>
          <panel class="sidebar_mini_cues"/>

        </group>

        <group name="sidebar_fx" x="+0" y="+77">

          <button class="sidebar_fx" x="+0" y="+0" action="skin_panel 'sidebar_right_default'" query="on"/>
          <panel class="sidebar_fx_fx"/>

        </group>

        <group name="sidebar_loops" x="+0" y="+338">

          <button class="sidebar_loops" x="+0" y="+0" action="skin_panel 'sidebar_right_loops'"/>
          <panel class="sidebar_mini_loops"/>

        </group>

      </panel>

      <panel id="sidebar_right_cues" group="sidebar_right" visible="no">

        <group name="siderbar_cues" x="+0" y="+0">

          <button class="sidebar_cues" x="+0" y="+0" action="skin_panel 'sidebar_right_default'" query="on"/>
          <panel class="sidebar_cues_cue"/>

        </group>

        <group name="sidebar_loops" x="+0" y="+338">

          <button class="sidebar_loops" x="+0" y="+0" action="skin_panel 'sidebar_right_loops'"/>
          <panel class="sidebar_mini_loops"/>

        </group>

      </panel>

    </define>

    <define class="browser_constant" toolbar="yes" effects="yes">
      <pos x="12"/>
      <size width="1897"/>
      <colors background="#050505">
        <toolbars background="#171717" text="white" iconbackground="#171717" border="#2E2E2E" />
        <lists background="#050505" stripes="#050505" over="#171717" overstripes="#171717" selected="#171717" focus="#303740" text="#FCF6C2" overtext="#FFFFFF" selectedtext="#FFFFFF" focustext="#FFFFFF" automix="#00b8ff" livefeedback="#00b8ff" download="#2E2E2E" scan="#00b8ff" button="#2E2E2E" buttonover="white" buttonselected="#FFED00" buttonactive="#F9C90A" insert="#00b8ff" />
        <grids background="#171717" over="#2E2E2E" selected="#2E2E2E" focus="#303740" text="#FCF6C2" overtext="#FCF6C2" selectedtext="#FCF6C2" focustext="white" stripes="#0E0E0E" overstripes="#1E1E1E" selectedstripes="#1E1E1E" focusstripes="#202030" label="white" />
        <columns background="#0a0a0a" text="#727373"/>
        <scrollbars background="#2E2E2E" button="#B2B3B3" />
        <info background="#171717" stripes="#1E1D20" text="#FCF6C2" label="#B2B3B3" artist="#FCF6C2" title="#FCF6C2" />
        <search background="#050505" border="#2E2E2E" selected="#585858" text="white" cursor="#00b8ff" />
        <prelisten background="#171717" border="#2E2E2E" selected="#2E2E2E" cursor="white" button="#2E2E2E" buttonbackground="#638563" buttonselected="#039E03" />
      </colors>
      <font size="20" />
      <fontheader size="20" />
      <fontgridtitle size="20" />
    </define>
    
    <define class="crossfader_bundle" x="+97" y="+329">

      <panel id="cross_no" group="mixer_bottom" visible="no"/>

      <panel id="crossfader" group="mixer_bottom" visible="yes">

        <visual>
          <pos x="+0" y="+0"/>
          <size width="199" height="53"/>
          <off x="1315" y="1227"/>
        </visual>

        <panel id="cross_volumes" visible="yes">

          <visual type="linear" orientation="horizontal" direction="left" source="deck left get_volume" visibility="not skin_panel 'swap'">
            <size width="88" height="9"/>
            <pos x="+10" y="+23"/>
            <down x="1325" y="1138"/>
          </visual>

          <visual type="linear" orientation="horizontal" direction="right" source="deck right get_volume" visibility="not skin_panel 'swap'">
            <size width="90" height="9"/>
            <pos x="+99" y="+23"/>
            <down x="1414" y="1194"/>
          </visual>

          <visual type="linear" orientation="horizontal" direction="left" source="deck right get_volume" visibility="skin_panel 'swap'">
            <size width="88" height="9"/>
            <pos x="+10" y="+23"/>
            <down x="1325" y="1194"/>
          </visual>

          <visual type="linear" orientation="horizontal" direction="right" source="deck left get_volume" visibility="skin_panel 'swap'">
            <size width="90" height="9"/>
            <pos x="+99" y="+23"/>
            <down x="1414" y="1138"/>
          </visual>

        </panel>

        <slider action="crossfader" rightclick="temporary" dblclick="crossfader 50%" orientation="horizontal" visibility="not skin_panel 'swap'">
          <pos x="-1" y="+1"/>
          <size width="199" height="53"/>
          <fader>
            <size width="24" height="40"/>
            <pos x="1287" y="1121"/>
          </fader>
        </slider>

        <slider action="crossfader" rightclick="temporary" dblclick="crossfader 50%" orientation="horizontal" direction="left" visibility="skin_panel 'swap'">
          <pos x="-1" y="+1"/>
          <size width="199" height="53"/>
          <fader>
            <size width="24" height="40"/>
            <pos x="1287" y="1121"/>
          </fader>
        </slider>

        <menu>
          <tooltip>CROSSFADER CURVE</tooltip>
          <pos x="+85" y="+58"/>
          <size width="26" height="26"/>
          <up x="594" y="1417"/>
          <item text="Disabled" action="crossfader_curve 'disabled'" check="crossfader_curve 'Disabled'" />
          <item text="Full" action="crossfader_curve 'full'" check="crossfader_curve 'full'"  />
          <item text="Smooth" action="crossfader_curve 'smooth'" check="crossfader_curve 'smooth'" />
          <item text="Cut" action="crossfader_curve 'cut'" check="crossfader_curve 'cut'" />
          <item text="Scratch" action="crossfader_curve 'scratch'" check="crossfader_curve 'scratch'" />
          <item text="User Defined" action="nothing" check="crossfader_curve 'smooth' ? false : crossfader_curve 'full' ? false : crossfader_curve 'scratch' ? false : crossfader_curve 'cut' ? false : crossfader_curve 'disabled' ? false : true" visibility="crossfader_curve 'smooth' ? false : crossfader_curve 'full' ? false : crossfader_curve 'scratch' ? false : crossfader_curve 'cut' ? false : crossfader_curve 'disabled' ? false : true"/>
          <item text="Dipped" action="crossfader_curve '0=[1,0]/0.25=[0.92,0.45]/0.4=[0.88,0.75]/0.5=[0.82,0.82]/0.6=[0.75,0.88]/0.75=[0.45,0.92]/1=[0,1]'" hascheck="true"  />
          <item text="Linear" action="crossfader_curve '0=[1,0]/0.5=[0.5,0.5]/1=[0,1]'" hascheck="true"  />
        </menu>

      </panel>

      <panel id="cross_masterfx" group="mixer_bottom" visible="no">

        <group name="master_fx" x="+3" y="+1">

          <panel class="fx_dropdown_master_smaller" x="+5" y="+10" />

          <panel class="knob_mixer" x="+91" y="+0"><visual/>

            <slider deck="master" action="effect_slider 1 1" dblclick="effect_slider_reset 1" disabled="not effect_has_slider 1" tooltip="FX Param 1"/>
            <slider deck="master" action="effect_slider 1 1" dblclick="effect_slider_reset 1" disabled="not effect_has_slider 1" tooltip="FX Param 1" frommiddle="get_effect_slider_default 1 0.5"/>
            <textzone deck="master"><text action="get_effect_slider_label 1" /></textzone>

          </panel>

          <panel class="knob_mixer" x="+143" y="+0"><visual/>

            <slider deck="master" action="effect_slider 2" dblclick="effect_slider_reset 2" disabled="not effect_has_slider 2" tooltip="FX Param 2"/>
            <slider deck="master" action="effect_slider 2" dblclick="effect_slider_reset 2" disabled="not effect_has_slider 2" tooltip="FX Param 2" frommiddle="get_effect_slider_default 2 0.5"/>
            <textzone deck="master"><text action="get_effect_slider_label 2" /></textzone>

          </panel>

        </group>
      
      </panel>

      <panel id="cross_custom" group="mixer_bottom" visible="no" x="+0" y="+1">

        <button class="custom_mixer" action="custom_button 130" rightclick="custom_button_edit 130" tooltip="User Custom Button 130\nRight click to set it"><pos x="+5" y="+12"/><text action="custom_button_name 130"/></button>
        <button class="custom_mixer_flat" action="custom_button 130" rightclick="custom_button_edit 130" tooltip="User Custom Button 130\nRight click to set it"><pos x="+5" y="+12"/><text action="custom_button_name 130"/></button>

        <button class="custom_mixer" action="custom_button 131" rightclick="custom_button_edit 131" tooltip="User Custom Button 131\nRight click to set it"><pos x="+52" y="+12"/><text action="custom_button_name 131" /></button>
        <button class="custom_mixer_flat" action="custom_button 131" rightclick="custom_button_edit 131" tooltip="User Custom Button 132\nRight click to set it"><pos x="+52" y="+12"/><text action="custom_button_name 131" /></button>

        <button class="custom_mixer" action="custom_button 132" rightclick="custom_button_edit 132" tooltip="User Custom Button 132\nRight click to set it"><pos x="+99" y="+12"/><text action="custom_button_name 132" /></button>
        <button class="custom_mixer_flat" action="custom_button 132" rightclick="custom_button_edit 132" tooltip="User Custom Button 132\nRight click to set it"><pos x="+99" y="+12"/><text action="custom_button_name 132" /></button>

        <panel class="knob_mixer" x="+150" y="+0"><visual/>

          <slider action="custom_button 133" rightclick="custom_button_edit 133" defaultvalue="0.5" disabled="not has_custom_button" tooltip="SMART KNOB\nRight click to set it to do any action you want"/>
          <slider action="custom_button 133" rightclick="custom_button_edit 133" defaultvalue="0" disabled="not has_custom_button" tooltip="SMART KNOB\nRight click to set it to do any action you want"/>
          <textzone><text action="has_custom_button 133 ? custom_button_name 133 : get_custom_text 'CUSTOM'"/></textzone>

        </panel>

      </panel>

      <panel id="cross_custom_2" group="mixer_bottom" visible="no" x="+0" y="+1">

        <button class="custom_mixer" action="custom_button 140" rightclick="custom_button_edit 140" tooltip="User Custom Button 140\nRight click to set it to do any action you want"><pos x="+5" y="+12"/><text action="custom_button_name 140"/></button>
        <button class="custom_mixer_flat" action="custom_button 140" rightclick="custom_button_edit 140" tooltip="User Custom Button 140\nRight click to set it to do any action you want"><pos x="+5" y="+12"/><text action="custom_button_name 140"/></button>

        <button class="custom_mixer" action="custom_button 141" rightclick="custom_button_edit 141" tooltip="User Custom Button 141\nRight click to set it to do any action you want"><pos x="+52" y="+12"/><text action="custom_button_name 141" /></button>
        <button class="custom_mixer_flat" action="custom_button 141" rightclick="custom_button_edit 141" tooltip="User Custom Button 141\nRight click to set it to do any action you want"><pos x="+52" y="+12"/><text action="custom_button_name 141" /></button>

        <panel class="knob_mixer" x="+97" y="+0"><visual/>

          <slider action="custom_button 142" rightclick="custom_button_edit 142" defaultvalue="0.5" disabled="not has_custom_button" tooltip="SMART KNOB\nRight click to set it to do any action you want"/>
          <slider action="custom_button 142" rightclick="custom_button_edit 142" defaultvalue="0" disabled="not has_custom_button" tooltip="SMART KNOB\nRight click to set it to do any action you want"/>
          <textzone><text action="has_custom_button 142 ? custom_button_name 142 : get_custom_text 'CUSTOM'"/></textzone>

        </panel>

        <panel class="knob_mixer" x="+150" y="+0"><visual/>

          <slider action="custom_button 143" rightclick="custom_button_edit 143" defaultvalue="0.5" disabled="not has_custom_button" tooltip="SMART KNOB\nRight click to set it to do any action you want"/>
          <slider action="custom_button 143" rightclick="custom_button_edit 143" defaultvalue="0" disabled="not has_custom_button" tooltip="SMART KNOB\nRight click to set it to do any action you want"/>
          <textzone><text action="has_custom_button 143 ? custom_button_name 143 : get_custom_text 'CUSTOM'"/></textzone>

        </panel>

      </panel>

      <panel id="cross_smp_vol" group="mixer_bottom" visible="no">

        <group name="sampler_volumes" x="+0" y="+1">

          <panel class="knob_mixer" x="+0" y="+0"><visual/>

            <slider action="sampler_group_volume 0" rightclick="sampler_group_volume 0 100% ? sampler_group_volume 0 80% : sampler_group_volume 0 100%" disabled="not sampler_has_group 0" tooltip="SAMPLER GROUP 1 VOLUME"/>
            <slider action="sampler_group_volume 0" rightclick="sampler_group_volume 0 100% ? sampler_group_volume 0 80% : sampler_group_volume 0 100%" disabled="not sampler_has_group 0" tooltip="SAMPLER GROUP 1 VOLUME"/>
            <textzone><text format="GRP 1"/><text2 action="sampler_group_volume 0 &amp; param_cast 'percentage'"/></textzone>

          </panel>

          <panel class="knob_mixer" x="+50" y="+0"><visual/>

            <slider action="sampler_group_volume 1" rightclick="sampler_group_volume 1 100% ? sampler_group_volume 1 80% : sampler_group_volume 1 100%" disabled="not sampler_has_group 1" tooltip="SAMPLER GROUP 2 VOLUME"/>
            <slider action="sampler_group_volume 1" rightclick="sampler_group_volume 1 100% ? sampler_group_volume 1 80% : sampler_group_volume 1 100%" disabled="not sampler_has_group 1" tooltip="SAMPLER GROUP 2 VOLUME"/>
            <textzone><text format="GRP 2"/><text2 action="sampler_group_volume 1 &amp; param_cast 'percentage'"/></textzone>

          </panel>

          <panel class="knob_mixer" x="+100" y="+0"><visual/>

            <slider action="sampler_group_volume 2" rightclick="sampler_group_volume 2 100% ? sampler_group_volume 2 80% : sampler_group_volume 2 100%" disabled="not sampler_has_group 2" tooltip="SAMPLER GROUP 3 VOLUME"/>
            <slider action="sampler_group_volume 2" rightclick="sampler_group_volume 2 100% ? sampler_group_volume 2 80% : sampler_group_volume 2 100%" disabled="not sampler_has_group 2" tooltip="SAMPLER GROUP 3 VOLUME"/>
            <textzone><text format="GRP 3"/><text2 action="sampler_group_volume 2 &amp; param_cast 'percentage'"/></textzone>

          </panel>

          <panel class="knob_mixer" x="+150" y="+0"><visual/>

            <slider action="sampler_group_volume 3" rightclick="sampler_group_volume 3 100% ? sampler_group_volume 3 80% : sampler_group_volume 3 100%" disabled="not sampler_has_group 3" tooltip="SAMPLER GROUP 4 VOLUME"/>
            <slider action="sampler_group_volume 3" rightclick="sampler_group_volume 3 100% ? sampler_group_volume 3 80% : sampler_group_volume 3 100%" disabled="not sampler_has_group 3" tooltip="SAMPLER GROUP 4 VOLUME"/>
            <textzone><text format="GRP 4"/><text2 action="sampler_group_volume 3 &amp; param_cast 'percentage'"/></textzone>

          </panel>

        </group>

      </panel>

      <panel id="cross_beat_matcher" group="mixer_bottom" x="-4" y="+10" visible="no">
  
        <!-- visual>
          <pos x="-5" y="-12"/>
          <size width="216" height="54"/>
          <off x="300" y="600"/>
        </visual -->

        <visual type="color" source="constant '#252525'" tooltip=""><pos x="+5" y="-8"/><size width="195" height="45"/></visual>

        <visual>
          <pos x="+5" y="+0"/>
          <size width="195" height="32"/>
          <off x="317" y="1890"/>
        </visual>

        <group name="phrase">

          <deck deck="left">

            <panel x="+9" y="+0" visibility="not skin_panel 'swap'">

              <visual class="phraser"><pos x="+0" y="+0"/><on  x="1780" y="1576"/></visual>
              <textzone class="phrasertext"/>
              <button class="phraserbutton"/>

            </panel>

            <panel x="+165" y="+0" visibility="skin_panel 'swap'">

              <visual class="phraser"><pos x="+0" y="+0"/><on  x="1780" y="1576"/></visual>
              <textzone class="phrasertext"/>
              <button class="phraserbutton"/>

            </panel>

          </deck>

        </group>

        <group name="beatbar" x="+48" y="+4">

          <deck deck="left">

            <button class="cross_beat_bar" query="goto_bar 1" leftclick="goto -1" rightclick="goto_bar 1">
              <pos x="+0" y="+3"/>
              <tooltip>Downbeat</tooltip>
            </button>

            <button class="cross_beat_bar" query="goto_bar 2" leftclick="goto -1" rightclick="goto_bar 2">
              <pos x="+29" y="+3"/>
              <tooltip>Beat 2</tooltip>
            </button>

            <button class="cross_beat_bar" query="goto_bar 3" leftclick="goto +1" rightclick="goto_bar 3">
              <pos x="+29+29" y="+3"/>
              <tooltip>Beat 3</tooltip>
            </button>

            <button class="cross_beat_bar" query="goto_bar 4" leftclick="goto +1" rightclick="goto_bar 4">
              <pos x="+29+29+29" y="+3"/>
              <tooltip>Beat 4</tooltip>
            </button>

          </deck>

          <deck deck="right">

            <button class="cross_beat_bar" query="goto_bar 1" leftclick="goto -1" rightclick="goto_bar 1">
              <pos x="+0" y="+17"/>
              <tooltip>Downbeat</tooltip>
            </button>

            <button class="cross_beat_bar" query="goto_bar 2" leftclick="goto -1" rightclick="goto_bar 2">
              <pos x="+29" y="+17"/>
              <tooltip>Beat 2</tooltip>
            </button>

            <button class="cross_beat_bar" query="goto_bar 3" leftclick="goto +1" rightclick="goto_bar 3">
              <pos x="+29+29" y="+17"/>
              <tooltip>Beat 3</tooltip>
            </button>

            <button class="cross_beat_bar" query="goto_bar 4" leftclick="goto +1" rightclick="goto_bar 4">
              <pos x="+29+29+29" y="+17"/>
              <tooltip>Beat 4</tooltip>
            </button>

          </deck>

        </group>

        <group name="phrase">

          <deck deck="right">

            <panel x="+165" y="+0" visibility="not skin_panel 'swap'">

              <visual class="phraser"><pos x="+0" y="+0"/><on  x="1876" y="1576"/></visual>
              <textzone class="phrasertext"/>
              <button class="phraserbutton"/>

            </panel>

            <panel x="+9" y="+0" visibility="skin_panel 'swap'">

              <visual class="phraser"><pos x="+0" y="+0"/><on  x="1876" y="1576"/></visual>
              <textzone class="phrasertext"/>
              <button class="phraserbutton"/>

            </panel>

          </deck>  	

        </group>

      </panel>

      <panel id="cross_phaser" group="mixer_bottom" x="+0" y="+20" visible="no">

        <visual>
          <size width="2" height="20"/>
          <pos x="959" y="-4"/>
          <off x="1" y="1163"/>
        </visual>
        
        <slider action="deck left play && deck right play ? get_beatdiff : off" orientation="horizontal" direction="left" visibility="not skin_panel 'swap'">
          <pos x="+0" y="+0"/>
          <size width="198" height="12"/>
          <off x="300" y="600"/>
          <on x="300" y="600"/>
          <fader>
            <size width="5" height="12"/>
            <pos x="289" y="3442"/>
          </fader>
        </slider>

        <slider action="deck left play && deck right play ? get_beatdiff : off" orientation="horizontal" direction="right" visibility="skin_panel 'swap'">
          <pos x="+0" y="+0"/>
          <size width="198" height="12"/>
          <off x="300" y="600"/>
          <on x="300" y="600"/>
          <fader>
            <size width="5" height="12"/>
            <pos x="289" y="3442"/>
          </fader>
        </slider>

      </panel>

    </define>
    
    <define class="mixer_audio_extra_bottom">

      <pos x="+25" y="+253"/>

      <panel id="extra_scratch" group="extra" x="+0" y="+0" visible="no">

        <button class="custom_mixer" action="setting 'rampStopTime' 0.00 ? off & setting 'rampStopTime' 0.45 : on & setting 'rampStopTime' 0.00">
          <tooltip>DECK BRAKE\nToggle a vinyl brake style mode</tooltip>
          <pos x="+199" y="+106"/>
          <text size="12" color="#E1E1E1" align="center" format="BRK"/>
        </button>

        <button class="custom_mixer_flat" action="setting 'rampStopTime' 0.00 ? off & setting 'rampStopTime' 0.45 : on & setting 'rampStopTime' 0.00">
          <tooltip>DECK BRAKE\nToggle a vinyl brake style mode</tooltip>
          <pos x="+199" y="+106"/>
          <text size="12" color="#E1E1E1" align="center" format="BRK"/>
        </button>

        <button class="custom_mixer" action="setting 'touchWheelForwardSpin' off & setting 'touchWheelBackSpin' off & setting 'rampScratchTime' 0.05 & setting 'rampStartTime' 0.0 & setting 'crossfaderCurve' 1 & setting 'autoDiscMarker' off 7 setting 'pitchquality' 1 ? on & setting 'touchWheelForwardSpin' on & setting 'touchWheelBackSpin' on & setting 'rampScratchTime' 0.1 & setting 'rampStartTime' 0.0 & setting 'crossfaderCurve' 0.5 & setting 'autoDiscMarker' on & setting 'pitchquality' 2 : off & setting 'touchWheelForwardSpin' off & setting 'touchWheelBackSpin' off & setting 'rampScratchTime' 0.05 & setting 'rampStartTime' 0.0 & setting 'crossfaderCurve' 1 & setting 'autoDiscMarker' off & setting 'pitchquality' 1">
          <tooltip>CLEAR\nReset several settings at once</tooltip>
          <pos x="+239" y="+106"/>
          <text size="12" color="#E1E1E1" align="center" format="CLR"/>
        </button>

        <button class="custom_mixer_flat" action="setting 'touchWheelForwardSpin' off & setting 'touchWheelBackSpin' off & setting 'rampScratchTime' 0.05 & setting 'rampStartTime' 0.0 & setting 'crossfaderCurve' 1 & setting 'autoDiscMarker' off 7 setting 'pitchquality' 1 ? on & setting 'touchWheelForwardSpin' on & setting 'touchWheelBackSpin' on & setting 'rampScratchTime' 0.1 & setting 'rampStartTime' 0.0 & setting 'crossfaderCurve' 0.5 & setting 'autoDiscMarker' on & setting 'pitchquality' 2 : off & setting 'touchWheelForwardSpin' off & setting 'touchWheelBackSpin' off & setting 'rampScratchTime' 0.05 & setting 'rampStartTime' 0.0 & setting 'crossfaderCurve' 1 & setting 'autoDiscMarker' off & setting 'pitchquality' 1">
          <tooltip>CLEAR\nReset several settings at once</tooltip>
          <pos x="+239" y="+106"/>
          <text size="12" color="#E1E1E1" align="center" format="CLR"/>
        </button>

        <button action="setting 'pitchquality' 0 ? setting 'pitchquality' 1 : setting 'pitchquality' 1 ? setting 'pitchquality' 2 : setting 'pitchquality' 0">
          <tooltip>PITCH QUALITY\n0: lowest\n1: medium\n2: best</tooltip>
          <pos x="+156" y="-3"/>
          <size width="31" height="24"/>
          <off x="300" y="70"/>
          <offover x="923" y="1150"/>
          <onover x="923" y="1210"/>
          <text size="18" dy="5" color="#E1E1E1" align="center" format="`setting 'pitchquality'`"/>
        </button>

      </panel>

      <panel id="extra_custom" group="extra" x="+0" y="+0" visible="no">

        <button class="custom_mixer" action="custom_button 106" rightclick="custom_button_edit 106" tooltip="User Custom Button 106\nRight click to set it to do any action you want"><pos x="+199" y="+106"/><text action="custom_button_name 106"/></button>
        <button class="custom_mixer_flat" action="custom_button 106" rightclick="custom_button_edit 106" tooltip="User Custom Button 106\nRight click to set it to do any action you want"><pos x="+199" y="+106"/><text action="custom_button_name 106"/></button>

        <button class="custom_mixer" action="custom_button 107" rightclick="custom_button_edit 107" tooltip="User Custom Button 107\nRight click to set it to do any action you want"><pos x="+239" y="+106"/><text action="custom_button_name 107"/></button>
        <button class="custom_mixer_flat" action="custom_button 107" rightclick="custom_button_edit 107" tooltip="User Custom Button 107\nRight click to set it to do any action you want"><pos x="+239" y="+106"/><text action="custom_button_name 107"/></button>

      </panel>

      <panel id="extra_custom_2" group="extra" x="+0" y="+0" visible="no">

        <button class="custom_mixer" action="custom_button 116" rightclick="custom_button_edit 116" tooltip="User Custom Button 116\nRight click to set it to do any action you want"><pos x="+199" y="+106"/><text action="custom_button_name 116"/></button>
        <button class="custom_mixer_flat" action="custom_button 116" rightclick="custom_button_edit 116" tooltip="User Custom Button 116\nRight click to set it to do any action you want"><pos x="+199" y="+106"/><text action="custom_button_name 116"/></button>

        <button class="custom_mixer" action="custom_button 117" rightclick="custom_button_edit 117" tooltip="User Custom Button 117\nRight click to set it to do any action you want"><pos x="+239" y="+106"/><text action="custom_button_name 107"/></button>
        <button class="custom_mixer_flat" action="custom_button 117" rightclick="custom_button_edit 117" tooltip="User Custom Button 117\nRight click to set it to do any action you want"><pos x="+239" y="+106"/><text action="custom_button_name 107"/></button>

      </panel>

      <panel id="extra_volume" group="extra" x="+0" y="+0" visible="no">

        <button class="custom_mixer" action="master_volume 0% temporary" rightclick="temporary" tooltip="MUTE"><pos x="+239" y="+106"/><text format="MUTE" /></button>
        <button class="custom_mixer_flat" action="master_volume 0% temporary" rightclick="temporary" tooltip="MUTE"><pos x="+239" y="+106"/><text format="MUTE" /></button>

      </panel>

    </define>

    <define class="mixer_audio_extra" classdeck="left">

      <pos x="+25" y="+253"/>

      <panel id="extra_scratch" group="extra" x="+0" y="+0" visible="no">

        <button class="custom_mixer" action="deck right clone_deck left" tooltip="CLONE DECK\nCopy deck from right to left"><pos x="+8" y="+10"/><text size="12" format="◄"/></button>
        <button class="custom_mixer_flat" action="deck right clone_deck left" tooltip="CLONE DECK\nCopy deck from right to left"><pos x="+8" y="+10"/><text size="12" format="◄"/></button>

        <button class="custom_mixer" action="deck left smart_scratch" tooltip="SMART SCRATCH\nCut sound while scratching backwards"><pos x="+8" y="+45"/><text size="12" format="SMT"/></button>
        <button class="custom_mixer_flat" action="deck left smart_scratch" tooltip="SMART SCRATCH\nCut sound while scratching backwards"><pos x="+8" y="+45"/><text size="12" format="SMT"/></button>

        <button class="custom_mixer" action="deck left beatlock" tooltip="BEATLOCK"><pos x="+8" y="+80"/><icon x="1655" y="1550" height="26" dx="6" dy="3"/></button>
        <button class="custom_mixer_flat" action="deck left beatlock" tooltip="BEATLOCK"><pos x="+8" y="+80"/><icon x="1655" y="1550" height="26" dx="6" dy="3"/></button>

      </panel>

      <panel id="extra_custom" group="extra" x="+0" y="+0" visible="no">

        <button class="custom_mixer" action="custom_button 100" rightclick="custom_button_edit 100" tooltip="User Custom Button 100\nRight click to set it"><pos x="+8" y="+10"/><text action="custom_button_name 100"/></button>
        <button class="custom_mixer_flat" action="custom_button 100" rightclick="custom_button_edit 100" tooltip="User Custom Button 100\nRight click to set it"><pos x="+8" y="+10"/><text action="custom_button_name 100"/></button>

        <button class="custom_mixer" action="custom_button 101" rightclick="custom_button_edit 101" tooltip="User Custom Button 101\nRight click to set it"><pos x="+8" y="+45"/><text action="custom_button_name 101"/></button>
        <button class="custom_mixer_flat" action="custom_button 101" rightclick="custom_button_edit 101" tooltip="User Custom Button 101\nRight click to set it"><pos x="+8" y="+45"/><text action="custom_button_name 101"/></button>

        <button class="custom_mixer" action="custom_button 102" rightclick="custom_button_edit 102" tooltip="User Custom Button 102\nRight click to set it to do any action you want"><pos x="+8" y="+80"/><text action="custom_button_name 102" /></button>
        <button class="custom_mixer_flat" action="custom_button 102" rightclick="custom_button_edit 102" tooltip="User Custom Button 102\nRight click to set it to do any action you want"><pos x="+8" y="+80"/><text action="custom_button_name 102" /></button>

      </panel>

      <panel id="extra_custom_2" group="extra" x="+0" y="+0" visible="no">

        <button class="custom_mixer" action="custom_button 110" rightclick="custom_button_edit 110" tooltip="User Custom Button 110\nRight click to set it"><pos x="+8" y="+18"/><text action="custom_button_name 110"/></button>
        <button class="custom_mixer_flat" action="custom_button 110" rightclick="custom_button_edit 110" tooltip="User Custom Button 110\nRight click to set it"><pos x="+8" y="+18"/><text action="custom_button_name 110"/></button>

        <panel class="knob_mixer" x="+0" y="+60"><visual/>

          <slider action="custom_button 111" rightclick="custom_button_edit 111" defaultvalue="0.5" disabled="not has_custom_button" tooltip="SMART KNOB\nRight click to set it to do any action you want"/>
          <slider action="custom_button 111" rightclick="custom_button_edit 111" defaultvalue="0" disabled="not has_custom_button" tooltip="SMART KNOB\nRight click to set it to do any action you want"/>
          <textzone><text action="has_custom_button 111 ? custom_button_name 111 : get_custom_text 'CUSTOM'"/></textzone>

        </panel>

      </panel>

      <panel id="extra_volume" group="extra" x="+0" y="+0" visible="no">

        <panel class="knob_master" x="+0" y="+0"><visual/>

          <slider action="master_balance" dblclick="master_balance 50%" rightclick="temporary" tooltip="MASTER BALANCE\nLeft ? Or right ?"/>
          <slider action="master_balance" dblclick="master_balance 50%" rightclick="temporary" tooltip="MASTER BALANCE\nLeft ? Or right ?" frommiddle="true"/>
          <textzone><text format="BAL"/><text2 action="master_balance &amp; param_cast 'percentage'"/></textzone>

        </panel>

        <panel class="knob_master_volume" y="+60"/>

      </panel>

      <panel y="+60" id="extra_master" group="extra" class="knob_master_volume" visible="no"/>

      <panel id="extra_master" group="extra" class="knob_master" x="+0" y="+0" visible="no">

        <visual/>
        <slider action="mic_volume" rightclick="mic_volume 100% ? mic_volume 20% : mic_volume 100%" tooltip="MIC VOLUME" disabled="not get_hasmic"/>
        <slider action="mic_volume" rightclick="mic_volume 100% ? mic_volume 20% : mic_volume 100%" tooltip="MIC VOLUME" disabled="not get_hasmic"/>
        <textzone><text format="MIC"/><text2 action="mic_volume &amp; param_cast 'percentage'"/></textzone>

        <button action="mic" tooltip="MIC ON\nTurn on or off the microphone">
          <pos x="+42" y="+39"/>
          <size width="14" height="15"/>
          <up x="692" y="1129"/>
          <selected x="729" y="1129"/>
          <down x="729" y="1129"/>
          <over x="710" y="1129"/>
        </button>

      </panel>

    </define>

    <define class="mixer_audio_extra" classdeck="right">

      <pos x="+319" y="+253"/>

      <panel id="extra_scratch" group="extra" x="+0" y="+0" visible="no">

        <button class="custom_mixer" action="deck left clone_deck right" tooltip="CLONE DECK\nCopy deck from left to right"><pos x="+8" y="+10"/><text size="12" format="►"/></button>
        <button class="custom_mixer_flat" action="deck left clone_deck right" tooltip="CLONE DECK\nCopy deck from left to right"><pos x="+8" y="+10"/><text size="12" format="►"/></button>

        <button class="custom_mixer" action="deck right smart_scratch" tooltip="SMART SCRATCH\nCut sound while scratching backwards"><pos x="+8" y="+45"/><text size="12" format="SMT"/></button>
        <button class="custom_mixer_flat" action="deck right smart_scratch" tooltip="SMART SCRATCH\nCut sound while scratching backwards"><pos x="+8" y="+45"/><text size="12" format="SMT"/></button>

        <button class="custom_mixer" action="deck right beatlock" tooltip="BEATLOCK"><pos x="+8" y="+80"/><icon x="1655" y="1550" height="26" dx="6" dy="3"/></button>
        <button class="custom_mixer_flat" action="deck right beatlock" tooltip="BEATLOCK"><pos x="+8" y="+80"/><icon x="1655" y="1550" height="26" dx="6" dy="3"/></button>

      </panel>

      <panel id="extra_custom" group="extra" x="+0" y="+0" visible="no">

        <button class="custom_mixer" action="custom_button 103" rightclick="custom_button_edit 103" tooltip="User Custom Button 103\nRight click to set it"><pos x="+8" y="+10"/><text action="custom_button_name 103"/></button>
        <button class="custom_mixer_flat" action="custom_button 103" rightclick="custom_button_edit 103" tooltip="User Custom Button 103\nRight click to set it"><pos x="+8" y="+10"/><text action="custom_button_name 103"/></button>

        <button class="custom_mixer" action="custom_button 104" rightclick="custom_button_edit 104" tooltip="User Custom Button 104\nRight click to set it"><pos x="+8" y="+45"/><text action="custom_button_name 104"/></button>
        <button class="custom_mixer_flat" action="custom_button 104" rightclick="custom_button_edit 104" tooltip="User Custom Button 104\nRight click to set it"><pos x="+8" y="+45"/><text action="custom_button_name 104"/></button>

        <button class="custom_mixer" action="custom_button 105" rightclick="custom_button_edit 105" tooltip="User Custom Button 105\nRight click to set it"><pos x="+8" y="+80"/><text action="custom_button_name 105"/></button>
        <button class="custom_mixer_flat" action="custom_button 105" rightclick="custom_button_edit 105" tooltip="User Custom Button 105\nRight click to set it"><pos x="+8" y="+80"/><text action="custom_button_name 105"/></button>

      </panel>

      <panel id="extra_custom_2" group="extra" x="+0" y="+0" visible="no">

        <button class="custom_mixer" action="custom_button 113" rightclick="custom_button_edit 113" tooltip="User Custom Button 113\nRight click to set it"><pos x="+8" y="+18"/><text action="custom_button_name 113"/></button>
        <button class="custom_mixer_flat" action="custom_button 113" rightclick="custom_button_edit 113" tooltip="User Custom Button 113\nRight click to set it"><pos x="+8" y="+18"/><text action="custom_button_name 113"/></button>

        <panel class="knob_mixer" x="+0" y="+60"><visual/>

          <slider action="custom_button 114" rightclick="custom_button_edit 114" defaultvalue="0.5" tooltip="SMART KNOB\nRight click to set it to do any action you want"/>
          <slider action="custom_button 114" rightclick="custom_button_edit 114" defaultvalue="0" tooltip="SMART KNOB\nRight click to set it to do any action you want"/>
          <textzone><text action="has_custom_button 114 ? custom_button_name 114 : get_custom_text 'CUSTOM'"/></textzone>

        </panel>

      </panel>

      <panel id="extra_volume" group="extra" x="+0" y="+0" visible="no">

        <panel class="knob_master" x="+0" y="+0"><visual/>

          <slider action="levelfader_curve" dblclick="levelfader_curve 0%" rightclick="temporary" tooltip="VOLUME SLIDERS CURVE\nFrom LINEAR to CUBIC through QUADRATIC"/>
          <slider action="levelfader_curve" dblclick="levelfader_curve 0%" rightclick="temporary" tooltip="VOLUME SLIDERS CURVE\nFrom LINEAR to CUBIC through QUADRATIC" frommiddle="false"/>
          <textzone><text format="CURVE"/><text2 action="levelfader_curve  &amp; param_cast 'percentage'"/></textzone>

        </panel>

        <panel class="knob_master" x="+0" y="+60"><visual/>

          <slider action="booth_volume" dblclick="booth_volume 0%" rightclick="temporary" tooltip="BOOTH VOLUME"/>
          <slider action="booth_volume" dblclick="booth_volume 0%" rightclick="temporary" tooltip="BOOTH VOLUME" frommiddle="false"/>
          <textzone><text format="BOOTH"/><text2 action="booth_volume  &amp; param_cast 'percentage'"/></textzone>

        </panel>

      </panel>

      <panel id="extra_master" group="extra" class="knob_hp" x="+0" y="+60" visible="no"><visual/>

        <slider action="headphone_volume" rightclick="headphone_volume 100% ? headphone_volume 20% : headphone_volume 100%" tooltip="HEADPHONES VOLUME" disabled="not get_hasheadphones"/>
        <slider action="headphone_volume" rightclick="headphone_volume 100% ? headphone_volume 20% : headphone_volume 100%" tooltip="HEADPHONES VOLUME" disabled="not get_hasheadphones"/>
        <textzone><text format="HP"/><text2 action="headphone_volume &amp; param_cast 'percentage'"/></textzone>

      </panel>

      <panel id="extra_master" group="extra" class="knob_hp" x="+0" y="+0" visible="no"><visual/>

        <slider action="headphone_mix" rightclick="headphone_mix 0% ? headphone_mix 100% : headphone_mix 0%" tooltip="HEADPHONES MIX" disabled="not get_hasheadphones"/>
        <slider action="headphone_mix" rightclick="headphone_mix 0% ? headphone_mix 100% : headphone_mix 0%" tooltip="HEADPHONES MIX" disabled="not get_hasheadphones"/>
        <textzone><text format="MIX"/><text2 action="headphone_mix &amp; param_cast 'percentage'"/></textzone>

      </panel>

    </define>

    <define class="mixer_filter" id="mixer_filter" y="+60+60+60" visible="yes">

        <panel class="knob" visibility="not skin_panel 'extra_no'">

          <visual/>
          <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER"/>
          <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER" frommiddle="true"/>
          <textzone><text action="filter_label"/></textzone>

          <button class="mixer_audio_eq_kill" action="filter 50% ? off & filter 50% : on & filter 50%" visibility="skin_panel 'eq_kill' on" tooltip="RESET FILTER"/>
  
        </panel>

        <panel class="knob" y="+30" visibility="skin_panel 'extra_no'">

          <visual/>
          <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER"/>
          <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER" frommiddle="true"/>
          <textzone><text action="filter_label"/></textzone>

          <button class="mixer_audio_eq_kill" action="filter 50% ? off & filter 50% : on & filter 50%" visibility="skin_panel 'eq_kill' on" tooltip="RESET FILTER"/>
  
        </panel>

    </define>

    <define class="mixer_audio_eq_tool">

      <panel id="mixer_eq" visible="yes">

        <panel class="knob">

          <visual/>
          <slider action="eq_high" dblclick="eq_high 50%" rightclick="eq_high 0% ? eq_high 50% : eq_high 0%" tooltip="EQ HIGH"/>
          <slider action="eq_high" dblclick="eq_high 50%" rightclick="eq_high 0% ? eq_high 50% : eq_high 0%" tooltip="EQ HIGH" frommiddle="true"/>
          <textzone><text format="HIGH"/></textzone>
          <button action="eq_kill_high" class="mixer_audio_eq_kill" visibility="skin_panel 'eq_kill' on"/>

        </panel>

        <panel class="knob" y="+60">

          <visual/>
          <slider action="eq_mid" dblclick="eq_mid 50%" rightclick="eq_mid 0% ? eq_mid 50% : eq_mid 0%" tooltip="EQ MID"/>
          <slider action="eq_mid" dblclick="eq_mid 50%" rightclick="eq_mid 0% ? eq_mid 50% : eq_mid 0%" tooltip="EQ MID" frommiddle="true"/>
          <textzone><text format="MID"/></textzone>
          <button action="eq_kill_mid" class="mixer_audio_eq_kill" visibility="skin_panel 'eq_kill' on"/>

        </panel>

        <panel class="knob" y="+60+60">

          <visual/>
          <slider action="eq_low" dblclick="eq_low 50%" rightclick="eq_low 0% ? eq_low 50% : eq_low 0%" tooltip="EQ LOW"/>
          <slider action="eq_low" dblclick="eq_low 50%" rightclick="eq_low 0% ? eq_low 50% : eq_low 0%" tooltip="EQ LOW" frommiddle="true"/>
          <textzone><text format="LOW"/></textzone>
          <button action="eq_kill_low" class="mixer_audio_eq_kill" visibility="skin_panel 'eq_kill' on"/>

        </panel>

      </panel>

    </define>

    <define class="mixer_audio_eq" classdeck="left" visible="true">

      <pos x="+25" y="+13"/>
      <panel class="mixer_audio_eq_tool"/>
      <panel class="mixer_filter"/>

    </define>

    <define class="mixer_audio_eq" classdeck="right" visible="true">

      <pos x="+319" y="+13"/>
      <panel class="mixer_audio_eq_tool"/>
      <panel class="mixer_filter"/>

    </define>

    <define class="mixer_audio_vol_tool">

      <panel class="knob_gain"/>

      <panel id="mixer_vol" visible="yes">

        <slider class="volume_level_no" x="+3" y="+65" visibility="not skin_panel 'cross_volumes'"/>
        <slider class="volume_level" x="+3" y="+65" visibility="skin_panel 'cross_volumes'"/>

      </panel>

      <visual visibility="not skin_panel 'mixer_vol'">
        <pos x="+3" y="+65"/>
        <size width="43" height="157"/>
        <off x="1235" y="1200"/>
      </visual>

      <button class="headphones" x="+0" y="+234"/>
      <button class="headphones_flat" x="+0" y="+234"/>

    </define>

    <define class="mixer_audio_vol" classdeck="left" visible="true">

      <pos x="+103" y="+13"/>
      <panel class="mixer_audio_vol_tool"/>

    </define>

    <define class="mixer_audio_vol" classdeck="right" visible="true">

      <pos x="+241" y="+13"/>
      <panel class="mixer_audio_vol_tool"/>

    </define>

    <define class="mixer_audio_vu_meter" id="vumeter" visible="yes">
      
      <pos x="+160" y="+88"/>
      
      <panel class="main_vu" visibility="not skin_panel 'vu_off'"/>

      <pannel id="vu_off" group="vu_levels" visible="no">

        <button class="mixerbutton" action="custom_button 120" rightclick="custom_button_edit 120" >
          <tooltip>User Custom Button 120\nRight click to set it to do any action you want</tooltip>
          <pos x="+13" y="+0"/>
          <text action="has_custom_button ? custom_button_name 120" />
        </button>

        <button class="mixerbutton_flat" action="custom_button 120" rightclick="custom_button_edit 120" >
          <tooltip>User Custom Button 120\nRight click to set it to do any action you want</tooltip>
          <pos x="+13" y="+0"/>
          <text action="has_custom_button ? custom_button_name 120" />
        </button>

        <panel class="knob_mixer" x="+15" y="+40"><visual/>

          <slider action="custom_button 121" rightclick="custom_button_edit 121" defaultvalue="0.5" disabled="not has_custom_button" tooltip="SMART KNOB\nRight click to set it to do any action you want"/>
          <slider action="custom_button 121" rightclick="custom_button_edit 121" defaultvalue="0" disabled="not has_custom_button" tooltip="SMART KNOB\nRight click to set it to do any action you want"/>
          <textzone><text action="has_custom_button 121 ? custom_button_name 121"/></textzone>

        </panel>
       
        <button class="mixerbutton" action="custom_button 122" rightclick="custom_button_edit 122" >
          <tooltip>User Custom Button 122\nRight click to set it to do any action you want</tooltip>
          <pos x="+13" y="+116"/>
          <text action="custom_button_name 122" />
        </button>

        <button class="mixerbutton_flat" action="custom_button 122" rightclick="custom_button_edit 122" >
          <tooltip>User Custom Button 122\nRight click to set it to do any action you want</tooltip>
          <pos x="+13" y="+116"/>
          <text action="custom_button_name 122" />
        </button>

      </pannel>

      <pannel id="vu_meter" group="vu_levels" visible="no"/>

      <pannel id="vu_output" group="vu_levels" visible="yes"/>
      
      <menu class="vu_menus"/>

    </define>

    <define class="mixer_video_vol_bkground" visible="true">

      <visual x="+0" y="+0" visibility="skin_panel 'videos'">
        <size width="59" height="306"/>
        <off x="1233" y="1169"/>
      </visual>

      <visual x="+0" y="+0" visibility="65%">
        <size width="59" height="306"/>
        <off x="1233" y="1169"/>
      </visual>

    </define>

    <define class="mixer_video_vol" classdeck="left" visible="true">

      <pos x="+20"/>
      <panel class="mixer_video_vol_bkground"/>
      <panel class="mixer_audio_vol_tool" x="+5" y="+13"/>

    </define>

    <define class="mixer_video_vol" classdeck="right" visible="true">

      <pos x="+313"/>
      <panel class="mixer_video_vol_bkground"/>
      <panel class="mixer_audio_vol_tool" x="+5" y="+13"/>

    </define>

    <define class="mixer_video_vu_meter_L" id="vumeter" visible="yes">
      
      <pos x="+4" y="+226"/>
      
      <visual>
        <pos x="-2" y="-2"/>
        <size width="16" height="146"/>
        <off x="638" y="2110"/>
      </visual>

      <panel visibility="not skin_panel 'vu_off'">

        <panel visibility="var '@$vucolor' 0">
          <visual class="main_vu_left" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter : skin_panel 'vu_output' on ? get_level : false"/>
          <visual class="main_vu_left_peak" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_peak : get_level_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+0" y="+0"/></visual>
        </panel>

        <panel visibility="var '@$vucolor' 1">
          <visual class="main_vu_neutral" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter : skin_panel 'vu_output' on ? get_level : false"/>
          <visual class="main_vu_neutral_peak" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_peak : get_level_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+0" y="+0"/></visual>
        </panel>

        <panel visibility="var '@$vucolor' 2">
          <visual class="main_vu_green" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter : skin_panel 'vu_output' on ? get_level : false"/>
          <visual class="main_vu_green_peak" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_peak : get_level_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+0" y="+0"/></visual>
        </panel>

        <menu class="vu_menus"><size width="12" height="141"/></menu>

      </panel>

    </define>      

    <define class="mixer_video_vu_meter_R" id="vumeter" visible="yes">
      
      <pos x="+375" y="+226"/> y88
      
      <visual>
        <pos x="-2" y="-2"/>
        <size width="16" height="146"/>
        <off x="638" y="2110"/>
      </visual>

      <panel visibility="not skin_panel 'vu_off'">

        <panel visibility="var '@$vucolor' 0">
          <visual class="main_vu_right" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter : skin_panel 'vu_output' on ? get_level : false"/>
          <visual class="main_vu_right_peak" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_peak : get_level_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+0" y="+0"/></visual>
        </panel>

        <panel visibility="var '@$vucolor' 1">
          <visual class="main_vu_neutral" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter : skin_panel 'vu_output' on ? get_level : false"/>
          <visual class="main_vu_neutral_peak" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_peak : get_level_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+0" y="+0"/></visual>
        </panel>

        <panel visibility="var '@$vucolor' 2">
          <visual class="main_vu_green" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter : skin_panel 'vu_output' on ? get_level : false"/>
          <visual class="main_vu_green_peak" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_peak : get_level_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+0" y="+0"/></visual>
        </panel>

        <menu class="vu_menus"><size width="12" height="141"/></menu>

      </panel>

    </define>      

    <define class="mixer_video_module_L">

      <video x="+0" y="+0" source="channel" chan="left">
        <size width="110" height="61"/>
      </video>

      <button x="+0" y="+0" action="deck left video_transition" dblclick="video_crossfader 0%" rightclick="video_crossfader 0% while_pressed">
        <size width="110" height="61"/>
      </button>

    </define>

    <define class="mixer_video_module_R">

      <video x="+0" y="+0" source="channel" chan="right">
        <size width="110" height="61"/>
      </video>

      <button x="+0" y="+0" action="deck right video_transition" dblclick="video_crossfader 100%" rightclick="video_crossfader 100% while_pressed">
        <size width="110" height="61"/>
      </button>

    </define>

    <define class="mixer_scratch_vert">

      <visual visibility="70%">
        <pos x="+0" y="+0"/>
        <size width="74" height="285"/>
        <off x="575" y="1572"/>
      </visual>

      <scratchwave orientation="vertical">
        <pos x="+3" y="+3"/>
        <size width="68" height="277"/>
        <overlay>
          <size width="68" height="2"/>
          <pos x="+0" y="+3+138"/>
          <background x="509" y="2332"/>
        </overlay>
      </scratchwave>

    </define>

    <define class="mixer_master_topknobs" visibility="skin_panel 'mixer_master_monitor' ? true : skin_panel 'mixer_master_broadcast' ? true : skin_panel 'mixer_master_sampler' ? true : false">

      <panel class="knob_master_volume" x="+25" y="+13"/>

      <panel class="knob_master" x="+320" y="+13">

        <visual/>
        <slider action="mic_volume" rightclick="mic_volume 100% ? mic_volume 20% : mic_volume 100%" tooltip="MIC VOLUME" disabled="not get_hasmic"/>
        <slider action="mic_volume" rightclick="mic_volume 100% ? mic_volume 20% : mic_volume 100%" tooltip="MIC VOLUME" disabled="not get_hasmic"/>
        <textzone><text format="MIC"/><text2 action="mic_volume &amp; param_cast 'percentage'"/></textzone>

        <button action="mic" tooltip="MIC ON\nTurn on or off the microphone">
          <pos x="+42" y="+39"/>
          <size width="14" height="15"/>
          <up x="692" y="1129"/>
          <selected x="729" y="1129"/>
          <down x="729" y="1129"/>
          <over x="710" y="1129"/>
        </button>

        <button action="sampler_rec 'mic'" tooltip="RECORD TO SAMPLE\nRecord the microphone into a new sample file">
          <pos x="-9" y="+39"/>
          <size width="14" height="15"/>
          <up x="692" y="1129"/>
          <selected x="748" y="1129"/>
          <down x="748" y="1129"/>
          <over x="710" y="1129"/>
        </button>

      </panel>

      <group name="headphones" x="+85" y="+13">

        <visual x="+0" y="+11">
          <size width="219" height="30"/>
          <off x="0" y="1477"/>
        </visual>

        <panel class="knob_hp" x="+31" y="+0"><visual/>

          <slider action="headphone_volume" rightclick="headphone_volume 100% ? headphone_volume 20% : headphone_volume 100%" tooltip="HEADPHONES VOLUME" disabled="not get_hasheadphones"/>
          <slider action="headphone_volume" rightclick="headphone_volume 100% ? headphone_volume 20% : headphone_volume 100%" tooltip="HEADPHONES VOLUME" disabled="not get_hasheadphones"/>
          <textzone><text format="VOL"/><text2 action="headphone_volume &amp; param_cast 'percentage'"/></textzone>

        </panel>

        <panel class="knob_hp" x="+140" y="+0"><visual/>

          <slider action="headphone_mix" rightclick="headphone_mix 0% ? headphone_mix 100% : headphone_mix 0%" tooltip="HEADPHONES MIX" disabled="not get_hasheadphones"/>
          <slider action="headphone_mix" rightclick="headphone_mix 0% ? headphone_mix 100% : headphone_mix 0%" tooltip="HEADPHONES MIX" disabled="not get_hasheadphones"/>
          <textzone><text format="MIX"/><text2 action="headphone_mix &amp; param_cast 'percentage'"/></textzone>

        </panel>

      </group>
      
    </define>

    <define class="mixer_master_monitor" id="mixer_master_monitor">

      <visual type="color" source="constant '#050505'" tooltip=""><pos x="+5" y="+76"/><size width="383" height="219"/></visual>

      <panel class="vu_left" x="+57" y="+76"/>
      <panel class="vu_right" x="+57" y="+129"/>
      <panel class="vu_mic" x="+57" y="+182"/>
      <panel class="vu_master" x="+57" y="+235"/>
      <textzone><pos x="+25" y="+91"/><size width="64" height="30"/><text size="30" color="#008BFF" format="A"/></textzone>
      <textzone><pos x="+25" y="+144"/><size width="64" height="30"/><text size="30" color="#ED1C24" format="B"/></textzone>
      <button><pos x="+20" y="+196"/><size width="24" height="24"/><icon x="1077" y="1542" size="24"/></button>
      <button><pos x="+20" y="+251"/><size width="24" height="24"/><icon x="1138" y="1542" size="24"/></button>

      <panel class="fx_dropdown_master" x="+11" y="+300"/>
      <panel class="fx_dropdown_master" x="+11" y="+340">
        <button action="deck master effect_active 2"><text action="deck master get effect_name 2"/></button>
        <button action="deck master effect_select 2" rightclick="deck master effect_show_gui 2"/>
      </panel>
      <panel class="fx_dropdown_master" x="+309" y="+300">
        <button action="deck master effect_active 3"><text action="deck master get effect_name 3"/></button>
        <button action="deck master effect_select 3" rightclick="deck master effect_show_gui 3"/>
      </panel>
      <panel class="fx_dropdown_master" x="+309" y="+340">
        <button action="deck master effect_active 4"><text action="deck master get effect_name 4"/></button>
        <button action="deck master effect_select 4" rightclick="deck master effect_show_gui 4"/>
      </panel>



    </define>

    <define class="mixer_master_broadcast" id="mixer_master_broadcast">

      <panel id="mastervolume" x="+19" y="+0">

        <visual x="+0" y="+0">
          <size width="59" height="285"/>
          <off x="1233" y="1166"/>
        </visual>

        <button x="+5" y="+87" class="mixerbutton" action="on" tooltip="AUTO LIMITER\nCompress the sound instead of clipping when it is too loud"><text format="LIM"/></button>
        <button x="+5" y="+87" class="mixerbutton_flat" action="on" tooltip="AUTO LIMITER\nCompress the sound instead of clipping when it is too loud"><text format="LIM"/></button>
        <button x="+5" y="+126" class="mixerbutton" action="sampler_rec 'master'" tooltip="RECORD TO SAMPLE\nRecord the master output into a new sample file"><text format="REC"/></button>
        <button x="+5" y="+126" class="mixerbutton_flat" action="sampler_rec 'master'" tooltip="RECORD TO SAMPLE\nRecord the master output into a new sample file"><text format="REC"/></button>

        <visual source="get_vu_meter 'master'" type="linear" orientation="vertical" direction="up">
          <pos x="+23" y="+171"/>
          <size width="12" height="100"/>
          <off x="660" y="1846"/>
          <on x="691" y="1846"/>
        </visual>

      </panel>

      <panel id="mimicvolume" x="+313" y="+0">

        <visual x="+0" y="+0">
          <size width="59" height="285"/>
          <off x="1233" y="1166"/>
        </visual>

        <button class="mixerbutton" x="+5" y="+87" action="mic" tooltip="MIC ON\nTurn on or off the microphone"><text format="ON"/></button>
        <button class="mixerbutton_flat" x="+5" y="+87" action="mic" tooltip="MIC ON\nTurn on or off the microphone"><text format="ON"/></button>
        <button class="mixerbutton" x="+5" y="+126" action="sampler_rec 'mic'" tooltip="RECORD TO SAMPLE\nRecord the microphone into a new sample file"><text format="REC"/></button>
        <button class="mixerbutton_flat" x="+5" y="+126" action="sampler_rec 'mic'" tooltip="RECORD TO SAMPLE\nRecord the microphone into a new sample file"><text format="REC"/></button>

        <visual source="get_vu_meter 'mic'" type="linear" orientation="vertical" direction="up">
          <pos x="+23" y="+171"/>
          <size width="12" height="100"/>
          <off x="660" y="1846"/>
          <on x="691" y="1846"/>
        </visual>

      </panel>

      <panel id="mamaster_fx" x="+112" y="+85">

        <textzone x="+0" y="+0">
          <size width="137+25" height="13"/>
          <text size="13" color="#E1E1E1" align="center" format="MASTER EFFECT"/>
        </textzone>

        <panel class="fx_dropdown_master" x="-32" y="+20"/>
        <panel class="fx_dropdown_master" x="+46" y="+20">
          <button action="deck master effect_active 2"><text action="deck master get effect_name 2"/></button>
          <button action="deck master effect_select 2" rightclick="deck master effect_show_gui 2"/>
        </panel>
        <panel class="fx_dropdown_master" x="+124" y="+20">
          <button action="deck master effect_active 3"><text action="deck master get effect_name 3"/></button>
          <button action="deck master effect_select 3" rightclick="deck master effect_show_gui 3"/>
        </panel>

      </panel>

      <visual x="+83" y="+140">
        <size width="224" height="6"/>
        <off x="1235" y="1458"/>
      </visual>

      <group name="broadcast" x="+83" y="+154">

        <textzone>
          <pos x="+0" y="+0"/>
          <size width="224" height="13"/>
          <text size="13" color="#E1E1E1" align="center" format="RECORD/BROADCAST MIX"/>
        </textzone>

        <visual x="+29" y="+19">
          <size width="161" height="62"/>
          <off x="714" y="1606"/>
        </visual>

        <textzone>
          <pos x="+30" y="+20"/>
          <size width="159" height="60"/>
          <text size="12" color="#E1E1E1" align="center" action="broadcast_message 'full'"/>
        </textzone>

        <button class="mixerbutton" x="+29" y="+90" action="broadcast" tooltip="Broadcast Mix"><text size="12" format="BCAST"/></button>
        <button class="mixerbutton_flat" x="+29" y="+90" action="broadcast" tooltip="Broadcast Mix"><text size="12" format="BCAST"/></button>
        <button class="mixerbutton" x="+85" y="+90" action="record" tooltip="Record Mix"><text size="12" format="REC"/></button>
        <button class="mixerbutton_flat" x="+85" y="+90" action="record" tooltip="Record Mix"><text size="12" format="REC"/></button>
        <button class="mixerbutton" x="+141" y="+90" action="record_config" tooltip="Edit record settings"><text size="12" format="FILE"/></button>
        <button class="mixerbutton_flat" x="+141" y="+90" action="record_config" tooltip="Edit record settings"><text size="12" format="FILE"/></button>

        <visual source="record_vu" type="linear" orientation="vertical" direction="up">
          <pos x="+202" y="+22"/>
          <size width="12" height="59"/>
          <off x="631" y="1871"/>
          <on x="610" y="1871"/>
        </visual>

      </group>

      <visual x="+83" y="+280">
        <size width="224" height="6"/>
        <off x="1235" y="1458"/>
      </visual>

      <panel class="knob_master" x="+25" y="+313"><visual/>

        <slider action="master_balance" dblclick="master_balance 50%" rightclick="temporary" tooltip="MASTER BALANCE\nLeft ? Or right ?"/>
        <slider action="master_balance" dblclick="master_balance 50%" rightclick="temporary" tooltip="MASTER BALANCE\nLeft ? Or right ?" frommiddle="true"/>
        <textzone><text format="BAL"/><text2 action="master_balance &amp; param_cast 'percentage'"/></textzone>

      </panel>

      <panel class="knob_master" x="+321" y="+313"><visual/>

        <slider action="booth_volume" dblclick="booth_volume 0%" rightclick="temporary" tooltip="BOOTH VOLUME"/>
        <slider action="booth_volume" dblclick="booth_volume 0%" rightclick="temporary" tooltip="BOOTH VOLUME" frommiddle="false"/>
        <textzone><text format="BOOTH"/><text2 action="booth_volume  &amp; param_cast 'percentage'"/></textzone>

      </panel>

    </define>

    <define class="mixer_master_sampler" id="mixer_master_sampler">

      <sampler class="browser_constant">
        <font size="8"/>
        <icon size="64"/>
        <pos x="+0" y="+75"/>
        <size width="393" height="220"/>
      </sampler>

      <panel class="knob_mixer" x="+25" y="+313"><visual/>

        <slider action="sampler_volume" rightclick="temporary" tooltip="SAMPLER VOLUME"/>
        <slider action="sampler_volume" rightclick="temporary" tooltip="SAMPLER VOLUME"/>
        <textzone><text2 format="SAMPLER"/><text action="sampler_volume &amp; param_cast 'percentage'"/></textzone>

      </panel>

    </define>

    <define class="mixer_master_sidelist" id="mixer_master_sidelist">

      <visual type="color" source="constant '#050505'" tooltip=""><pos x="+4" y="+0"/><size width="384" height="295"/></visual>

      <sideview source="sidelist" class="browser_constant">
        <font size="14"/>
        <fontheader size="5"/>
        <fontgridtitle size="14"/>
        <pos x="+4" y="+0"/>
        <size width="384" height="295"/>
      </sideview>

      <panel class="knob_master_volume" x="+25" y="+313"/>

        <button class="mixerbutton" x="+320" y="+289" action="sidelist_clear" rightclick="load_skin ':2 Decks'" tooltip="CLEAR\nEmpty the sidelist\nRightclick to refresh the skin (and browser)"><text size="10" format="CLEAR"/></button>
        <button class="mixerbutton_flat" x="+320" y="+289" action="sidelist_clear" rightclick="load_skin ':2 Decks'" tooltip="CLEAR\nEmpty the sidelist\nRightclick to refresh the skin (and browser)"><text size="10" format="CLEAR"/></button>
        <button class="mixerbutton" x="+320" y="+320" action="mix_next_sidelist" tooltip="MIX\nAutomix the next file in sidelist"><text size="10" format="NEXT"/></button>
        <button class="mixerbutton_flat" x="+320" y="+320" action="mix_next_sidelist" tooltip="MIX\nAutomix the next file in sidelist"><text size="10" format="NEXT"/></button>
        <button class="mixerbutton" x="+320" y="+351" action="switch_sidelist_playlist" tooltip="SWITCH\nExchange sidelist and playlist content"><text size="10" format="SWITCH"/></button>
        <button class="mixerbutton_flat" x="+320" y="+351" action="switch_sidelist_playlist" tooltip="SWITCH\nExchange sidelist and playlist content"><text size="10" format="SWITCH"/></button>

    </define>

    <define class="mixer_audio">

      <visual>
        <pos x="+98" y="+0"/>
        <size width="197" height="285"/>
        <off x="963" y="1119"/>
      </visual>

      <button visibility="skin_panel 'mixer_reset_button'" action="holding 2000ms ? deck left eq_reset &amp; deck right eq_reset &amp; deck left filter 50% &amp; deck right filter 50% &amp; master_balance 50% &amp; levelfader_curve 0% &amp; booth_volume 0% &amp; mic_volume 0% &amp; headphone_volume 0% &amp; headphone_mix 0% &amp; crossfader 50% &amp;&amp; on : off">
        <tooltip>MIXER RESET\nReset all knobs at once\nYou have to hold the button for about 2s</tooltip>
        <pos x="+160" y="+255"/>
        <size width="14" height="15"/>
        <up x="710" y="1129"/>
        <over x="748" y="1129"/>
        <overselected x="748" y="1129"/>
        <downselected x="748" y="1129"/>
        <on x="710" y="1129"/>
      </button>

      <panel visibility="not skin_panel 'swap'">

        <deck deck="left">
        
          <panel class="mixer_audio_eq"/>
          <panel class="mixer_audio_vol"/>
          <panel class="mixer_audio_extra"/>

        </deck>

        <deck deck="right">

          <panel class="mixer_audio_eq"/>
          <panel class="mixer_audio_vol"/>
          <panel class="mixer_audio_extra"/>

        </deck>
      
      </panel>
      
      <panel visibility="skin_panel 'swap'">

        <deck deck="left">
        
          <panel class="mixer_audio_eq"><pos x="+321"/></panel>
          <panel class="mixer_audio_vol"><pos x="+241"/></panel>
          <panel class="mixer_audio_extra"><pos x="+321"/></panel>

        </deck>

        <deck deck="right">

          <panel class="mixer_audio_eq"><pos x="+25"/></panel>
          <panel class="mixer_audio_vol"><pos x="+103"/></panel>
          <panel class="mixer_audio_extra"><pos x="+25"/></panel>

        </deck>
      
      </panel>
      
      <panel class="mixer_audio_extra_bottom"/>
      <panel class="mixer_audio_vu_meter"/>

    </define>

    <define class="mixer_video">

      <panel id="buttons" visible="yes">
        <button class="custom_mixer" action="video_fadetoblack" tooltip="FADE TO BLACK\nActivate / deactivate fade-to-black on volume sliders"><pos x="+264" y="+359"/><on x="352" y="1572"/><off x="352" y="1512"/><text size="12" format="FADE"/></button>
        <button class="custom_mixer_flat" action="video_fadetoblack" tooltip="FADE TO BLACK\nActivate / deactivate fade-to-black on volume sliders"><pos x="+264" y="+359"/><on x="386" y="1572"/><off x="386" y="1512"/><text size="12" format="FADE"/></button>

        <button class="custom_mixer" action="video_output" tooltip="VIDEO OUTPUT\nChoose where to show clips"><pos x="+224" y="+359"/><text size="12" format="OUT"/></button>
        <button class="custom_mixer_flat" action="video_output" tooltip="VIDEO OUTPUT\nChoose where to show clips"><pos x="+224" y="+359"/><text size="12" format="OUT"/></button>
      </panel>

      <panel id="videos" group="videomode" x="+83" y="+4" visible="no">

        <visual x="+0" y="+0">
          <size width="227" height="194"/>
          <off x="6" y="1769"/>
        </visual>

        <group name="master" x="+0" y="+1">

          <video x="+0" y="+0" source="master">
            <size width="226" height="126"/>
          </video>

          <button x="+0" y="+0" action="video" rightclick="video on">
            <size width="226" height="126"/>
          </button>

        </group>

        <panel class="mixer_video_module_L" x="+1" y="+131" visibility="not skin_panel 'swap'"/>

        <panel class="mixer_video_module_L" x="+115" y="+131" visibility="skin_panel 'swap'"/>

        <panel class="mixer_video_module_R" x="+115" y="+131" visibility="not skin_panel 'swap'"/>

        <panel class="mixer_video_module_R" x="+1" y="+131" visibility="skin_panel 'swap'"/>

      </panel>

      <panel id="video_big" group="videomode" x="+0" y="+0" visible="yes">

        <visual x="+0" y="+0">
          <size width="391" height="220"/>
          <off x="6" y="2249"/>
        </visual>

        <video x="+0" y="+0" source="master">
          <size width="390" height="219"/>
        </video>

        <button x="+0" y="+0" action="video" rightclick="video on">
          <size width="390" height="219"/>
        </button>

      </panel>

      <panel visibility="not skin_panel 'swap'">
        <deck deck="left">
          <panel id="video_volume" group="video_sides" visible="yes">
            <panel class="mixer_video_vol"/>
            <panel class="knob" id="mixer_filter" x="+25" y="+13+60+60+60+60+60">
              <visual/>
              <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER"/>
              <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER" frommiddle="true"/>
              <textzone><text action="filter_label"/></textzone>
              <button class="mixer_audio_eq_kill" action="filter 50% ? off & filter 50% : on & filter 50%" visibility="skin_panel 'eq_kill' on" tooltip="RESET FILTER"/>
            </panel>
          </panel>
          <panel id="video_eq" group="video_sides" visible="no">
            <panel class="mixer_video_vol_bkground" x="+20"/>
            <panel class="mixer_audio_eq_tool" x="+25" y="+13"/>
            <panel class="knob_gain" x="+25" y="+13+60+60+60+60+60"/>
            <panel id="mixer_vol" visible="yes">
              <slider class="volume_level_small_no" x="+27" y="+21+60+60+60" visibility="not skin_panel 'cross_volumes'"/>
              <slider class="volume_level_small" x="+27" y="+21+60+60+60" visibility="skin_panel 'cross_volumes'"/>
            </panel>
          </panel>
        </deck>

        <deck deck="right">
          <panel id="video_volume" group="video_sides" visible="yes">
            <panel class="mixer_video_vol"/>
            <panel class="knob" id="mixer_filter" x="+321" y="+13+60+60+60+60+60">
              <visual/>
              <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER"/>
              <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER" frommiddle="true"/>
              <textzone><text action="filter_label"/></textzone>
              <button class="mixer_audio_eq_kill" action="filter 50% ? off & filter 50% : on & filter 50%" visibility="skin_panel 'eq_kill' on" tooltip="RESET FILTER"/>
            </panel>
          </panel>
          <panel id="video_eq" group="video_sides" visible="no">
            <panel class="mixer_video_vol_bkground" x="+313"/>
            <panel class="mixer_audio_eq_tool" x="+319" y="+13"/>
            <panel class="knob_gain" x="+321" y="+13+60+60+60+60+60"/>
            <panel id="mixer_vol" visible="yes">
              <slider class="volume_level_small_no" x="+321" y="+21+60+60+60" visibility="not skin_panel 'cross_volumes'"/>
              <slider class="volume_level_small" x="+321" y="+21+60+60+60" visibility="skin_panel 'cross_volumes'"/>
            </panel>
          </panel>
        </deck>
        <panel class="mixer_video_vu_meter_L"/>
        <panel class="mixer_video_vu_meter_R"/>
      </panel>

      <panel visibility="skin_panel 'swap'">
        <deck deck="left">
          <panel id="video_volume" group="video_sides" visible="yes">
            <panel class="mixer_video_vol"><pos x="+314"/></panel>
            <panel class="knob" id="mixer_filter" x="+321" y="+13+60+60+60+60+60">
              <visual/>
              <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER"/>
              <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER" frommiddle="true"/>
              <textzone><text action="filter_label"/></textzone>
              <button class="mixer_audio_eq_kill" action="filter 50% ? off & filter 50% : on & filter 50%" visibility="skin_panel 'eq_kill' on" tooltip="RESET FILTER"/>
            </panel>
          </panel>
          <panel id="video_eq" group="video_sides" visible="no">
            <panel class="mixer_video_vol_bkground" x="+313"/>
            <panel class="mixer_audio_eq_tool" x="+319" y="+13"/>
            <panel class="knob_gain" x="+321" y="+13+60+60+60+60+60"/>
            <panel id="mixer_vol" visible="yes">
              <slider class="volume_level_small_no" x="+321" y="+21+60+60+60" visibility="not skin_panel 'cross_volumes'"/>
              <slider class="volume_level_small" x="+321" y="+21+60+60+60" visibility="skin_panel 'cross_volumes'"/>
            </panel>
          </panel>
        </deck>
        <deck deck="right">
          <panel id="video_volume" group="video_sides" visible="yes">
            <panel class="mixer_video_vol"><pos x="+20"/></panel>
            <panel class="knob" id="mixer_filter" x="+25" y="+13+60+60+60+60+60">
              <visual/>
              <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER"/>
              <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER" frommiddle="true"/>
              <textzone><text action="filter_label"/></textzone>
              <button class="mixer_audio_eq_kill" action="filter 50% ? off & filter 50% : on & filter 50%" visibility="skin_panel 'eq_kill' on" tooltip="RESET FILTER"/>
            </panel>
          </panel>
          <panel id="video_eq" group="video_sides" visible="no">
            <panel class="mixer_video_vol_bkground" x="+20"/>
            <panel class="mixer_audio_eq_tool" x="+25" y="+13"/>
            <panel class="knob_gain" x="+25" y="+13+60+60+60+60+60"/>
            <panel id="mixer_vol" visible="yes">
              <slider class="volume_level_small_no" x="+27" y="+21+60+60+60" visibility="not skin_panel 'cross_volumes'"/>
              <slider class="volume_level_small" x="+27" y="+21+60+60+60" visibility="skin_panel 'cross_volumes'"/>
            </panel>
          </panel>
       </deck>
        <panel class="mixer_video_vu_meter_L"><pos x="+376"/></panel>
        <panel class="mixer_video_vu_meter_R"><pos x="+4"/></panel>
      </panel>

      <panel id="effects" x="+82" y="+200">

        <textzone x="+2" y="+7" panel="videos">
          <size width="60" height="9"/>
          <text size="11" color="#a5a5a5" align="left" format="TRANSITION"/>
        </textzone>

        <textzone x="+165" y="+7" panel="videos">
          <size width="60" height="9"/>
          <text size="11" color="#a5a5a5" align="right" format="EFFECT"/>
        </textzone>

        <panel class="masterfx_dropdown" x="+0" y="+24">

          <button action="video_transition" rightclick="video_transition 500ms" tooltip="Video Transition\nRightclick for faster"><text format="%videotransition"/></button>
          <button action="video_transition_select" rightclick="effect_show_gui 'transition'"/>

        </panel>

        <panel class="fx_dropdown_master" x="+77" y="+24"/>

        <panel class="masterfx_dropdown" x="+154" y="+24">

          <button action="video_fx" tooltip="Video Effect"><text format="%videofx"/></button>
          <button action="video_fx_select" rightclick="effect_show_gui 'video'"/>

        </panel>

      </panel>

      <panel id="videofader" x="+82" y="+263">

        <slider action="video_crossfader" rightclick="temporary" dblclick="video_crossfader 50%" orientation="horizontal" visibility="not skin_panel 'swap'">
          <pos x="+40" y="+4"/>
          <size width="147" height="6"/>
          <selected x="1072" y="1445"/>
          <up x="1072" y="1453"/>
          <fader>
            <pos x="1534" y="1260"/>
            <size width="8" height="21"/>
          </fader>
        </slider>

        <slider action="video_crossfader" rightclick="temporary" dblclick="video_crossfader 50%" orientation="horizontal" direction="left" visibility="skin_panel 'swap'">
          <pos x="+40" y="+4"/>
          <size width="147" height="6"/>
          <up x="1072" y="1445"/>
          <selected x="1072" y="1453"/>
          <fader>
            <pos x="1534" y="1260"/>
            <size width="8" height="21"/>
          </fader>
        </slider>

        <panel class="master_options" x="+12" y="+0">

          <button action="video_crossfader_auto" tooltip="Auto Video Crossfade\nCrossfade the video output automatically"/>
          <textzone><text format="AUTO"/></textzone>

        </panel>

        <panel class="master_options" x="+201" y="+0">

          <button action="video_crossfader_link" tooltip="Link Video Crossfader\nLink the video crossfader to the audio crossfader"/>
          <textzone><text format="LINK"/></textzone>

        </panel>

      </panel>

    </define>
    
    <define class="mixer_scratch">

      <panel visibility="not skin_panel 'swap'">

        <panel id="scratch_volume" group="scratch_sides" visible="yes">

          <deck deck="left">

            <panel class="mixer_video_vol"/>

            <panel class="knob" id="mixer_filter" x="+25" y="+13+60+60+60+60+60">

              <visual/>
              <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER"/>
              <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER" frommiddle="true"/>
              <textzone><text action="filter_label"/></textzone>

              <button class="mixer_audio_eq_kill" action="filter 50% ? off & filter 50% : on & filter 50%" visibility="skin_panel 'eq_kill' on" tooltip="RESET FILTER"/>
  
            </panel>

          </deck>

          <deck deck="right">

            <panel class="mixer_video_vol"/>

            <panel class="knob" id="mixer_filter" x="+321" y="+13+60+60+60+60+60">

              <visual/>
              <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER"/>
              <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER" frommiddle="true"/>
              <textzone><text action="filter_label"/></textzone>

              <button class="mixer_audio_eq_kill" action="filter 50% ? off & filter 50% : on & filter 50%" visibility="skin_panel 'eq_kill' on" tooltip="RESET FILTER"/>
  
            </panel>

          </deck>

        </panel>

        <panel id="scratch_eq" group="scratch_sides" visible="no">

          <deck deck="left">

            <panel class="mixer_audio_eq_tool" x="+25" y="+13"/>

            <panel class="knob_gain" x="+25" y="+13+60+60+60+60+60"/>

            <panel id="mixer_vol" visible="yes">

              <slider class="volume_level_small_no" x="+27" y="+21+60+60+60" visibility="not skin_panel 'cross_volumes'"/>
              <slider class="volume_level_small" x="+27" y="+21+60+60+60" visibility="skin_panel 'cross_volumes'"/>

            </panel>

          </deck>

          <deck deck="right">

            <panel class="mixer_audio_eq_tool" x="+319" y="+13"/>

            <panel class="knob_gain" x="+321" y="+13+60+60+60+60+60"/>

            <panel id="mixer_vol" visible="yes">

              <slider class="volume_level_small_no" x="+321" y="+21+60+60+60" visibility="not skin_panel 'cross_volumes'"/>
              <slider class="volume_level_small" x="+321" y="+21+60+60+60" visibility="skin_panel 'cross_volumes'"/>

            </panel>

          </deck>

        </panel>

        <panel class="mixer_video_vu_meter_L"/>
        <panel class="mixer_video_vu_meter_R"/>

        <panel class="mixer_scratch_vert" x="+81" y="+3">
          <visual visibility="50%"/><scratchwave deck="left"/>
        </panel>

        <panel class="mixer_scratch_vert" x="+237" y="+3">
          <visual/><scratchwave deck="right"/>
        </panel>

      </panel>

      <panel visibility="skin_panel 'swap'">

        <panel id="scratch_volume" group="scratch_sides" visible="yes">


          <deck deck="left">

            <panel class="mixer_video_vol"><pos x="+314"/></panel>

            <panel class="knob" id="mixer_filter" x="+321" y="+13+60+60+60+60+60">

              <visual/>
              <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER"/>
              <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER" frommiddle="true"/>
              <textzone><text action="filter_label"/></textzone>

              <button class="mixer_audio_eq_kill" action="filter 50% ? off & filter 50% : on & filter 50%" visibility="skin_panel 'eq_kill' on" tooltip="RESET FILTER"/>
  
            </panel>

          </deck>
  
          <deck deck="right">

            <panel class="mixer_video_vol"><pos x="+20"/></panel>

            <panel class="knob" id="mixer_filter" x="+25" y="+13+60+60+60+60+60">

              <visual/>
              <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER"/>
              <slider action="filter" dblclick="filter 50%" rightclick="temporary" tooltip="FILTER" frommiddle="true"/>
              <textzone><text action="filter_label"/></textzone>

              <button class="mixer_audio_eq_kill" action="filter 50% ? off & filter 50% : on & filter 50%" visibility="skin_panel 'eq_kill' on" tooltip="RESET FILTER"/>
  
            </panel>

          </deck>

        </panel>

        <panel id="scratch_eq" group="scratch_sides" visible="no">

          <deck deck="left">

            <panel class="mixer_audio_eq_tool"><pos x="+319" y="+13"/></panel>

            <panel class="knob_gain" x="+321" y="+13+60+60+60+60+60"/>

            <panel id="mixer_vol" visible="yes">

              <slider class="volume_level_small_no" x="+321" y="+21+60+60+60" visibility="not skin_panel 'cross_volumes'"/>
              <slider class="volume_level_small" x="+321" y="+21+60+60+60" visibility="skin_panel 'cross_volumes'"/>

            </panel>

          </deck>

          <deck deck="right">

            <panel class="mixer_audio_eq_tool"><pos x="+25" y="+13"/></panel>

            <panel class="knob_gain" x="+25" y="+13+60+60+60+60+60"/>

            <panel id="mixer_vol" visible="yes">

              <slider class="volume_level_small_no" x="+27" y="+21+60+60+60" visibility="not skin_panel 'cross_volumes'"/>
              <slider class="volume_level_small" x="+27" y="+21+60+60+60" visibility="skin_panel 'cross_volumes'"/>

            </panel>

          </deck>

        </panel>

        <panel class="mixer_video_vu_meter_L"><pos x="+376"/></panel>
        <panel class="mixer_video_vu_meter_R"><pos x="+4"/></panel>

        <panel class="mixer_scratch_vert" x="+237" y="+3">
          <visual/><scratchwave deck="left"/>
        </panel>

        <panel class="mixer_scratch_vert" x="+81" y="+3">
          <visual/><scratchwave deck="right"/>
        </panel>

      </panel>

      <group name="options" x="+156" y="+3">

        <visual>
          <pos x="+0" y="+0"/>
          <size width="80" height="287"/>
          <off x="492" y="1572"/>
        </visual>

        <textzone>
          <pos x="+13" y="+9"/>
          <size width="54" height="11"/>
          <text size="12" color="#a5a5a5" align="center" format="ZOOM"/>
        </textzone>

        <button class="minus" action="zoom +2% &amp; zoom_scratch +2%">
          <pos x="+13" y="+25"/>
        </button>

        <button class="plus" action="zoom -2% &amp; zoom_scratch -2%">
          <pos x="+43" y="+25"/>
        </button>

        <textzone>
          <pos x="+6" y="+117"/>
          <size width="69" height="11"/>
          <text size="12" color="#a5a5a5" align="center" format="CLONE DECK"/>
        </textzone>

        <textzone>
          <pos x="+6" y="+209"/>
          <size width="69" height="11"/>
          <text size="11" color="#a5a5a5" align="center" format="BEATLOCK"/>
        </textzone>

        <textzone>
          <pos x="+6" y="+242"/>
          <size width="69" height="11"/>
          <text size="11" color="#a5a5a5" align="center" format="MUTE REVERSE"/>
        </textzone>

        <button tooltip="DECK BRAKE\nToggle a vinyl brake style mode" action="setting 'rampStopTime' 0.00 ? off & setting 'rampStopTime' 0.45 : on & setting 'rampStopTime' 0.00" visibility="skin_panel 'style_glossy'">
          <pos x="+6" y="+88"/>
          <size width="33" height="24"/>
          <on x="352" y="1512"/>
          <over x="352" y="1572"/>
          <off x="352" y="1572"/>
          <text size="12" color="#E1E1E1" align="center" format="BRK"/>
        </button>

        <button tooltip="DECK BRAKE\nToggle a vinyl brake style mode" action="setting 'rampStopTime' 0.00 ? off & setting 'rampStopTime' 0.45 : on & setting 'rampStopTime' 0.00" visibility="skin_panel 'style_flat'">
          <pos x="+6" y="+88"/>
          <size width="33" height="24"/>
          <on x="386" y="1512"/>
          <over x="386" y="1572"/>
          <off x="386" y="1572"/>
          <text size="12" color="#E1E1E1" align="center" format="BRK"/>
        </button>

        <button tooltip="CLEAR\nReset numerous settings at once" visibility="skin_panel 'style_glossy'" action="setting 'touchWheelForwardSpin' off & setting 'touchWheelBackSpin' off & setting 'rampScratchTime' 0.05 & setting 'rampStartTime' 0.0 & setting 'crossfaderCurve' 1 & setting 'autoDiscMarker' off 7 setting 'pitchquality' 1 ? on & setting 'touchWheelForwardSpin' on & setting 'touchWheelBackSpin' on & setting 'rampScratchTime' 0.1 & setting 'rampStartTime' 0.0 & setting 'crossfaderCurve' 0.5 & setting 'autoDiscMarker' on & setting 'pitchquality' 2 : off & setting 'touchWheelForwardSpin' off & setting 'touchWheelBackSpin' off & setting 'rampScratchTime' 0.05 & setting 'rampStartTime' 0.0 & setting 'crossfaderCurve' 1 & setting 'autoDiscMarker' off & setting 'pitchquality' 1">
          <pos x="+44" y="+88"/>
          <size width="33" height="24"/>
          <on x="352" y="1512"/>
          <over x="352" y="1572"/>
          <off x="352" y="1572"/>
          <text size="12" color="#E1E1E1" align="center" format="CLR"/>
        </button>

        <button tooltip="CLEAR\nReset numerous settings at once" visibility="skin_panel 'style_flat'" action="setting 'touchWheelForwardSpin' off & setting 'touchWheelBackSpin' off & setting 'rampScratchTime' 0.05 & setting 'rampStartTime' 0.0 & setting 'crossfaderCurve' 1 & setting 'autoDiscMarker' off 7 setting 'pitchquality' 1 ? on & setting 'touchWheelForwardSpin' on & setting 'touchWheelBackSpin' on & setting 'rampScratchTime' 0.1 & setting 'rampStartTime' 0.0 & setting 'crossfaderCurve' 0.5 & setting 'autoDiscMarker' on & setting 'pitchquality' 2 : off & setting 'touchWheelForwardSpin' off & setting 'touchWheelBackSpin' off & setting 'rampScratchTime' 0.05 & setting 'rampStartTime' 0.0 & setting 'crossfaderCurve' 1 & setting 'autoDiscMarker' off & setting 'pitchquality' 1">
          <pos x="+44" y="+88"/>
          <size width="33" height="24"/>
          <on x="386" y="1512"/>
          <over x="386" y="1572"/>
          <off x="386" y="1572"/>
          <text size="12" color="#E1E1E1" align="center" format="CLR"/>
        </button>

        <button action="setting 'pitchquality' 0 ? setting 'pitchquality' 1 : setting 'pitchquality' 1 ? setting 'pitchquality' 2 : setting 'pitchquality' 0">
          <tooltip>PITCH QUALITY\n0: lowest\n1: medium\n2: best</tooltip>
          <pos x="+24" y="+170"/>
          <size width="31" height="24"/>
          <off x="300" y="70"/>
          <offover x="923" y="1150"/>
          <onover x="923" y="1210"/>
          <text size="18" dy="5" color="#E1E1E1" align="center" format="`setting 'pitchquality'`"><pos/></text>
        </button>

        <panel visibility="not skin_panel 'swap'">

          <deck deck="left">
            <button class="headphones_small" x="+6" y="+58" visibility="skin_panel 'scratch_eq'"/>
            <button class="headphones_small_flat" x="+6" y="+58" visibility="skin_panel 'scratch_eq'"/>
          </deck>

          <deck deck="right">
            <button class="headphones_small" x="+44" y="+58" visibility="skin_panel 'scratch_eq'"/>
            <button class="headphones_small_flat" x="+44" y="+58" visibility="skin_panel 'scratch_eq'"/>
          </deck>

          <button class="custom_mixer" action="deck right clone_deck left"><pos x="+6" y="+134"/><text format="◄"/></button>
          <button class="custom_mixer_flat" action="deck right clone_deck left"><pos x="+6" y="+134"/><text format="◄"/></button>

          <button class="custom_mixer" action="deck left clone_deck right"><pos x="+44" y="+134"/><on x="352" y="1542"/><text format=" ►"/></button>
          <button class="custom_mixer_flat" action="deck left clone_deck right"><pos x="+44" y="+134"/><on x="386" y="1542"/><text format=" ►"/></button>

          <button class="mixer_limiter" action="deck left beatlock">
            <tooltip>BEATLOCK</tooltip>
            <pos x="+21" y="+222"/>
          </button>

          <button class="mixer_limiter" action="deck right beatlock">
            <tooltip>BEATLOCK</tooltip>
            <pos x="+44" y="+222"/>
          </button>

          <button class="mixer_limiter" action="deck left smart_scratch">
            <tooltip>SMART SCRATCH\nCut sound while scratching backwards</tooltip>
            <pos x="+21" y="+256"/>
          </button>

          <button class="mixer_limiter" action="deck right smart_scratch">
            <tooltip>SMART SCRATCH\nCut sound while scratching backwards</tooltip>
            <pos x="+44" y="+256"/>
          </button>

        </panel>

        <panel visibility="skin_panel 'swap'">

          <deck deck="left">
            <button class="headphones_small" x="+44" y="+58" visibility="skin_panel 'scratch_eq'"/>
            <button class="headphones_small_flat" x="+44" y="+58" visibility="skin_panel 'scratch_eq'"/>
          </deck>

          <deck deck="right">
            <button class="headphones_small" x="+6" y="+58" visibility="skin_panel 'scratch_eq'"/>
            <button class="headphones_small_flat" x="+6" y="+58" visibility="skin_panel 'scratch_eq'"/>
          </deck>

          <button class="custom_mixer" action="deck left clone_deck right"><pos x="+6" y="+134"/><on x="352" y="1542"/><text format="◄"/></button>
          <button class="custom_mixer_flat" action="deck left clone_deck right"><pos x="+6" y="+134"/><on x="386" y="1542"/><text format="◄"/></button>

          <button class="custom_mixer" action="deck right clone_deck left"><pos x="+44" y="+134"/><text format="►"/></button>
          <button class="custom_mixer_flat" action="deck right clone_deck left"><pos x="+44" y="+134"/><text format="►"/></button>

          <button class="mixer_limiter" action="deck right beatlock">
            <tooltip>BEATLOCK</tooltip>
            <pos x="+21" y="+222"/>
          </button>

          <button class="mixer_limiter" action="deck left beatlock">
            <tooltip>BEATLOCK</tooltip>
            <pos x="+44" y="+222"/>
          </button>

          <button class="mixer_limiter" action="deck right smart_scratch">
            <tooltip>SMART SCRATCH\nCut sound while scratching backwards</tooltip>
            <pos x="+21" y="+256"/>
          </button>

          <button class="mixer_limiter" action="deck left smart_scratch">
            <tooltip>SMART SCRATCH\nCut sound while scratching backwards</tooltip>
            <pos x="+44" y="+256"/>
          </button>

        </panel>

      </group>

    </define>
    
    <define class="mixer_master">
    
      <visual>
        <pos x="+99+97+99" y="-25"/>
        <size width="98" height="25"/>
        <off x="1813" y="1144"/>
        <on x="1813" y="1116"/>
        <over x="1813" y="1172"/>
      </visual>

      <menu visibility="skin_panel 'mastermixer'">
        <tooltip>MASTER MENU\nSwitch between several master tabs</tooltip>
        <pos x="+99+97+99+13" y="-25+3"/>
        <size width="20" height="25"/>
        <off x="251" y="1320"/>
        <over x="226" y="1320"/>
        <item text="Monitor" action="skin_panel 'mixer_master_monitor' on" check="skin_panel 'mixer_master_monitor' on"/>
        <item text="Broadcast" action="skin_panel 'mixer_master_broadcast' on" check="skin_panel 'mixer_master_broadcast' on"/>
        <item text="Sidelist" action="skin_panel 'mixer_master_sidelist' on" check="skin_panel 'mixer_master_sidelist' on"/>
        <item text="Sampler" action="skin_panel 'mixer_master_sampler' on" check="skin_panel 'mixer_master_sampler' on"/>
      </menu>
      
      <panel class="mixer_master_monitor" group=" mixer_master_panels" visible="yes"/>
      <panel class="mixer_master_broadcast" group=" mixer_master_panels" visible="no"/>
      <panel class="mixer_master_sidelist" group=" mixer_master_panels" visible="no"/>
      <panel class="mixer_master_sampler" group=" mixer_master_panels" visible="no"/>

      <panel class="mixer_master_topknobs"/>

    </define>
    
    <define class="mixer_structure">

      <panel id="swap" visible="no"/>
      <panel id="mixer_pfl" visible="yes"/>
      <panel id="mixer_gain" visible="yes"/>
      <panel id="mixer_vol" visible="yes"/>
      <panel id="knobs_shapes" visible="yes"/>
      <panel id="decks_mirrored" visible="yes"/>
      <panel id="eq_kill" visible="no"/>
      <panel id="songpos_wheel" visible="yes"/>
      <panel id="extra_no" group="extra" visible="yes"/>
      <panel id="extra_scratch_no" group="extra_scratchmixer" visible="yes"/>
      <panel id="limiter_monitor" visible="yes"/>
      <panel id="mixer_reset_button" visible="yes"/>
      <panel id="pitch_reset_button" visible="yes"/>
      <panel id="vu_layout" visible="yes"/>
      <panel id="mixer_knobs_flat" visible="no"/>
      <panel id="mixer_knobs_verbose" visible="yes"/>
      <panel id="transport_flat" visible="no"/>
      <panel id="knobs_text" visible="yes"/>
      <panel id="style_glossy" group="style" visible="yes"/>
      <panel id="style_flat" group="style" visible="no"/>

      <menu name="mixer_menu">
        <tooltip>MIXER SETTINGS\nChoose the mixer's layout and options\nTIP: You may click on the VirtualDJ logo</tooltip>
        <pos x="+143" y="+387"/>
        <size width="26" height="26"/>
        <icon x="703" y="1416" height="26" dx="0" dy="0" />
        <submenu text="Sides" visibility="skin_panel 'audiomixer'">
          <item text="Master" action="set '$dynpan' 92 & skin_panel 'extra_master' on" check="skin_panel 'extra_master'"/>
          <item text="Scratch" action="skin_panel 'extra_scratch' on" check="skin_panel 'extra_scratch'"/>
          <item text="Level" action="skin_panel 'extra_volume' on" check="skin_panel 'extra_volume'"/>
          <item text="Custom 1" action="skin_panel 'extra_custom' on" check="skin_panel 'extra_custom'"/>
          <item text="Custom 2" action="skin_panel 'extra_custom_2' on" check="skin_panel 'extra_custom_2'"/>
          <item text="Disable" action="skin_panel 'extra_no' on" check="skin_panel 'extra_no'"/>
        </submenu>
        <submenu text="Sides" visibility="skin_panel 'scratchmixer'">
          <item text="Level" action="skin_panel 'scratch_volume' on" check="skin_panel 'scratch_volume'"/>
          <item text="EQ" action="skin_panel 'scratch_eq' on" check="skin_panel 'scratch_eq'"/>
        </submenu>
        <submenu text="Video" visibility="skin_panel 'videomixer'">
          <item text="Big" action="skin_panelgroup 'videomode'" check="skin_panel 'video_big' on"/>
          <item text="EQ" action="skin_panelgroup 'video_sides'" check="skin_panel 'video_eq' on"/>
        </submenu>
        <submenu text="Bottom">
          <item text="Crossfader" action="skin_panel 'crossfader' on" check="skin_panel 'crossfader' on"/>
          <item text="Master FX" action="skin_panel 'cross_masterfx' on" check="skin_panel 'cross_masterfx' on"/>
          <item text="Sampler levels" action="skin_panel 'cross_smp_vol' on" check="skin_panel 'cross_smp_vol' on"/>
          <item text="Beat matcher" action="skin_panel 'cross_beat_matcher' on" check="skin_panel 'cross_beat_matcher' on"/>
          <item text="Beat phaser" action="skin_panel 'cross_phaser' on" check="skin_panel 'cross_phaser' on"/>
          <item text="Custom 1" action="skin_panel 'cross_custom' on" check="skin_panel 'cross_custom' on"/>
          <item text="Custom 2" action="skin_panel 'cross_custom_2' on" check="skin_panel 'cross_custom_2' on"/>
          <item text="Disable" action="skin_panel 'cross_no' on" check="skin_panel 'cross_no' on"/>
        </submenu>
        <!-- submenu text="Vu meter2" class="vu_menus"/ -->
        <submenu text="Vu meter" visibility="skin_panel 'vumeter' on">
          <submenu text="Scheme" visibility="skin_panel 'audiomixer'">
            <item text="Per deck" action="set '$@vucolor' 0" check="var '@$vucolor' 0"/>
            <item text="Neutral" action="set '$@vucolor' 1" check="var '@$vucolor' 1"/>
            <item text="Green" action="set '$@vucolor' 2" check="var '@$vucolor' 2"/>
          </submenu>
          <item text="Levels" action="skin_pannel 'vu_meter' on" check="skin_pannel 'vu_meter'" />
          <item text="Vu meter" action="skin_pannel 'vu_output' on" check="skin_pannel 'vu_output'" />
          <item text="Disable" action="skin_pannel 'vu_off' on" check="skin_pannel 'vu_off'"/>
          <item text=' ' check="false" />
          <item text="Peaks" action="skin_panel 'vu_layout' toggle" check="skin_panel 'vu_layout'"/>
        </submenu>
        <submenu text="Monitor">
          <item text="Compressor" action="skin_panel 'limiter_monitor' toggle" check="skin_panel 'limiter_monitor' on"/>
          <item text="Shapes" action="skin_panel 'knobs_shapes' toggle" check="skin_panel 'knobs_shapes' on"/>
          <item text="Gains" action="skin_panel 'mixer_knobs_verbose' toggle" check="skin_panel 'mixer_knobs_verbose' on"/>
          <item text="Levels" action="skin_panel 'cross_volumes' toggle" check="skin_panel 'cross_volumes' on"/>
        </submenu>
        <submenu text="Flatten">
          <item text="Knobs" action="skin_panel 'mixer_knobs_flat' toggle" check="skin_panel 'mixer_knobs_flat' on"/>
          <item text="Transport" action="skin_panel 'transport_flat' toggle" check="skin_panel 'transport_flat' on"/>
          <item text="Buttons" action="skin_panelgroup 'style'" check="skin_panelgroup 'style' 'style_flat'"/>
        </submenu>
        <item text="PFL" action="skin_panel 'mixer_pfl' toggle" check="skin_panel 'mixer_pfl' on"/>
        <item text="Gain" action="skin_panel 'mixer_gain' toggle" check="skin_panel 'mixer_gain' on"/>
        <item text="Filter" action="skin_panel 'mixer_filter' toggle" check="skin_panel 'mixer_filter' on"/>
        <item text="Vu / custom" action="skin_panel 'vumeter' toggle" check="skin_panel 'vumeter' on"/>
        <item text="Level" action="skin_panel 'mixer_vol' toggle" check="skin_panel 'mixer_vol' on"/>
        <item text="EQ" action="skin_panel 'mixer_eq' toggle" check="skin_panel 'mixer_eq' on"/>
        <item text="EQ kill buttons" action="skin_panel 'eq_kill' toggle" check="skin_panel 'eq_kill' on" visibility="skin_panel 'mixer_eq' on"/>
        <item text="Reset" action="skin_panel 'mixer_reset_button' toggle" check="skin_panel 'mixer_reset_button' on"/>
      </menu>

      <menu name="deck_menu">
        <tooltip>DECK SETTINGS\nChoose the deck's layout and options</tooltip>
        <pos x="+103" y="+387"/>
        <size width="26" height="26"/>
        <icon x="1138" y="1541" height="29" dx="0" dy="0"/>
        <submenu text="Screen">
          <item text="Title / author" action="set '$InfoDeck' 0" check="var '$InfoDeck' 0"/>
          <item text="Scratch" action="set '$InfoDeck' 2 & skin_panel 'screen_scratch_filter' off" check="var '$InfoDeck' 2 && not skin_panel 'screen_scratch_filter'" />
          <item text="Scratch dimmed" action="set '$InfoDeck' 2 & skin_panel 'screen_scratch_filter' on" check="var '$InfoDeck' 2 && skin_panel 'screen_scratch_filter'" />
          <item text="Vu" action="set '$InfoDeck' 3" check="var '$InfoDeck' 3" />
          <item text="Disable" action="set '$InfoDeck' 1" check="var '$InfoDeck' 1" />
        </submenu>
        <submenu text="Wheel">
          <submenu text="Phraser" visibility="not skin_panel 'deck_type_video'">
            <item text="Small" action="skin_panel 'wheel_phraser' toggle" check="skin_panel 'wheel_phraser' on" />
            <item text="Big" action="skin_panel 'wheel_phraser_big' toggle" check="skin_panel 'wheel_phraser_big' on" />
          </submenu>
          <submenu text="Monitor" visibility="not skin_panel 'deck_type_video'">
            <item text="Cues" action="skin_panel 'wheel_cue' toggle" check="skin_panel 'wheel_cue' on" />
            <item text="Loops" action="skin_panel 'loop_monitor' toggle" check="skin_panel 'loop_monitor' on" />
          </submenu>
          <submenu text="RPM" visibility="not skin_panel 'deck_type_video'">
            <item text="1" action="setting 'RPM' 1" check="setting 'RPM' 1"/>
            <item text="6" action="setting 'RPM' 6" check="setting 'RPM' 6"/>
            <item text="33 *" action="setting 'RPM' 33" check="setting 'RPM' 33"/>
            <item text="45" action="setting 'RPM' 45" check="setting 'RPM' 45"/>
          </submenu>
          <item text="Art" action="skin_panel 'wheel_art_large' toggle" check="skin_panel 'wheel_art_large' on" visibility="not skin_panel 'deck_type_video'"/>
          <item text="Rotation" action="skin_panel 'wheel_animation' toggle" check="skin_panel 'wheel_animation' on" visibility="not skin_panel 'deck_type_video'"/>
          <item text="Songpos" action="skin_panel 'songpos_wheel' toggle" check="skin_panel 'songpos_wheel' on" visibility="not skin_panel 'deck_type_video'"/>
          <item text="Video" action="skin_panelgroup 'decktype'" check="skin_panelgroup 'decktype' 'deck_type_video'" />
        </submenu>
        <submenu text="Cover">
          <item text="Cover on deck" action="var '@$CoverDeck' 2 ? set '@$CoverDeck' 1 : var '@$CoverDeck' 1 ? set '@$CoverDeck' 0 : set '@$CoverDeck' 1" check="var '@$CoverDeck' 1" />
          <item text="Cover on wheel" action="var '@$CoverDeck' 1 ? set '@$CoverDeck' 2 : var '@$CoverDeck' 2 ? set '@$CoverDeck' 0 : set '@$CoverDeck' 2" check="var '@$CoverDeck' 2" />
        </submenu>
        <submenu text="Songpos style">
          <item text="Monochrome" action="setting 'coloredWaveforms' monochrome &amp; skin_panel 'options'" check="setting 'coloredWaveforms' monochrome"/>
          <item text="Neutral (colored)" action="setting 'coloredWaveforms' neutral &amp; skin_panel 'options'" check="setting 'coloredWaveforms' neutral"/>
          <item text="Ultra blue" action="setting 'coloredWaveforms' ultra-blue &amp; skin_panel 'options'" check="setting 'coloredWaveforms' ultra-blue"/>
          <item text="Infra red" action="setting 'coloredWaveforms' infra-red &amp; skin_panel 'options'" check="setting 'coloredWaveforms' infra-red"/>
          <item text="Per deck" action="setting 'coloredWaveforms' per-deck &amp; skin_panel 'options'" check="setting 'coloredWaveforms' per-deck"/>
        </submenu>
        <submenu text="Sets">
          <item text="Load" action="load_deck_set" hascheck="false"/>
          <item text="Save" action="save_deck_set" hascheck="false"/>
        </submenu>
        <item text="Mirrored decks" action="skin_panel 'decks_mirrored' toggle" check="skin_panel 'decks_mirrored' on" />
        <item text="Swap decks" action="skin_panel 'swap' toggle" check="skin_panel 'swap' on" />
        <item text="Seek controls" action="skin_panel 'seek_buttons' toggle" check="skin_panel 'seek_buttons' on" />
        <item text="Pitch" action="skin_panel 'pitch_controls' toggle" check="skin_panel 'pitch_controls' on" />
        <item text="Pitch reset" action="skin_panel 'pitch_reset_button' toggle" check="skin_panel 'pitch_reset_button' on"  visibility="skin_panel 'pitch_controls' on"/>
        <item text="Custom buttons" action="skin_panel 'custom_buttons' toggle" check="skin_panel 'custom_buttons' on" />
        <item text="Sidebar" action="skin_panel 'sidebar' toggle" check="skin_panel 'sidebar' on" />
        <item text="AUX" action="toggle '$showaux'" check="var '$showaux' 1" />
        <item text="Timecode" action="toggle '$showtimecode'" check="var '$showtimecode' 1" />
      </menu>

      <button action="skin_panel 'audiomixer' on">
        <tooltip></tooltip>
        <pos x="+0" y="+5"/>
        <size width="99" height="25"/>
        <on x="1518" y="1144"/>
        <off x="1518" y="1116"/>
        <over x="1518" y="1172"/>
      </button>

      <button action="skin_panel 'videomixer' on">
        <tooltip></tooltip>
        <pos x="+99" y="+5"/>
        <size width="97" height="25"/>
        <on x="1617" y="1144"/>
        <off x="1617" y="1116"/>
        <over x="1617" y="1172"/>
      </button>

      <button action="skin_panel 'scratchmixer' on">
        <tooltip></tooltip>
        <pos x="+99+97" y="+5"/>
        <size width="99" height="25"/>
        <on x="1714" y="1144"/>
        <off x="1714" y="1116"/>
        <over x="1714" y="1172"/>
      </button>

      <button action="skin_panel 'mastermixer' on" visibility="not skin_panel 'mastermixer' on">
        <tooltip></tooltip>
        <pos x="+99+97+99" y="+5"/>
        <size width="98" height="25"/>
        <on x="1813" y="1144"/>
        <off x="1813" y="1116"/>
        <over x="1813" y="1172"/>
      </button>

    </define>
    
    <define class="mixer_main">
      
      <panel class="mixer_structure"/>

      <group name="panels" x="+0" y="+30">

        <panel id="audiomixer" group="mixer" class="mixer_audio" visible="yes"/>
        <pannel id="videomixer" group="mixer" class="mixer_video" visible="no"/>
        <pannel id="scratchmixer" group="mixer" class="mixer_scratch" visible="no"/>
        <pannel id="mastermixer" group="mixer" class="mixer_master" visible="no"/>

      </group>
  
      <panel class="crossfader_bundle"/>
  
    </define>

    <define class="jukebox_pane">

      <panel id="filelist" visible="true" visibility="not skin_panel 'bigwaves'">

        <size width="1901" height="706-12"/>
        <pos x="10" y="146"/>

        <background>
          <size width="4" height="4"/>
          <pos x="23" y="1043"/>
        </background>

        <fileview class="browser_constant">
          <size width="1899" height="706-12"/>
          <pos x="+1" y="-2"/>
        </fileview>

      </panel>

      <panel id="filelist" visible="true" visibility="skin_panel 'bigwaves'">

        <size width="1901" height="706-12-92"/>
        <pos x="10" y="146+92"/>

        <background>
          <size width="4" height="4"/>
          <pos x="23" y="1043"/>
        </background>

        <fileview class="browser_constant">
          <size width="1899" height="706-12-92"/>
          <pos x="+1" y="-2+"/>
        </fileview>

      </panel>

      <panel id="divider" visible="true">

        <size width="1901" height="10"/>
        <pos x="10" y="840"/>
        <down x="10" y="1070"/>

      </panel>

      <button action="bs">
        <size width="10" height="220"/>
        <pos x="530" y="850"/>
        <off x="0" y="850"/>
      </button>

      <button action="bs">
        <size width="10" height="220"/>
        <pos x="1062" y="850"/>
        <off x="0" y="850"/>
      </button>

      <button action="bs">
        <size width="10" height="220"/>
        <pos x="1062+420" y="850"/>
        <off x="0" y="850"/>
      </button>

      <panel id="folders" visible="true"  toolbar="true">

        <size width="520" height="220"/>
        <pos x="10" y="850"/>

        <background>
          <size width="4" height="4"/>
          <pos x="23" y="1043"/>
        </background>

        <folderlist class="browser_constant">
          <size width="518" height="218"/>
          <pos x="+1" y="+1"/>
        </folderlist>  

      </panel>

      <panel id="pluginzone" visible="true">

        <size width="520" height="220"/>
        <pos x="538" y="850"/>

        <visual>
          <size width="528" height="228" />	
          <pos x="534" y="846"/>
          <off x="350" y="280"/>
        </visual>

      </panel>

      <panel id="info" visible="true">

        <size width="520" height="220"/>
        <pos x="538" y="850"/>

        <visual>
          <size width="528" height="228" />	
          <pos x="534" y="846"/>
          <off x="350" y="280"/>
        </visual>

        <browserinfo class="browser_constant">
          <size width="520" height="218"/>
          <pos x="+1" y="+1"/>
        </browserinfo>

      </panel>

      <visual>
        <size width="412" height="222" />	
        <pos x="540+530" y="+850"/>
        <off x="350" y="280"/>
      </visual>

      <sampler>
        <size width="370" height="218" />	
        <pos x="540+530+40" y="+850"/>
      </sampler>

      <textzone action="sampler_bank +1" rightclick="sampler_bank -1" orientation="vertical">
        <size width="30" height="218" />	
        <pos x="540+530" y="+850"/>
        <text action="get_sampler_bank" align="center" size="18"/>
      </textzone>

      <sideview source="sidelist" class="browser_constant">
        <size width="410" height="218" />	
        <pos x="540+530+425" y="+850"/>
      </sideview>

      <panel visibility="not skin_panel 'bigwaves'">

        <button class="menu_button" action="goto_last_folder">
          <pos x="945" y="154"/>
          <size width="21" height="20"/>
          <icon>
            <size width="21" height="20"/>
            <pos x="1268" y="1547"/>
          </icon>
        </button>

        <button class="menu_button" action="add_favoritefolder">
          <pos x="1015" y="154"/>
          <size width="21" height="20"/>
          <icon>
            <size width="20" height="20"/>
            <pos x="1174" y="1547"/>
          </icon>
        </button>

        <button class="menu_button" action="add_virtualfolder">
          <pos x="1065" y="154"/>
          <size width="21" height="20"/>
          <icon>
            <size width="21" height="20"/>
            <pos x="1206" y="1547"/>
          </icon>
        </button>

        <button class="menu_button" action="add_filterfolder">
          <pos x="1115" y="154"/>
          <size width="21" height="20"/>
          <icon>
            <size width="21" height="20"/>
            <pos x="1238" y="1547"/>
          </icon>
        </button>

        <button class="menu_button" action="view_options">
          <pos x="1920-210" y="154"/>
          <size width="21" height="20"/>
          <icon>
            <size width="21" height="20"/>
            <pos x="1299" y="1547"/>
          </icon>
        </button>

        <button class="menu_button" action="font_size -7%">
          <pos x="1920-160" y="154"/>
          <size width="21" height="20"/>
          <icon>
            <size width="21" height="20"/>
            <pos x="1525" y="1547"/>
          </icon>
        </button>

        <button class="menu_button" action="font_size +7%">
          <pos x="1920-110" y="154"/>
          <size width="21" height="20"/>
          <icon>
            <size width="21" height="20"/>
            <pos x="1557" y="1547"/>
          </icon>
        </button>

        <button class="menu_button" action="browser_options">
          <pos x="1920-60" y="155"/>
          <size width="21" height="20"/>
          <text format="●" size="16" align="center"/>
        </button>
	
      </panel>
  
      <panel visibility="skin_panel 'bigwaves'">

        <button class="menu_button" action="goto_last_folder">
          <pos x="945" y="154+92"/>
          <size width="21" height="20"/>
          <icon>
            <size width="21" height="20"/>
            <pos x="1268" y="1547"/>
          </icon>
        </button>

        <button class="menu_button" action="add_favoritefolder">
          <pos x="1015" y="154+92"/>
          <size width="21" height="20"/>
          <icon>
            <size width="20" height="20"/>
            <pos x="1174" y="1547"/>
          </icon>
        </button>

        <button class="menu_button" action="add_virtualfolder">
          <pos x="1065" y="154+92"/>
          <size width="21" height="20"/>
          <icon>
            <size width="21" height="20"/>
            <pos x="1206" y="1547"/>
          </icon>
        </button>

        <button class="menu_button" action="add_filterfolder">
          <pos x="1115" y="154+92"/>
          <size width="21" height="20"/>
          <icon>
            <size width="21" height="20"/>
            <pos x="1238" y="1547"/>
          </icon>
        </button>

        <button class="menu_button" action="view_options">
          <pos x="1920-210" y="154+92"/>
          <size width="21" height="20"/>
          <icon>
            <size width="21" height="20"/>
            <pos x="1299" y="1547"/>
          </icon>
        </button>

        <button class="menu_button" action="font_size -7%">
          <pos x="1920-160" y="154+92"/>
          <size width="21" height="20"/>
          <icon>
            <size width="21" height="20"/>
            <pos x="1525" y="1547"/>
          </icon>
        </button>

        <button class="menu_button" action="font_size +7%">
          <pos x="1920-110" y="154+92"/>
          <size width="21" height="20"/>
          <icon>
            <size width="21" height="20"/>
            <pos x="1557" y="1547"/>
          </icon>
        </button>

        <button class="menu_button" action="browser_options">
          <pos x="1920-60" y="155+92"/>
          <size width="21" height="20"/>
          <text format="●" size="16" align="center"/>
        </button>
	
      </panel>
  
    </define>

    <define class="main_vu">
    
      <visual visibility="not skin_panel 'vu_off'">
        <pos x="-5" y="-10"/>
        <size width="83" height="162"/>
        <off x="635" y="2102"/>
      </visual>
      
      <panel visibility="not skin_panel 'vu_off'">
        
        <textzone class="vu_text_S"><pos y="+130"/><text color="#888888" format="-56"/></textzone>
        <textzone class="vu_text_S"><pos y="+116"/><text color="#888888" format="VU"/></textzone>
        <textzone class="vu_text_S"><pos y="+102"/><text color="#888888" format="-20"/></textzone>
        <textzone class="vu_text_S"><pos y="+88"/><text color="#888888" format="-10"/></textzone>
        <textzone class="vu_text_S"><pos y="+60"/><text color="#888888" format="0"/></textzone>
        <textzone class="vu_text_S"><pos y="+40"/><text color="#888888" format="4"/></textzone>
        <textzone class="vu_text_S"><pos y="+20"/><text color="#888888" format="8"/></textzone>
        <textzone class="vu_text_S"><pos y="+10"/><text color="#888888" format="10"/></textzone>
        <textzone class="vu_text_S"><pos y="+0"/><text color="#888888" format="12"/></textzone>
          
      </panel>

      <visual visibility="deck left play ? false : deck right play ? false : true">
        <pos x="+28" y="-5"/>
        <size width="17" height="152"/>
        <off x="867" y="2136"/>
      </visual>

      <panel visibility="var '@$vucolor' 0 && not skin_panel 'swap'">

        <visual class="main_vu_left" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_left : skin_panel 'vu_output' on ? get_level_left : false"><pos x="+0" y="+0"/></visual>
        <visual class="main_vu_left" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_right : skin_panel 'vu_output' on ? get_level_right : false"><pos x="+16" y="+0"/></visual>
        <visual class="main_vu_left_peak" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_left_peak : get_level_left_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_left_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+0" y="+0"/></visual>
        <visual class="main_vu_left_peak" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_right_peak : get_level_right_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_right_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+16" y="+0"/></visual>

        <visual class="main_vu_right" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_left : skin_panel 'vu_output' on ? get_level_left : false"><pos x="+45" y="+0"/></visual>
        <visual class="main_vu_right" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_right : skin_panel 'vu_output' on ? get_level_right : false"><pos x="+45+16" y="+0"/></visual>
        <visual class="main_vu_right_peak" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_left_peak : get_level_left_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_left_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+45" y="+0"/></visual>
        <visual class="main_vu_right_peak" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_right_peak : get_level_right_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_right_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+45+16" y="+0"/></visual>

      </panel>
          
      <panel visibility="var '@$vucolor' 0 && skin_panel 'swap'">

        <visual class="main_vu_left" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_left : skin_panel 'vu_output' on ? get_level_left : false"><pos x="+45" y="+0"/></visual>
        <visual class="main_vu_left" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_right : skin_panel 'vu_output' on ? get_level_right : false"><pos x="+45+16" y="+0"/></visual>
        <visual class="main_vu_left_peak" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_left_peak : get_level_left_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_left_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+45" y="+0"/></visual>
        <visual class="main_vu_left_peak" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_right_peak : get_level_right_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_right_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+45+16" y="+0"/></visual>

        <visual class="main_vu_right" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_left : skin_panel 'vu_output' on ? get_level_left : false"><pos x="+0" y="+0"/></visual>
        <visual class="main_vu_right" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_right : skin_panel 'vu_output' on ? get_level_right : false"><pos x="+16" y="+0"/></visual>
        <visual class="main_vu_right_peak" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_left_peak : get_level_left_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_left_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+0" y="+0"/></visual>
        <visual class="main_vu_right_peak" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_right_peak : get_level_right_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_right_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+16" y="+0"/></visual>

      </panel>
          
      <panel visibility="var '@$vucolor' 1 && not skin_panel 'swap'">

        <visual class="main_vu_neutral" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_left : skin_panel 'vu_output' on ? get_level_left : false"><pos x="+0" y="+0"/></visual>
        <visual class="main_vu_neutral" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_right : skin_panel 'vu_output' on ? get_level_right : false"><pos x="+16" y="+0"/></visual>
        <visual class="main_vu_neutral_peak" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_left_peak : get_level_left_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_left_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+0" y="+0"/></visual>
        <visual class="main_vu_neutral_peak" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_right_peak : get_level_right_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_right_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+16" y="+0"/></visual>

        <visual class="main_vu_neutral" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_left : skin_panel 'vu_output' on ? get_level_left : false"><pos x="+45" y="+0"/></visual>
        <visual class="main_vu_neutral" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_right : skin_panel 'vu_output' on ? get_level_right : false"><pos x="+45+16" y="+0"/></visual>
        <visual class="main_vu_neutral_peak" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_left_peak : get_level_left_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_left_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+45" y="+0"/></visual>
        <visual class="main_vu_neutral_peak" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_right_peak : get_level_right_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_right_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+45+16" y="+0"/></visual>

      </panel>
          
      <panel visibility="var '@$vucolor' 1 && skin_panel 'swap'">

        <visual class="main_vu_neutral" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_left : skin_panel 'vu_output' on ? get_level_left : false"><pos x="+45" y="+0"/></visual>
        <visual class="main_vu_neutral" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_right : skin_panel 'vu_output' on ? get_level_right : false"><pos x="+45+16" y="+0"/></visual>
        <visual class="main_vu_neutral_peak" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_left_peak : get_level_left_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_left_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+45" y="+0"/></visual>
        <visual class="main_vu_neutral_peak" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_right_peak : get_level_right_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_right_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+45+16" y="+0"/></visual>

        <visual class="main_vu_neutral" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_left : skin_panel 'vu_output' on ? get_level_left : false"><pos x="+0" y="+0"/></visual>
        <visual class="main_vu_neutral" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_right : skin_panel 'vu_output' on ? get_level_right : false"><pos x="+16" y="+0"/></visual>
        <visual class="main_vu_neutral_peak" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_left_peak : get_level_left_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_left_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+0" y="+0"/></visual>
        <visual class="main_vu_neutral_peak" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_right_peak : get_level_right_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_right_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+16" y="+0"/></visual>

      </panel>
          
      <panel visibility="var '@$vucolor' 2 && not skin_panel 'swap'">

        <visual class="main_vu_green" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_left : skin_panel 'vu_output' on ? get_level_left : false"><pos x="+0" y="+0"/></visual>
        <visual class="main_vu_green" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_right : skin_panel 'vu_output' on ? get_level_right : false"><pos x="+16" y="+0"/></visual>
        <visual class="main_vu_green_peak" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_left_peak : get_level_left_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_left_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+0" y="+0"/></visual>
        <visual class="main_vu_green_peak" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_right_peak : get_level_right_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_right_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+16" y="+0"/></visual>

        <visual class="main_vu_green" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_left : skin_panel 'vu_output' on ? get_level_left : false"><pos x="+45" y="+0"/></visual>
        <visual class="main_vu_green" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_right : skin_panel 'vu_output' on ? get_level_right : false"><pos x="+45+16" y="+0"/></visual>
        <visual class="main_vu_green_peak" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_left_peak : get_level_left_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_left_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+45" y="+0"/></visual>
        <visual class="main_vu_green_peak" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_right_peak : get_level_right_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_right_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+45+16" y="+0"/></visual>

      </panel>
          
      <panel visibility="var '@$vucolor' 2 && skin_panel 'swap'">

        <visual class="main_vu_green" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_left : skin_panel 'vu_output' on ? get_level_left : false"><pos x="+45" y="+0"/></visual>
        <visual class="main_vu_green" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_right : skin_panel 'vu_output' on ? get_level_right : false"><pos x="+45+16" y="+0"/></visual>
        <visual class="main_vu_green_peak" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_left_peak : get_level_left_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_left_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+45" y="+0"/></visual>
        <visual class="main_vu_green_peak" type="custom" orientation="vertical" deck="left" source="skin_panel 'vu_meter' on ? get_vu_meter_right_peak : get_level_right_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_right_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+45+16" y="+0"/></visual>

        <visual class="main_vu_green" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_left : skin_panel 'vu_output' on ? get_level_left : false"><pos x="+0" y="+0"/></visual>
        <visual class="main_vu_green" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_right : skin_panel 'vu_output' on ? get_level_right : false"><pos x="+0+16" y="+0"/></visual>
        <visual class="main_vu_green_peak" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_left_peak : get_level_left_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_left_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+0" y="+0"/></visual>
        <visual class="main_vu_green_peak" type="custom" orientation="vertical" deck="right" source="skin_panel 'vu_meter' on ? get_vu_meter_right_peak : get_level_right_peak" orientation="vertical" direction="up" visibility="skin_panel 'vu_layout' ? get_level_right_peak &amp; param_cast 'percentage' &amp; param_greater 1% ? true : false"><pos x="+0+16" y="+0"/></visual>

      </panel>
          
    </define>

    <define class="knob" classdeck="left">
      <visual class="knob_in" visibility="not skin_panel 'mixer_knobs_flat'"/>
      <slider class="knob_fader" orientation="round"/>
      <slider class="outer_knob" orientation="circle" relative="no" rightclick="temporary" visibility="skin_panel 'knobs_shapes' on">
        <on x="1571" y="1201"/>
      </slider>
      <textzone class="knob_text"><text/><text/></textzone>
      <textzone class="knob_text"><text color="#FF6666"/></textzone>
      <visual class="knob_out" visibility="not skin_panel 'knobs_shapes' && skin_panel 'mixer_knobs_flat'"/>
    </define>

    <define class="knob" classdeck="right">
      <visual class="knob_in" visibility="not skin_panel 'mixer_knobs_flat'"/>
      <slider class="knob_fader" orientation="round"/>
      <slider class="outer_knob" orientation="circle" relative="no" rightclick="temporary" visibility="skin_panel 'knobs_shapes' on">
        <on x="1621" y="1201"/>
      </slider>
      <textzone class="knob_text"/>
      <textzone class="knob_text"><text color="#FF6666"/></textzone>
      <visual class="knob_out" visibility="not skin_panel 'knobs_shapes' && skin_panel 'mixer_knobs_flat'"/>
    </define>

    <define class="knob_master">
      <visual class="knob_in" visibility="not skin_panel 'mixer_knobs_flat'"/>
      <slider class="knob_fader" orientation="round"/>
      <slider class="outer_knob" orientation="circle" relative="no" rightclick="temporary" visibility="skin_panel 'knobs_shapes' on">
        <on x="1571" y="1344"/>
      </slider>
      <textzone class="knob_text"/>
      <textzone class="knob_text"><text color="#FF8888"/></textzone>
      <visual class="knob_out" visibility="not skin_panel 'knobs_shapes' && skin_panel 'mixer_knobs_flat'"/>
    </define>

    <define class="knob_mixer">
      <visual class="knob_in" visibility="not skin_panel 'mixer_knobs_flat'"/>
      <slider class="knob_fader" orientation="round"/>
      <slider class="outer_knob" orientation="circle" relative="no" visibility="skin_panel 'knobs_shapes' on">
        <on x="1746" y="1344"/>
      </slider>
      <textzone class="knob_text"/>
      <textzone><text color="#FF6666"/></textzone>
      <visual class="knob_out" visibility="not skin_panel 'knobs_shapes' && skin_panel 'mixer_knobs_flat'"/>
    </define>

    <define class="knob_hp">
      <visual class="knob_in" visibility="not skin_panel 'mixer_knobs_flat'"/>
      <slider class="knob_fader" orientation="round"/>
      <slider class="outer_knob" orientation="circle" relative="no" visibility="skin_panel 'knobs_shapes' on">
        <on x="1621" y="1344"/>
      </slider>
      <textzone class="knob_text"/>
      <textzone class="knob_text"><text color="#FF6666"/></textzone>
      <visual class="knob_out" visibility="not skin_panel 'knobs_shapes' && skin_panel 'mixer_knobs_flat'"/>
    </define>

    <define class="knob_gain" classdeck="left" visibility="skin_panel 'mixer_gain' on">

      <visual class="knob_in" visibility="not skin_panel 'mixer_knobs_flat'"/>
      <slider class="knob_fader" action="gain" dblclick="gain 50%" rightclick="holding 500ms ? set_gain 0 : match_gain" tooltip="GAIN"/>
      <slider class="outer_knob" action="gain" dblclick="gain 50%" rightclick="holding 500ms ? set_gain 0 : match_gain" tooltip="GAIN" orientation="circle" relative="no" frommiddle="true" visibility="skin_panel 'knobs_shapes' on">
        <on x="1571" y="1201"/>
      </slider>
      <textzone class="knob_text"><text format="GAIN"/></textzone>
      <textzone class="knob_text" visibility="skin_panel 'mixer_knobs_verbose' && loaded"><pos y="+52"/><text color="#FF8888" format="%Plevel dB"/><text color="#FF8888" format="`gain` dB"/><text color="#FF8888" format="%level dB"/></textzone>
      <visual class="knob_out" visibility="not skin_panel 'knobs_shapes' && skin_panel 'mixer_knobs_flat'"/>
      <visual class="mixer_limiter" source="deck left get limiter ? true : false" visibility="skin_panel 'limiter_monitor' && skin_panel 'mixer_gain'"/>

    </define>

    <define class="knob_gain" x="+1" classdeck="right" visibility="skin_panel 'mixer_gain' on">

      <visual class="knob_in" visibility="not skin_panel 'mixer_knobs_flat'"/>
      <slider class="knob_fader" action="gain" dblclick="gain 50%" rightclick="holding 500ms ? set_gain 0 : match_gain" tooltip="GAIN"/>
      <slider class="outer_knob" action="gain" dblclick="gain 50%" rightclick="holding 500ms ? set_gain 0 : match_gain" tooltip="GAIN" orientation="circle" relative="no" frommiddle="true" visibility="skin_panel 'knobs_shapes' on">
        <on x="1621" y="1201"/>
      </slider>
      <textzone class="knob_text"><text format="GAIN"/></textzone>
      <textzone class="knob_text" visibility="skin_panel 'mixer_knobs_verbose' && loaded"><pos y="+52"/><text color="#FF8888" format="%Plevel dB"/><text color="#FF8888" format="`gain` dB"/><text color="#FF8888" format="%level dB"/></textzone>
      <visual class="knob_out" visibility="not skin_panel 'knobs_shapes' && skin_panel 'mixer_knobs_flat'"/>
      <visual class="mixer_limiter" source="deck right get limiter ? true : false" visibility="skin_panel 'limiter_monitor' && skin_panel 'mixer_gain'"><pos x="-6"/></visual>

    </define>

    <define class="knob_master_volume">
      <visual class="knob_in" visibility="not skin_panel 'mixer_knobs_flat'"/>
      <slider class="knob_fader" orientation="round" action="master_volume" rightclick="master_volume 100% ? master_volume 20% : master_volume 100%" tooltip="MASTER VOLUME"/>
      <slider class="outer_knob" orientation="circle" relative="no" action="master_volume" rightclick="master_volume 100% ? master_volume 20% : master_volume 100%" tooltip="MASTER VOLUME" visibility="skin_panel 'knobs_shapes' on">
        <on x="1571" y="1344"/>
      </slider>
      <textzone class="knob_text"><size width="47" height="11"/><pos x="-3"/><text format="MASTER"/></textzone>
      <textzone class="knob_text"><pos x="-3" y="+52"/><text color="#FF8888" action="master_volume &amp; param_cast 'percentage'" weight="bold"/></textzone>
        
      
      <visual source="get limiter ? true : false" visibility="skin_panel 'limiter_monitor'">
        <Tooltip>LIMITER\nSee if limiter is used</Tooltip>
        <pos x="+42" y="+39"/>
        <size width="14" height="15"/>
        <off x="692" y="1129"/>
        <on x="732" y="1147"/>
      </visual>
      <visual class="knob_out" visibility="not skin_panel 'knobs_shapes' && skin_panel 'mixer_knobs_flat'"/>
    </define>

    <define class="knob_infinite">
      <visual class="knob_in" visibility="not skin_panel 'mixer_knobs_flat'"/>
      <slider class="knob_fader_infinite" orientation="round" relative="yes"/>
      <visual visibility="skin_panel 'knobs_shapes' on ? true : skin_panel 'mixer_knobs_flat' ? true : false">
        <pos x="+0" y="+0"/>
        <size width="47" height="47"/>
        <off x="1689" y="1396"/>
      </visual>
    </define>

    <define class="quickloop" classdeck="left">
      <button action="loop_half">
        <pos x="+0" y="+0"/>
        <size width="25" height="28"/>
        <up x="353" y="1152"/>
        <over x="353" y="1183"/>
        <down x="353" y="1214"/>
      </button>
      <button action="loop" rightclick="temporary">
        <pos x="+25" y="+0"/>
        <size width="39" height="28"/>
        <up x="353+25" y="1152"/>
        <over x="353+25" y="1183"/>
        <down x="353+25" y="1214"/>
        <text dx="0" dy="3" width="39" size="17" color="#FFFFFF" align="center" format="%loop" scroll="no"/>
      </button>
      <button action="loop_double">
        <pos x="+64" y="+0"/>
        <size width="25" height="28"/>
        <up x="353+64" y="1152"/>
        <over x="353+64" y="1183"/>
        <down x="353+64" y="1214"/>
      </button>
    </define>

    <define class="quickloop" classdeck="right">
      <button action="loop_half">
        <pos x="+0" y="+0"/>
        <size width="25" height="28"/>
        <up x="353" y="1152"/>
        <over x="353" y="1245"/>
        <down x="353" y="1275"/>
      </button>
      <button action="loop" rightclick="temporary">
        <pos x="+25" y="+0"/>
        <size width="39" height="28"/>
        <up x="378" y="1152"/>
        <over x="378" y="1245"/>
        <down x="378" y="1275"/>
        <text dx="0" dy="3" width="39" size="17" color="#FFFFFF" align="center" format="%loop" scroll="no"/>
      </button>
      <button action="loop_double">
        <pos x="+64" y="+0"/>
        <size width="25" height="28"/>
        <up x="417" y="1152"/>
        <over x="417" y="1245"/>
        <down x="417" y="1275"/>
      </button>
    </define>

    <define class="fx_dropdown_master">
      <button action="deck master effect_active" rightclick="temporary">
        <pos x="+0" y="+0"/>
        <size width="50" height="28"/>
        <off x="9" y="1264"/>
        <on x="967" y="1412"/>
        <over x="967" y="1443"/>
        <text dx="0" dy="0" width="172" size="16" color="#ffffff" align="center" action="deck master get effect_name" scroll="yes"/>
      </button>
      <button action="deck master effect_select" rightclick="deck master effect_show_gui">
        <tooltip>EFFECT SELECT\nRightclick to show effect's gui in browser</tooltip>
        <pos x="+50" y="+0"/>
        <size width="25" height="28"/>
        <off x="59" y="1264"/>
        <on x="1017" y="1412"/>
        <over x="1017" y="1443"/>
      </button>
    </define>

    <define class="fx_dropdown_master_smaller">
      <button action="deck master effect_active" rightclick="temporary">
        <pos x="+0" y="+0"/>
        <size width="45" height="28"/>
        <off x="9" y="1264"/>
        <on x="967" y="1412"/>
        <over x="967" y="1443"/>
        <text dx="0" dy="0" width="172" size="16" color="#ffffff" align="center" action="deck master get effect_name" scroll="yes"/>
      </button>
      <button action="deck master effect_select" rightclick="deck master effect_show_gui">
        <tooltip>EFFECT SELECT\nRightclick to show effect's gui in browser</tooltip>
        <pos x="+45" y="+0"/>
        <size width="25" height="28"/>
        <off x="59" y="1264"/>
        <on x="1017" y="1412"/>
        <over x="1017" y="1443"/>
      </button>
    </define>

    <define class="fx_dropdown_verysmall" classdeck="left">
      <button action="effect_active" rightclick="temporary">
        <pos x="+0" y="+0"/>
        <size width="50" height="28"/>
        <on x="9" y="1328"/>
        <off x="9" y="1264"/>
        <over x="9" y="1296"/>
        <text dx="0" dy="0" width="172" size="16" color="#ffffff" align="center" action="get effect_name" scroll="yes"/>
      </button>
      <button action="effect_select" rightclick="effect_show_gui">
        <tooltip>EFFECT SELECT\nRightclick to show effect's gui in browser</tooltip>
        <pos x="+50" y="+0"/>
        <size width="25" height="28"/>
        <on x="59" y="1328"/>
        <off x="59" y="1264"/>
        <over x="59" y="1296"/>
      </button>
    </define>

    <define class="fx_dropdown_verysmall" classdeck="right">
      <button action="effect_active" rightclick="temporary">
        <pos x="+0" y="+0"/>
        <size width="50" height="28"/>
        <on x="9" y="1392"/>
        <off x="9" y="1264"/>
        <over x="9" y="1360"/>
        <text dx="0" dy="0" width="172" size="16" color="#ffffff" align="center" action="get effect_name" scroll="yes"/>
      </button>
      <button action="effect_select" rightclick="effect_show_gui">
        <tooltip>EFFECT SELECT\nRightclick to show effect's gui in browser</tooltip>
        <pos x="+50" y="+0"/>
        <size width="25" height="28"/>
        <on x="59" y="1392"/>
        <off x="59" y="1264"/>
        <over x="59" y="1360"/>
      </button>
    </define>

    <define class="masterfx_dropdown">
      <button rightclick="temporary">
        <pos x="+0" y="+0"/>
        <size width="50" height="28"/>
        <off x="9" y="1264"/>
        <on x="967" y="1412"/>
        <over x="967" y="1443"/>
        <text dx="0" dy="0" width="172" size="16" color="#ffffff" align="center" scroll="yes"/>
      </button>
      <button>
        <pos x="+50" y="+0"/>
        <size width="25" height="28"/>
        <off x="59" y="1264"/>
        <on x="1017" y="1412"/>
        <over x="1017" y="1443"/>
      </button>
    </define>

    <define class="master_options">
      <button>
        <pos x="+0" y="+0"/>
        <size width="14" height="14"/>
        <down x="732" y="1147"/>
        <over x="710" y="1130"/>
        <up x="692" y="1130"/>
      </button>
      <textzone>
        <pos x="-2" y="+15"/>
        <size width="35" height="15"/>
        <text size="12" color="#aaaaaa" align="left"/>
      </textzone>
    </define>

    <define class="wheel_cues" visible="no">
      <slider class="wheel_cue" action="cue_pos 1" visibility="hot_cue 1"/>
      <slider class="wheel_cue" action="cue_pos 2" visibility="hot_cue 2"/>
      <slider class="wheel_cue" action="cue_pos 3" visibility="hot_cue 3"/>
      <slider class="wheel_cue" action="cue_pos 4" visibility="hot_cue 4"/>
      <slider class="wheel_cue" action="cue_pos 5" visibility="hot_cue 5"/>
      <slider class="wheel_cue" action="cue_pos 6" visibility="hot_cue 6"/>
      <slider class="wheel_cue" action="cue_pos 7" visibility="hot_cue 7"/>
      <slider class="wheel_cue" action="cue_pos 8" visibility="hot_cue 8"/>
      <slider class="wheel_cue" action="cue_pos 9" visibility="hot_cue 9"/>
      <slider class="wheel_cue" action="cue_pos 10" visibility="hot_cue 10"/>
      <slider class="wheel_cue" action="cue_pos 11" visibility="hot_cue 11"/>
      <slider class="wheel_cue" action="cue_pos 12" visibility="hot_cue 12"/>
      <slider class="wheel_cue" action="cue_pos 13" visibility="hot_cue 13"/>
      <slider class="wheel_cue" action="cue_pos 14" visibility="hot_cue 14"/>
      <slider class="wheel_cue" action="cue_pos 15" visibility="hot_cue 15"/>
      <slider class="wheel_cue" action="cue_pos 16" visibility="hot_cue 16"/>
      <slider class="wheel_cue" action="cue_pos 17" visibility="hot_cue 17"/>
      <slider class="wheel_cue" action="cue_pos 18" visibility="hot_cue 18"/>
      <slider class="wheel_cue" action="cue_pos 19" visibility="hot_cue 19"/>
      <slider class="wheel_cue" action="cue_pos 20" visibility="hot_cue 20"/>
      <slider class="wheel_cue" action="cue_pos 21" visibility="hot_cue 21"/>
      <slider class="wheel_cue" action="cue_pos 22" visibility="hot_cue 22"/>
      <slider class="wheel_cue" action="cue_pos 23" visibility="hot_cue 23"/>
      <slider class="wheel_cue" action="cue_pos 24" visibility="hot_cue 24"/>
      <slider class="wheel_cue" action="cue_pos 25" visibility="hot_cue 25"/>
      <slider class="wheel_cue" action="cue_pos 26" visibility="hot_cue 26"/>
      <slider class="wheel_cue" action="cue_pos 27" visibility="hot_cue 27"/>
      <slider class="wheel_cue" action="cue_pos 28" visibility="hot_cue 28"/>
      <slider class="wheel_cue" action="cue_pos 29" visibility="hot_cue 29"/>
      <slider class="wheel_cue" action="cue_pos 30" visibility="hot_cue 30"/>
    </define>

    <define class="songpos_cue_name" visible="no">
      <slider class="cue_name" action="cue_pos 1" visibility="hot_cue 1"><fader><pos x="1120+0"/></fader></slider>
      <slider class="cue_name" action="cue_pos 2" visibility="hot_cue 2"><fader><pos x="1120+20"/></fader></slider>
      <slider class="cue_name" action="cue_pos 3" visibility="hot_cue 3"><fader><pos x="1120+40"/></fader></slider>
      <slider class="cue_name" action="cue_pos 4" visibility="hot_cue 4"><fader><pos x="1120+60"/></fader></slider>
      <slider class="cue_name" action="cue_pos 5" visibility="hot_cue 5"><fader><pos x="1120+80"/></fader></slider>
      <slider class="cue_name" action="cue_pos 6" visibility="hot_cue 6"><fader><pos x="1120+100"/></fader></slider>
      <slider class="cue_name" action="cue_pos 7" visibility="hot_cue 7"><fader><pos x="1120+120"/></fader></slider>
      <slider class="cue_name" action="cue_pos 8" visibility="hot_cue 8"><fader><pos x="1120+140"/></fader></slider>
      <slider class="cue_name" action="cue_pos 9" visibility="hot_cue 9"><fader><pos x="1120+160"/></fader></slider>
      <slider class="cue_name" action="cue_pos 10" visibility="hot_cue 10"><fader><pos x="1120+180"/></fader></slider>
      <slider class="cue_name" action="cue_pos 11" visibility="hot_cue 11"><fader><pos x="1120+200"/></fader></slider>
      <slider class="cue_name" action="cue_pos 12" visibility="hot_cue 12"><fader><pos x="1120+220"/></fader></slider>
      <slider class="cue_name" action="cue_pos 13" visibility="hot_cue 13"><fader><pos x="1120+240"/></fader></slider>
      <slider class="cue_name" action="cue_pos 14" visibility="hot_cue 14"><fader><pos x="1120+260"/></fader></slider>
      <slider class="cue_name" action="cue_pos 15" visibility="hot_cue 15"><fader><pos x="1120+280"/></fader></slider>
      <slider class="cue_name" action="cue_pos 16" visibility="hot_cue 16"><fader><pos x="1120+300"/></fader></slider>
      <slider class="cue_name" action="cue_pos 17" visibility="hot_cue 17"><fader><pos x="1120+320"/></fader></slider>
      <slider class="cue_name" action="cue_pos 18" visibility="hot_cue 18"><fader><pos x="1120+340"/></fader></slider>
      <slider class="cue_name" action="cue_pos 19" visibility="hot_cue 19"><fader><pos x="1120+360"/></fader></slider>
      <slider class="cue_name" action="cue_pos 20" visibility="hot_cue 20"><fader><pos x="1120+380"/></fader></slider>
    </define>

    <define class="deck">

      <panel class="jogwheel"/>

      <panel id="title" x="+0" y="+0">

        <visual>
          <pos x="+0" y="+0"/>
          <size width="515" height="83"/>
          <off x="1112" y="1576"/>
        </visual>

        <visual visibility="loaded">
          <pos x="+0" y="+87"/>
          <size width="515" height="41"/>
          <off x="1112" y="1663"/>
        </visual>

        <visual visibility="loaded ? false : true">
          <pos x="+0" y="+87"/>
          <size width="515" height="41"/>
          <off x="731" y="2136"/>
        </visual>

        <panel class="scrinfos" visibility="loaded"/>
        <panel class="screenstats"/>
        <menu class="screenmenu"/>

        <panel visibility="not var '@$CoverDeck' 1">

          <panel id="scr_bpm" group="scr_opt" visible="yes">

            <textzone action="skin_panel 'scr_pitch' on" rightclick="edit_bpm" class="edit_bpm" tooltip="BPM\nLeftclick to hide BPM info\nRightclick to edit BPM" visibility="loaded"/>

            <textzone visibility="loaded">
              <pos x="+408" y="+10+30"/>
              <size width="46" height="15"/>
              <text size="12" color="#908F8D" align="right" weight="bold" format="BPM"/>
            </textzone>

          </panel>

          <panel id="scr_pitch" group="scr_opt" visible="no">

            <textzone action="skin_panel 'scr_bpm' on" rightclick="edit_bpm" class="scrpitch" tooltip="BPM\nLeftclick to hide BPM info\nRightclick to edit BPM" visibility="loaded"/>

            <textzone visibility="loaded">
              <pos x="+408" y="+10+30"/>
              <size width="46" height="15"/>
              <text size="12" color="#908F8D" align="right" weight="bold" format="PITCH"/>
            </textzone>

          </panel>

          <panel visibility="loaded">

            <button action="beat_tap" rightclick="edit_bpm" visibility="var '@$CoverDeck' 1 ? false : true">
              <pos x="+466" y="+10"/>
              <tooltip>TAP BEAT\nTap once to set downbeat, tap multiple times to manually set bpm</tooltip>
              <size width="43" height="29"/>
              <on x="447" y="1088"/>
              <off x="399" y="1088"/>
              <over x="399" y="1120"/>
              <text size="14" weight="bold" color="#E1E1E1" align="center" format="TAP"/>
            </button>

            <textzone leftclick="adjust_cbg -0.01" rightclick="adjust_cbg -1">
              <tooltip>ADJUST BEAT GRID\nLeftclick to slightly move the grid backward\nRightclick to move downbeat</tooltip>
              <pos x="+460" y="+40"/>
              <size width="31" height="15"/>
              <text size="12" color="#908F8D" align="center" format="◄"/>
            </textzone>

            <textzone>
              <tooltip></tooltip>
              <pos x="+472" y="+40"/>
              <size width="31" height="15"/>
              <text size="12" color="#908F8D" align="center" format="-"/>
            </textzone>

            <textzone leftclick="adjust_cbg +0.01" rightclick="adjust_cbg +1">
              <tooltip>ADJUST BEAT GRID\nLeftclick to slightly move the grid forward\nRightclick to move downbeat</tooltip>
              <pos x="+484" y="+40"/>
              <size width="31" height="15"/>
              <text size="12" color="#908F8D" align="center" format="►"/>
            </textzone>

          </panel>

          <textzone visibility="loaded">
            <pos x="+426" y="+66"/>
            <size width="31" height="15"/>
            <text size="12" color="#908F8D" align="center" format="KEY"/>
          </textzone>

          <textzone class="key_info"/>

          <button class="key_pane" visibility="loaded"/>

        </panel>

        <panel visibility="var '@$CoverDeck' 1">

          <panel id="scr_bpm" group="scr_opt" visible="yes">

            <textzone action="skin_panel 'scr_pitch' on" rightclick="edit_bpm" class="edit_bpm" tooltip="BPM\nLeftclick to hide BPM info\nRightclick to edit BPM" visibility="loaded">
              <pos x="+338" y="+2"/>
              <size height="25"/>
              <text size="23"/>
            </textzone>

            <textzone visibility="loaded">
              <pos x="+381" y="+23"/>
              <size width="46" height="15"/>
              <text size="12" color="#908F8D" align="right" weight="bold" format="BPM"/>
            </textzone>

          </panel>

          <panel id="scr_pitch" group="scr_opt" visible="no">

            <textzone action="skin_panel 'scr_bpm' on" rightclick="edit_bpm" class="scrpitch" tooltip="BPM\nLeftclick to hide BPM info\nRightclick to edit BPM" visibility="loaded">
              <pos x="+338" y="+2"/>
              <size height="25"/>
              <text size="23"/>
            </textzone>


            <textzone visibility="loaded">
              <pos x="+381" y="+23"/>
              <size width="46" height="15"/>
              <text size="12" color="#908F8D" align="right" weight="bold" format="PITCH"/>
            </textzone>

          </panel>

          <textzone visibility="loaded">
            <pos x="+370" y="+37"/>
            <size width="50" height="17"/>
            <text size="17" color="#ffffff" align="center" action="get_harmonic"/>
            <text size="17" color="#ffffff" align="center" action="get_key"/>
            <text size="17" color="#ffffff" align="center" action="get_key_modifier"/>
          </textzone>

          <button class="key_pane" visibility="loaded"><pos x="+415" y="+37"/></button>

        </panel>

        <songpos class="songpos"/>

        <panel class="songpos_cue_name"/>

        <textzone class="screentext" leftclick="beat_tap" visibility="loaded" tooltip="">
          <pos x="+360" y="+61"/>
          <size width="70" height="22"/>
          <text size="19" color="#ffffff" align="center" format="%Plevel dB"/>
          <text size="19" color="#ffffff" align="center" format="%level dB"/>
        </textzone>

        <visual type="color" source="constant '#050505'" visibility="var '@$CoverDeck' 1" tooltip=""><pos x="+429" y="+2"/><size width="84" height="80"/></visual>

        <cover visibility="var '@$CoverDeck' 1">
          <pos x="+433" y="+2"/>
          <size width="80" height="80"/>
        </cover>

      </panel>

      <panel class="custom_buttons" id="custom_buttons" visible="yes"/>

      <panel class="transport"/>

      <panel class="deck_options"/>

      <panel class="pitch" id="pitch_controls"/>

      <panel class="aux"/>

      <panel class="tc"/>

      <panel id="seek_buttons" class="seek" visible="no"/>

      <panel class="keyp_L" visible="no" id="panel_key_L"/>
      <panel class="keyp_R" visible="no" id="panel_key_R"/>

      <dropzone>
        <pos x="-5" y="-6"/>
        <size width="525" height="419"/>
      </dropzone>

    </define>
    
    <define class="deckbar">
    
      <visual x="+0" y="+0">
        <size width="1915" height="419"/>
        <off x="0" y="139"/>
      </visual>
  
      <panel visibility="not skin_panel 'swap'">

        <group name="leftdeck" x="+11" y="+0">

          <deck deck="left">
 
            <panel id="sidebar" class="sidebar_left_class" x="+0" y="+0" visible="yes"/>
            <panel class="info" visibility="not skin_panel 'sidebar'"><pos x="11"/></panel>
            <panel class="deck" x="+231" y="+5"/>

          </deck>

        </group>

        <group name="rightdeck" x="1158" y="+0">

          <deck deck="right"> 

            <panel id="sidebar" class="sidebar_right_class" x="+528" y="+0" visible="true"/>
            <panel class="deck" x="+5" y="+5"/>

          </deck>

        </group>
      
      </panel>

      <panel visibility="skin_panel 'swap'">

        <group name="leftdeck" x="1158" y="+0">

          <deck deck="left">
 
            <panel id="sidebar" class="sidebar_left_class" x="+528" y="+0" visible="yes"/>
            <panel class="info" visibility="not skin_panel 'sidebar'"><pos x="11"/></panel>
            <panel class="deck" x="+5" y="+5"/>

          </deck>

        </group>

        <group name="rightdeck" x="+11" y="+0">

          <deck deck="right"> 

            <panel id="sidebar" class="sidebar_right_class" x="+0" y="+0" visible="true"/>
            <panel class="deck" x="+231" y="+5"/>

          </deck>

        </group>
      
      </panel>

      <group name="mixer" x="764" y="+0"><panel class="mixer_main"/></group>

    </define>
          
  </group>

  <group name="textzones">

    <define class="key_info" classdeck="left" action="var '@$keyInfL' 0 ? set '@$keyInfL' 1 : var '@$keyInfL' 1 ? set '@$keyInfL' 2 : set '@$keyInfL' 0" visibility="loaded">
      <pos x="+426+30" y="+61"/>
      <size width="50" height="22"/>
      <text size="19" color="#ffffff" align="left" action="var '@$keyInfL' 0 ? get_harmonic : var '@$keyInfL' 1 ? get_key_modifier : get_key"/>
    </define>

    <define class="key_info" classdeck="right" action="var '@$keyInfR' 0 ? set '@$keyInfR' 1 : var '@$keyInfR' 1 ? set '@$keyInfR' 2 : set '@$keyInfR' 0" visibility="loaded">
      <pos x="+426+30" y="+61"/>
      <size width="50" height="22"/>
      <text size="19" color="#ffffff" align="left" action="var '@$keyInfR' 0 ? get_harmonic : var '@$keyInfR' 1 ? get_key_modifier : get_key"/>
    </define>

    <define class="times" classdeck="left">
      <size width="132" height="27"/>
      <text size="32" color="#00ABEB" weight="bold"/>
    </define>

    <define class="times" classdeck="right">
      <size width="132" height="27"/>
      <text size="32" color="#ED1C24" weight="bold"/>
    </define>

    <define class="edit_bpm" classdeck="left">
        <pos x="+364" y="+11"/>
        <size width="90" height="30"/>
        <text size="32" color="#00b8ff" align="right" weight="bold" format="%Pbpmex"/>
    </define>

    <define class="edit_bpm" classdeck="right">
        <pos x="+364" y="+11"/>
        <size width="90" height="30"/>
        <text size="32" color="#ed1c24" align="right" weight="bold" format="%Pbpmex"/>
    </define>

    <define class="scrpitch" classdeck="left">
        <pos x="+364" y="+11"/>
        <size width="90" height="30"/>
        <text size="32" color="#00b8ff" align="right" weight="bold" format="%Ppitch"/>
    </define>

    <define class="scrpitch" classdeck="right">
        <pos x="+364" y="+11"/>
        <size width="90" height="30"/>
        <text size="32" color="#ed1c24" align="right" weight="bold" format="%Ppitch"/>
    </define>

    <define class="screeninfos" visibility="var '$InfoDeck' 0" rightclick="file_info">
      <pos x="+2" y="+11"/>
      <size width="352" height="24"/>
      <text size="24" scroll="yes"/>
      <text2 size="24"/>
    </define>
    
    <define class="screenbpm">
    </define>

    <define class="screentext" classdeck="left">
      <size width="60" height="18"/>
      <pos x="+2" y="+11+25+25+4"/>
      <up x="+0" y="+0"/>
      <text color="#00b8ff" font="arial" size="15" align="center" scroll="no"/>
    </define>
    
    <define class="screentext" classdeck="right">
      <size width="60" height="18"/>
      <pos x="+2" y="+11+25+25+4"/>
      <up x="+0" y="+0"/>
      <text color="#ed1c24" font="arial" size="15" align="center" scroll="no"/>
    </define>
    
    <define class="phrasertext">
      <pos x="+8" y="+8"/>
      <tooltip>PHRASE INDICATOR</tooltip>
      <size width="16" height="16"/>
      <text size="14" color="#aaaaaa" align="center" weight="bold" action="get_beat_counter"/>
    </define>

    <define class="vu_text_header">
      <pos y="+31"/>
      <size width="15" height="12"/>
      <up x="+0" y="+0"/>
      <text font="arial" size="10" color="#b3b3b3" align="center" scroll="no"/>
    </define>

    <define class="vu_text_L">
      <pos y="+3"/>
      <size width="15" height="12"/>
      <up x="+0" y="+0"/>
      <text font="arial" size="10" color="#b3b3b3" align="center" scroll="no"/>
    </define>

    <define class="vu_text_R">
      <pos y="+43"/>
      <size width="15" height="12"/>
      <up x="+0" y="+0"/>
      <text font="arial" size="10" color="#b3b3b3" align="center" scroll="no"/>
    </define>

    <define class="vu_text_S">
      <pos x="+28"/>
      <size width="17" height="12"/>
      <up x="+0" y="+0"/>
      <text font="arial" size="10" color="#b3b3b3" align="center" scroll="no"/>
    </define>

    <define class="minicues_text">
      <size width="115" height="26"/>
      <text size="15" color="#C5C6C6" align="center" scroll="no"/>
    </define>

    <define class="knob_text" visibility="skin_panel 'knobs_text'">
      <pos x="+0" y="+41"/>
      <size width="47" height="11"/>
      <text size="13" weight="bold" color="#E1E1E1" align="center"/>
      <text size="13" weight="bold" color="#E1E1E1" align="center"/>
      <text size="13" weight="bold" color="#E1E1E1" align="center"/>
    </define>

    <define class="options_text">
      <size width="35" height="15"/>
      <text size="12" color="#aaaaaa" align="center"/>
    </define>

    <define class="slot_text">
      <size width="130" height="20"/>
      <text size="13" weight="bold" color="#E1E1E1" align="left"/>
    </define>

  </group>

  <group name="visuals">
  
    <define class="knob_in">
      <pos x="+0" y="+0"/>
      <size width="47" height="47"/>
      <off x="1521" y="1201"/>
    </define>

    <define class="knob_out">
      <pos x="+0" y="+0"/>
      <size width="47" height="47"/>
      <off x="1521" y="1297"/>
    </define>

    <define class="loop_line" classdeck="left" type="linear" orientation="horizontal" source="loop_position">
      <size width="160" height="12"/>
      <up x="175" y="1175"/>
      <down x="175" y="1187"/>
    </define>

    <define class="loop_line" classdeck="right" type="linear" orientation="horizontal" source="loop_position">
      <size width="160" height="12"/>
      <up x="175" y="1175"/>
      <down x="175" y="1199"/>
    </define>

    <define class="vu_big_L" type="custom" orientation="horizontal">
      <tooltip></tooltip>
      <down x="0" y="3430" nb="37" nbx="1" smooth="false"/>
      <pos x="+20" y="+15"/>
      <size width="285" height="12"/>
    </define>

    <define class="vu_big_R" type="custom" orientation="horizontal">
      <tooltip></tooltip>
      <down x="0" y="3430" nb="37" nbx="1" smooth="false"/>
      <pos x="+20" y="+31"/>
      <size width="285" height="12"/>
    </define>

    <define class="vu_big_peak_L" type="custom" orientation="horizontal">
      <tooltip></tooltip>
      <down x="289" y="3442" nb="36" nbx="1" smooth="false"/>
      <pos x="+20" y="+15"/>
      <size width="285" height="12"/>
    </define>

    <define class="vu_big_peak_R" type="custom" orientation="horizontal">
      <tooltip></tooltip>
      <down x="289" y="3442" nb="36" nbx="1" smooth="false"/>
      <pos x="+20" y="+31"/>
      <size width="285" height="12"/>
    </define>

    <define class="vu_big_L_blue" type="custom" orientation="horizontal">
      <tooltip></tooltip>
      <down x="0" y="2508" nb="37" nbx="1" smooth="false"/>
      <pos x="+20" y="+15"/>
      <size width="285" height="12"/>
    </define>

    <define class="vu_big_R_blue" type="custom" orientation="horizontal">
      <tooltip></tooltip>
      <down x="0" y="2508" nb="37" nbx="1" smooth="false"/>
      <pos x="+20" y="+31"/>
      <size width="285" height="12"/>
    </define>

    <define class="vu_big_peak_L_blue" type="custom" orientation="horizontal">
      <tooltip></tooltip>
      <down x="289" y="2520" nb="36" nbx="1" smooth="false"/>
      <pos x="+20" y="+15"/>
      <size width="285" height="12"/>
    </define>

    <define class="vu_big_peak_R_blue" type="custom" orientation="horizontal">
      <tooltip></tooltip>
      <down x="289" y="2520" nb="36" nbx="1" smooth="false"/>
      <pos x="+20" y="+31"/>
      <size width="285" height="12"/>
    </define>

    <define class="vu_big_lim_L" type="custom" orientation="horizontal">
      <tooltip></tooltip>
      <down x="289" y="3442" nb="36" nbx="1" smooth="false"/>
      <pos x="+20" y="+15"/>
      <size width="285" height="12"/>
    </define>

    <define class="vu_big_lim_R" type="custom" orientation="horizontal">
      <tooltip></tooltip>
      <down x="289" y="3442" nb="36" nbx="1" smooth="false"/>
      <pos x="+20" y="+31"/>
      <size width="285" height="12"/>
    </define>

    <define class="vu_big_L_red" type="custom" orientation="horizontal">
      <tooltip></tooltip>
      <down x="0" y="2958" nb="37" nbx="1" smooth="false"/>
      <pos x="+20" y="+15"/>
      <size width="285" height="12"/>
    </define>

    <define class="vu_big_R_red" type="custom" orientation="horizontal">
      <tooltip></tooltip>
      <down x="0" y="2958" nb="37" nbx="1" smooth="false"/>
      <pos x="+20" y="+31"/>
      <size width="285" height="12"/>
    </define>

    <define class="vu_big_peak_L_red" type="custom" orientation="horizontal">
      <tooltip></tooltip>
      <down x="289" y="2970" nb="36" nbx="1" smooth="false"/>
      <pos x="+20" y="+15"/>
      <size width="285" height="12"/>
    </define>

    <define class="vu_big_peak_R_red" type="custom" orientation="horizontal">
      <tooltip></tooltip>
      <down x="289" y="2970" nb="36" nbx="1" smooth="false"/>
      <pos x="+20" y="+31"/>
      <size width="285" height="12"/>
    </define>

    <define class="deckrotation" classdeck="left" type="rotation" source="get rotation" visibility="var '@$CoverDeck' 0 ? true : var '@$CoverDeck' 1 ? true : false">
      <Tooltip></Tooltip>
      <pos x="+0" y="+1"/>
      <size width="198" height="198"/>
      <on x="911" y="1772"/>
    </define>

    <define class="deckrotation" classdeck="right" type="rotation" source="get rotation" visibility="var '@$CoverDeck' 0 ? true : var '@$CoverDeck' 1 ? true : false">
      <Tooltip></Tooltip>
      <pos x="+0" y="+1"/>
      <size width="198" height="198"/>
      <on x="1111" y="1772"/>
    </define>
    
    <define class="circlepos" classdeck="left" type="circle" source="get position">
      <Tooltip></Tooltip>
      <pos x="+0" y="+1"/>
      <size width="198" height="198"/>
      <on x="1521" y="1772"/>
    </define>

    <define class="circlepos" classdeck="right" type="circle" source="get position">
      <Tooltip></Tooltip>
      <pos x="+0" y="+1"/>
      <size width="198" height="198"/>
      <on x="1721" y="1772"/>
    </define>

    <define class="phraser" classdeck="left" source="get_beat_counter &amp; param_add 0.061" type="circle">
      <circle direction="cw" anglemin="0" anglemax="363" />
      <tooltip>PHRASE INDICATOR</tooltip>
      <size width="32" height="34"/>
      <off x="1747" y="1576"/>
      <on  x="1780" y="1576"/>
    </define>

    <define class="phraser" classdeck="right" source="get_beat_counter &amp; param_add 0.061" type="circle">
      <circle direction="cw" anglemin="0" anglemax="363" />
      <tooltip>PHRASE INDICATOR</tooltip>
      <size width="32" height="34"/>
      <off x="1747" y="1576"/>
      <on  x="1876" y="1576"/>
    </define>

    <define class="phraserbig" classdeck="left" source="get_beat_counter &amp; param_add 0.061" type="circle">
      <circle direction="cw" anglemin="0" anglemax="363" />
      <tooltip>PHRASE INDICATOR</tooltip>
      <size width="47" height="47"/>
      <off x="1689" y="1396"/>
      <on x="1689" y="1273"/>
    </define>

    <define class="phraserbig" classdeck="right" source="get_beat_counter &amp; param_add 0.061" type="circle">
      <circle direction="cw" anglemin="0" anglemax="363" />
      <tooltip>PHRASE INDICATOR</tooltip>
      <size width="47" height="47"/>
      <off x="1689" y="1396"/>
      <on x="1689" y="1332"/>
    </define>

    <define class="loop_icons">
      <size width="78" height="10"/>
      <off x="1167" y="1122"/>
    </define>

    <define class="minicues_background">
      <size width="115" height="26"/>
      <off x="692" y="1449"/>
    </define>

    <define class="timecodequality" type="linear" orientation="vertical" direction="up">
      <size width="13" height="29"/>
      <off x="1297" y="1224"/>
      <on x="1297" y="1184"/>
    </define>

    <define class="vudeckpeakmeter" classdeck="left" type="linear" orientation="horizontal">
      <size width="285" height="12"/>
    </define>

    <define class="vudeckpeakmeter" classdeck="right" type="linear" orientation="horizontal">
      <size width="285" height="12"/>
    </define>

    <define class="vupeakmeter" classdeck="left" type="linear" orientation="vertical" direction="up">
    </define>

    <define class="vupeakmeter" classdeck="right" type="linear" orientation="vertical" direction="up">
      <size width="12" height="141"/>
    </define>

    <define class="vumasterpeakmeter" type="linear" orientation="horizontal">
      <size width="135" height="10"/>
    </define>

    <define class="vumasterpeakmeter" type="linear" orientation="horizontal">
      <size width="135" height="10"/>
    </define>

    <define class="vumeter" classdeck="left" type="linear" orientation="vertical" direction="up">
      <size width="12" height="141"/>
      <off x="1025" y="1206"/>
      <on x="1166" y="1156"/>
    </define>

    <define class="vumeter" classdeck="right" type="linear" orientation="vertical" direction="up">
      <size width="12" height="141"/>
      <off x="1025" y="1206"/>
      <on x="1182" y="1156"/>
    </define>
    
    <define class="mixer_limiter">
      <Tooltip>LIMITER INDICATOR</Tooltip>
      <pos x="+39" y="+39"/>
      <size width="14" height="15"/>
      <off x="692" y="1129"/>
      <on x="732" y="1147"/>
    </define>
    
    <define class="main_vu_left">
      <tooltip></tooltip>
      <down x="580" y="2520" nb="19" smooth="false"/>
      <size width="12" height="141"/>
    </define>

    <define class="main_vu_right">
      <tooltip></tooltip>
      <down x="580" y="2680" nb="19" smooth="false"/>
      <size width="12" height="141"/>
    </define>

    <define class="main_vu_left_peak">
      <tooltip></tooltip>
      <down x="820" y="2520" nb="19" smooth="false"/>
      <size width="12" height="141"/>
    </define>

    <define class="main_vu_right_peak">
      <tooltip></tooltip>
      <down x="820" y="2680" nb="19" smooth="false"/>
      <size width="12" height="141"/>
    </define>

    <define class="main_vu_neutral">
      <tooltip></tooltip>
      <down x="580" y="2840" nb="19" smooth="false"/>
      <size width="12" height="141"/>
    </define>

    <define class="main_vu_neutral_peak">
      <tooltip></tooltip>
      <down x="820" y="2840" nb="19" smooth="false"/>
      <size width="12" height="141"/>
    </define>

    <define class="main_vu_green">
      <tooltip></tooltip>
      <down x="580" y="3000" nb="19" smooth="false"/>
      <size width="12" height="141"/>
    </define>

    <define class="main_vu_green_peak">
      <tooltip></tooltip>
      <down x="820" y="3000" nb="19" smooth="false"/>
      <size width="12" height="141"/>
    </define>

  </group>

</group>

--- Ok, let's start the skin :) ---

<panel class="topbar"/>

<panel id="withdecks" x="+0" y="+47" group="layout" vislble="yes">

  <panel class="deckbar" y="+0" visibility="skin_panel 'waveform_under' ? true : skin_panel 'nowave' ? true : false"/>

  <panel visibility="skin_panel 'nowave'">

    <browser class="browser_constant"><pos y="560-92"/><size height="508+92" /></browser>

  </panel>
  
  <panel visibility="not skin_panel 'nowave'">
    
    <panel id="waveform_above" group="wavepos" visible="yes">

      <panel class="waveform_window" y="+0"/>
      <panel class="deckbar" y="+92"/>
      
    </panel>
      
    <panel id="waveform_under" group="wavepos" visible="no">

      <panel class="waveform_window" y="465"/>
      
    </panel>
      
    <browser class="browser_constant" visibility="not skin_panel 'bigwaves'"><pos y="560"/><size height="508"/></browser>
    <browser class="browser_constant" visibility="skin_panel 'bigwaves'"><pos y="652"/><size height="416"/></browser>
    
  </panel>
    
</panel>

<panel id="withnodecks" group="layout" visible="no">

  <panel class="waveform_window"/>
  <panel class="jukebox_pane"/>

</panel>

<panel id="withnodecks2" group="layout" visible="no">

  <panel class="waveform_window"/>

  <browser class="browser_constant" visibility="not skin_panel 'bigwaves'"><pos y="146"/><size height="924"/></browser>
  <browser class="browser_constant" visibility="skin_panel 'bigwaves'"><pos y="146+92"/><size height="924-92"/></browser>
    

</panel>


</Skin>
