Receive OSC messages into SOULPatchHostDemo

hello everybody,
I would like to try to receive OSC messages into my SOULPatch loaded with the SOULPatchHostDemo.
could be a good idea to make the soul_patch_AudioProcessor inherit from juce::OSCReceiver and from OSCReceiver::ListenerWithOSCAddressOSCReceiver::MessageLoopCallback
and the connect the received OSC messages to its Parameters?
or do I have to follow another road?
thanks for your time :slight_smile: d

I was able to successfully receive OSC messages and change parameters ! :slight_smile:
I did it a little bit nasty but it works
I did it by making the soul_patch_AudioProcessor inherit from juce::OSCReceiver and from OSCReceiver::ListenerWithOSCAddressjuce::OSCReceiver::MessageLoopCallback

I assign the float value I get from the oscMessageReceived() to a float variable,

then I get the AudioParameterWithID that I want to modify from the refreshParameterList() function,

and then in the processBlock I set the value of the desired parameter to the variable controlled by the oscMessageRecieved() function.

I don’t know if this is the best way to do it but it works.

peace.
d