Mercurial > hg > piper
view json/schema/loadrequest.json @ 214:970fd3bd8c92
Ah, the programParameters can't be static data because parameter values in general (e.g. the default configuration) aren't known until construction - and we can't query the program-parameter relationship from e.g. static Vamp plugin data either. Move to the load response structure.
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 07 Apr 2020 15:40:38 +0100 |
parents | ffe01c8286c4 |
children |
line wrap: on
line source
{ "id": "http://vamp-plugins.org/piper/json/schema/loadrequest#", "$schema": "http://json-schema.org/draft-04/schema#", "description": "schema for a request to load a feature extractor; may be served in the params field of a load-method rpcrequest", "type": "object", "properties": { "key": { "type": "string" }, "inputSampleRate": { "type": "number" }, "adapterFlags": { "type": "array", "items": { "$ref": "http://vamp-plugins.org/piper/json/schema/enums#/definitions/adapter_flags" } } }, "required": [ "key", "inputSampleRate" ], "additionalProperties": false }