diff options
| author | pepper <pepper@chimecrisis.com> | 2014-04-10 22:39:41 -0700 |
|---|---|---|
| committer | pepper <pepper@chimecrisis.com> | 2014-04-10 22:39:41 -0700 |
| commit | 663f44e2f68c790d19e43cade1fca6bd63f988ac (patch) | |
| tree | 999ebff9ce3fc9233ad8a8abf98a79c74fe4cd51 /reapify | |
| parent | cc90b0f460d3fe57f13e7c857985fd363aa5ac58 (diff) | |
new stuff
Diffstat (limited to 'reapify')
| -rwxr-xr-x | reapify | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -0,0 +1,22 @@ +#!/usr/bin/python + +from subprocess import call, Popen +from simpleOSC import * +import socket + +#make sure reaper is running +check = call([ 'pgrep', 'REAPER' ]); +if check: + Popen(['/Applications/REAPER64.app/Contents/MacOS/REAPER']) + + +ip_address = socket.gethostbyname(socket.gethostname()) +#start the client +initOSCClient(ip_address, 8088) +#start the server to receive messages (not yet implemented) +initOSCServer(ip_address, 8808) + +#run main.py +sendOSCMsg("/action/41061") + + |
