Post by LastDM2adminDJP on Dec 17, 2009 2:20:36 GMT -5
ok so this is the version 6 setup much in the same as what bbk recently posted with an external mixer this is the code that is for a internal crossfader(whats on the dm2) as opposed to a 2 channel mixer. attached is the pdf to go with will also attach the definition and mapping
*updated this cause for some reason it said version 4 when its meant for virtual dj 6.0-7.0 (depending on what the future holds for 7.0 which isnt out just saying it will work on all v6x releases for the time being. lol
create a new text file and rename to "dm2 definition.xml
now create another new text file and past the following code and rename it into a file called "dm2 MIDI mapping.xml
enjoy now stop BIT... ER CRYING! about the cross fader not working and enjoy and yes it was that simple
*updated this cause for some reason it said version 4 when its meant for virtual dj 6.0-7.0 (depending on what the future holds for 7.0 which isnt out just saying it will work on all v6x releases for the time being. lol
create a new text file and rename to "dm2 definition.xml
<?xml version="1.0" encoding="UTF-8"?>
<device name="dm2" author="dmtwo.tk" type="MIDI" decks="2">
<fulljog cc="0x01" name="DMWHEEL" deck="1" full="128" />
<fulljog cc="0x05" name="DMWHEEL" deck="2" full="128" />
<fulljog cc="0x02" name="DMSCRATCH" deck="1" full="128" />
<fulljog cc="0x06" name="DMSCRATCH" deck="2" full="128" />
<fulljog cc="0x03" name="DMKEY" deck="1" full="128" />
<fulljog cc="0x07" name="DMKEY" deck="2" full="128" />
<fulljog cc="0x04" name="DMPITCH" deck="1" full="128" />
<fulljog cc="0x08" name="DMPITCH" deck="2" full="128" />
<slider cc="09" name="crossfader" />
<slider cc="10" name="crossfader" />
<slider cc="11" name="crossfader" />
<button note ="0x01" name="PANNEL20" />
<button note ="0x02" name="PANNEL21" />
<button note ="0x03" name="PANNEL22" />
<button note ="0x04" name="PANNEL23" />
<button note ="05" name="BROWSEUP" />
<button note ="06" name="BROWSEENTER" />
<button note ="07" name="BROWSEDOWN" />
<button note ="08" name="HOLD" deck="1" />
<button note ="09" name="HOLD" deck="2" />
<button note ="10" name="HOLDEM" />
<button note ="11" name="PITCHRESET" />
<button note ="12" name="MASTERTEMPO" />
<button note ="13" name="PITCHORIGINAL" />
<button note ="14" name="BEATLOCK" deck="1" />
<button note ="15" name="BEATLOCK" deck="2" />
<button note ="16" name="STOP" />
<button note ="17" name="PLAY" />
<button note ="23" name="SELECT" />
<button note ="24" name="PANNEL1" />
<button note ="25" name="PANNEL2" />
<button note ="26" name="PANNEL3" />
<button note ="30" name="PANNEL8" />
<button note ="27" name="CUEPANGO" />
<button note ="28" name="CUEPANSET" />
<button note ="31" name="BEATSKIPLEFT" deck="1" />
<button note ="95" name="BEATSKIPRITE" deck="1" />
<button note ="93" name="BEATSKIPLEFT" deck="2" />
<button note ="94" name="BEATSKIPRITE" deck="2" />
<button note ="77" name="BEATTAP" deck="1" />
<button note ="78" name="BEATTAP" deck="2" />
<button note ="37" name="LOOPIN" deck="1" />
<button note ="33" name="LOOPOUT" deck="1" />
<button note ="47" name="LOOPIN" deck="2" />
<button note ="43" name="LOOPOUT" deck="2" />
<button note ="54" name="LOOP" deck="1" />
<button note ="52" name="LOOP" deck="2" />
<button note ="108" name="LOOPMOVLEFT" deck="1" />
<button note ="102" name="LOOPMOVRITE" deck="1" />
<button note ="118" name="LOOPMOVLEFT" deck="2" />
<button note ="112" name="LOOPMOVRITE" deck="2" />
<button note ="57" name="NOCBGSYNC" deck="1" />
<button note ="58" name="NOCBGSYNC" deck="2" />
<button note ="100" name="CBGMOVLEFT" deck="1" />
<button note ="109" name="CBGMOVRITE" deck="1" />
<button note ="110" name="CBGMOVLEFT" deck="2" />
<button note ="119" name="CBGMOVRITE" deck="2" />
<button note ="38" name="CBGSKIPLEFT" deck="1" />
<button note ="41" name="CBGSKIPRITE" deck="1" />
<button note ="48" name="CBGSKIPLEFT" deck="2" />
<button note ="42" name="CBGSKIPRITE" deck="2" />
<button note ="36" name="LOOPSKIPLEFT" deck="1" />
<button note ="34" name="LOOPSKIPRITE" deck="1" />
<button note ="46" name="LOOPSKIPLEFT" deck="2" />
<button note ="44" name="LOOPSKIPRITE" deck="2" />
<button note ="60" name="FXSELECTUP" deck="1" />
<button note ="61" name="FXSELECT" deck="1" />
<button note ="62" name="FXSELECTDO" deck="1" />
<button note ="80" name="FXSELECTUP" deck="2" />
<button note ="81" name="FXSELECT" deck="2" />
<button note ="82" name="FXSELECTDO" deck="2" />
<button note ="63" name="GOCUE1" deck="1" />
<button note ="64" name="GOCUE2" deck="1" />
<button note ="65" name="GOCUE3" deck="1" />
<button note ="66" name="GOCUE4" deck="1" />
<button note ="67" name="GOCUE5" deck="1" />
<button note ="68" name="SETCUE1" deck="1" />
<button note ="69" name="SETCUE2" deck="1" />
<button note ="70" name="SETCUE3" deck="1" />
<button note ="71" name="SETCUE4" deck="1" />
<button note ="72" name="SETCUE5" deck="1" />
<button note ="83" name="GOCUE1" deck="2" />
<button note ="84" name="GOCUE2" deck="2" />
<button note ="85" name="GOCUE3" deck="2" />
<button note ="86" name="GOCUE4" deck="2" />
<button note ="87" name="GOCUE5" deck="2" />
<button note ="88" name="SETCUE1" deck="2" />
<button note ="89" name="SETCUE2" deck="2" />
<button note ="90" name="SETCUE3" deck="2" />
<button note ="91" name="SETCUE4" deck="2" />
<button note ="92" name="SETCUE5" deck="2" />
<button note ="120" name="KEYUP" deck="1" />
<button note ="121" name="KEYDO" deck="1" />
<button note ="122" name="KEYMATCH" deck="1" />
<button note ="124" name="KEYUP" deck="2" />
<button note ="125" name="KEYDO" deck="2" />
<button note ="126" name="KEYMATCH" deck="2" />
<button note ="123" name="KEYRESET" />
<button note ="103" name="LOOPSKIPRITE" deck="1" />
<button note ="107" name="LOOPSKIPLEFT" deck="1" />
<button note ="104" name="LOOPLENPLUS" deck="1" />
<button note ="106" name="LOOPLENMINUS" deck="1" />
<button note ="105" name="LOOP" deck="1" />
<button note ="113" name="LOOPSKIPRITE" deck="2" />
<button note ="117" name="LOOPSKIPLEFT" deck="2" />
<button note ="114" name="LOOPLENPLUS" deck="2" />
<button note ="116" name="LOOPLENMINUS" deck="2" />
<button note ="115" name="LOOP" deck="2" />
<button note ="99" name="MENU" />
<button note ="73" name="STOP" deck="1" />
<button note ="76" name="STOP" deck="2" />
<button note ="74" name="PLAY" deck="1" />
<button note ="75" name="PLAY" deck="2" />
<slider cc="70" name="SAMPLERVOL01" />
<slider cc="71" name="SAMPLERVOL02" />
<slider cc="72" name="SAMPLERVOL03" />
<slider cc="73" name="SAMPLERVOL04" />
<slider cc="74" name="SAMPLERVOL05" />
<slider cc="75" name="SAMPLERVOL06" />
<slider cc="76" name="SAMPLERVOL07" />
<slider cc="77" name="SAMPLERVOL08" />
<slider cc="78" name="SAMPLERVOL09" />
<slider cc="79" name="SAMPLERVOL10" />
<slider cc="80" name="SAMPLERVOL11" />
<slider cc="81" name="SAMPLERVOL12" />
<slider cc="55" name="GAIN" deck="1" />
<slider cc="56" name="GAIN" deck="2" />
<slider cc="12" name="MASTERVOLUME" />
</device>
now create another new text file and past the following code and rename it into a file called "dm2 MIDI mapping.xml
<?xml version="1.0" encoding="UTF-8"?>
<mapper device="dm2" author="dmtwo.tk" description="dm2" version="600" date="12/09/2009" priority="-10">
<map value="MIDI_CLOCK" action="off" />
<map value="DMWHEEL" action="jog_wheel" />
<map value="PANNEL20" action="skin_pannel "20" on" />
<map value="PANNEL21" action="skin_pannel "21" on" />
<map value="PANNEL22" action="skin_pannel "22" on" />
<map value="PANNEL23" action="skin_pannel "23" on" />
<map value="BROWSEUP" action="browser_scroll -1" />
<map value="BROWSEDOWN" action="browser_scroll +1" />
<map value="BROWSEENTER" action="browser_enter" />
<map value="HOLD" action="play_pause temporary" />
<map value="HOLDEM" action="play_pause temporary" />
<map value="PITCHRESET" action="pitch_reset" />
<map value="PITCHORIGINAL" action="pitch 100%" />
<map value="BEATLOCK" action="holding 250ms ? beatlock : sync" />
<map value="STOP" action="stop" />
<map value="PLAY" action="play_pause" />
<map value="SELECT" action="deck active select" />
<map value="PANNEL8" action="skin_pannel "8" on" />
<map value="PANNEL1" action="holding 250ms ? crossfader 50% & skin_pannel "1" on : skin_pannel "1" on" />
<map value="PANNEL2" action="holding 250ms ? crossfader 50% & skin_pannel "2" on : skin_pannel "2" on" />
<map value="PANNEL3" action="holding 250ms ? crossfader 50% & skin_pannel "3" on : skin_pannel "3" on" />
<map value="crossfader" action="crossfader" />
<map value="crossfader" action="crossfader" />
<map value="crossfader" action="crossfader" />
<map value="CUEPANSET" action="skin_pannel "6" toggle & skin_pannel "5" on" />
<map value="CUEPANGO" action="skin_pannel "5" toggle & skin_pannel "6" on" />
<map value="BEATSKIPLEFT" action="goto -1" />
<map value="BEATSKIPRITE" action="goto +1" />
<map value="BEATTAP" action="beat_tap" />
<map value="LOOPIN" action="loop_in" />
<map value="LOOPOUT" action="loop_out" />
<map value="LOOP" action="loop" />
<map value="LOOPMOVLEFT" action="loop_move -1%" />
<map value="LOOPMOVRITE" action="loop_move +1%" />
<map value="NOCBGSYNC" action="sync_nocbg" />
<map value="CBGMOVLEFT" action="adjust_cbg -1%" />
<map value="CBGMOVRITE" action="adjust_cbg +1%" />
<map value="DMSCRATCH" action="scratch_wheel" />
<map value="LOOPSKIPLEFT" action="loop_move -1" />
<map value="LOOPSKIPRITE" action="loop_move +1" />
<map value="FXSELECTUP" action="effect select -1" />
<map value="FXSELECTDO" action="effect select +1" />
<map value="FXSELECT" action="effect active" />
<map value="GOCUE1" action="goto_cue 1" />
<map value="GOCUE2" action="goto_cue 2" />
<map value="GOCUE3" action="goto_cue 3" />
<map value="GOCUE4" action="goto_cue 4" />
<map value="GOCUE5" action="goto_cue 5" />
<map value="SETCUE1" action="set_cue 1" />
<map value="SETCUE2" action="set_cue 2" />
<map value="SETCUE3" action="set_cue 3" />
<map value="SETCUE4" action="set_cue 4" />
<map value="SETCUE5" action="set_cue 5" />
<map value="DMKEY" action="key_smooth" />
<map value="KEYUP" action="key_move -1" />
<map value="KEYDO" action="key_move +1" />
<map value="KEYMATCH" action="match_key" />
<map value="KEYRESET" action="key 0" />
<map value="DMPITCH" action="pitch" />
<map value="CBGSKIPLEFT" action="adjust_cbg -1" />
<map value="CBGSKIPRITE" action="adjust_cbg +1" />
<map value="LOOPLENMINUS" action="loop_half" />
<map value="LOOPLENPLUS" action="loop_double" />
<map value="MENU" action="page +1" />
<map value="SAMPLERVOL01" action="sampler 1 volume" />
<map value="SAMPLERVOL02" action="sampler 2 volume" />
<map value="SAMPLERVOL03" action="sampler 3 volume" />
<map value="SAMPLERVOL04" action="sampler 4 volume" />
<map value="SAMPLERVOL05" action="sampler 5 volume" />
<map value="SAMPLERVOL06" action="sampler 6 volume" />
<map value="SAMPLERVOL07" action="sampler 7 volume" />
<map value="SAMPLERVOL08" action="sampler 8 volume" />
<map value="SAMPLERVOL09" action="sampler 9 volume" />
<map value="SAMPLERVOL10" action="sampler 10 volume" />
<map value="SAMPLERVOL11" action="sampler 11 volume" />
<map value="SAMPLERVOL12" action="sampler 12 volume" />
<map value="GAIN" action="gain" />
</mapper>
enjoy now stop BIT... ER CRYING! about the cross fader not working and enjoy and yes it was that simple