Mercurial > hg > piper
changeset 40:a5eb5ef2e92d
Process block (input to process call)
author | Chris Cannam |
---|---|
date | Thu, 17 Mar 2016 14:04:17 +0000 |
parents | 22c33bd017ba |
children | 30f1cfb40b98 |
files | examples/processblock.json schema/processblock.json test.sh |
diffstat | 3 files changed, 36 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/processblock.json Thu Mar 17 14:04:17 2016 +0000 @@ -0,0 +1,1 @@ +{"input":[{"b64values": "AACAPwAAAEAEAEBAAACAQAAAoEAAAMBAAADQQAAA4EA"}], "timestamp": {"n": 141590000, "s": 3}}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schema/processblock.json Thu Mar 17 14:04:17 2016 +0000 @@ -0,0 +1,29 @@ +{ + "id": "http://vamp-plugins.org/json/schema/processblock#", + "$schema": "http://json-schema.org/draft-04/schema#", + "description": "schema for a serialised input into a plugin process call", + "type": "object", + "properties": { + "timestamp": { + "$ref": "http://vamp-plugins.org/json/schema/realtime#" + }, + "input": { + "type": "array", + "items": { + "type": "object", + "properties": { + "values": { + "type": "array", + "items": { "type": "number" } + }, + "b64values": { + "type": "string" + } + } + } + } + }, + "additionalProperties": false +} + +