Mercurial > hg > piper-cpp
diff test/test-vampipe-server.sh @ 68:a5ba837bca28
Update again to latest plugin-terminology-free schema
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 06 Oct 2016 14:32:58 +0100 |
parents | db17657ac875 |
children | 7bfc07576830 |
line wrap: on
line diff
--- a/test/test-vampipe-server.sh Wed Oct 05 13:53:08 2016 +0100 +++ b/test/test-vampipe-server.sh Thu Oct 06 14:32:58 2016 +0100 @@ -19,13 +19,13 @@ validate_request() { local json="$1" echo "$json" > "$reqfile" - validate "$reqfile" "request" + validate "$reqfile" "rpcrequest" } validate_response() { local json="$1" echo "$json" > "$respfile" - validate "$respfile" "response" + validate "$respfile" "rpcresponse" } ( while read request ; do @@ -40,8 +40,8 @@ done ) <<EOF {"method":"list"} -{"method":"load","params": {"pluginKey":"vamp-example-plugins:percussiononsets","inputSampleRate":44100,"adapterFlags":["AdaptInputDomain","AdaptBufferSize"]}} -{"method":"configure","params":{"pluginHandle":1,"configuration":{"blockSize": 8, "channelCount": 1, "parameterValues": {"sensitivity": 40, "threshold": 3}, "stepSize": 8}}} -{"method":"process","params": {"pluginHandle": 1, "processInput": { "timestamp": {"s": 0, "n": 0}, "inputBuffers": [ [1,2,3,4,5,6,7,8] ]}}} -{"method":"finish","params": {"pluginHandle": 1}} +{"method":"load","params": {"key":"vamp-example-plugins:percussiononsets","inputSampleRate":44100,"adapterFlags":["AdaptInputDomain","AdaptBufferSize"]}} +{"method":"configure","params":{"handle":1,"configuration":{"blockSize": 8, "channelCount": 1, "parameterValues": {"sensitivity": 40, "threshold": 3}, "stepSize": 8}}} +{"method":"process","params": {"handle": 1, "processInput": { "timestamp": {"s": 0, "n": 0}, "inputBuffers": [ [1,2,3,4,5,6,7,8] ]}}} +{"method":"finish","params": {"handle": 1}} EOF