Quick Python Script that runs a python-osc server and runs arbitrary batch scripts based on endpoints
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
andrew.vanderbye 90306b2be0 Updated code to v0.1.0 9 months ago
README.md Updated code to v0.1.0 9 months ago
client.py Initial Commit 9 months ago
osc-2-bat.py Updated code to v0.1.0 9 months ago
server.py Updated code to v0.1.0 9 months ago
snippet.py Updated code to v0.1.0 9 months ago
test.bat Initial Commit 9 months ago

README.md

OSC-TO_SCRIPT

GETTING STARTED

  • Create directory for project to live in
  • Drop Batch Files to execute into the project directory
  • Navigate to this folder in terminal/command prompt
  • Run the following commands

<PATH TO PYTHON>/python.exe -m venv venv

<PATH TO PROJECT>/venv/Scripts/activate.bat

pip install python-osc

To run the server:

"<PATH TO PROJECT>/venv/Scripts/python.exe" "<PATH TO PROJECT>/server.py"

OR

"<PATH TO PROJECT>/venv/Scripts/pythonw.exe" "<PATH TO PROJECT>/server.py"