Any device will have as many IP addresses as it has network interfaces that are connected to a network.
Additionally, many devices (including Bela and your Mac) have an IP to refer to themselves through a virtual "loopback" device, that is
127.0.0.1 (also known as
localhost, if you ever heard this term).
So in the network that is between your Mac an Bela (ethernet over USB), Bela has IP
192.168.7.2 and your computer has
192.168.7.1. Each device can reach the other (or itself) using the corresponding IP address.
Additionally, each device can reach itself on
Sending messages back to
127.0.0.1 can be used to communicate between different processes running on the same device. For instance, the BelaScope
implements this sort of communication between the Bela program and the IDE, to serve the Scope to the client(* this is going to be swapped out for a more efficient implementation in the future).127.0.0.1` and is designed as a quick demonstration to pass messages to this other test program: https://github.com/BelaPlatform/Bela/tree/master/resources/osc.
The OSC example sends OSC messages back to Bela on
In your case, as you want to pass messages to your computer, you can change the
remoteIp variable in the OSC example to the IP of your Mac, that is
And hopefully it will work!