attwad / python-osc

Open Sound Control server and client in pure python
The Unlicense
516 stars 108 forks source link

WIN10 python 3.6 no OSC messages from local non-python apps #78

Open emanuelgo opened 6 years ago

emanuelgo commented 6 years ago

I am trying to send OSC messages through a 127.0.0.1 UDP Port from an app called MuseDirect to python using python-osc. If I start the python-osc client example the server works perfect.

If I try to receive the OSC messages from MuseDirect the print message "Serving on .." shows up but I never get a message.

If I test my python settings with a simple udp server, all messages arrive and the paths are correct.

Is it a UDP issue? Any ideas or recommandations? Thank you very much

DrLuke commented 5 years ago

Try firing up Wireshark and see what the destination address MuseDirect uses.

jtkorb commented 5 years ago

Was there any resolution to this issue? I'm having the same experience: Muse Direct is generating packets, but the python-osc example code does not see them. I can see the packets using tcpdump (in udp mode), so I know they're arriving at the specified IP address and port number.

jtkorb commented 5 years ago

I don't know if my problem was the same as the OP, but I discovered that the OSC Prefix (specified in the Muse Direct Streaming configuration pane) must start with a slash. I changed it from "tim" to "/tim" and packets started passing the python-osc format check.

DrLuke commented 5 years ago

I'm not 100% familiar with the osc specficiations, but I think the address is always required to start with a /. Maybe OP's problem would've been resolved if he looked at it with wireshark.