-
-
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
Update American Audio VMS4 preset for Mixxx v2.1.x #1669
Conversation
Pegasus-RPG
commented
May 17, 2018
•
edited
Loading
edited
- Add cue-play function on shifted CUE buttons (to match Traktor Edition label)
- Add sync_master on shifted PLAY buttons (to match Traktor Edition label)
- Update reloop buttons to use reloop_toggle
- Make effect controls operate on UnitN_EffectM, correcting behavior
- Add library pane scrolling to touch strips
- Add effects dry/wet control to shifted touch strips (to match Traktor Edition labels), replaces needle-drop functionality
- Replace setValue() with setParameter() on effect parameter controls
- Update version numbers
- Update Mixxx version - Add cue_play on shifted CUE buttons (to match Traktor Edition label) - Add sync_master on shifted PLAY buttons (to match Traktor Edition label) - Update reloop buttons to use reloop_toggle - Make effect controls operate on Unit1_EffectM, correcting behavior
- Change CUP button to use cue_gotoandplay - Add strip scroll and touch functions that make the absolute-position touch scripts behave like relative-mode ones for scrolling through the library - Comment-out needle drop function in preparation for replacing it with effect dry/wet - Update script version and date
- Add effects dry/wet control to shifted touch strips - Replace setValue() with setParameter() - Delete now-unneeded strip touch button down if branch
Wiki page updated. https://mixxx.org/wiki/doku.php/american_audio_vms4 |
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.
Who wants to review this? Or can we just merge as it is. This is the last mandatory 2.1 PR
</control> | ||
<control><!-- Shifted Play --> | ||
<group>[Channel1]</group> | ||
<key>start_play</key> | ||
<key>sync_master</key> |
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.
Why is this mapped? @ywwg why does this Control exist? Should we remove it to avoid future confusion?
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 mapped as many things from the Traktor Edition of the VMS4 to the standard one that did not conflict with how the standard one is labeled. This is one of those items.
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.
AFAIK this Control was made while developing master sync but it was decided not to expose it to users.
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.
It's on the MixxxControls wiki page. @ywwg what say you?
engine.setValue("[EffectRack1_EffectUnit"+deckNum+"]","enabled", | ||
!engine.getValue("[EffectRack1_EffectUnit"+deckNum+"]","enabled") | ||
engine.setValue("[EffectRack1_EffectUnit"+deckNum+"_Effect1]","enabled", | ||
!engine.getValue("[EffectRack1_EffectUnit"+deckNum+"_Effect1]","enabled") |
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.
Use the script.toggleControl
shorthand
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.
Cool, didn't know that existed. I guess I need to re-read the whole controller scripting page sometime. :)
@@ -922,6 +934,18 @@ | |||
<status>0x80</status> | |||
<midino>0x2E</midino> | |||
</control> | |||
<control><!-- on --> | |||
<group>[Channel2]</group> | |||
<key>cue_play</key> |
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.
Personally I think it's most useful to map shift + cue to start_stop
, but I guess this works 🤷♂️
@@ -270,13 +271,13 @@ | |||
</control> | |||
<control><!-- on --> | |||
<group>[Channel1]</group> | |||
<key>cue_play</key> | |||
<key>cue_gotoandplay</key> |
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.
This is redundant with holding down the cue button then pressing play. I think it would be more useful to use start_stop
here.
|
||
VMS4.strip_scroll = function(channel, control, value, status, group) { | ||
var side = VMS4.StripToSide[control]; | ||
if (VMS4.touchStripPos[side] != null) { |
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.
!==
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 fix that. (What's the difference again?)
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.
!=
can easily introduce confusing bugs because of JS' bizarre type coercion rules.
I'm confused why you are removing the useful touch strip seeking functionality ("strip search") to add a redundant way to control the dry/wet knob of effect units. Can you update this to use the Components EffectUnit? |
Same thing, the Traktor Edition uses the touch strips to control that. Since they're multi-touch strips, you can do some neat things with them like touching and holding in one place, then tapping in another to rhythmically change the effect a la the Stanton SCS.3d. I can add an option at the top of the script that lets the user choose needle dropping or FX D/W. |
As for Components, there are only two knobs and two buttons (per side) that control effects on the standard edition so I understand that wouldn't be a good fit, but it will for the Traktor Edition, which I'm still working on creating a mapping overlay for. |
How do you intend to handle that? Will you make a duplicate mapping or boolean option at the top of the script? |
Separate XML file, stub script loaded first that sets a variable |
This is the last one for Mixxx 2.1.1. Is it ready to merge now? |
@Be-ing: What do you think is this worth to delay 2.1.1 or is it merge-able anyway? |
This could be merged if the track seeking with shift+touch strip is restored. IMO there's no need to delay 2.1.1 for this PR. |
@Be-ing It is. See the latest commit. |
Oh sorry, somehow I missed that commit before. |