Revision 28:4c3ac59c9089
| .hgignore | ||
|---|---|---|
| 1 |
syntax: glob |
|
| 2 |
*~ |
|
| examples/pluginconfig.json | ||
|---|---|---|
| 1 |
{"blockSize": 512, "channelCount": 2, "parameterValues": {"sensitivity": 40, "threshold": 3}, "stepSize": 1024}
|
|
| schema/basic.json | ||
|---|---|---|
| 4 | 4 |
"description": "schema for the basic part of various Vamp descriptors", |
| 5 | 5 |
"type": "object", |
| 6 | 6 |
"properties": {
|
| 7 |
"identifier": { "type": "string" },
|
|
| 8 |
"name": { "type": "string" },
|
|
| 9 |
"description": { "type": "string" }
|
|
| 7 |
"identifier": {
|
|
| 8 |
"type": "string", |
|
| 9 |
"pattern": "^[a-zA-Z0-9_-]+$" |
|
| 10 |
}, |
|
| 11 |
"name": {
|
|
| 12 |
"type": "string" |
|
| 13 |
}, |
|
| 14 |
"description": {
|
|
| 15 |
"type": "string" |
|
| 16 |
} |
|
| 10 | 17 |
}, |
| 11 | 18 |
"required": [ "identifier" ], |
| 12 | 19 |
"additionalProperties": false |
| schema/pluginconfiguration.json | ||
|---|---|---|
| 1 |
{
|
|
| 2 |
"id": "http://vamp-plugins.org/json/schema/pluginconfiguration#", |
|
| 3 |
"$schema": "http://json-schema.org/draft-04/schema#", |
|
| 4 |
"description": "schema for a serialised bundle of configuration data associated with a Vamp Plugin", |
|
| 5 |
"type": "object", |
|
| 6 |
"properties": {
|
|
| 7 |
"parameterValues": {
|
|
| 8 |
"type": "object", |
|
| 9 |
"patternProperties": {
|
|
| 10 |
"^[a-zA-Z0-9_-]+$": {
|
|
| 11 |
"type": "number" |
|
| 12 |
} |
|
| 13 |
}, |
|
| 14 |
"additionalProperties": false |
|
| 15 |
}, |
|
| 16 |
"currentProgram": {
|
|
| 17 |
"type": "string" |
|
| 18 |
}, |
|
| 19 |
"channelCount": {
|
|
| 20 |
"type": "integer" |
|
| 21 |
}, |
|
| 22 |
"stepSize": {
|
|
| 23 |
"type": "integer" |
|
| 24 |
}, |
|
| 25 |
"blockSize": {
|
|
| 26 |
"type": "integer" |
|
| 27 |
} |
|
| 28 |
}, |
|
| 29 |
"required": [ "channelCount", "stepSize", "blockSize" ], |
|
| 30 |
"additionalProperties": false |
|
| 31 |
} |
|
| 32 |
|
|
Also available in: Unified diff