Hi, I have assigned function of "SHIFT + PFL/CUE" buttons as my "LINEIN" and hitting "PFL" alone as my "PFL" this two function works great. Now my problem is mapping the LED mapping. Since Xone DX comes with ITCH i usually compare the features and the functionality of my mappers to ITCH it seems that i have done to map the Xone DX to VDJ with a better features and functionality, this is noticeable if a ITCH user used Xone DX in ITCH and at the same time used it Virtual DJ. Right now in my VDJ mapper the led works like this: when you press "SHIFT + PFL/CUE" (LINEIN) the led comes "RED" and if you press "PFL" alone led comes "RED" which is more confusing to me because i don't know in which state i'm in "LINEIN" or "PFL" because it has the same led color. Now in ITCH i have observe that when you press "SHIFT + PFL/CUE" (THRU) "LINEIN" the comes "YELLOW" and press the "PFL" alone led comes "RED" also this i have notice in ITCH that leaving the "SHIFT + PFL/CUE" (in Itch software it is says "THRU") "LINEIN" with the "YELLOW" led "ON" while shutdown the ITCH programs when the ITCH is totally close the led that is "YELLOW" turns to "GREEN" in my Xone DX this means that the buttons contains "RED & GREEN" and by lighting up together it comes "YELOW" is that right. Now in the same led behaviour that i have observed i want it the same way in my VDJ mappers and my problem is i'm having only "RED" and i can't access the "GREEN" led to lights up together in order to make the "YELLOW" led. I have sent some inquiries and help from allen & heath and they have told me that worked must be tweak in the softwares as colors are already there. For your info and more insights of the situation i have below some of the syntax of the definition and the mapper file i have done for you to analyzed maybe i'm doing wrong.
DEFINITION FILES: (working great)
<led note="0x0A" channel="11" name="PFL_1" deck="1" />
<led note="0x0F" channel="11" name="PFL_2" deck="2" />
<led note="0x19" channel="11" name="PFL_3" deck="3" />
<led note="0x1E" channel="11" name="PFL_4" deck="4" />
LINEIN & PFL MAPPER FILES: (working great)
<map value="PFL_1" action="var '$shift' ? linein 1 : deck 1 pfl" />
<map value="PFL_2" action="var '$shift' ? linein 2 : deck 2 pfl" />
<map value="PFL_3" action="var '$shift' ? linein 3 : deck 3 pfl" />
<map value="PFL_4" action="var '$shift' ? linein 4 : deck 4 pfl" />
Now struggling with the "LED MAPPING" want to create a LED mapper for the above:
LED MAPPER FILES TESTING BELOW: (from Synthet1c, thank you so much bro)
TESTING=01:
<map value="LED_PFL_1" action="deck 1 linein ? on : deck 1 pfl ? on : off" />
The red led is continues "ON" when in LINE-IN & DECK mode switching the PFL in line-in and deck mode.
TESTING=02:
<map value="LED_PFL_1" action="deck 1 linein ? blink 500ms : off" />
The red led is blinking "ON" when in LINE-IN mode but the LED is OFF in deck mode and no LED on PFL.
TESTING=03:
<map value="LED_PFL_1" action="deck 1 linein ? blink 500ms : deck 1 pfl ? on : off" />
The red led is blinking "ON" when in LINE-IN mode and the LED is OFF in deck mode but the RED LED will be ON when i press the PFL in deck mode. This option i have done is nice but still cofuse me because still red led is blinking
TESTING=04:
<map value="LED_PFL_4" action="deck 4 linein ? blink 500ms : off" />
The red led is continues "ON" when in LINE-IN & deck mode.
By having tested the above mapper i was able to "PFL" my "LINEIN" and my DECK but my problem is the that led comes in "RED" only and i want the "YELLOW" led on my "LINEIN" and "RED" on PFL. Please see below some data from midi trace for you see may it will help. I have also done a test by dropping down the numbers just use PFL and use the device_side commands i don't see any difference as it works the same so i just choose with the numbers as it makes me very clear.
Miditrace gives this:
PFL only
Button no=1) when push down = 9B 0A 7F 00 / after pushing down = 8B 0A 00 00
Shift + PFL
Button no=1) 9C 10 7F 00, 9B 0A 7F 00 00, / after pushing down = 8B 0A 00 00, 8C 10 00 00
Another midi definer software gives this:
button=1) "0x0A" channel=11 data=10,
button=2) "0x0F" channel=11 data=15
button=3) "0x19" channel=11 data=25
button=4) "0x1E" channel=11 data=30
all of them has 0-127 velocity
Also kindly see the links which is the Xone DX manual for MIDI mapping i have tried it but i don't get it right maybe you guys are expert and have some better understanding and better ways to do it. I have tried and attempt the same as stated in the manual but theres no luck as in the midi address channel at 11,12,13,14,15, theres no channel 16 on the midi definer.
Check out the Xone:DX User Guide Issue 1 Pagge 61, 62 & 63
http://www.allenheath.com/uk/Products/pages/ProductDetails.aspxcatId=XoneSeries&ProductId=XoneDX&SubCatId=
Thank you so much.
DEFINITION FILES: (working great)
<led note="0x0A" channel="11" name="PFL_1" deck="1" />
<led note="0x0F" channel="11" name="PFL_2" deck="2" />
<led note="0x19" channel="11" name="PFL_3" deck="3" />
<led note="0x1E" channel="11" name="PFL_4" deck="4" />
LINEIN & PFL MAPPER FILES: (working great)
<map value="PFL_1" action="var '$shift' ? linein 1 : deck 1 pfl" />
<map value="PFL_2" action="var '$shift' ? linein 2 : deck 2 pfl" />
<map value="PFL_3" action="var '$shift' ? linein 3 : deck 3 pfl" />
<map value="PFL_4" action="var '$shift' ? linein 4 : deck 4 pfl" />
Now struggling with the "LED MAPPING" want to create a LED mapper for the above:
LED MAPPER FILES TESTING BELOW: (from Synthet1c, thank you so much bro)
TESTING=01:
<map value="LED_PFL_1" action="deck 1 linein ? on : deck 1 pfl ? on : off" />
The red led is continues "ON" when in LINE-IN & DECK mode switching the PFL in line-in and deck mode.
TESTING=02:
<map value="LED_PFL_1" action="deck 1 linein ? blink 500ms : off" />
The red led is blinking "ON" when in LINE-IN mode but the LED is OFF in deck mode and no LED on PFL.
TESTING=03:
<map value="LED_PFL_1" action="deck 1 linein ? blink 500ms : deck 1 pfl ? on : off" />
The red led is blinking "ON" when in LINE-IN mode and the LED is OFF in deck mode but the RED LED will be ON when i press the PFL in deck mode. This option i have done is nice but still cofuse me because still red led is blinking
TESTING=04:
<map value="LED_PFL_4" action="deck 4 linein ? blink 500ms : off" />
The red led is continues "ON" when in LINE-IN & deck mode.
By having tested the above mapper i was able to "PFL" my "LINEIN" and my DECK but my problem is the that led comes in "RED" only and i want the "YELLOW" led on my "LINEIN" and "RED" on PFL. Please see below some data from midi trace for you see may it will help. I have also done a test by dropping down the numbers just use PFL and use the device_side commands i don't see any difference as it works the same so i just choose with the numbers as it makes me very clear.
Miditrace gives this:
PFL only
Button no=1) when push down = 9B 0A 7F 00 / after pushing down = 8B 0A 00 00
Shift + PFL
Button no=1) 9C 10 7F 00, 9B 0A 7F 00 00, / after pushing down = 8B 0A 00 00, 8C 10 00 00
Another midi definer software gives this:
button=1) "0x0A" channel=11 data=10,
button=2) "0x0F" channel=11 data=15
button=3) "0x19" channel=11 data=25
button=4) "0x1E" channel=11 data=30
all of them has 0-127 velocity
Also kindly see the links which is the Xone DX manual for MIDI mapping i have tried it but i don't get it right maybe you guys are expert and have some better understanding and better ways to do it. I have tried and attempt the same as stated in the manual but theres no luck as in the midi address channel at 11,12,13,14,15, theres no channel 16 on the midi definer.
Check out the Xone:DX User Guide Issue 1 Pagge 61, 62 & 63
http://www.allenheath.com/uk/Products/pages/ProductDetails.aspxcatId=XoneSeries&ProductId=XoneDX&SubCatId=
Thank you so much.
Posted Thu 01 Dec 11 @ 4:24 am
I'm not too good at defining yet sorry ceser, but I have been using chackl's tool to test the leds. if you input the results in those boxes, do you get access to the different colors?

