Plugin Cross-talk
-
What's the best way of approaching plugin cross-talk with HISE? With Kontakt I could write to a file and push things around on prompt, but since you couldn't really query access times or have user-defined filenames it's pretty limited.
What would be the best way of doing it in HISE? Have a field where the user can enter a session identifier, and have every instance with a timer that checks for the file with the given name, and if found, updates its parameters from there?
Could this get ugly with 20-30 instances doing this? I imagine this would be no-go for real-time stuff and the checks would only be happening while transport is stopped. Or would deferring the callbacks of the script doing this make it a non-issue even for real-time playback?
So, talking about writing to a file on control (certain controls) and reading the said file, with 30 instances, once every second or so.
I checked the docs, searched the forum here and on search engines, zero mention of cross-talk.
-
You can do this to some degree using OSC (Christoph posted an example on the forum last year).
You can also do the shared file method but again you'll have the same issues you had with Kontakt.
You could probably make your own session identifier using a UUID without the need for the user to know about it.
It would be nice to have a true cross plugin communication system. A shared bit of memory or something where your plugins (presumably with a unique ID to identify them and an encryption key) can transfer simple values.
I was thinking about this recently for creating an auto divisi script.
-
@d-healey yup I would also try to do it with OSC, it‘s a established protocol for exactly the kind of data you want to push around in a audio / music context.