I'm working on a simple project using a Raspberry Pi 3, a MPU6050 sensor and the open source music program Pure Data.
I want the changing data of the sensor to trigger 'samples' within Pure Data.
So far I have installed the library for the sensor as well as Pure data, I'm using python scripts from tutorials which work fine to show me the constant stream of data from the sensor within shell.
My question is, how do I "export" this data so it can be received within Pure Data.
Pure data can receive OSC protocol and UDP, does someone know how to "easily" set up an OSC server so the data can be transmitted? Or might there be a simpler way without having to use the network? I was advised to take a look at the WiringPi library but haven't figured out how to make use of it...
Thank you all in advance,