MIDI Tool Button Only Applies Transformation the First time

Carlos Butler's icon

Hi there. I'm coding an Ableton MIDI tool and I've stumbled on an issue. The tool is based on several types of chord transformations, and each transformation is applied with a dedicated button, instead of with the global Transform button from Ableton.

The problem is that the buttons only apply the transformation the first time I click on them, and in order to make them work the following times, I have to manually select the MIDI notes in Live each time for the buttons to work again. Any tip would be much appreciated, thanks.

Source Audio's icon

can't troubeshoot that for you as non Live user,

but read carefully help file and reference of miditool.

it explains what apply cycle is and other things which may be important to understand.

Carlos Butler's icon

Thanks, I've checked the help file and the reference but I still can't replicate the behavior of the Transform button for each of the tool's own buttons.

One thing I've noticed is that this problem only occurs with bang messages; if the input is a slider or a knob, it works fine. It's as if it needed some kind of continuous state update for the tool to work as expected. So maybe that's the key to it.