Press and hold shift button doesn’t change mode

493 viewsCSS BugsActive Mode
0

Hi Remotify,

I’m trying to setup my controller (Hercules P32 DJ) and I’m running into some problems when using a button on my controller as a shift key. I have watched your YouTube video “How to use Modes in Control Surface Studio” and I think that I’m doing it correctly.

I’m using two modes (named ‘mode 1’ and ‘shift mode’) and I have set it up so that when I press and hold a button on my controller it switches to ‘shift mode’ and when I release the button it reverts to ‘mode 1’, this is reflected in Live’s status bar (I get ‘Control Surface 2 (css_my_script) > shift mode is active‘ when I push and hold the button and it reverts back to ‘Control Surface 2 (css_my_script) > mode 1 is active‘ when I release the button).

The problem is that it is not working!

When I hold the ‘shift’ button and press a button that is mapped to a different function when shift is pressed nothing happens (not even the original function without shift is executed. This tells me that shift is partly functioning as it is preventing the non shift mapping from executing).

If I change the order of Modes so that ‘shift mode’ comes first and is activated by default my buttons shift function work (this tells me that the button is in the correct Mode group and is functioning the way it should).

The button also works (in shift mode) if I use a toggle button that switches from ‘mode 1’ too ‘shift mode’.

Why doesn’t holding shift work?

I can’t understand where I go wrong, when I press and hold the shift button it doesn’t work even though Live’s status bar is telling me I’m in ‘shift mode’

What could cause the shift and hold functionality to fail even if the individual parts are working? I’m at a los, I don’t know where my logic breaks down.

Joachim

Joachim Answered question January 20, 2025
0

Maybe my explanation in this post will help you out. Need to scroll down a bit, post was 28th of august.

Glenn Verhaeghe Answered question January 15, 2025
0

Hi Glenn,

I get the feeling (from reading some of your other posts) that you don’t work for Remotify, is that correct?

I thank you for the link! Your description is clearer (when it comes to being in the correct mode etc.) but I hade already deuced the things you mention in your description but I can’t get it to work.

As I mention the individual parts seems to work as intended (see earlier post) and I can get the desired function when I press a dedicated button (button 5, it dose only shift the mode to ‘shift mode’ and dose not work as a toggle button yet but it was just for testing) but I can’t get the ‘shift’ function to work even if Ableton is telling me that the mode has shifted (when the button is pressed and held down). I have attached my scrips (script and controller templet) if you have the time to look at them.

Joachim

Joachim Posted new comment January 20, 2025

Yes, I’m just a user; interested in the platform; hoping the community can grow to become more knowledgeable and, by becoming so, help each other out.

Thanks Glenn, I appreciate your help!

0

Hi Remotify support,

It has almost been a week since posted this as a potential CSS bug and I hade hope for a response by now.

I assume you have a Hercules P32 DJ controller as you are selling an older control script (Kuala Premium built midi control script), could you please have a look at my problem (see earlier post for scripts and description of my problem)?!

I recently purchased your software and am new to Ableton scripting so I could be wrong it’s not a bug but user error.

Since CSS is not free software, I hope support is something one can get here.

Kind regards,

Joachim

Joachim Answered question January 20, 2025
0

Hi again (Remotify support),

For testing purposes I swapped the button that my ‘Reaction’ uses and then the ‘Reaction’ that did’t work, worked!

So… when I press the midi controllers Left Shift button (button 17 on Controller Templet provided by CSS) located lower left corner these midi commands are sent.

RECEIVE | ENDPOINT(Hercules P32 DJ) TYPE(NOTE_ON) CHANNEL(2) DATA1(7) DATA2(127)
RECEIVE | ENDPOINT(Hercules P32 DJ) TYPE(NOTE_ON) CHANNEL(2) DATA1(7) DATA2(0)

If press the ‘ON’ button that I used for testing purposes (button 5 on Controller Templet provided by CSS) above the top left button of the 4 x 4 pads to the right these commands are sent.

RECEIVE | ENDPOINT(Hercules P32 DJ) TYPE(NOTE_ON) CHANNEL(3) DATA1(3) DATA2(127)
RECEIVE | ENDPOINT(Hercules P32 DJ) TYPE(NOTE_ON) CHANNEL(3) DATA1(3) DATA2(0)

It would appear that the problem lies with the Left Shift button and the midi channel and code its sending (being on channel 2?)!?

Is this a bug that I can’t use a button on channel 2 but I can use a button on channel 3 with the same ‘Reaction’?

Joachim

Edit:

P.S

I tried the right Shift button (button 21) and it has the same problem as the left Shift button… what is special about these Shift buttons and the way they interact with CSS?? They appear to send normal midi messages on normal midi channels.

Joachim Changed status to publish January 20, 2025
0

New finding, from this document Hercules_P32_DJ_MIDI_Command_List_rev1.0.pdf

I see that the push button function of the rotary encoder ‘Browse’ changes midi channel when the ‘Shift’ button is pressed. The channel changes from midi channel 1 to midi channel 4.

Now the question is, how do I ‘catch’ the change of channel when the ‘Browse’ encoder is presses while holding down the ‘Shift’ button?

The rotary encoder button function (MIDI Message Settings) in the ‘Control templet’ (button 35) is set up for ‘Channel 1’ ‘Value 1’ but because of shift is held down the actual values are ‘Channel 4’ ‘Value 1’.

Edit:

Is there a way to have two ‘Channel’ values on one button(when shift is held down on the controller the channel values on the button changes)?

Joachim Edited comment January 21, 2025

I have now solved this problem by adding an extra button in the Control templet that has MIDI Message Settings ‘Channel 4’ ‘Value 1’ as these are the values the button has on the controller when Shift is held down.

Ah, so it seems to have been a problem specific to the way your hardware is programmed. This might be useful info to collect somewhere, for future reference.

Yes it was user error, I should have/could have court it earlier if I had used some MIDIMonitor software…. well now I’ll go back to my original problem, “Control mouse click with Python” where you set me on the path of “Focus View” …