def __init__(self, IPaddress = "localhost", port = 57110): self.IPaddress = InetAddress.getByName(IPaddress) # holds IP address of OSC device to connect with self.port = port # and its listening port self.portOut = OSCPortOut(self.IPaddress, self.port) # create the connection