Ingreso rápido:  

Forum: VirtualDJ Technical Support

Tema: Mapping script 4 decks 2 sides (DDJ-1000)

Este tópico es antiguo y puede contener información incorrecta para la nueva versión.

Hi Guys,

I'm trying to get the vinyl_mode to correctly set on either my left or right deck depending if left is 1 or 3 or right is 2 or 4

in the device xml I have:
<button note="0x40" name="SLIP L" channel="0" />
<button note="0x40" name="SLIP R" channel="1" />

This correctly picks up if the left or right "SLIP" button is pressed

in the mapping xml I have:
<map value="SLIP L" action="leftdeck deck 1 ? deck 1 vinyl_mode : deck 3 vinyl_mode"/>
<map value="SLIP R" action="leftdeck deck 2 ? deck 2 vinyl_mode : deck 4 vinyl_mode"/>

This seems to work for decks 1 & 2 (left & right) but if I swap the selected deck to 3 or 4, the vinyl_mode does not work

Something I'm missing?

Thanks for any help

 

Mensajes Sat 03 Feb 18 @ 12:12 pm
WizZerD2006 wrote :
Hi Guys,

I'm trying to get the vinyl_mode to correctly set on either my left or right deck depending if left is 1 or 3 or right is 2 or 4

in the device xml I have:
<button note="0x40" name="SLIP L" channel="0" />
<button note="0x40" name="SLIP R" channel="1" />

This correctly picks up if the left or right "SLIP" button is pressed

in the mapping xml I have:
<map value="SLIP L" action="leftdeck deck 1 ? deck 1 vinyl_mode : deck 3 vinyl_mode"/>
<map value="SLIP R" action="leftdeck deck 2 ? deck 2 vinyl_mode : deck 4 vinyl_mode"/>

This seems to work for decks 1 & 2 (left & right) but if I swap the selected deck to 3 or 4, the vinyl_mode does not work

Something I'm missing?

Thanks for any help



I just added

<button note="0x40" name="SLIP L" channel="2" />
<button note="0x40" name="SLIP R" channel="3" />

And now the left side is ok

The right side only switches vinyl mode on deck 2 no matter if deck 4 is selected as "right" or not
 

Mensajes Sat 03 Feb 18 @ 12:16 pm
WizZerD2006 wrote :
WizZerD2006 wrote :
Hi Guys,

I'm trying to get the vinyl_mode to correctly set on either my left or right deck depending if left is 1 or 3 or right is 2 or 4

in the device xml I have:
<button note="0x40" name="SLIP L" channel="0" />
<button note="0x40" name="SLIP R" channel="1" />

This correctly picks up if the left or right "SLIP" button is pressed

in the mapping xml I have:
<map value="SLIP L" action="leftdeck deck 1 ? deck 1 vinyl_mode : deck 3 vinyl_mode"/>
<map value="SLIP R" action="leftdeck deck 2 ? deck 2 vinyl_mode : deck 4 vinyl_mode"/>

This seems to work for decks 1 & 2 (left & right) but if I swap the selected deck to 3 or 4, the vinyl_mode does not work

Something I'm missing?

Thanks for any help



I just added

<button note="0x40" name="SLIP L" channel="2" />
<button note="0x40" name="SLIP R" channel="3" />

And now the left side is ok

The right side only switches vinyl mode on deck 2 no matter if deck 4 is selected as "right" or not


Ok.. I figured it out ..
<map value="SLIP L" action="leftdeck deck 1 ? deck 1 vinyl_mode : deck 3 vinyl_mode"/>
<map value="SLIP R" action="leftdeck deck 2 ? deck 2 vinyl_mode : deck 4 vinyl_mode"/>

<map value="SLIP L" action="leftdeck deck 1 ? deck 1 vinyl_mode : deck 3 vinyl_mode"/>
<map value="SLIP R" action="rightdeck 2 ? deck 2 vinyl_mode : deck 4 vinyl_mode"/>
 

Mensajes Sat 03 Feb 18 @ 12:51 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
<button note="0x40" name="SLIP" channel="0" deck="1" />
<button note="0x40" name="SLIP" channel="1" deck="2" />
<button note="0x40" name="SLIP" channel="2" deck="3" />
<button note="0x40" name="SLIP" channel="3" deck="4" />

<map value="SLIP" action="vinyl_mode"/>

And a little hint for the LED.. i am sure you will get there soon...
<led note="0x40" name="LED_SLIP" default="SLIP" channel="0" deck="1" />
<led note="0x40" name="LED_SLIP" default="SLIP" channel="1" deck="2" />
<led note="0x40" name="LED_SLIP" default="SLIP" channel="2" deck="3" />
<led note="0x40" name="LED_SLIP" default="SLIP" channel="3" deck="4" />

When you use default="" and a button name , then the led will take the true/false state of the action you assigned for the button, so you wont have to map the LED_SLIP, as it will take that from the button.


BTW, when i meant open a new topic for your questions of the DDJ-1000 mapping, i didnt mean to open a topic for each Q... Please keep all of your DDJ-1000 mapping questions in one topic :)
 

Mensajes Sat 03 Feb 18 @ 5:02 pm


(Los tópicos y foros antiguos son automáticamente cerrados)