click the picture to go to the definer


Also have you tried adding the different channels to the definition? from what I remember they were all sending the same message, just on different channels
<led note="0x0A" channel="12" name="PFL_1" deck="1" />
<led note="0x0F" channel="12" name="PFL_2" deck="2" />
<led note="0x19" channel="12" name="PFL_3" deck="3" />
<led note="0x1E" channel="12" name="PFL_4" deck="4" />
(not sure if that is the right channel, I'll check in the manual)
Also when defining, you should call everything that is the same the same thing, it will make mapping faster, as you don't need to designate the deck the button/knob/slider/led works on in your mapping, and you only need to map the control once for all decks
<led note="0x0A" channel="13" name="LED_PFL_RED" deck="1" />
<led note="0x0A" channel="14" name="LED_PFL_GREEN" deck="1" />
<led note="0x1E" channel="15" name="LED_PFL_RED" deck="4" />
<led note="0x1E" channel="16" name="LED_PFL_GREEN" deck="4" />
This is a thread that cstoll has helped me with, he explains how hex id's work pretty well, but I am struggling to get leds working as well on my istage LOL
http://www.virtualdj.com/forums/156914/Hardware_Technical_Support/help_with_definition_file_for_icon_istage.html
this is the other thread that has the channels you need to define
http://www.virtualdj.com/forums/156183/General_Discussion/HOW_TO_DO_%28LINE-IN_LED_MAPPING%29.html

click the picture to go to the definer


Also have you tried adding the different channels to the definition? from what I remember they were all sending the same message, just on different channels
<led note="0x0A" channel="12" name="PFL_1" deck="1" />
<led note="0x0F" channel="12" name="PFL_2" deck="2" />
<led note="0x19" channel="12" name="PFL_3" deck="3" />
<led note="0x1E" channel="12" name="PFL_4" deck="4" />
(not sure if that is the right channel, I'll check in the manual)
Also when defining, you should call everything that is the same the same thing, it will make mapping faster, as you don't need to designate the deck the button/knob/slider/led works on in your mapping, and you only need to map the control once for all decks
<led note="0x0A" channel="13" name="LED_PFL_RED" deck="1" />
<led note="0x0A" channel="14" name="LED_PFL_GREEN" deck="1" />
<led note="0x1E" channel="15" name="LED_PFL_RED" deck="4" />
<led note="0x1E" channel="16" name="LED_PFL_GREEN" deck="4" />
This is a thread that cstoll has helped me with, he explains how hex id's work pretty well, but I am struggling to get leds working as well on my istage LOL
http://www.virtualdj.com/forums/156914/Hardware_Technical_Support/help_with_definition_file_for_icon_istage.html
this is the other thread that has the channels you need to define
http://www.virtualdj.com/forums/156183/General_Discussion/HOW_TO_DO_%28LINE-IN_LED_MAPPING%29.html
Posted Thu 01 Dec 11 @ 5:04 am
Hi Andrew (Synthet1c),
I have tried putting the values of the led on space you have highlighted as i'm using the midi definer by c.hackl, i love to use this in defining midi address because it shows the channels correctly and it is almost look like the same to what i have used in defining midi notes on my synths & my sequencer when i was on the band during 90's and just copy & paste the value and the exact line to the VDJ scripts it helps less of typing the whole scripts. Now following to your instruction i was able to access the colors on all the boards of the xone dx but the CUE/THRU "PFL" & LINEIN just see "RED" only i tried to access the "GREEN" when i open the ITCH and trigger the midi notes of that by using the definer but it show the same values as i have used on RED. Now going back to the manual, i remember when i'm doing the channel gain level meter which contains 4-LEDS with different colors (green on -3dB, blue on 0-dB, yellow on +3-dB, red on peak-dB) the first try i have was focusing on "GAIN" it lights up the led but not blinking on the beat, it increases the lead amount to blue or goes up yellow when i'm increasing the gain of the channels, since i was not happy with it i tried then, i have added on my scripts the "blink" with value it doesn't work then i have tried the scripst which was on the VDJ wiki sites and many option from there but it doesn't work. Going back to allen & heath and ask from where channel gain come from? and they told me that allen & heath uses that as levels not gain so i went back to my scripts and change it to "get level" on my mapping instead of "deck 1 gain" now just changing the "gain" command to "level" on my scripts it makes a lot of difference now it is working great with the 4-colored lights blinking when the gains of the channels goes up.
Now my point here is to give you a background that maybe again i'm on the wrong side of my scripting where i'm focusing on "LINEIN" while allen & heath said to me that they have that as "THRU" where you can use the inputs to plays some audio device like CD player/phone/ect. and monitored it in the softwares. Does VDJ has this verb "THRU"? or do you have some thoughts on this? Otherwise i'll have to leave it the way it was. Thanks you again Bro.
Regards,
Cesar
I have tried putting the values of the led on space you have highlighted as i'm using the midi definer by c.hackl, i love to use this in defining midi address because it shows the channels correctly and it is almost look like the same to what i have used in defining midi notes on my synths & my sequencer when i was on the band during 90's and just copy & paste the value and the exact line to the VDJ scripts it helps less of typing the whole scripts. Now following to your instruction i was able to access the colors on all the boards of the xone dx but the CUE/THRU "PFL" & LINEIN just see "RED" only i tried to access the "GREEN" when i open the ITCH and trigger the midi notes of that by using the definer but it show the same values as i have used on RED. Now going back to the manual, i remember when i'm doing the channel gain level meter which contains 4-LEDS with different colors (green on -3dB, blue on 0-dB, yellow on +3-dB, red on peak-dB) the first try i have was focusing on "GAIN" it lights up the led but not blinking on the beat, it increases the lead amount to blue or goes up yellow when i'm increasing the gain of the channels, since i was not happy with it i tried then, i have added on my scripts the "blink" with value it doesn't work then i have tried the scripst which was on the VDJ wiki sites and many option from there but it doesn't work. Going back to allen & heath and ask from where channel gain come from? and they told me that allen & heath uses that as levels not gain so i went back to my scripts and change it to "get level" on my mapping instead of "deck 1 gain" now just changing the "gain" command to "level" on my scripts it makes a lot of difference now it is working great with the 4-colored lights blinking when the gains of the channels goes up.
Now my point here is to give you a background that maybe again i'm on the wrong side of my scripting where i'm focusing on "LINEIN" while allen & heath said to me that they have that as "THRU" where you can use the inputs to plays some audio device like CD player/phone/ect. and monitored it in the softwares. Does VDJ has this verb "THRU"? or do you have some thoughts on this? Otherwise i'll have to leave it the way it was. Thanks you again Bro.
Regards,
Cesar
Posted Sat 03 Dec 11 @ 2:23 am
when I used to use timecode vinyl, it was just "linein" or "timecode_bypass" you can use "deck 1 linein" or "deck 1 timecode_bypass" as well, that was how you would play the real vinyl as apposed to the timcode signal controlling the transport.. So that would probably only work if the input first gets routed to vdj first, not if the dx is a hardware mixer.
actually just checked the A & H website, there is a 20 channel soundcard in it so I'm going to say it would route direcly into vdj.
glad you got the LED's sorted Cesar, looks like you will have quite a good controller in your hands :)
actually just checked the A & H website, there is a 20 channel soundcard in it so I'm going to say it would route direcly into vdj.
glad you got the LED's sorted Cesar, looks like you will have quite a good controller in your hands :)
Posted Sat 03 Dec 11 @ 2:53 am