Accesso rapido:  

Forum: Old versions

Topic: Mapping the LED's on new controllers - Page: 1

Questa parte dell'argomento è obsoleta e potrebbe contenere informazioni obsolete o errate

Ahoy there fellow VirtualDJ-ians,

I've tried hooking up DJ-Tech's I Mix Reload MKII with Virtualdj, and since its not natively supported, I had to do some mapping. Now the problem is, I simply cannot get the LED's to light up. Isnt the 'ON' verb supposed to take care of it? Ive tried and tried but I just simply cant get any of the buttons to light up.

Now how do we resolve this? I know that this was a problem with the previous versions of VDJ (i.e Non-native controllers could be mapped but the lights wouldnt work), but with the new VDJ scripting language, I thought it would be rectified.

Do I have to wait for the controller to be natively supported by VDJ to get the lights working? Or am I perhaps doing something wrong???

Thanks in advance for your help.
 

Inviato Sun 12 Jul 09 @ 9:16 am
I am not shure where your problem is.... So maybe you can post your definition file here to see what you have done.

Greetings, Heiko
 

Inviato Sun 12 Jul 09 @ 10:05 am
Thanks heiko.

This is what ive done so far

<?xml version="1.0" encoding="UTF-8" ?>
- <mapper device="SIMPLE_MIDI" author="Atomix Productions" description="Simple MIDI wrapper" version="601" date="12/07/2009" priority="-10">
<map value="0-23" action="" />
<map value="0-35" action="sync" />
<map value="0-49" action="scratch_wheel_touch" />
<map value="0-118" action="pitch_bend +5% 500ms" />
<map value="0-119" action="pitch_bend -5% 500ms" />
<map value="0-17" action="play_stutter & ON" />
<map value="0-47" action="play_stutter & ON" />
<map value="0-CC67" action="level" />
<map value="0-36" action="eq_kill_low" />
<map value="0-18" action="eq_kill_low" />
<map value="0-114" action="pitch_bend +5% 500ms" />
<map value="0-115" action="pitch_bend -5% 500ms" />
</mapper>


Map value 0-17 is for the right deck and 0-47 is for the left deck. I tried to use the ON command to turn the leds on but theres nothing.

Also, although i have mapped the right and left play buttons individually, when i press the play button on either deck, it plays the track on the active deck. Any ideas on this?

Thanks so much for ure help once again.
 

Inviato Sun 12 Jul 09 @ 10:43 am
Ok, i see - you try it via Simple MIDI. Have you tried to get a real definition file with sysexid ?

Take a look at this:
http://www.virtualdj.com/wiki/ControllerDefinition.html

AFAIK - LED mapping needs a 'real' and complete definition file. You have to get/find the correct MIDI notes for the led's and all the buttons, knobs and sliders.

Greetings, Heiko
 

Inviato Sun 12 Jul 09 @ 11:20 am
Heiko,

I've already read through it. But im still not exactly sure how to run it and what to do with it.

I've gone as far as downloading the midi trace tool, and then there are some weird numbers displayed on it and a "send" button

I suppose I should connect the controller and click "send"?

Then what?

I have no idea what sysexid and sysexquery etc are

Im sorry... but i really am clueless about midi mapping.
 

Inviato Sun 12 Jul 09 @ 1:40 pm
Ok, when you started the midi trace tool you hav to press the send button. When you controller supports sysexid the you get a very long number back - like 'F07E00060200400201000500'.

Try it and post the number, the i can help a bit more ;-)

Greetings, Heiko
 

Inviato Sun 12 Jul 09 @ 3:15 pm
Thanks Heiko,

I will try doing that. But since the controller isnt with me right now I'll need a couple of days. Will get back to u with the number. cheers!
 

Inviato Sun 12 Jul 09 @ 8:14 pm
Hello again Heiko,

I've managed to get these numbers from the midi tracer. Does it make any sense to you? Cuz I've got absolutely no idea what they mean. :P

B0 41 01 00
B0 41 11 00
B0 41 1F 00
B0 41 2A 00
B0 41 38 00
B0 41 40 00
B0 41 47 00
B0 41 53 00
B0 41 5D 00
B0 41 62 00
B0 41 64 00
B0 41 5D 00
B0 41 4F 00
B0 41 40 00
B0 41 36 00
B0 41 28 00
B0 41 1D 00
B0 41 11 00
B0 41 09 00
B0 41 01 00
B0 41 00 00
B0 41 05 00
B0 41 13 00
B0 41 20 00
B0 41 30 00
B0 41 40 00
B0 41 36 00
B0 41 2C 00
B0 41 22 00
B0 41 1B 00
B0 41 17 00
B0 41 15 00
B0 41 17 00
B0 41 19 00
B0 41 22 00
B0 41 3A 00
B0 41 40 00
B0 41 36 00
B0 41 2E 00
B0 41 26 00
B0 41 20 00
B0 41 1B 00
B0 41 15 00
B0 41 13 00
B0 41 1B 00
B0 41 2C 00
B0 41 36 00
B0 41 3E 00
B0 41 40 00
B0 41 3E 00
B0 41 38 00
B0 41 30 00
B0 41 28 00
B0 41 1F 00
B0 41 15 00
B0 41 09 00
B0 41 01 00
B0 41 00 00
B0 41 09 00
B0 41 1F 00
B0 41 30 00
B0 41 40 00
B0 41 3C 00
B0 41 34 00
B0 41 30 00
B0 41 2E 00
B0 41 2C 00
B0 41 2A 00
B0 41 26 00
B0 41 22 00
B0 41 1D 00
B0 41 17 00
B0 41 0F 00
B0 41 0B 00
B0 41 05 00
B0 41 01 00
B0 41 00 00
 

