Receiving SysEX and outputting it to a midi track?

Henri Sundelin's icon

I've made a little plugin that can retrieve patches from Behringer Ub-Xa, but I'm bit baffled on how to get them stored in the project.

In practise its a bunch of SysEx. I already parse it by JavaScript, retrieving stuff like patch name.

But how do I store the patch persistently in a track? Or, if possible, stored with the plugin instance?

Any examples/ideas hugely appreciated!

Source Audio's icon

stuff your sysex into dict or pattr or anything else that can store

sysex dump in live set.