-
-
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
KORG KAOSS DJ Revamp #11639
KORG KAOSS DJ Revamp #11639
Conversation
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.
mostly lgtm. some of the new parts could be a little DRYer, are you interested in some suggestions or do you just want this merged?
Yes please. I have tried to simplify the code a bit without rewriting it while preserving the proposed behavior. |
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.
Anything more would involve quite large refactorings unfortunately.
Hey, |
I only cleaned up the code a bit and fixed/removed non-working parts as a starting point for future improvements. |
<TAP> : open folder <TAP> + <TAP> : double-tap to close folder <SHIFT LEFT> + <TAP> : tap bpm of LEFT track <SHIFT RIGHT> + <TAP> : tap bpm of RIGHT track <browseKnob> : browse library up & down <SHIFT> + <browseKnob> : toggle focus between Playlist and File-Browser <LOAD A/B> : load track <SHIFT> + <LOAD A/B> : open/close folder in file-browser
<SHIFT> + <TOUCHPAD X> : control super knob of QuickEffectRack for deck 1 <SHIFT> + <TOUCHPAD Y> : control super knob of QuickEffectRack for deck 2
Now targeting 2.4. |
Those selective CI checks that fail in various circumstances by not covering all use cases are a real burden. A brute force enforcement once would have been much easier. |
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.
Thank you for investing some time in the cleanup. Got one more modernization opportunity for you. the rest LGTM.
// initialise decks | ||
// Seb Dooris, Fayaaz Ahmed, Lee Arromba, Raphael Quast | ||
|
||
// Using `const`/`let` causes ReferenceError: KAOSSDJ is not defined |
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.
@Swiftb0y But why?
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.
We expect the "controller namespace" (KAOSSDJ
in this case) to be accessible via the global object. That only happens when variable is declared via var
in the global context. Declaring it using const
or let
won't do that. You can confirm this in node js using the following snippet:
const a = "a";
let b = "b";
var c = "c";
console.log(`a: ${a}, global.a: ${global.a}\nb: ${b}, global.b: ${global.b}\nc: ${c}, global.c: ${global.c}`);
I'm not sure if we can access these variables without the global object, but we could try.
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.
Fix shouldn't be particularly difficult, I expect about 10-20 extra lines. Though I don't have time to look into this right now.
Sorry to pitch in on this again. |
Unfortunately it looks like that Uwe dies not have interest to continue working on this mapping. A first step would be to issue a new pull request, test it and test it. Than we need to consider what us left for a merge to the 2.4 branch. |
Continuation of #4301 which seems to be abandoned and is in a bad state.
I haven't touched the corresponding manual PR mixxxdj/manual#430 yet.