From 1562a850557aee4a0c7985bdde6f8565f5d36c43 Mon Sep 17 00:00:00 2001 From: sbahling Date: Wed, 31 Oct 2018 12:09:26 +0100 Subject: Fix port assignments Use defaults set by Ardour --- tascam_fw_console/cli.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tascam_fw_console') diff --git a/tascam_fw_console/cli.py b/tascam_fw_console/cli.py index 401a953..7db084b 100644 --- a/tascam_fw_console/cli.py +++ b/tascam_fw_console/cli.py @@ -28,9 +28,9 @@ Options: -c CARD_NUM --card=CARD_NUM Number of the ALSA sound card -d GUID --device=GUID GUID of the FW unit -I IP --listen-ip=IP IP to listen on [default: 127.0.0.1] - -P PORT --listen-port=PORT Port to listen on [default: 5005] + -P PORT --listen-port=PORT Port to listen on [default: 8000] -i IP --ip=IP IP to communicate to [default: 127.0.0.1] - -p PORT --port=PORT Port to communicate to [default: 3919] + -p PORT --port=PORT Port to communicate to [default: 3819] """ from docopt import docopt @@ -52,6 +52,7 @@ def main(): osc.init_client(args['--ip'], int(args['--port'])) osc.init_server(args['--listen-ip'], int(args['--listen-port']), console) + print("Sending to {}:{}".format(osc.client._address, osc.client._port)) print("Serving on {}".format(osc.server.server_address)) osc.server.serve_forever() -- cgit v1.2.3