Quick Sign In:  

Forum: VirtualDJ 8.0 Technical Support

Topic: Custom keyboard mapper not working

This topic is old and might contain outdated or incorrect information.

dfyffePRO InfinityMember since 2003
I cant get my custom mapper to work with VDJ8, I dont use a controller and have alot of custom keyboard shortcuts. Thanks
Here is a part of my keyboard mapper.

<?xml version="1.0" encoding="UTF-8"?>
<mapper device="KEYBOARD" description="Keyboard" author="Atomix Productions" version="800" date="2014-05-12">
<map value="NUM*" action="deck 1 play ? deck 1 pitch_reset 0.05% : deck 2 play ? deck 2 pitch_reset 0.05% : deck 3 play ? deck 3 pitch_reset 0.05% : deck 4 play ? deck 4 pitch_reset 0.05%" />
<map value="ESCAPE" action="holding ? video_fx_select "RewindMedia" & video_fx & deck right stop & deck left stop : deck left play ? sampler 1 load "1Pullup.mp3" & sampler 1 play_stutter & deck left stop & deck left select : deck right play ? sampler 1 play_stutter & deck right stop & deck right select " />
<map value="F1" action="sampler 1 load "1Pullup.mp3" & sampler 1 play_stutter" />
<map value="F2" action="sampler 2 load "2Jingle.mp3" & sampler 2 play_stutter " />
<map value="F3" action="sampler 3 load "3Sfx.mp3" & sampler 3 play_stutter" />
<map value="F4" action="sampler 4 load "4Sfx2.mp3" & sampler 4 play_stutter" />
<map value="F5" action="sampler 5 load "5DFyffe.mp3" & sampler 5 play_stutter" />
<map value="F6" action="sampler 6 load "6Sound.mp3" & sampler 6 play_stutter " />
<map value="F7" action="sampler 7 load "7Intro.mp3" & sampler 7 play_stutter" />
<map value="F8" action="sampler 8 load "8Party.mp3" & sampler 8 play_stutter" />
<map value="F9" action="sampler 9 load "9Jingle.mp3" & sampler 9 play_stutter" />
<map value="F10" action="sampler 10 load "10New.mp3" & sampler 10 play_stutter" />
<map value="F11" action="sampler 11 play_stutter" />
<map value="F12" action="sampler 12 play_stutter" />
<map value="Application" action="holding ? deck left play & deck right play & deck left effect "Sbalance1" active & effect slider 1 99% & deck right effect "Sbalance2" active & effect slider 2 99% & crossfader 50% : deck right play ? deck left play & effect_reset & crossfader 60% & eq_crossfader_low 50% & eq_crossfader_high 50% & eq_crossfader_mid 48% : deck right play & effect_reset & crossfader 40% & eq_crossfader_low 50% & eq_crossfader_high 50% & eq_crossfader_mid 52%" />
<map value="Right Alt" action="holding ? deck left play & deck left set_gain 0 & deck right set_gain 0 & eq_crossfader_low 50% & eq_crossfader_mid 50% & eq_crossfader_high 50% & crossfader 0% : deck left play & deck left set_gain 0 & deck right set_gain 0 & loop_exit & eq_crossfader_low 50% & eq_crossfader_mid 50% & eq_crossfader_high 50% & crossfader 0% & deck right pause & deck right unload & browser_scroll +1" />
<map value="Right Ctrl" action="holding ? deck right play & deck right set_gain 0 & deck left set_gain 0 & loop_exit & crossfader 100% & deck & eq_crossfader_low 50% & eq_crossfader_mid 50% & eq_crossfader_high 50% : deck right play & deck right set_gain 0 & deck left set_gain 0 & loop_exit & crossfader 100% & deck left pause & deck left unload & eq_crossfader_low 50% & eq_crossfader_mid 50% & eq_crossfader_high 50% & browser_scroll +1" />
<map value="X" action="holding ? deck left play & deck left gain +5 db & eq_crossfader_high 40% & eq_crossfader_mid 60% & eq_crossfader_low 20% & crossfader 60% & loop 8 : deck left play & loop_exit & deck left gain +5 db & eq_crossfader_high 40% & eq_crossfader_mid 60% & eq_crossfader_low 20% & crossfader 60% " />
<map value="N" action="holding ? deck right play & deck right gain +5 db & eq_crossfader_high 60% & eq_crossfader_mid 40% & eq_crossfader_low 80% & crossfader 40% & loop 8 : deck right play & loop_exit & deck right gain +5 db & eq_crossfader_high 60% & eq_crossfader_mid 40% & eq_crossfader_low 80% & crossfader 40% " />
<map value="M" action="holding 250ms ? gain +5 dB & deck right play & crossfader 40% & eq_crossfader_low 10% & eq_crossfader_high 40% & eq_crossfader_mid 95% & deck left loop 8 : loop_exit & gain +6 dB & deck right play & crossfader 40% & eq_crossfader_low 10% & eq_crossfader_high 40% & eq_crossfader_mid 95%" />
<map value="A" action="holding ? deck 5 linein mic on & mic_voloume 100% & deck left volume 70% & deck right volume 70% : deck 5 linein on ? deck 5 linein & mic_volume 0% & deck left volume 100% & deck right volume 100% : deck 5 linein mic on & mic_voloume 100% & deck left volume 100% & deck right volume 100%" />
<map value="U" action="holding ? sidelist_clear : deck 1 play ? deck 2 unload & deck 3 unload & deck 4 unload & deck 5 unload : deck 2 play ? deck 1 unload & deck 3 unload & deck 4 unload & deck 5 unload : deck 3 play ? deck 1 unload & deck 2 unload & deck 4 unload & deck 5 unload : deck 4 play ? deck 1 unload & deck 2 unload & deck 3 unload & deck 5 unload : deck 5 play ? deck 1 unload & deck 2 unload & deck 3 unload & deck 4 unload : deck 1 unload & deck 2 unload & deck 3 unload & deck 4 unload & deck 5 unload" />
<map value="SHIFT+DOWN" action="deck left play ? deck left pitch_reset 0.25% : deck right play ? deck right pitch_reset 0.25%" />
<map value="SHIFT+SPACE" action="crossfader 40% ? deck 2 set_gain 0 & deck 4 level 0% & deck 4 rightvideo & deck 4 play & mix_now_nosync & eq_crossfader_low 60% & eq_crossfader_high 65% & eq_crossfader_mid 60% : crossfader 60% ? deck 1 set_gain 0 & deck 3 level 0% & deck 3 leftvideo & deck 3 play & mix_now_nosync & eq_crossfader_low 40% & eq_crossfader_high 45% & eq_crossfader_mid 40% : deck 1 play & deck 3 play ? deck 2 set_gain 0 & deck 4 level 0% & deck 4 rightvideo & deck 4 play & mix_now_nosync & crossfader 40% :deck 2 play & deck 4 play ? deck 1 set_gain 0 & deck 3 level 0% & deck 3 leftvideo & deck 3 play & mix_now_nosync & crossfader 60%" />
<map value="Q" action="switch_skin_variation &apos;Strobe 70s&apos; " />
<map value="K" action="gain +6 dB & deck 4 play & crossfader 40% & deck right effect "Pass_TexZK" active & deck right effect "Pass_TexZK" slider 1 62% & eq_crossfader_high 55% & eq_crossfader_mid 95%" />
<map value="J" action="deck 4 gain 6 db & eq_crossfader_high 70% & eq_crossfader_mid 5% & deck left effect "Pass_TexZK" active & deck left effect "Pass_TexZK" slider 1 62% & crossfader 40% & deck 4 play " />
<map value="NUM8" action="holding ? deck active effect "Gate_Echo" active : deck left play ? deck left effect "Beatgrid" active : deck right effect "Beatgrid" active " />
</mapper>
 

