You can simplify your BindControlConnections function. See the connectDeckControls function in http://mixxx.org/wiki/doku.php/midi_scripting#turning_a_2_deck_controller_into_a_4_deck_controller for an example.
On 07/23/2015 06:19 PM, Joan Ardiaca Jové wrote: > Hello, > > I just pushed the current state of my work on the Pioneer DDJ-SB mapping > to my fork in github: > > https://github.com/jardiacaj/mixxx/commit/9f479f3e7d31b9faec755153cfe7a2f5f3f5de03 > > Please note this is unfinished work in a "works for me" state, I would > like to continue working on it. I mostly tried to reproduce the way the > controller is intended to work when using Serato. > > Some things that bother me: > > * Code quality (I'm not proud of it). > * Jog wheels, especially scratch mode is missing. > * Soft takeover is not working for the effects knobs. > * Most knobs send two MIDI messages when their position changes, but > I'm currently using just the most significant one, losing precision. > * And some other smaller issues. > > I'll be glad if someone can take a look at the mapping and maybe even > try it out if you have access to a DDJ-SB. Comments and criticism are > more than welcome. > > > > If someone is able to give me a hint, I'll explain the problem with the > effects knobs: soft takeover is not working or not working properly for > those. The controls look like this: > > http://i.ytimg.com/vi/D1gvHsyoSBQ/maxresdefault.jpg > > In Serato, pressing one of the FX buttons lights it up. If the knob is > then turned, it changes the "main parameter" for that effect, allowing > to control three effects at once if all three FX buttons are lit. > > I took a different approach: turning the knob changes the mix parameter > of the effect. But if the knob is turned while one of the buttons is > kept pressed, it changes one of the parameters of that effect, allowing > control of up to three parameters this way. Yet, even though I'm > activating soft takeover for those controls (see the > function PioneerDDJSB.setFXSoftTakeover), sudden changes on those > controls happen. Am I doing something wrong? > > Kind regards, > Joan > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Get Mixxx, the #1 Free MP3 DJ Mixing software Today > http://mixxx.org > > > Mixxx-devel mailing list > Mixxx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mixxx-devel > ------------------------------------------------------------------------------ _______________________________________________ Get Mixxx, the #1 Free MP3 DJ Mixing software Today http://mixxx.org Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel