diff test/test_process.py @ 61:f7ee26ca5304

Start on the main process stuff
author Chris Cannam
date Wed, 14 Jan 2015 10:36:55 +0000
parents
children ee7542afa98e
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/test_process.py	Wed Jan 14 10:36:55 2015 +0000
@@ -0,0 +1,13 @@
+
+import vamp
+import numpy as np
+
+testPluginKey = "vamp-test-plugin:vamp-test-plugin"
+
+rate = 44100
+
+def test_process():
+    buf = np.zeros(1024)
+    results = vamp.process(buf, rate, testPluginKey, {}, [])
+    print("results = " + str(list(results)))
+    return True