-
Notifications
You must be signed in to change notification settings - Fork 4
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
Up to ES7? and related JS/mapping thoughts #86
Comments
Hi @mxmilkiib, I am very much opinionated about keeping transpilation / bundling:
I know it has cons, like greater barrier to entry, additional tools to be learned, etc. but IMO the pros trump these. I don't think I can provide an answer to how hard it would be to reuse this framework for other controllers. When I created it, I had only the support of multiple versions of LaunchPad in mind, and that I wanted to make it easy to customize it with a config file. Only recently (when I bought a LaunchControl) did I start to modularize it further by extracting common plain JS utilities ( Facilitators:
Obstacles:
I see two major problems with reusing anything from the mixxx library here:
|
More concretely about the reusability of the declarative controls are in a nutshell the following.
|
Hiya. I've realised now that part of the mixxx-launchpad process is transpiling from newer to older JavaScript. I'm not a coder (dyslexic, dyscalculic, exceptionally bad memory) so I can't directly dive in to grok and upgrade things in a standard manner, but I'm wondering how much of that could essentially be passed over, now that Mixxx has moved to ES7.
I have a primary controller, a Reloop Beatmix 4, but I'm very curious about the abstracted functions (including rebouncing beatjump) and understanding of the [Launchpad] grid this system apparently affords, especially in relation to hotcues and loops. 64 hotcues is the max currently; if there's a way to trigger them, then super creative beatjumping can be achieved, plus there is the official skin availability of 64 samplers already.
Abstracted functions; as in the functions that are shared with multiple [Launchpad] grid devices though generating their separate mappings. The related Mixxx "thread" currently, imho , is the common-*/components .js scripts, that provide functions to multiple controllers.
However, using the common*.js etc. system to share access to an "extended" set of novel features is arguably problematic, as in that it is said (by @ronso0, can't find the link) that bloating their scope (I paraphrase) could degrade performance at certain point(s) of the general Mixxx process.
So, the main point of this thread is the current mixxx-launchpad process and how it now relates to ES7 and Mixxx scripting.
The related thing that I'd like to bring up at the same time, that's not soley about mixxx-launchpad, is about the decades-old "should we put novel functions in our system's standard set of functions?" programming language theory/implementation question.
If "no", then "should/how can we share abstracted/parameterised functions between controllers, however novel they might be?". (The distinction between novel and "that isn't actually that far out when you think about it" is questionable imho).
mixxx-launchpad generates multiple controller profiles, and at the other end of the scale, Mixxx universally provides certain handy abstracted functions to all devices.
Given that many controllers have a grid system, and that style of HCI is not going away (e.g. up the pad filter on https://controllers.cc to 16/32); and given that (afaiu) the greater aspect of the transcoding process in mixxx-launchpad is now unneeded (maybe, unless there is worth seen in backporting from ES8, ES9, ES10..); and even if the main common-controller-scripts.js doesn't end up getting extended;
Is there a way to make making controller profiles/scripts easier by somehow sharing shareable functions between them? (One feature I've created is "auto hotcue creation for drop/-16/-32/-64 plus intro end", which could be parameterised to give it a more general worth)
N.B. FWIW, aside from this, there is (amongst other things!) the thread about MIDI mapping via JS, updating the MIDI components .js, and JS modules, and affecting scripts in the GUI.
The text was updated successfully, but these errors were encountered: