Mercurial > hg > piper-cpp
annotate json/test-cli.sh @ 6:d8358afe3f2c
Update build
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 13 May 2016 16:28:26 +0100 |
parents | 6e8607ebad03 |
children |
rev | line source |
---|---|
c@5 | 1 #!/bin/bash |
c@5 | 2 |
c@5 | 3 ./json-cli <<EOF |
c@5 | 4 {"verb":"list"} |
c@5 | 5 {"verb":"load","content": {"pluginKey":"vamp-example-plugins:percussiononsets","inputSampleRate":44100,"adapterFlags":["AdaptInputDomain"]}} |
c@5 | 6 {"verb":"configure","content":{"pluginHandle":1,"configuration":{"blockSize": 512, "channelCount": 1, "parameterValues": {"sensitivity": 40, "threshold": 3}, "stepSize": 1024}}} |
c@5 | 7 EOF |
c@5 | 8 |