Inviato Sat 18 Jul 09 @ 12:05 pm
Looks like you moved the jog wheel of the controller. Does it send's you the requested SysExID ? (Just pressing send in the MIDI Trace tool)

Greetings, Heiko
 

Inviato Sat 18 Jul 09 @ 3:46 pm
spinnaJPRO InfinityMember since 2004
Hi djsonance, great jakovski is here to help.

Btw no worry, jakovski is very good on this and i sure he will be able to help you.

All the best and anything just PM me;)
 

Inviato Sat 18 Jul 09 @ 3:52 pm
err this is the only other number i see

F0 7E 7F 06 01 F7

is that it? other than that it doesnt do much when i press the send button
 

Inviato Sat 18 Jul 09 @ 11:44 pm
Thanks SpinnaJ
 

Inviato Sat 18 Jul 09 @ 11:45 pm
djcelPRO InfinityModeratorMember since 2004
Apparently, this controller doesn't answer to SysExID query.


Let's try the second method: the detection by the name of the driver

=> Still in MIDI Trace, what is the EXACT names written in the right columns
 

Inviato Sun 19 Jul 09 @ 11:01 am
DJ Cel. Sorry for the late reply.

On the right top-hand corner it says [1/66]:Microsoft GS Wavetable SW Synth and [1/66]: iMix Reload MKII Midi

On the bottom right hand corner it says [1/67]: iMix Reload MKII Midi.

I just realised that when i clicked on the latter, the main window displays this number 90 72 7F 00.


 

Inviato Sat 25 Jul 09 @ 10:43 pm
You must first select your controler 'iMix Reload MKII Midi' on the right side - if it is there twice, please click both entries.

Then you must PRESS the send button without changing the numbers in the field !!!

Normaly when you controler supports SysExID it should answer your request with some numbers in the lower windows on the left. (Under the send button/input field)

If it answers - please post this numbers.

Greets, Heiko
 

Inviato Fri 31 Jul 09 @ 5:30 am
Joe-KrHome userMember since 2010
I also need the mapper and definition file for my DJ Tech i-Mix MKII. I successfully mapped the button and slider functions using the Simple MIDI option. But this doesn't create the Definition file so my LEDs are off.
My syexid="F0 7E 00 06 02 48 50 03 03 00 05 30 2E 30 31 00 F7"
Can someone help me with this? Or at least give some clue how to create them myself.
 

Inviato Thu 10 Jan 13 @ 11:18 am
technzPRO InfinityMember since 2011
 

Inviato Thu 10 Jan 13 @ 12:47 pm
quick question, based on what I just saw above, is it possible to use MIDI codes directly on the MAPPER XML instead of the user friendly equivalents defined in the controller's definition file? The reason I'm asking is because I would like to add 1 MIDI code seemingly present on the device but not included on the manufacturer's definition file.

Or otherwise, If i put a properly formatted definition file on the DEVICES folder for the controller in question with only the additional MIDI element on it, will it merge it with the existing manufacturer's definiton or will it replace it in its entirety?

I hope my question makes sense...
 

Inviato Mon 14 Jan 13 @ 7:07 pm
technzPRO InfinityMember since 2011
to add a LED it would have to be defined in a definition, there simply isnt any way around this.
and as for your second question, it is my understanding that creating a definition for a device would stop the default definition from working.

this is only what i expect would happen as i have never had a reason to modify the definition of a device that is natively supported.

beware about re defining natively supported controllers as it may be interpreted as reverse engineering which is covered in section 1. of the EULA

http://www.virtualdj.com/atomixproductions/disclaimer.html
 

Inviato Mon 14 Jan 13 @ 8:59 pm
You should read the controller's SDK.
As stated above, VirtualDj uses 2 files to work with a controller.
A definition file where you "convert" all MIDI messages to "friendly names" in a way VirtualDj understands and interprets them correctly, and a mapper file that contains the commands each defined item should perform/respond to.
For devices that are natively supported usually you don't have to create a definition file as all elements are defined by VirtualDj team inside the program's native code.
However you CAN create a definition file for a device that's allready supported if you wish. VirtualDj will give priority to the "custom" definition file over the native one. It will NOT merge the two files!!!

Finally if the team has left out a LED or something usually there's a very good reason. In most of the cases it's because a LED might be hardware controlled, or hardware+software controlled.

For more information please read the WiKi and the controllers SDK
 

Inviato Tue 15 Jan 13 @ 3:14 am
91%