-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hercules Inpulse 200 (update March 2020) #2542
Conversation
Initial release of MIDI configuration files for Hercules DJControl Inpulse 200
Deleted old file
Deleted old file
Minor corrections that eslint didn't catch.
Hey @DJPhatso, thanks for contributing yet another controller mapping. Can you please rebase on 2.2? |
Our pre-commit-pr job on Travis CI found some style issues: Can copy and paste the diff from the build log into a new file names Here's the diff: diff --git a/res/controllers/Hercules-DJControl-Inpulse-200-script.js b/res/controllers/Hercules-DJControl-Inpulse-200-script.js
index fa12bac36..2b8a349d7 100644
--- a/res/controllers/Hercules-DJControl-Inpulse-200-script.js
+++ b/res/controllers/Hercules-DJControl-Inpulse-200-script.js
@@ -50,8 +50,8 @@ DJCi200.init = function() {
DJCi200.scratchButtonState = true;
// Scratch Action
DJCi200.scratchAction = {
- 1: DJCi200.kScratchActionNone,
- 2: DJCi200.kScratchActionNone
+ 1: DJCi200.kScratchActionNone,
+ 2: DJCi200.kScratchActionNone
};
//Turn On Vinyl buttons LED(one for each deck).
@@ -61,11 +61,11 @@ DJCi200.init = function() {
//Turn On Browser button LED
midi.sendShortMsg(0x90, 0x04, 0x05);
- //Softtakeover for Pitch fader
- engine.softTakeover("[Channel1]", "rate", true);
- engine.softTakeover("[Channel2]", "rate", true);
- engine.softTakeoverIgnoreNextValue("[Channel1]", "rate");
- engine.softTakeoverIgnoreNextValue("[Channel2]", "rate");
+ //Softtakeover for Pitch fader
+ engine.softTakeover("[Channel1]", "rate", true);
+ engine.softTakeover("[Channel2]", "rate", true);
+ engine.softTakeoverIgnoreNextValue("[Channel1]", "rate");
+ engine.softTakeoverIgnoreNextValue("[Channel2]", "rate");
//Set effects Levels - Dry/Wet
engine.setParameter("[EffectRack1_EffectUnit1_Effect1]", "meta", 0.6);
@@ -77,7 +77,7 @@ DJCi200.init = function() {
engine.setParameter("[EffectRack1_EffectUnit1]", "mix", 1);
engine.setParameter("[EffectRack1_EffectUnit2]", "mix", 1);
- // Ask the controller to send all current knob/slider values over MIDI, which will update
+ // Ask the controller to send all current knob/slider values over MIDI, which will update
// the corresponding GUI controls in MIXXX.
midi.sendShortMsg(0xB0, 0x7F, 0x7F);
};
diff --git a/res/controllers/Hercules_DJControl_Inpulse_200.midi.xml b/res/controllers/Hercules_DJControl_Inpulse_200.midi.xml
index 167611dd6..2c9b7634f 100644
--- a/res/controllers/Hercules_DJControl_Inpulse_200.midi.xml
+++ b/res/controllers/Hercules_DJControl_Inpulse_200.midi.xml
@@ -790,7 +790,7 @@
<normal />
</options>
</control>
-
+
<!--Continuous Controllers (CC) - Faders/knobs -->
<!-- CC's MIDI Channel 1 (0xB0 Standard mode)-->
<!--Crossfader-->
@@ -1645,4 +1645,4 @@
</output>
</outputs>
</controller>
-</MixxxMIDIPreset>
\ No newline at end of file
+</MixxxMIDIPreset> |
Let's see if I understand correctly:
So I tried that, and I got 'error: corrupt patch at line 61' |
Not the complete build log, just the diff that I copy-and-pasted from the build log to my comment above.
You need to copy and paste the complete diff and not add, remove or modify any lines. It works fine for me. After you've done that, you can delete the |
Exactly what I had done. Created a new one just in case, tried again, same error |
Maybe your editor changed the formatting automatically or something like this. In that case download (not copy&paste) this one: https://gist.github.com/Holzhaus/d1c1c10f1b48c1b22961e420c568a67c |
No better error: patch failed: res/controllers/Hercules-DJControl-Inpulse-200-script.js:61 |
This patch definitely works fine. Did you change your branch locally (i.e. made changed to the controller script files)? If you didn't commit them yet, you can check with |
Haven't made any changes since it was committed and status tells me that it is indeed up to date. |
That is super strange. It works fine for me. Anyway, checkout out DJPhatso#6. |
Hercules DJControl Inpulse 200: Fix some code stye issues
Ok, the code style issues seem to be fixed. Ignore the CI build fails - our CI for 2.2 does not work properly. I'll review soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll take a look. |
- Corrected a bad assignment to Effect Rack On/off - Mapped FX On/Off to both standard and SHIFT mode for the FX pads (related to an upcoming update to the device that will change how the pads work ).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you! Sorry for the delay, I'll go ahead and merge now.
Thanks Jan. |
@DJPhatso I just noticed that this controller is lacking documentation in the manual (probably because this was originally merged for 2.2.5, before we added controller documentation in the manual). You could make a PR to the mixxxdj/manual to add it? Something similar to the documentation for the Pioneer DDJ-200 or the Roland DJ-505 would be great. |
Hi Jan,
I had created a page for the Inpulse 500 (like I did for the others Hercules devises I worked on) on the old documentation system:
https://github.com/<https://github.com/mixxxdj/mixxx/wiki/Hercules-Djcontrol-Inpulse-500>mixxxdj<https://github.com/mixxxdj/mixxx/wiki/Hercules-Djcontrol-Inpulse-500>/mixxx/wiki/Hercules-<https://github.com/mixxxdj/mixxx/wiki/Hercules-Djcontrol-Inpulse-500>Djcontrol<https://github.com/mixxxdj/mixxx/wiki/Hercules-Djcontrol-Inpulse-500>-<https://github.com/mixxxdj/mixxx/wiki/Hercules-Djcontrol-Inpulse-500>Inpulse<https://github.com/mixxxdj/mixxx/wiki/Hercules-Djcontrol-Inpulse-500>-500<https://github.com/mixxxdj/mixxx/wiki/Hercules-Djcontrol-Inpulse-500>
Can it be imported to the new manual as the other seemingly did?
Cheers
Ben
Ben (sent from mobile)
…________________________________
From: Jan Holthuis ***@***.***>
Sent: Thursday, May 13, 2021 12:32:53 PM
To: mixxxdj/mixxx ***@***.***>
Cc: Benoit Duval ***@***.***>; Mention ***@***.***>
Subject: Re: [mixxxdj/mixxx] Hercules Inpulse 200 (update March 2020) (#2542)
@DJPhatso<https://github.com/DJPhatso> I just noticed that this controller is lacking documentation in the manual (probably because this was originally merged for 2.2.5, before we added controller documentation in the manual). You could make a PR to the mixxxdj/manual to add it? Something similar to the documentation for the Pioneer DDJ-200<https://manual.mixxx.org/2.3/en/hardware/controllers/pioneer_ddj_200.html> or the Roland DJ-505<https://manual.mixxx.org/2.3/en/hardware/controllers/roland_dj_505.html> would be great.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#2542 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALQYI6O7Q6EHZTUTR7M55VLTNP5LLANCNFSM4LE67IFA>.
|
Modified mapping files following the approval of the Inpulse 300