Browse Source

Tidy up

master
Pete Shadbolt 10 years ago
parent
commit
dcdab076f1
6 changed files with 11 additions and 7 deletions
  1. +10
    -0
      interface.py
  2. +0
    -0
      libs/__init__.py
  3. +0
    -0
      libs/osc.py
  4. +0
    -1
      libs/simpleosc.py
  5. +0
    -5
      osctest.py
  6. +1
    -1
      run.sh

+ 10
- 0
interface.py View File

@@ -0,0 +1,10 @@
from libs.simpleosc import *

server = OSCServer (("127.0.0.1", 9000))
server.addDefaultHandlers()


initOSCClient(port=9000)
sendOSCMsg("/test", [.1])
closeOSC()


+ 0
- 0
libs/__init__.py View File


OSC.py → libs/osc.py View File


simpleOSC.py → libs/simpleosc.py View File

@@ -47,7 +47,6 @@ def printing_handler(addr, tags, data, source):
print "---"



def initOSCClient(ip='127.0.0.1', port=9000) :
global basic_client
basic_client = OSCClient()

+ 0
- 5
osctest.py View File

@@ -1,5 +0,0 @@
from simpleOSC import *

initOSCClient(port=9000)
sendOSCMsg("/test", [.1])
closeOSC()

+ 1
- 1
run.sh View File

@@ -1,2 +1,2 @@
#!/bin/bash
./chuck --bufsize64 chuck.ck
chuck --bufsize64 chuck.ck

Loading…
Cancel
Save