Entra:     


Forum: General Discussion

Topic: HOW TO DO (LINE-IN LED MAPPING)

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

Does anyone have any ideas on how to map the LED for the LINE-IN in VDJ. I have my PFL mapped and i want also to add the line-in LED mapping as well.

This is how it works i have map the LINE-IN signal in VDJ by pressing shift + deck 1 PFL button in the controller and it shows the deck 1 line-in-1 on in my deck 1. When i press the PFL to toggle between the PFL on-off of deck 1 line-in the LED "RED" ON works and i can hear the sounds coming from the line-in source and LED RED is gone when OFF. Now this is what i want, I'm thinking if it is possible to have the LED that is ON when the LINE-IN in deck 1 is on, some LEDS like "GREEN/YELOW/ORANGE/RED" any of these that BLINKS when i'm on the LINE-IN mode on deck 1 i don't want the steady LED as my PFL is an steady RED LED when on. I want some BLINKING LEDS to reminds me that i'm on the line-in mode.

Here are some of the definition files and mapping files for your info:

Definition files of PFL buttons: (this is working great) The PFL buttons has ring led around the buttons and it has 3-colors (GREEN/YELLOW/RED) and i have already used steady RED for PFL and i want to use the GREEN or YELLOW for the LINE-IN but i don't know how to do it.
<button note="0x0A" channel="11" name="PFL_1" deck="1" />
<button note="0x0F" channel="11" name="PFL_2" deck="2" />
<button note="0x19" channel="11" name="PFL_3" deck="3" />
<button note="0x1E" channel="11" name="PFL_4" deck="4" />

Mapping the line-in using the shift key on PFL button: (this is working good)
<map value="PFL_1" action="var '$shift' ? linein 1 : pfl" />
<map value="PFL_2" action="var '$shift' ? linein 2 : pfl" />
<map value="PFL_3" action="var '$shift' ? linein 3 : pfl" />
<map value="PFL_4" action="var '$shift' ? linein 4 : pfl" />

Mapping the PFL for the line-in and the normal deck PFL when line-in is off: (this is working great) LED RED STEADY "ON" when PFL is active.
(these works when i want to listen the sounds from line-in audio) and working great
<map value="LED_PFL_3" action="var 'linein 1' ? off : pfl" />
<map value="LED_PFL_1" action="var 'linein 2' ? off : pfl" />
<map value="LED_PFL_2" action="var 'linein 3' ? off : pfl" />
<map value="LED_PFL_4" action="var 'linein 4' ? off : pfl" />

Now ! in this line: I want to create the LED (GREEN/YELLOW) mapping that BLINKS for the LINE-IN on the PFL buttons just to remind me that i'm on LINE-IN mode. (my problems is i don't get it right as i have already tried many syntax but no luck, does anyone could help me to do this?).

<<<<<<<>>>>>>>>> <<<<<<<<>>>>>>>??????
<<<<<<<>>>>>>>>> <<<<<<<<>>>>>>>??????
<<<<<<<>>>>>>>>> <<<<<<<<>>>>>>>??????
<<<<<<<>>>>>>>>> <<<<<<<<>>>>>>>??????

Thank you so much.
 

Inviato Fri 11 Nov 11 @ 5:50 am
it sounds like you are mapping a novation launch pad....

you have two leds in each pad, red and green... yellow us both on at the same time..

so you could have

red led = deck 1 linein ? on : deck 1 pfl ? on : off
green led = deck 1 linein ? blink 500ms : off

this will be red if pfl is true and blink red and yellow if line in, or you could also use the below scripts, it will be blink red and yellow if the deck is both pfl and line in, or be red if pfl is true, or just blink yellow if line in..

red led = deck 1 linein ? blink 500ms : deck 1 pfl ? on : off
green led = deck 1 linein ? blink 500ms : off

blinks default is 500ms but that is just to show you that you can alter the blink speed in milliseconds..

if you want to map a four channel device or if you have set up the controller for specific decks in the definition file you you can drop the "deck #" part and it will apply the whatever deck it is defined as.

it would help if you posted the controller you have

 

