from pythonosc import udp_client import time osc = udp_client.SimpleUDPClient("0.0.0.0", 5005) while True: print("send") osc.send_message("/radio", 1337) time.sleep(1)