Hi,
To start working on the configuration editor for mixxx, I'm writing a proper
XML parse, verify and export module for mixxx XML fies in python. The new
refactored mixxx python toolbag is now called 'mixxxomatic' and no it's not
public code yet (but I'll drop a tar if you wish).
The test function of this module detected multiple errors in our current trunk
MIDI mappings, I guess we should fix these before shipping 1.11?
In general, we should have something like this in the mixxx developer tools and
tell mapping writers to run 'mixxx-preset-lint foo.xml' or something like that
before sending new presets to list or as patches.
This tool also nicely reorders the XML <control> items by group,key strings
then status,midino numeric values. It can also be used to transform files from
current XML formats to new formats, if we later wish.
Attached is the report from the test loader.
*hile*
American Audio RADIUS 2000 CH1.midi.xml
Duplicate MIDI control: <control> <status>0x90</status> <midino>0x2a</midino>
<group>[Channel1]</group> <key>RADIUS2000.play</key> <description/> <options>
<Script-Binding/> </options> </control>
American Audio RADIUS 2000 CH2.midi.xml
Duplicate MIDI control: <control> <status>0x90</status> <midino>0x2a</midino>
<group>[Channel2]</group> <key>RADIUS2000.play</key> <description/> <options>
<Script-Binding/> </options> </control>
DJTechTools MIDI Fighter.midi.xml
Missing info field: description
Hercules DJ Console Mk4.midi.xml
Duplicate MIDI control: <control> <status>0x90</status> <midino>0xd</midino>
<group>[Channel1]</group> <key>fwd</key> <options> <Button/> </options>
</control>
Duplicate MIDI control: <control> <status>0x90</status> <midino>0x0E</midino>
<group>[Channel1]</group> <key>HerculesMk4.cue</key> <options>
<Script-Binding/> </options> </control>
Duplicate MIDI control: <control> <status>0x90</status> <midino>0xf</midino>
<group>[Channel1]</group> <key>play</key> <options> <Button/> </options>
</control>
Duplicate MIDI control: <control> <status>0x90</status> <midino>0x21</midino>
<group>[Channel2]</group> <key>fwd</key> <options> <Button/> </options>
</control>
Duplicate MIDI control: <control> <status>0x90</status> <midino>0x23</midino>
<group>[Channel2]</group> <key>play</key> <options> <Button/> </options>
</control>
Hercules DJ Control MP3 e2.midi.xml
Duplicate MIDI control: <control> <status>0x90</status> <midino>0xd</midino>
<group>[Channel1]</group> <key>fwd</key> <options> <Button/> </options>
</control>
Duplicate MIDI control: <control> <status>0x90</status> <midino>0x0E</midino>
<group>[Channel1]</group> <key>HerculesMP3e2.cue</key> <options>
<Script-Binding/> </options> </control>
Duplicate MIDI control: <control> <status>0x90</status> <midino>0xf</midino>
<group>[Channel1]</group> <key>play</key> <options> <Button/> </options>
</control>
Duplicate MIDI control: <control> <status>0x90</status> <midino>0x10</midino>
<group>[Channel1]</group> <key>pfl</key> <options> <Button/> </options>
</control>
Duplicate MIDI control: <control> <status>0x90</status> <midino>0x21</midino>
<group>[Channel2]</group> <key>fwd</key> <options> <Button/> </options>
</control>
Duplicate MIDI control: <control> <status>0x90</status> <midino>0x23</midino>
<group>[Channel2]</group> <key>play</key> <options> <Button/> </options>
</control>
Duplicate MIDI control: <control> <status>0x90</status> <midino>0x24</midino>
<group>[Channel2]</group> <key>pfl</key> <options> <Button/> </options>
</control>
M-Audio_Xponent.midi.xml
Unknown info field: <built-in function Comment>
Unknown info field: deviceid
Unknown info field: deviceid
Numark DJ2Go.midi.xml
Unknown info field: version
Traktor Kontrol X1.midi.xml
Duplicate MIDI control:
<control><group>buttons</group><key>KontrolX1.buttons</key><status>0xb0</status><midino>0x15</midino><options><Script-Binding/></options></control>
Vestax VCI-100-hile.midi.xml
Duplicate MIDI control: <control> <group>[Channel2]</group> <key>fwd</key>
<status>0x80</status> <midino>0x43</midino> </control>
Vestax VCI-100.midi.xml
Duplicate MIDI control: <control> <group>[Channel2]</group> <key>fwd</key>
<status>0x80</status> <midino>0x43</midino> </control>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org
Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel