# HG changeset patch # User map01bf # Date 1253555321 0 # Node ID 113b2f29425687b9b490c71cffa445f4647928d8 # Parent 695651b8c1a342a749c634e8c39f0d842785caac added a Readme diff -r 695651b8c1a3 -r 113b2f294256 bindings/python/README.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bindings/python/README.txt Mon Sep 21 17:48:41 2009 +0000 @@ -0,0 +1,26 @@ +README.txt + +to install, try: + +python setup.py build +python setup.py install + +Notes: + - a compatible build of audioDB (>=r914) needs to be linkable at runtime + - currently only the direct C-api exposure layer is visible, so the calling semantics are a bit gross + + +The actual query call is a bit of a mess, but will be more intuitive from the native python layer (to be written)... +so the python bindings now have a complete path: + >>import _pyadb + >>aDB = _pyadb._pyadb_create("test.adb", 0,0,0) + >>_pyadb._pyadb_status(aDB) + >>_pyadb._pyadb_insertFromFile(aDB, "someFeats.mfcc12") + ...(add some more data) + >>result = _pyadb._pyadb_queryFromKey(aDB, "a Key in aDB", [options]) + + and then result has a nice dict of your results. + + + +21 September 2009, Ben Fields, b.fields@gold.ac.uk \ No newline at end of file