<MixxxMIDIPreset mixxxVersion="1.10.0+" schemaVersion="1">
    <info>
        <name>Numark N4</name>
        <author>dj.stuartbrand</author>
        <description>MIDI Mapping for Numark N4</description>
        <forums>http://www.mixxx.org/forums/viewtopic.php?f=7&amp;t=3450</forums>
    </info>
    <controller id="N4 MIDI 1">
        <scriptfiles>
            <file functionprefix="NumarkN4" filename="Numark-N4-scripts.js"/>
        </scriptfiles>
        <controls>
            <control>
                <status>0xb1</status>
                <midino>0x20</midino>
                <group>[Channel1]</group>
                <key>NumarkN4.jogWheel</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
            <control>
                <status>0x82</status>
                <midino>0x10</midino>
                <group>[Channel2]</group>
                <key>NumarkN4.cue</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
            <control>
                <status>0x80</status>
                <midino>0x8</midino>
                <group>[Playlist]</group>
                <key>LoadSelectedIntoFirstStopped</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x81</status>
                <midino>0x10</midino>
                <group>[Channel1]</group>
                <key>NumarkN4.cue</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
            <control>
                <status>0x92</status>
                <midino>0x6</midino>
                <group>[Channel1]</group>
                <key>NumarkN4.menuNext</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
            <control>
                <status>0x82</status>
                <midino>0x2c</midino>
                <group>[Channel2]</group>
                <key>NumarkN4.touch</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
            <control>
                <status>0x93</status>
                <midino>0xf</midino>
                <group>[Channel1]</group>
                <key>beatsync</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x91</status>
                <midino>0x6</midino>
                <group>[Channel1]</group>
                <key>NumarkN4.menuPrev</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
            <control>
                <status>0x93</status>
                <midino>0x13</midino>
                <group>[Channel1]</group>
                <key>flanger</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x92</status>
                <midino>0xf</midino>
                <group>[Channel2]</group>
                <key>beatsync</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x81</status>
                <midino>0x2c</midino>
                <group>[Channel1]</group>
                <key>NumarkN4.touch</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
            <control>
                <status>0x92</status>
                <midino>0x10</midino>
                <group>[Channel2]</group>
                <key>cue_default</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x92</status>
                <midino>0x11</midino>
                <group>[Channel2]</group>
                <key>play</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x92</status>
                <midino>0x13</midino>
                <group>[Channel2]</group>
                <key>flanger</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0xb0</status>
                <midino>0x44</midino>
                <group>[Playlist]</group>
                <key>NumarkN4.SelectTrack</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
            <control>
                <status>0x90</status>
                <midino>0x8</midino>
                <group>[Playlist]</group>
                <key>LoadSelectedIntoFirstStopped</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x93</status>
                <midino>0x1b</midino>
                <group>[Channel2]</group>
                <key>keylock</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x91</status>
                <midino>0xf</midino>
                <group>[Channel1]</group>
                <key>beatsync</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x92</status>
                <midino>0x15</midino>
                <group>[Sampler3]</group>
                <key>play</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x91</status>
                <midino>0x10</midino>
                <group>[Channel1]</group>
                <key>NumarkN4.cue</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
            <control>
                <status>0x92</status>
                <midino>0x16</midino>
                <group>[Sampler4]</group>
                <key>play</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x91</status>
                <midino>0x11</midino>
                <group>[Channel1]</group>
                <key>play</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x93</status>
                <midino>0x1e</midino>
                <group>[Channel2]</group>
                <key>bpm</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x91</status>
                <midino>0x13</midino>
                <group>[Channel1]</group>
                <key>flanger</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x90</status>
                <midino>0x31</midino>
                <group>[Channel1]</group>
                <key>NumarkN4.headcue</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
		<control>
                <status>0x80</status>
                <midino>0x31</midino>
                <group>[Channel1]</group>
                <key>NumarkN4.headcue</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
            <control>
                <status>0x90</status>
                <midino>0x32</midino>
                <group>[Channel2]</group>
                <key>NumarkN4.headcue</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
            <control>
                <status>0x80</status>
                <midino>0x32</midino>
                <group>[Channel2]</group>
                <key>NumarkN4.headcue</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
            <control>
                <status>0x92</status>
                <midino>0x1b</midino>
                <group>[Channel2]</group>
                <key>keylock</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x91</status>
                <midino>0x15</midino>
                <group>[Sampler1]</group>
                <key>play</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x91</status>
                <midino>0x16</midino>
                <group>[Sampler2]</group>
                <key>play</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x92</status>
                <midino>0x1e</midino>
                <group>[Channel2]</group>
                <key>bpm</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x80</status>
                <midino>0x35</midino>
                <group>[Channel1]</group>
                <key>hotcue_1_activate</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x80</status>
                <midino>0x36</midino>
                <group>[Channel2]</group>
                <key>hotcue_1_activate</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x80</status>
                <midino>0x37</midino>
                <group>[Channel1]</group>
                <key>hotcue_2_activate</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x93</status>
                <midino>0x27</midino>
                <group>[Channel1]</group>
                <key>loop_in</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x92</status>
                <midino>0x21</midino>
                <group>[Channel2]</group>
                <key>NumarkN4.toggleScratchMode</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
            <control>
                <status>0x91</status>
                <midino>0x1b</midino>
                <group>[Channel1]</group>
                <key>keylock</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x80</status>
                <midino>0x38</midino>
                <group>[Channel2]</group>
                <key>hotcue_2_activate</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x93</status>
                <midino>0x28</midino>
                <group>[Channel1]</group>
                <key>loop_out</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x80</status>
                <midino>0x39</midino>
                <group>[Channel1]</group>
                <key>hotcue_3_activate</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x93</status>
                <midino>0x29</midino>
                <group>[Channel1]</group>
                <key>reloop_exit</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x80</status>
                <midino>0x3a</midino>
                <group>[Channel2]</group>
                <key>hotcue_3_activate</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x91</status>
                <midino>0x1e</midino>
                <group>[Channel1]</group>
                <key>bpm</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x80</status>
                <midino>0x3b</midino>
                <group>[Channel1]</group>
                <key>hotcue_4_activate</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x80</status>
                <midino>0x3c</midino>
                <group>[Channel2]</group>
                <key>hotcue_4_activate</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x92</status>
                <midino>0x27</midino>
                <group>[Channel2]</group>
                <key>loop_in</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x91</status>
                <midino>0x21</midino>
                <group>[Channel1]</group>
                <key>NumarkN4.toggleScratchMode</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
            <control>
                <status>0x92</status>
                <midino>0x28</midino>
                <group>[Channel2]</group>
                <key>loop_out</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x92</status>
                <midino>0x29</midino>
                <group>[Channel2]</group>
                <key>reloop_exit</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x92</status>
                <midino>0x2c</midino>
                <group>[Channel2]</group>
                <key>NumarkN4.touch</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
            <control>
                <status>0x91</status>
                <midino>0x27</midino>
                <group>[Channel1]</group>
                <key>loop_in</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x91</status>
                <midino>0x28</midino>
                <group>[Channel1]</group>
                <key>loop_out</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x91</status>
                <midino>0x29</midino>
                <group>[Channel1]</group>
                <key>reloop_exit</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x91</status>
                <midino>0x2c</midino>
                <group>[Channel1]</group>
                <key>NumarkN4.touch</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
            <control>
                <status>0xb4</status>
                <midino>0x1</midino>
                <group>[Channel2]</group>
                <key>rate</key>
                <description></description>
                <options>
                    <invert/>
                </options>
            </control>

            <control>
                <status>0xb3</status>
                <midino>0x1</midino>
                <group>[Channel1]</group>
                <key>rate</key>
                <description></description>
                <options>
                    <invert/>
                </options>
            </control>
            <control>
                <status>0x90</status>
                <midino>0x35</midino>
                <group>[Channel1]</group>
                <key>hotcue_1_activate</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x90</status>
                <midino>0x36</midino>
                <group>[Channel2]</group>
                <key>hotcue_1_activate</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x90</status>
                <midino>0x37</midino>
                <group>[Channel1]</group>
                <key>hotcue_2_activate</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x90</status>
                <midino>0x38</midino>
                <group>[Channel2]</group>
                <key>hotcue_2_activate</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x90</status>
                <midino>0x39</midino>
                <group>[Channel1]</group>
                <key>hotcue_3_activate</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x90</status>
                <midino>0x3a</midino>
                <group>[Channel2]</group>
                <key>hotcue_3_activate</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0xb2</status>
                <midino>0x1</midino>
                <group>[Channel2]</group>
                <key>rate</key>
                <description></description>
                <options>
                    <invert/>
                </options>
            </control>
            <control>
                <status>0x90</status>
                <midino>0x3b</midino>
                <group>[Channel1]</group>
                <key>hotcue_4_activate</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0x90</status>
                <midino>0x3c</midino>
                <group>[Channel2]</group>
                <key>hotcue_4_activate</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0xb1</status>
                <midino>0x1</midino>
                <group>[Channel1]</group>
                <key>rate</key>
                <description></description>
                <options>
                    <invert/>
                </options>
            </control>
            <control>
                <status>0xb0</status>
                <midino>0x7</midino>
                <group>[Master]</group>
                <key>crossfader</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0xb0</status>
                <midino>0x8</midino>
                <group>[Channel1]</group>
                <key>volume</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0xb0</status>
                <midino>0x9</midino>
                <group>[Channel1]</group>
                <key>filterLow</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0xb0</status>
                <midino>0xa</midino>
                <group>[Channel1]</group>
                <key>filterMid</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0xb0</status>
                <midino>0xb</midino>
                <group>[Channel1]</group>
                <key>filterHigh</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0xb0</status>
                <midino>0xc</midino>
                <group>[Channel1]</group>
                <key>pregain</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0xb0</status>
                <midino>0xd</midino>
                <group>[Channel2]</group>
                <key>volume</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0xb0</status>
                <midino>0xe</midino>
                <group>[Channel2]</group>
                <key>filterLow</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0xb0</status>
                <midino>0xf</midino>
                <group>[Channel2]</group>
                <key>filterMid</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0xb0</status>
                <midino>0x10</midino>
                <group>[Channel2]</group>
                <key>filterHigh</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0xb0</status>
                <midino>0x11</midino>
                <group>[Channel2]</group>
                <key>pregain</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0xb0</status>
                <midino>0x12</midino>
                <group>[Master]</group>
                <key>headMix</key>
                <description></description>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <status>0xb2</status>
                <midino>0x20</midino>
                <group>[Channel2]</group>
                <key>NumarkN4.jogWheel</key>
                <description></description>
                <options>
                    <script-binding/>
                </options>
            </control>
        </controls>
        <outputs/>
    </controller>
</MixxxMIDIPreset>
