Plugin to application communication?


#1

Does anyone know how to send and receive data between a juce plugin and juce application? Is there an easy class or protocol to make this happen?


#2

What sort of data do you want to send? Can you use OSC? Look at the JUCE module and https://www.youtube.com/watch?v=dl-2hhNUvZQ#t=51m50

Otherwise you could use TCP: https://www.juce.com/doc/classStreamingSocket


#3

Also maybe of interest:
https://www.juce.com/doc/classInterprocessConnection


#4

Thank you guys. This is very helpful.
I want to send the DAW timecode & bars/beats string similar to what the juce demo plugin does. I’m going to try OSC.

Would sending/receiving timecode work better in oscMessageReceived or oscBundleReceived?