mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.39k stars 1.26k forks source link

CO's [App], Decks // [App], Samplers // [App], SelectDeckKnob // [App], SelectSamplerKnob #13532

Open Eve00000 opened 1 month ago

Eve00000 commented 1 month ago

Feature Description

I read the manual again and couldn't find a deck or sampler selector. The total of active decks/samplers is in [App], num_decks and [App], num_samplers but a deck/sampler-potmeter control is missing and would be super handy. Something like SelectTrackKnob. [App] Decks: range: 1..4 (don't use active decks because decks can be changed from 4 to 2 to make some space for library) [App] Samplers: range: 1..8 or could be named [App], SelectDeckKnob and [App], SelectSamplerKnob or [App], DeckFocusKnob and [App], SamplerFocusKnob and CO's [App], SelectDeckKnob and [App], SelectSamplerKnob like LoadSelectedTrack to .... select (activate) the deck or sampler (put focus on) ;-) Or could be named [App], DeckActivateKnob and [App], SamplerActivateKnob or [App], DeckFocusActivate and [App], SamplerFocusActivate Thank you

ronso0 commented 1 month ago

Something like SelectTrackKnob.

So that should mark the 'active' deck, right? What is active? In case you want to use this CO to address a certain deck with a advanced controller mapping, you can use components-js. If I remember and understand correctly, you'd create an array of deck (sampler) numbers, map controls to dedicated deck functions (play, cue, hotcues etc.), and a 'deck switch' function would cycle through the deck numbers and dis- and reconnect all those functions to the new 'active' deck. It's implemented in some mappings as kind layer switches in order to have 4 decks if the controller doesn't have those switches. Example: Denon MC7000 MC7000.switchDeck() https://github.com/mixxxdj/mixxx/blob/a65bc0bf3ac13114b2d7a8a2474394768a321c27/res/controllers/Denon-MC7000-scripts.js#L970 Note: the MC7000 does seem to have per deck controls (?) but with that function the deck switch allows to switch other deck-related mappings, too, for which the MIDI signals don't changed with the deck switch.

[App] Decks: range: 1..4 (don't use active decks because decks can be changed from 4 to 2 to make some space for library)

[App],num_decks is 2 by default and can only be increased (by mappings and skins), but never decreased (safeguard to not delete active engine players etc.).

Eve00000 commented 1 month ago

Hi ronso0 thank you for reacting, I would like to use it for HID Traktor F1 -> change decks with the (shift-) encoder....