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.
|
|
4 years ago | |
|---|---|---|
| .gitignore | 4 years ago | |
| LICENSE | 4 years ago | |
| README.md | 4 years ago | |
| config.json | 4 years ago | |
| osc_client.py | 4 years ago | |
| osc_server.py | 4 years ago | |
README.md
osc_led
OSC control of LEDs for Jembo
Install dependencies
- Open lxterminal
- Copy/paste the following:
sudo apt-get install git
sudo pip3 install osc4py3
mkdir git
cd git
git clone https://git.sav.net.au/Public/osc_led.git
Setup Reaper, load the template
Set up reaper to listen on port 8000 and send to port 9000. Control surface mode: OSC Mode: Configure device IP + local port Device port: 9000 Device IP: 127.0.0.1 Local Listen port: 8000 Local IP: doesn't matter [1] Wait between packets: 100ms [2] Allow binding messages to REAPER actions and FX learn: [X]
Notes:
- I couldn't set the address to listen on in the GUI, but it binds to 0.0.0.0 so it's listening on every local address anyway.
- I've set this to 100ms for testing. If this is too long a latency it can be dropped, but the python components are set with thresholds between .5% and 1% of brightness and colour respectively before changing the LEDs so that grandients aren't crazily chatty.
Start osc_server
- Open lxterminal
- Run the following:
cd ~/git/osc_led
./osc_server.py
Controlling Reaper
You can do it from reaper, or use some basic controls from osc_client.py
- Open lxterminal
cd ~/git/osc_led
./osc_client.py play
# OR
./osc_client.py stop
# OR
./osc_client.py restart