diff --git a/padsys.py b/padsys.py old mode 100644 new mode 100755 index 3f83f3d..ff59b05 --- a/padsys.py +++ b/padsys.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # _ # _ __ __ _ __| |___ _ _ ___ _ __ _ _ # | '_ \ / _` |/ _` / __| | | / __| | '_ \| | | | @@ -14,12 +14,13 @@ # Usage: padsys.py [no args] # -from launch import Launchpad_wrapper -from osc import OSC_send, OSC_receive -import logging -import colour_logs +from padsys.launch import Launchpad_wrapper +from padsys.osc import OSC_send, OSC_receive +import padsys.colour_logs as colour_logs import sys import argparse +import logging + parser = argparse.ArgumentParser(description='PadSys.py: Use Novation Launchpads to control Chamsys MagicQ over OSC') parser.add_argument('-n', '--pads', required=False, default="1", type=int, diff --git a/padsys/__init__.py b/padsys/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/padsys/__pycache__/__init__.cpython-37.pyc b/padsys/__pycache__/__init__.cpython-37.pyc new file mode 100644 index 0000000..409a574 Binary files /dev/null and b/padsys/__pycache__/__init__.cpython-37.pyc differ diff --git a/padsys/__pycache__/colour_logs.cpython-37.pyc b/padsys/__pycache__/colour_logs.cpython-37.pyc new file mode 100644 index 0000000..f4dcfd3 Binary files /dev/null and b/padsys/__pycache__/colour_logs.cpython-37.pyc differ diff --git a/padsys/__pycache__/launch.cpython-37.pyc b/padsys/__pycache__/launch.cpython-37.pyc new file mode 100644 index 0000000..c2e0007 Binary files /dev/null and b/padsys/__pycache__/launch.cpython-37.pyc differ diff --git a/padsys/__pycache__/osc.cpython-37.pyc b/padsys/__pycache__/osc.cpython-37.pyc new file mode 100644 index 0000000..aebc05e Binary files /dev/null and b/padsys/__pycache__/osc.cpython-37.pyc differ diff --git a/colour_logs.py b/padsys/colour_logs.py similarity index 100% rename from colour_logs.py rename to padsys/colour_logs.py diff --git a/launch.py b/padsys/launch.py similarity index 100% rename from launch.py rename to padsys/launch.py diff --git a/osc.py b/padsys/osc.py similarity index 100% rename from osc.py rename to padsys/osc.py