I've created definition and mapping files in the past but these have me stumped. Both devices (CMD LC-1 & CMD DC-1) are natively supported in VDJ but I would like to create a definition file to have better control over the LEDS (on all the time by default) and knobs (geared towards 4 deck control, I use 2). The DC-1 definition file starts.....
<?xml version="1.0" encoding="UTF-8"?>
<device name="CMDDC1" author="ME" type="MIDI" description="DC-1 V8" version="800">
The mapping file starts................
<?xml version="1.0" encoding="UTF-8"?>
<mapper device="CMDDC1" author="ME" description="DC-1 V8" version="800" date="03/05/215">
It shows up in the controller mapping but uses the native mapping instead. I added "force-" in front of the definition file name. If I set "DisableBuiltInDefintions" to yes only one of the two devices show up but it doesn't perform the key learn function. It doesn't have a sysexid and if I create a midi log report in advanced settings it doesn't give a vid/pid for these devices. If I use miditrace or VDJ Controll Definer they both give different values for the buttons and knobs (I tried both). Any suggestions would be greatly appreciated.
<?xml version="1.0" encoding="UTF-8"?>
<device name="CMDDC1" author="ME" type="MIDI" description="DC-1 V8" version="800">
The mapping file starts................
<?xml version="1.0" encoding="UTF-8"?>
<mapper device="CMDDC1" author="ME" description="DC-1 V8" version="800" date="03/05/215">
It shows up in the controller mapping but uses the native mapping instead. I added "force-" in front of the definition file name. If I set "DisableBuiltInDefintions" to yes only one of the two devices show up but it doesn't perform the key learn function. It doesn't have a sysexid and if I create a midi log report in advanced settings it doesn't give a vid/pid for these devices. If I use miditrace or VDJ Controll Definer they both give different values for the buttons and knobs (I tried both). Any suggestions would be greatly appreciated.
Posted Fri 06 Mar 15 @ 9:19 am
Without vid/pid or sysex, or even a drivername, unfortunately they will not be properly detected.
For CMD LC-1 it should be vid="0x1397" pid="0x00C0"
and for CMD CD-1 it should be .. vid="0x1397" pid="0x00C4"
For CMD LC-1 it should be vid="0x1397" pid="0x00C0"
and for CMD CD-1 it should be .. vid="0x1397" pid="0x00C4"
Posted Fri 06 Mar 15 @ 5:15 pm
Ok, now for the LC-1 device definition file it starts............
<?xml version="1.0" encoding="UTF-8"?>
<device name="CMDLC1" author="ME" type="MIDI" analogmixer="no" padColumns="4" padRows="8" padSides="1" vid="0x1397" pid="0x00C0" description="LC-1 V8" version="800" drivername="CMD LC-1" drivernameout="CMD LC-1">
and for the the mapper file it starts.................
<?xml version="1.0" encoding="UTF-8"?>
<mapper device="CMDLC1" author="ME" description="LC-1 V8" version="800" date="2015-03-06">
Still the same issue.
<?xml version="1.0" encoding="UTF-8"?>
<device name="CMDLC1" author="ME" type="MIDI" analogmixer="no" padColumns="4" padRows="8" padSides="1" vid="0x1397" pid="0x00C0" description="LC-1 V8" version="800" drivername="CMD LC-1" drivernameout="CMD LC-1">
and for the the mapper file it starts.................
<?xml version="1.0" encoding="UTF-8"?>
<mapper device="CMDLC1" author="ME" description="LC-1 V8" version="800" date="2015-03-06">
Still the same issue.
Posted Fri 06 Mar 15 @ 5:58 pm
Can you post here the Log Report.txt ?
If only one of them is connected at a time, does it work ?
If only one of them is connected at a time, does it work ?
Posted Sat 07 Mar 15 @ 1:25 am
Now they show up in the mapper section like they should but none of the buttons or knobs are recognized. I doesn't matter if one or both are connected. So I'm thinking that there has to be something wrong with the structure of the definition file. Here is the definition file for the DC-1 before adding definitions for the LEDs.......
<?xml version="1.0" encoding="UTF-8"?>
<device name="CMDDC1" author="ME" type="MIDI" analogmixer="no" padColumns="4" padRows="4" padSides="1" vid="0x1397" pid="0x00C4" description="DC-1 V8" version="800" drivername="CMD DC-1" drivernameout="CMD DC-1">
<button note="0x10" channel="6" name="1" />
<button note="0x11" channel="6" name="2" />
<button note="0x12" channel="6" name="3" />
<button note="0x13" channel="6" name="4" />
<button note="0x14" channel="6" name="5" />
<button note="0x15" channel="6" name="6" />
<button note="0x16" channel="6" name="7" />
<button note="0x17" channel="6" name="8" />
<button note="0x30" channel="6" name="1-1" />
<button note="0x31" channel="6" name="1-2" />
<button note="0x32" channel="6" name="1-3" />
<button note="0x33" channel="6" name="1-4" />
<button note="0x2C" channel="6" name="2-1" />
<button note="0x2D" channel="6" name="2-2" />
<button note="0x2E" channel="6" name="2-3" />
<button note="0x2F" channel="6" name="2-4" />
<button note="0x28" channel="6" name="3-1" />
<button note="0x29" channel="6" name="3-2" />
<button note="0x2A" channel="6" name="3-3" />
<button note="0x2B" channel="6" name="3-4" />
<button note="0x24" channel="6" name="4-1" />
<button note="0x25" channel="6" name="4-2" />
<button note="0x26" channel="6" name="4-3" />
<button note="0x27" channel="6" name="4-4" />
<button note="0x00" channel="6" name="TOP1" />
<button note="0x04" channel="6" name="TOP2" />
<button note="0x01" channel="6" name="TOP3" />
<button note="0x05" channel="6" name="TOP4" />
<button note="0x02" channel="6" name="TOP5" />
<button note="0x06" channel="6" name="TOP6" />
<button note="0x03" channel="6" name="TOP7" />
<button note="0x07" channel="6" name="TOP8" />
<button note="0x20" channel="6" name="Top Knob Button" />
<jog cc="0x20" channel="6" name="Top Knob" />
<encoder cc="0x10" channel="6" name="Knob 1" />
<encoder cc="0x11" channel="6" name="Knob 2" />
<encoder cc="0x12" channel="6" name="Knob 3" />
<encoder cc="0x13" channel="6" name="Knob 4" />
<encoder cc="0x14" channel="6" name="Knob 5" />
<encoder cc="0x15" channel="6" name="Knob 6" />
<encoder cc="0x16" channel="6" name="Knob 7" />
<encoder cc="0x17" channel="6" name="Knob 8" />
</device>
I can post the log report if still needed. Thank you for the help djdad!
<?xml version="1.0" encoding="UTF-8"?>
<device name="CMDDC1" author="ME" type="MIDI" analogmixer="no" padColumns="4" padRows="4" padSides="1" vid="0x1397" pid="0x00C4" description="DC-1 V8" version="800" drivername="CMD DC-1" drivernameout="CMD DC-1">
<button note="0x10" channel="6" name="1" />
<button note="0x11" channel="6" name="2" />
<button note="0x12" channel="6" name="3" />
<button note="0x13" channel="6" name="4" />
<button note="0x14" channel="6" name="5" />
<button note="0x15" channel="6" name="6" />
<button note="0x16" channel="6" name="7" />
<button note="0x17" channel="6" name="8" />
<button note="0x30" channel="6" name="1-1" />
<button note="0x31" channel="6" name="1-2" />
<button note="0x32" channel="6" name="1-3" />
<button note="0x33" channel="6" name="1-4" />
<button note="0x2C" channel="6" name="2-1" />
<button note="0x2D" channel="6" name="2-2" />
<button note="0x2E" channel="6" name="2-3" />
<button note="0x2F" channel="6" name="2-4" />
<button note="0x28" channel="6" name="3-1" />
<button note="0x29" channel="6" name="3-2" />
<button note="0x2A" channel="6" name="3-3" />
<button note="0x2B" channel="6" name="3-4" />
<button note="0x24" channel="6" name="4-1" />
<button note="0x25" channel="6" name="4-2" />
<button note="0x26" channel="6" name="4-3" />
<button note="0x27" channel="6" name="4-4" />
<button note="0x00" channel="6" name="TOP1" />
<button note="0x04" channel="6" name="TOP2" />
<button note="0x01" channel="6" name="TOP3" />
<button note="0x05" channel="6" name="TOP4" />
<button note="0x02" channel="6" name="TOP5" />
<button note="0x06" channel="6" name="TOP6" />
<button note="0x03" channel="6" name="TOP7" />
<button note="0x07" channel="6" name="TOP8" />
<button note="0x20" channel="6" name="Top Knob Button" />
<jog cc="0x20" channel="6" name="Top Knob" />
<encoder cc="0x10" channel="6" name="Knob 1" />
<encoder cc="0x11" channel="6" name="Knob 2" />
<encoder cc="0x12" channel="6" name="Knob 3" />
<encoder cc="0x13" channel="6" name="Knob 4" />
<encoder cc="0x14" channel="6" name="Knob 5" />
<encoder cc="0x15" channel="6" name="Knob 6" />
<encoder cc="0x16" channel="6" name="Knob 7" />
<encoder cc="0x17" channel="6" name="Knob 8" />
</device>
I can post the log report if still needed. Thank you for the help djdad!
Posted Sat 07 Mar 15 @ 8:49 am
Yes the report log.txt would help Thank you
Posted Sun 08 Mar 15 @ 7:33 am
Here is the report.
Audio device found: name="Speakers / Headphones (IDT High Definition Audio CODEC)" vid="0x111D" pid="0x76E0"
Audio device found: name="Communication Headphones (IDT High Definition Audio CODEC)" vid="0x111D" pid="0x76E0"
Audio device found: input name="IDT High Definition Audio CODEC" vid="0x111D" pid="0x76E0"
Audio device found: asio="DV2 USB ASIO driver"
Audio device found: name="Speakers / Headphones (IDT High Definition Audio CODEC)" vid="0x111D" pid="0x76E0"
Audio device found: name="Communication Headphones (IDT High Definition Audio CODEC)" vid="0x111D" pid="0x76E0"
Audio device found: input name="IDT High Definition Audio CODEC" vid="0x111D" pid="0x76E0"
Audio device found: asio="DV2 USB ASIO driver"
Midi out device detected, name:Microsoft GS Wavetable Synth mid:1 pid:27
MIDI Device Identifying: \\?\usb#vid_1397&pid_00c0&mi_00#6&2c5bf269&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\global (in:0 out:1)
MIDI Device Identified by PID/VID: \\?\usb#vid_1397&pid_00c0&mi_00#6&2c5bf269&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\global
MIDI Device Identifying: \\?\usb#vid_1397&pid_00c4&mi_00#7&344ce22e&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\global (in:1 out:2)
MIDI Device Identified by PID/VID: \\?\usb#vid_1397&pid_00c4&mi_00#7&344ce22e&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\global
MIDI Device Identifying: Microsoft GS Wavetable Synth (in:-1 out:0)
[08:41] Midi Out Closed (Microsoft GS Wavetable Synth)
MIDI Device Not Identified: Microsoft GS Wavetable Synth
Audio device found: name="Speakers / Headphones (IDT High Definition Audio CODEC)" vid="0x111D" pid="0x76E0"
Audio device found: name="Communication Headphones (IDT High Definition Audio CODEC)" vid="0x111D" pid="0x76E0"
Audio device found: input name="IDT High Definition Audio CODEC" vid="0x111D" pid="0x76E0"
Audio device found: asio="DV2 USB ASIO driver"
Audio device found: name="Speakers / Headphones (IDT High Definition Audio CODEC)" vid="0x111D" pid="0x76E0"
Audio device found: name="Communication Headphones (IDT High Definition Audio CODEC)" vid="0x111D" pid="0x76E0"
Audio device found: input name="IDT High Definition Audio CODEC" vid="0x111D" pid="0x76E0"
Audio device found: asio="DV2 USB ASIO driver"
Midi out device detected, name:Microsoft GS Wavetable Synth mid:1 pid:27
MIDI Device Identifying: \\?\usb#vid_1397&pid_00c0&mi_00#6&2c5bf269&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\global (in:0 out:1)
MIDI Device Identified by PID/VID: \\?\usb#vid_1397&pid_00c0&mi_00#6&2c5bf269&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\global
MIDI Device Identifying: \\?\usb#vid_1397&pid_00c4&mi_00#7&344ce22e&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\global (in:1 out:2)
MIDI Device Identified by PID/VID: \\?\usb#vid_1397&pid_00c4&mi_00#7&344ce22e&0&0000#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\global
MIDI Device Identifying: Microsoft GS Wavetable Synth (in:-1 out:0)
[08:41] Midi Out Closed (Microsoft GS Wavetable Synth)
MIDI Device Not Identified: Microsoft GS Wavetable Synth
Posted Sun 08 Mar 15 @ 8:56 am
Seems that both units get detected properly, but not sure if your files are used.
Please send me the definition and mapping files to take a look (PM me the links)
Btw, are you sure that the units are in the correct MIDI channel ?
E.g. for the CD-1, the default definition forces channel="5" by sending.. <init sendsysex="F07F000305F7" />
so in your case (since you have set channel="6" in your definition, you should use <init sendsysex="F07F000306F7" />
<init sendsysex="F07F000307F7" /> (chanel 7) is used for the LC-1
Please send me the definition and mapping files to take a look (PM me the links)
Btw, are you sure that the units are in the correct MIDI channel ?
E.g. for the CD-1, the default definition forces channel="5" by sending.. <init sendsysex="F07F000305F7" />
so in your case (since you have set channel="6" in your definition, you should use <init sendsysex="F07F000306F7" />
<init sendsysex="F07F000307F7" /> (chanel 7) is used for the LC-1
Posted Sun 08 Mar 15 @ 6:52 pm