okay, after some debugging, I found the problem: The expected midInput was set to 0x40 instead of 0x3F. The attached patch fixes this. I tested it and it works now.
=== modified file 'mixxx/res/midi/Hercules-DJ-Console-RMX-scripts.js' --- mixxx/res/midi/Hercules-DJ-Console-RMX-scripts.js 2010-12-20 00:15:26 +0000 +++ mixxx/res/midi/Hercules-DJ-Console-RMX-scripts.js 2011-10-06 14:41:30 +0000 @@ -537,7 +544,7 @@ HerculesRMX.Decks.Left.Controls.Vol.minOutput = 0.0; HerculesRMX.Decks.Left.Controls.Vol.midOutput = 0.4; HerculesRMX.Decks.Left.Controls.Vol.maxOutput = 1.0; -HerculesRMX.Decks.Left.Controls.Pitch.midInput = 0x40; +HerculesRMX.Decks.Left.Controls.Pitch.midInput = 0x3F;
HerculesRMX.Decks.Right.addButton("Keypad1", new HerculesRMX.Button(0x19), "keypad1Handler"); HerculesRMX.Decks.Right.addButton("Keypad2", new HerculesRMX.Button(0x1A), "keypad2Handler"); @@ -584,7 +591,7 @@ HerculesRMX.Decks.Right.Controls.Vol.minOutput = 0.0; HerculesRMX.Decks.Right.Controls.Vol.midOutput = 0.4; HerculesRMX.Decks.Right.Controls.Vol.maxOutput = 1.0; -HerculesRMX.Decks.Right.Controls.Pitch.midInput = 0x40; +HerculesRMX.Decks.Right.Controls.Pitch.midInput = 0x3F;
//Mapping functions
okay, after some debugging, I found the problem: The expected midInput was set to 0x40 instead of 0x3F. The attached patch fixes this. I tested it and it works now.
=== modified file 'mixxx/ res/midi/ Hercules- DJ-Console- RMX-scripts. js' midi/Hercules- DJ-Console- RMX-scripts. js 2010-12-20 00:15:26 +0000 midi/Hercules- DJ-Console- RMX-scripts. js 2011-10-06 14:41:30 +0000 Decks.Left. Controls. Vol.minOutput = 0.0; Decks.Left. Controls. Vol.midOutput = 0.4; Decks.Left. Controls. Vol.maxOutput = 1.0; Decks.Left. Controls. Pitch.midInput = 0x40; Decks.Left. Controls. Pitch.midInput = 0x3F;
--- mixxx/res/
+++ mixxx/res/
@@ -537,7 +544,7 @@
HerculesRMX.
HerculesRMX.
HerculesRMX.
-HerculesRMX.
+HerculesRMX.
HerculesRMX. Decks.Right. addButton( "Keypad1" , new HerculesRMX. Button( 0x19), "keypad1Handler"); Decks.Right. addButton( "Keypad2" , new HerculesRMX. Button( 0x1A), "keypad2Handler"); Decks.Right. Controls. Vol.minOutput = 0.0; Decks.Right. Controls. Vol.midOutput = 0.4; Decks.Right. Controls. Vol.maxOutput = 1.0; Decks.Right. Controls. Pitch.midInput = 0x40; Decks.Right. Controls. Pitch.midInput = 0x3F;
HerculesRMX.
@@ -584,7 +591,7 @@
HerculesRMX.
HerculesRMX.
HerculesRMX.
-HerculesRMX.
+HerculesRMX.
//Mapping functions