Posted Thu 15 May 14 @ 6:40 am
dfyffePRO InfinityMember since 2003
Where could i get a list a VDJ8 script commands ?. Thanks
 

Posted Thu 15 May 14 @ 8:25 am
dfyffePRO InfinityMember since 2003
Is there a possible solution, if not please let me know, if so can someone guide me to some pointers or documentation. I open a trouble ticket with Tech support but they told me to use this forum for V8 trouble, any help would be greatly appreciated. Thanks
 

Posted Thu 15 May 14 @ 11:40 am
Firstly i would redo your sampler section:

Create a new bank and place all of your favourite sample inside it. Name the bank what you will for example purposes i'll call it "Triggers".
Then i would adjust the code like this:
sampler_bank 'Triggers' & sampler_pad 1
sampler_bank 'Triggers' & sampler_pad 2
etc
etc


By doing this it will mean you can take advantage of the sampler play options: play/stutter - unmute - play/stop - holding.

Your other problem maybe that alot of of effects from V7 need to be reworked for version 8. As such if you are trying to trigger a non compatible effect. There will be no action.

I often find the best way to resolve things like this (and i do this with my skins too) - cut and paste the xml to another document. Then section by section place it back into the XML and test it as you go. As soon as it stops working then you know you have a problem. Fix that problem and continue until all is well.
 

Posted Thu 15 May 14 @ 11:51 am
dfyffePRO InfinityMember since 2003
djtouchdan wrote :
Firstly i would redo your sampler section:

Create a new bank and place all of your favourite sample inside it. Name the bank what you will for example purposes i'll call it "Triggers".
Then i would adjust the code like this:
sampler_bank 'Triggers' & sampler_pad 1
sampler_bank 'Triggers' & sampler_pad 2
etc
etc


By doing this it will mean you can take advantage of the sampler play options: play/stutter - unmute - play/stop - holding.

Your other problem maybe that alot of of effects from V7 need to be reworked for version 8. As such if you are trying to trigger a non compatible effect. There will be no action.

I often find the best way to resolve things like this (and i do this with my skins too) - cut and paste the xml to another document. Then section by section place it back into the XML and test it as you go. As soon as it stops working then you know you have a problem. Fix that problem and continue until all is well.


Thanks for the info Dan, Is there a equivalent V8 Script that would accomplished this:

<map value="SPACE" action="holding ? mix_now : crossfader 40% ? mix_now_nosync &amp; deck right set_gain 0 &amp; eq_crossfader_low 60% &amp; eq_crossfader_high 65% &amp; eq_crossfader_mid 65% : crossfader 60% ? mix_now_nosync &amp; deck left set_gain 0 &amp; eq_crossfader_low 40% &amp; eq_crossfader_high 35% &amp; eq_crossfader_mid 30% : crossfader 0% ? mix_now_nosync &amp; deck right set_gain 0 &amp; crossfader 35% : crossfader 100% ? mix_now_nosync &amp; deck left set_gain 0 &amp; crossfader 65%" />
 

Posted Thu 15 May 14 @ 12:35 pm
Can't see anything myself - but then i don't claim to be a coding genuis.

May djdad, Phantom or sythent1c may have a solution. It may also be just because it is a PreRelease and there may be a bug in the software affecting your code.

See whether one of these guys chime in though.
 

Posted Thu 15 May 14 @ 1:14 pm
dfyffePRO InfinityMember since 2003
Thanks Dan, appreciate, will wait for V8 script commands release.
Keep up the good work.
 

Posted Thu 15 May 14 @ 2:10 pm


(Old topics and forums are automatically closed)