Hi i'm trying to map the Allen & Heath XONE DX 4-Channel DJ Controller to Virtual DJ PRO 7.05 as i'm getting fed up with SERATO ITCH. Thank you for your help and i'm trying to get through in it and have done some experiment and trials on your suggestions and this is what i have observe on the controller:

<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 but good i still hear both by switching the PFL in line-in and deck mode.

<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 deck mode PFL.

<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. I think i will just use this as theres no GREEN/YELLOW LED ON and i think maybe the velocity will make the color of LED changed.

<map value="LED_PFL_4" action="deck 4 linein ? blink 500ms : off" />
The red led is continues "ON" when in LINE-IN & DECK mode but good i still hear both by switching the PFL in line-in and deck mode.

Maybe some other guys have some other ways around to get this working. Thank you
 

hey cesar, you should change your definition file slightly, in regards to the "name" if you call it all the same thing as below, you will only need to map they type of control one time, as vdj picks up the deck designation, and I'll show you later how to seperate it if needed at the end..

<button note="0x0A" channel="11" name="PFL" deck="1" />
<button note="0x0F" channel="11" name="PFL" deck="2" />
<button note="0x19" channel="11" name="PFL" deck="3" />
<button note="0x1E" channel="11" name="PFL" deck="4" />

now if you want to map, you already have the designation in the definition, so you will only see one control of "PFL" in the mapper. So to map it to blink yellow when in "line in" and red when in "pfl" you could use as follows

red led = linein ? blink 500ms : pfl ? on : off
green led = linein ? blink 500ms : off

if you want to get tricky and have the led do something different if both conditions are true you can do that too, but in that case I suggest that you change the linein flash to green, and make it flash yellow when both are true and just red if only pfl is true..

red led = linein ? pfl ? blink 500ms : off : pfl ? on : off
green led = linein ? pfl ? blink 500ms : blink 500ms : off

if then you decide for a different action you want to seperate the buttons for any reason after changing the definition file, you can use this script

device_side 1 ? action for deck 1 : device_side 2 ? action for deck 2 : device_side 3 ? action for deck 3 : device_side 4 ? action for deck 4

hope that helps bro..
 

for the zoom script, it should work like this

var 'shift' ? zoom 'far' ? zoom 'default' : zoom 'default' ? zoom 'near' : zoom 'far : action if not shifted

if you have a global shift, just change the 'shift' name to '$shift', but personally I never use global shifts as it changes the whole controllers behaviour, not just the side the shift is on...
 

http://www.allen-heath.com/uk/Products/pages/ProductDetails.aspx?catId=XoneSeries&ProductId=XoneDX&SubCatId=

here you go bro, it is in the manual for the dx, the different colours are on different midi channels, check out the Xone:DX User Guide Issue 1 Pg 62

but the colors correspond to the channels as follows

left deck red - Channel 13
left deck green - Channel 14
right deck red - Channel 15
right deck green - Channel 16

if you change you definition as follows you should have access to the differend colours

<led note="Bb-1" channel="13" name="LED_PFL_RED" deck="1" />
<led note="Bb-1" channel="14" name="LED_PFL_GREEN" deck="1" />

<led note="F#-1" channel="15" name="LED_PFL_RED" deck="4" />
<led note="F#-1" channel="16" name="LED_PFL_GREEN" deck="4" />







 

Thanks bro, you are right it needs a bit of tweaking the scripts and figure it out what should it be, thank you for your help as i'm getting into it now and working fine.

Thanks a lot again. But once more i need to know if theres a way to change the LED of the SYNC button as the default LED is blinking and i'm trying to make it an steady RED LED but still it keeps on blinking along with the beat of the songs when the SYNC is ON. Have you ever done that before? Thank you
 

it should work using this command

get beatdiff : get the distance between the beat from this deck and the beat from the master deck. 50% means the deck are aligned, 0% means this deck is late half a beat, 100% means is ahead half a beat.

but I have never been able to make it work.. this is the script i would use on the led..

get beatdiff 50% ? on : sync

or maybe this if you want it to flash on the beat..

get beatdiff 50% ? on : get beatgrid

I have tried everything I could think of and posted the question before with no answer, good luck..

 



(Vecchi argomenti e forum sono automaticamente chiusi)