I wrote some code for a custom OSC handler, a way to grab a send device on a track and alter the Receiver value. I stuck it in my GLobalOscActions.lua but I might also add it to a tool.
I wanted to be able to do the same thing using my Launchpad so I added code to a MIDI-handling tool I wrote.
The code for locating the tracks and altering the send device is the same in both. In cases like these I’d prefer to have a single file with that code and reference in the various tools that use it. Then if I fix a bug or otherwise change it I only have to do it in one place.
Is there a way to do this in Renoise?
I can think of some workarounds (e.g. use a local build tool to copy shared files to all the places it needs to be and then package stuff up) but was curiuos if there was a more Renoise way to do this.