Commits (2)
......@@ -24,7 +24,8 @@ For more information visit:
Make sure to get the latest Pure Data from:
Install Pure Data with your package manager or get binaries
......@@ -36,6 +37,33 @@ You need the following externals to run tpf-client
You can install externals through the Pd menu:
'Help' -> 'Find Externals'
tpf-server uses netpd-server as a git submodule, thus make
sure to clone the repository like this:
git clone --recursive https://gitlab.zhdk.ch/TPF/tpf-server
Run tpf-server
For the server to be reachable by the clients, it should run on
a machine with a public IP address. On a head-less machine, you
probably want to run it in nogui mode:
pd -nogui -open tpf-server/tpf-server.pd
The server opens a listening socket on TCP-port 3025. So make
sure that this port is open in your firewall configuration.
The TCP-Port 3025 is only used for client communication and not for
audio transmission. The audio transmission is using UDP-Port 4460
and requires a separate Python script to be running:
This waits for incoming client connections and relays UDP packets
between clients.
......@@ -27,12 +27,15 @@ import socket, sys
UDP_IP = ""
linklookup = dict()
tokenlookup = dict()
UDP_PORT = int(sys.argv[1])
except ValueError:
print 'Specified port is not a number'
except IndexError:
# haben wir einen gueltigen Port
if not isinstance( UDP_PORT, int ) or not 1024 <= UDP_PORT <= 65535: