快速登录:  

Forum: VirtualDJ Technical Support

话题: Create device.xml for denon dn-s3700
Hello everyone, I have the following problem, I will explain it from the beginning...

I have a set denon dn-x1600 + s3700 so far everything perfect works well in virtual dj

The problem is that I made a custom mapping for the x1600 mixer, I had some ideas with the vu meter that turned out very good, in order to get the most out of the machine I had to create a device.xml file to create some elements that are not in virtual dj by default. I made my device and my mapper and it was perfect... the problem is that in order to read my new device.xml I had to make virtual dj ignore the factory devices so mine doesn't generate conflicts with the ones built into virtual dj, but when doing this, it doesn't take any machine except my new device, which makes sense, but I can't use the s3700, so I have 3 options.

1 I use my mapper for the x1600 but without the s3700.
2 I don't use it but I can use the s3700.

My third option? create the device.xml for the s3700 and this is my problem...

my problem is the turntable, it's hard for me to fully understand how it works...
I have the midi commands from the official Denon website and I have managed to deduce and understand the following:

there is a midi note that is used as if it were an led and it is the one that lights the plate with the following line I manage to create it and start the motor without problems.

<led cc="0x66" ccoff="0x00" value="0x7f" name="PLATTER_ON"/>

there is also a midi note that controls the jog (VINYL deck) which works perfect with the following line.

<jog cc="0x51" zero="0x40" full="2960" name="JOGWHEEL" />

the response that this jog gives is from 0.00 to 1.00 depending on the movement speed, it is the same response that it generates when I use the default device, so I understand with this that it works perfectly...

and here my problem begins...

there is a second jog that is the METAL plate of the s3700 also according to the denon manual it operates in the same way and returns the same data, so I apply the same linear but with its corresponding midi note.

<jog cc="0x56" zero="0x40" full="2960" name="JOGSPEED" />

here comes my confusion with this line the "JOGSPEED" element returns values from 0.00 to 1.00 but with the default device of virtual dj it returns values from 0.00 to 100.00 and I have not found anything in the manuals or in the examples to make an element created in the device deliver values greater than 1.00

It goes without saying that my device.xml doesn't work well because I can't make the device elements return the same values that virtualdj returns by default...

Any specialist to give me a hand with this, I just need to understand the concept a little better to move forward with my project

Greetings and many thanks to whoever answers.
 

发表时间 Sat 22 Jul 23 @ 10:27 pm
AdionPRO InfinityCTOMember since 2006
You don't need to disable built in definitions to use your own.
If your own definition's name starts with "force-" it will still be used.
 

发表时间 Sun 23 Jul 23 @ 6:02 am
ADION as always a genius!! I knew something like this could be done, so I explained my problem in more detail... thank you very much...

I was still wondering how to make the device.xml for the s3700. Is there any example of how to manipulate that?

Regards and thanks again, it worked for me on the first try!!
 

发表时间 Sun 23 Jul 23 @ 6:40 pm