comparison json/test-cli.sh @ 5:6e8607ebad03

Promote the more successful experiments (todo: get them to build again)
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 13 May 2016 13:48:59 +0100
parents
children
comparison
equal deleted inserted replaced
4:25499f505d0e 5:6e8607ebad03
1 #!/bin/bash
2
3 ./json-cli <<EOF
4 {"verb":"list"}
5 {"verb":"load","content": {"pluginKey":"vamp-example-plugins:percussiononsets","inputSampleRate":44100,"adapterFlags":["AdaptInputDomain"]}}
6 {"verb":"configure","content":{"pluginHandle":1,"configuration":{"blockSize": 512, "channelCount": 1, "parameterValues": {"sensitivity": 40, "threshold": 3}, "stepSize": 1024}}}
7 EOF
8