I'm working on using a GUI to send data to control the motors on Bela in Pure Data.
However, I could only find how to send or get data from GUI in C++. (https://blog.bela.io/2019/10/09/bela-new-ide-gui-libraries/)
I wonder how to receive different types of data from the GUI in Pure Data since there isn't any document about which object in Pure Data is corresponding to which method in C++?
As of very recently, there is a Pd-Gui example: https://github.com/BelaPlatform/Bela/tree/master/examples/PureData/gui
You will have to update your board for this to work
giuliomoro Thanks, but the one you gave is only sending data from Pd to GUI which is similar to the image above, not receiving data from GUI to Pd. That's why I'm wondering if there is a related example that I can follow.
Oh so you want to receive in Pd from the Gui, is that right?
giuliomoro Yes, that's what I want to do in Pd. Pushing buttons in GUI will send data to Pd to control the motors.
ok, I am working on it.
Ok here is a first step:
This is in the feat/pd-gui branch, so you will need to update your board following the instructions here to use it.
The example Pd patch is examples/PureData/gui-receive: