-
-
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
Reloop beatmix mapping #12422
base: 2.4
Are you sure you want to change the base?
Reloop beatmix mapping #12422
Conversation
Welcome at Mixxx! |
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 this mapping!
I just skimmed through an added some first comments.
Please sign the Mixxx Contributor Agreement and comment here when you have done so. It gives us permission to distribute your contribution under the GPL v2 or later license and the Apple Mac App Store. It is also helpful for us to have contact information for contributors in case we may need it in the future.
StartupWMClass added. With this property set now the icon in gnome dock shown properly and it is now possible to pin mixxx app to dock.
Agree. I took this line from some other script i used as a base. Co-authored-by: ronso0 <[email protected]>
Same here, this line is inherited from base script. Co-authored-by: ronso0 <[email protected]>
Readability iprovement Co-authored-by: ronso0 <[email protected]>
Co-authored-by: ronso0 <[email protected]>
…tegration" This reverts commit f1fb010.
I've signed the agreement. |
Thank you. That's a good moment to learn about Actually rebasing while a review has been published is not advised, but with this rather small PR I see no issues. If you commit substantial changes later on you commit as usual. |
I kinda understand what rebase is about but my understanding of the whole structure of git workflow is loose. So i definitely need to start from very basics :) |
<control> | ||
<group>[Master]</group> | ||
<key>headGain</key> | ||
<status>0xB4</status> | ||
<midino>0x51</midino> | ||
<options> | ||
<normal/> | ||
</options> | ||
</control> |
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.
Are you sure this does not affect the hardware output? (disable this mapping to double-check)
Just wondering because on my TerminalMix 2 and 4's it does, and they're also from 2012.
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 checked it just now by closing headphone out with hardware pot and opening it back with mouse. Since there's just one headphone volume control i assume it is software :) Master is the only hardware control. Well there's mic gain and jog sensitivity trims as well.
The file name convention is to use hyphens instead of spaces. See also #12333 (I thought I left a comment before but most not have hit enter!) |
Done :) |
This PR is marked as stale because it has been open 90 days with no activity. |
if (control === QUICKJOGR || control === QUICKJOGL) { | ||
engine.setValue(group, "jog", newValue/2); | ||
} else { | ||
engine.setValue(group, "jog", newValue/16); | ||
} |
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.
What's the reason you have two jog modes, not jog and scratch?
That would free Shift+Load for Eject (currently it's the scratch toggle).
Note that Eject is not purely "eject" in Mixxx 2.4, it also does un-eject and un-overload, see https://manual.mixxx.org/2.4/en/chapters/appendix/mixxx_controls.html#control-[ChannelN]-eject
Btw does holding the 🔍 button affect the jog wheel? Like long-press it and it does not toggle the LED permanently?
Reason I ask is, on the TerminalMix the wheel has three modes, as well:
regular (no touch signal), scratch (touch), search (:mag: hold)
|
||
// Beatmix.navKnob handles navigation dial. It will scroll through library. | ||
Beatmix.navKnob = function(_channel, control, value, _status, _group) { | ||
//console.log("control: " + control + ", value: " + value + ", status: " + status); |
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.
Is this still needed?
} | ||
}; | ||
|
||
// Beatmix.loopSize handles Loop Size knob. This know ajusts auto loop size. |
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.
// Beatmix.loopSize handles Loop Size knob. This know ajusts auto loop size. | |
// Beatmix.loopSize handles Loop Size knob. This now adjusts auto loop size. |
Beatmix.loopSize = function(_channel, _control, value, _status, group) { | ||
const newValue = value - 64; | ||
if (newValue < 0) { | ||
engine.setValue(group, "loop_halve", 1); |
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 suggest to use script.triggerControl(group, control, delay) to release the button.
</options> | ||
</control> | ||
<control> | ||
<group>[EffectRack1_EffectUnit1]</group> |
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'm not really happy with this since this control has no GUI indicator. (though, units are enabled by default after start)
Also, for On/Off you already have the Mix knob mapped.
Can we use it for something else instead which is not covered, yet?
Press: ON
Shift+Press: OFF
or
Press: toggle Mix between 0 and 1
Shift+Press: toggle Quick Effect
or
Press: un/assign unit1 to deck1
Shift+Press: un/assign unit1 to deck2 / un/assign unit2 to deck1
Reloop Beatmix gen.1 mapping added. Documentation is pulled as well.