[PD] backslash and empty spaces on paths sent via OSC

Eric Skogen eskogen at usfamily.net
Sat Mar 6 15:19:16 CET 2004

You can help Pd by formatting your path var with forward slashes:

# Python
path = path.replace("\\", "/");

Once you've used [OSCroute] to get the pathname with spaces, use ZEXY's 
[tosymbol] before forwarding it on to the rest of your patch.

I did some testing and this is working fine for me with stefan kersten's 
OSC.py (http://user.cs.tu-berlin.de/~kerstens/pub/)

Let me know if you'd like examples.


More information about the Pd-list mailing list