Accesso rapido:  

Forum: VirtualDJ Technical Support

Topic: LEDs on a custom MIDI device
MC242PRO InfinityMember since 2017
Okay, it's me again. Maybe you have read about the Allen & Heath Xone K2 I am trying to remap, but it is too complicated and I would like to start from scratch-
But VDJ now treats my Xone K2 as a generic MIDI controller, because I have routed it through a software called Bome MIDI Translator Pro.
So the K2 is a Generic MIDI device now connected through this software program.
What I have achieved so far (little):
I have mapped 16 pads on the device to 16 pads in VDJ.
What I would like to achieve:
Light up the LEDs for these pads on the controller.
What I have tried:
This is my XML file:
<?xml version="1.0" encoding="UTF-8"?>
<mapper device="SIMPLE_MIDI_0_0" version="850" date="2023-08-10">
<map value="0-BUTTON36" action="deck 1 pad 1" />
<map value="0-BUTTON37" action="deck 1 pad 2" />
<map value="0-BUTTON38" action="deck 1 pad 3" />
<map value="0-BUTTON39" action="deck 1 pad 4" />
<map value="0-BUTTON32" action="deck 1 pad 5" />
<map value="0-BUTTON33" action="deck 1 pad 6" />
<map value="0-BUTTON34" action="deck 1 pad 7" />
<map value="0-BUTTON35" action="deck 1 pad 8" />
<map value="0-BUTTON28" action="deck 2 pad 1" />
<map value="0-BUTTON29" action="deck 2 pad 2" />
<map value="0-BUTTON30" action="deck 2 pad 3" />
<map value="0-BUTTON31" action="deck 2 pad 4" />
<map value="0-BUTTON24" action="deck 2 pad 5" />
<map value="0-BUTTON25" action="deck 2 pad 6" />
<map value="0-BUTTON26" action="deck 2 pad 7" />
<map value="0-BUTTON27" action="deck 2 pad 8" />
<led note="0x26" name="LED_0-BUTTON36" />
<map value="LED_0-BUTTON36" action="deck 1 pad 1 ? color &apos;red&apos;" />
</mapper>
As I sad, the pads are working fine. I just can't get the LEDs to light up.
The MIDI note is Channel 1 Note 36 which should result in 0x26 in the script.
Maybe this is wrong?

Could anyone please "light me up"?

Thank you!
 

Inviato Wed 09 Aug 23 @ 11:21 pm
locoDogPRO InfinityModeratorMember since 2013
Simple midi doesn't do output to device.
 

Inviato Wed 09 Aug 23 @ 11:26 pm
MC242PRO InfinityMember since 2017
Not at all?? Wow. Is there any special reason? Otherwise I think I will request this feature, because it's vital, not only to me I guess.
 

Inviato Thu 10 Aug 23 @ 12:00 am
locoDogPRO InfinityModeratorMember since 2013
Device to vdj is easy, vdj just listens.
vdj to device is not as easy, it's not like midi has delivery confirmation and what's the type? note or CC, that point you're pretty much writing a definition file.
And the way to map fully from scratch is writing a definition file.
 

Inviato Thu 10 Aug 23 @ 10:43 am
MC242PRO InfinityMember since 2017
Thank you, LOCODOG, actually I read in the forum here from Phantomdeejay (who is normally very competent) that the Simple MIDI has no definition file.
But I see now that on the same hand this makes it impossible to light up LEDs in Simple MIDI mapper mode.
I have an Allen & Heath Xone K2 running as a generic MIDI device not directly (because it is not recognized when directly connected, only on MIDI channel 15, but then it directly loads the default mapper and definition file for the K2, which is a PITA to edit) but running through BOME MIDI translator pro making it visible to Virtual DJ without needing to use the standard file for VDJ.
But now I see that the LED problem makes it also nearly impossible to use this controller as a generic controller, because I don't know how I should write a definition file.
I will try to copy parts of the standard K2 definition file and see how I get along.
If meanwhile someone already has a definition file making it a generic device with LED out I would appreciate if you could help me out.

Cheers!
 

Inviato Thu 10 Aug 23 @ 2:11 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
 

Inviato Thu 10 Aug 23 @ 2:19 pm
MC242PRO InfinityMember since 2017
No, the other topic can be deleted. I have tried for days to edit that mapping. The defintion file is even insane. I won't do that. Please keep on helping me setting this up as a generic controller. Otherwise I will forget the LEDs then.
 

Inviato Thu 10 Aug 23 @ 2:56 pm