You could also use protoplug as midi processor in Renoise.https://github.com/pac-dev/protoplug/releases (32bit only on macos sadly, due luajit incompatibilities)
Example midi processing script here:https://forum.renoise.com/t/protoplug/41867
And also inside there are more basic examples.