Converting OSC to MQTT, and back.
This example uses the IanniX sequencer to generate a stream of OSC packages, send them to an MQTT broker, receive them again, then send them as OSC packages to a Processing Sketch for visualization.
As MQTT topic we use the OSC-path with a unique prefix.
The flow is preconfigured with three different MQTT brokers:
- localhost
- test.mosquitto.org
- mqtt.eclipse.org
Use the processing sketch included in the IanniX Patches folder. You can find it on github. The sketch should also come with your Iannix install. For OSX this is: /Applications/IanniX.app/Contents/Resources/Patches/Processing
Make sure to change the OSC port in the processing sketch from 57120 to 57121.