Nils
2 years ago
2 changed files with 21 additions and 0 deletions
@ -0,0 +1,20 @@ |
|||
#! /usr/bin/env python3 |
|||
# -*- coding: utf-8 -*- |
|||
|
|||
import os |
|||
import sys |
|||
|
|||
#_cbox2.py reads this environment variable |
|||
os.environ["CALFBOXLIBABSPATH"] = os.path.abspath("../build/libcalfbox-lss.so") |
|||
|
|||
from calfbox import cbox |
|||
|
|||
def cmd_dumper(cmd, fb, args): |
|||
print ("%s(%s)" % (cmd, ",".join(list(map(repr,args))))) |
|||
|
|||
cbox.init_engine() |
|||
cbox.start_audio(cmd_dumper) |
|||
|
|||
print("Ready!") |
|||
while True: |
|||
cbox.call_on_idle(cmd_dumper) |
@ -0,0 +1 @@ |
|||
/home/nils/lss/libcalfbox-lss/calfbox/py |
Loading…
Reference in new issue