diff test/test-vampipe-server.sh @ 52:e90fd30990eb

Error handling, and pass plugin handles through
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 16 Sep 2016 16:20:05 +0100
parents 91f5c92d3bf7
children 72c43bc69616
line wrap: on
line diff
--- a/test/test-vampipe-server.sh	Fri Sep 16 15:10:57 2016 +0100
+++ b/test/test-vampipe-server.sh	Fri Sep 16 16:20:05 2016 +0100
@@ -2,7 +2,11 @@
 
 ( bin/vampipe-convert request -i json -o capnp |
 	VAMP_PATH=./vamp-plugin-sdk/examples bin/vampipe-server |
-	bin/vampipe-convert response -i capnp -o json ) <<EOF
+
+#	capnp decode capnproto/vamp.capnp VampResponse
+
+	bin/vampipe-convert response -i capnp -o json
+) <<EOF
 {"type":"list"}
 {"type":"load","content": {"pluginKey":"vamp-example-plugins:percussiononsets","inputSampleRate":44100,"adapterFlags":["AdaptInputDomain","AdaptBufferSize"]}}
 {"type":"configure","content":{"pluginHandle":1,"configuration":{"blockSize": 8, "channelCount": 1, "parameterValues": {"sensitivity": 40, "threshold": 3}, "stepSize": 8}}}