diff options
Diffstat (limited to 'src/bindings/test_ingen.py')
-rwxr-xr-x | src/bindings/test_ingen.py | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/bindings/test_ingen.py b/src/bindings/test_ingen.py index 93d524c6..794e51ba 100755 --- a/src/bindings/test_ingen.py +++ b/src/bindings/test_ingen.py @@ -1,8 +1,18 @@ #!/usr/bin/env python import ingen +import time world = ingen.World() -#w = ingen.get_world() -print world e = world.engine -print e + +e.activate() +e.create_port("/I", "ingen:midi", False) +e.create_port("/made", "ingen:audio", False) +e.create_port("/these", "ingen:audio", False) +e.create_port("/in", "ingen:midi", True) +e.create_port("/a", "ingen:audio", True) +e.create_port("/script", "ingen:audio", True) + +while True: + time.sleep(1) + |