hello everyone
since you cannot change outgoing midi messages in those devices,here is my patch to turn Novation Launchad mini mk1&mk2 into Octatrack midi controller,plus i added few small but nice features...

launchpad4okta v1.2.pd

Repo
https://github.com/k2z3k0/launchpad-for-octatrak-in-pure-data

Example video


Getting Started with Raspberry Pi, Pure Data

How to deal with Raspberry Pi as usb midi host

Raspberry Pi audio/midi board
https://blokas.io/pisound/
Raspberry Pi audio/midi board
https://www.osaelectronics.com/.../midi-board-for.../
Raspberry Pi how to get midi out out of onboard GPIO
https://github.com/nugluke/midi2gpio

best regards
Kazik