Add custom python code that generate MIDI signal, note or CC
Hello,
is it possible in Action for reactions to add custom python code (switch to custom coding) that generate MIDI signal, note or CC?
I tried, but do not have expiriece in pytoh, and did not get any results.
My idea for this is that for different conditions in Reaction to generate differnet MIDI notes/CC, and that MIDI notes/CC can be usted for example with BOEME MIDI creator or Autohotkey to trigger something else outside of Ableton (not for playing music, but for some functions).
You can send midi to the connected midi controller with reactions. midi controller > send raw midi data to controller.
Hello JohnC,
I did this:
In reactions, Listener is press button on controller, and Action is
MIDI Controller – send raw data to controller, Enter custom code : 0xb0, and code looks like this (switch on custom coding): self._send_midi(0xb0).
In Ableton through MIDI Monitor+ its visible only MIDI signal from (Listener in reaction) Button. The same is in the BOEME MIDI translator. midi data 0xb0 is not visible.

Thak you JohnC,
CSS is a great visual scripting program with huge capabilities. Maybe I’m asking too much.
There’s a lot of stuff possible but the “how to” is not always easy to come by. I’m hoping that when we get a decent database of information running on the forum, things will eventually get more clear.
Sign up
User registration is currently not allowed.
This is only sent to the connected midi controller, not to Ableton or other.