I would like to send a boolean value from a sound processing application to a running Urho3D application on the raspberry pi4, under Raspbian; and be able to send an integer from the Urho application to the sound processing application. All this should be in realtime.
The sound processing is being done externally to Urho but it consists of an FFT IRR filter and some more processing to extract a frequency/note from an audio snippet. And also sending a frequency/note out onto a sound card.
Does anyone has any idea how this can be done, on the Urho side?
First thing that comes to mind is integrating Open Sound Control (OSC) into your program, since the sound processing application might support this. Although I do not have any personal experience with it, and may be somewhat overreaching.
Have you checked out “jack-audio”? It should be a good fit for your use case. Plus, the SDL supports it as one of the audio driver, so it means Urho3D supports it too. It should be just a simple matter of having the development package for Jack-audio installed before rebuilding the engine from source. Good luck.